Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CNOCTAVE committed Nov 5, 2024
0 parents commit 2c38f14
Show file tree
Hide file tree
Showing 18 changed files with 1,365 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

*.docx
*Zone.Identifier
.vscode/
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Name: octave_tar
Version: 0.1.0
Date: 2024-10-21
Author: various authors
Maintainer: Yu Hongbo <[email protected]>, CNOCTAVE <[email protected]>
Title: tar wrapper
Description: The octave_tar package provides functions for pack and
unpack about tar format.
Depends: octave (>= 8.0.0)
License: GPLv3+
Url: https://github.com/CNOCTAVE/octave_tar
5 changes: 5 additions & 0 deletions INDEX
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
octave_tar >> Octave Use tar to Pack and Unpack
Pack File
tar_pack
Unpack File
tar_unpack
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
** First release.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# octave_tar
The octave_tar package provides functions for pack and unpack about tar format.
# octave_tar Document
Check out document: [octave_tar Document](https://cnoctave.github.io/octave_tar/index.html)
# How to translate octave_tar Document into another language
In ./docs directory, index.html is zh-CN simplified Chinese document.
For example, if you want to translate document into English.
1. Copy index.html as another document with different language code as filename,
for example, en-US.html.
2. Translate en-US.html into English.
3. Add dropdown like the picture below to every *.html.
For example, add dropdown "en-US English".
![the dropdown looking](./docs/pic/translate_dropdown.png)
The code for adding dropdown is like the picture below.
![the dropdown code](./docs/pic/translate_dropdown_code.png)
4. PR to octave_tar.
159 changes: 159 additions & 0 deletions docs/assets/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
body {
border-top: 0px;
}

.container {
display: flex;
justify-content: space-between;
padding: 20px;
}

.main {
flex: 10;
margin: 0 20px;
}

.title1 {
font-size: 30px;
}

.bookpic {
height: 300px;
}

.card:hover {
color: rgb(0, 132, 255);
cursor: pointer;
}

.rainbow-text {
display: inline-block;
background-image: -webkit-linear-gradient(90deg, red, orange, yellow, red, orange);
-webkit-background-clip: text;
color: transparent;
}

.ad-banner {
width: 100%;
height: 200px;
background-color: gray;
color: white;
text-align: center;
}

.ad-side {
/* width: 10%; */
height: 600px;
background-color: gray;
color: white;
text-align: center;
flex: 1;
}

.custom-caption {
text-align: center;
padding: 50px;
color: white;
background-color: rgba(0, 0, 0, .3);
}

.combined-color-1 {
background: radial-gradient(ellipse at top, #e66465, transparent),
radial-gradient(ellipse at bottom, #4d9f0c, transparent),
radial-gradient(ellipse at left, #0fce65, transparent),
radial-gradient(ellipse at right, #f3c809, transparent);
}

.combined-color-2 {
background: radial-gradient(ellipse at top, #a3e664, transparent),
radial-gradient(ellipse at bottom, #0c9f6e, transparent),
radial-gradient(ellipse at left, #0f92ce, transparent),
radial-gradient(ellipse at right, #f309c0, transparent);
}

.combined-color-3 {
background: radial-gradient(ellipse at top, #64d7e6, transparent),
radial-gradient(ellipse at bottom, #9f780c, transparent),
radial-gradient(ellipse at left, #b80fce, transparent),
radial-gradient(ellipse at right, #09f328, transparent);
}

.combined-color-4 {
background: radial-gradient(ellipse at top, #64e6db, transparent),
radial-gradient(ellipse at bottom, #ecdd07, transparent),
radial-gradient(ellipse at left, #ce2c0f, transparent),
radial-gradient(ellipse at right, #9509f3, transparent);
}

.combined-color-5 {
background: radial-gradient(ellipse at top, #e67864, transparent),
radial-gradient(ellipse at bottom, #3cec07, transparent),
radial-gradient(ellipse at left, #0f32ce, transparent),
radial-gradient(ellipse at right, #f30957, transparent);
}

.combined-color-6 {
background: radial-gradient(ellipse at top, #c42bd8, transparent),
radial-gradient(ellipse at bottom, #ec6e07, transparent),
radial-gradient(ellipse at left, #4cce0f, transparent),
radial-gradient(ellipse at right, #0995f3, transparent);
}

.combined-color-7 {
background: radial-gradient(ellipse at top, #d82b2b, transparent),
radial-gradient(ellipse at bottom, #ddec07, transparent),
radial-gradient(ellipse at left, #0fcece, transparent),
radial-gradient(ellipse at right, #2009f3, transparent);
}

.combined-color-8 {
background: radial-gradient(ellipse at top, #2bd85f, transparent),
radial-gradient(ellipse at bottom, #4c07ec, transparent),
radial-gradient(ellipse at left, #1fce0f, transparent),
radial-gradient(ellipse at right, #f30999, transparent);
}

.combined-color-9 {
background: radial-gradient(ellipse at top, #2bbed8, transparent),
radial-gradient(ellipse at bottom, #ec4807, transparent),
radial-gradient(ellipse at left, #ce0fa5, transparent),
radial-gradient(ellipse at right, #86f309, transparent);
}

.combined-color-10 {
background: radial-gradient(ellipse at top, #d82bca, transparent),
radial-gradient(ellipse at bottom, #94ec07, transparent),
radial-gradient(ellipse at left, #0fb8ce, transparent),
radial-gradient(ellipse at right, #dcf309, transparent);
}

.carousel {
display: flex;
overflow: hidden;
width: 100%;
height: 300px;
}

.carousel-track {
display: flex;
transition: transform 0.5s ease;
}

.person {
max-width: 100%;
width: 300px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}

.person-outline {
width: 340px;
height: 500px;
}

/* .person img {
max-height: 100%;
max-width: 80%;
} */
Binary file added docs/favicon.ico
Binary file not shown.
Loading

0 comments on commit 2c38f14

Please sign in to comment.