This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url('https://cdngovbr-ds.estaleiro.serpro.gov.br/design-system/fonts/rawline/css/rawline.css'); | |
| :root { | |
| color-scheme: light dark; | |
| --body-color: light-dark(hsl(0 45 15), hsl(0 0 95)); | |
| --body-background: light-dark(white, hsl(220 5 10)); | |
| --title-color: light-dark(#555, hsl(100 0 90)); | |
| --subtitle-color: light-dark(rgb(102, 102, 102), hsl(100 0 80)); | |
| --link-color: light-dark(#1351b4, #61afef); | |
| --link-color-hover: light-dark(#1351b4, white); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| if [[ $1 ]]; then | |
| case $1 in | |
| [1-9]) digit=$1 ;; | |
| *) echo 'error: digit invalid'; exit 1 ;; | |
| esac | |
| else | |
| digit=2 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Play | |
| play() { | |
| if type mpv >& /dev/null; then | |
| local music="$HOME/Music" | |
| local args="--no-video --display-tags=Title,Artist" | |
| usage() { | |
| echo -e "\nr Recents\ns Search"; return 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| fn main() { | |
| mut argv := '' | |
| mut nucleos := ['A', 'C', 'T', 'G'] | |
| if os.args.len == 1 { | |
| argv = os.input('nucleo: ') | |
| } else if os.args.len == 2 { | |
| argv = os.args[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| nucleos=(A C T G) | |
| print_example() { | |
| echo ' ex: ./dna.sh ACTG' | |
| } | |
| main() { | |
| local argv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Reference */ | |
| /* https://raw.githubusercontent.com/samme/base16-styles/master/css-variables/base16-onedark.css */ | |
| /* Print */ | |
| /* https://i.imgur.com/3Talr9G.png */ | |
| @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&display=swap'); | |
| :root { | |
| --black : #1d2127; | |
| --red : #353b45; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Reference */ | |
| /* https://codeberg.org */ | |
| /* Print */ | |
| /* https://i.imgur.com/LaGwJmk.png */ | |
| :root { | |
| --color-body: #1d262f; | |
| --color-text: #d2e0f0; | |
| --color-primary: #fb923c; | |
| --color-secondary: #242d38; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Nome do arquivo a ser dividido | |
| file="./arq.csv" | |
| # Recebe total de linhas | |
| file_lines=$(wc -l < $file) | |
| # Divisor | |
| divider=10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -o errexit | |
| set -o pipefail | |
| set -o nounset | |
| if ! kdialog -v > /dev/null; then | |
| exit_error "Command not exist: kdialog" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Theme: OneDark | |
| # By: Vitor Melo | |
| # Main bg | |
| theme[main_bg]="#282c34" | |
| # Main text color | |
| theme[main_fg]="#abb2bf" | |
| # Title color for boxes |
NewerOlder