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
alias nvim='print -Pn "\e]0;${PWD##*/}-vim\a";nvim' | |
alias vl='vtex link' | |
alias vls='vtex ls' | |
alias vs='vtex switch' | |
alias vua='vtex unlink --all' | |
alias vwr='vtex workspace reset' | |
oni() | |
{ | |
/Applications/Onivim2.app/Contents/MacOS/Oni2_editor $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
(() => { | |
const main = async() => { | |
const response = await fetch('http://cloud.publica.inf.br/clientes/jucurutu_pm/portaltransparencia/dados_abertos/?informacao=despesa&unidade=Município%20de%20Jucurutu&inicio=03/01/2020&fim=03/01/2020') | |
const buffer = await response.arrayBuffer(); | |
const decoder = new TextDecoder("ISO-8859-1") | |
console.log(decoder.decode(buffer)) | |
} | |
main() | |
})() |
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
[user] | |
email = [email protected] | |
name = Seu Nome | |
[credential] | |
helper = store | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
ui = auto |
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
resetaudio() { | |
sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $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
{"$id":"https://schemas.coastapp.com/card/v2/list.json","$schema":"http://json-schema.org/draft-07/schema","title":"Card Collection List Template V2","type":"object","properties":{"version":{"type":"string","enum":["v2"]},"slug":{"type":"string"},"title":{"type":"string","default":"{channel.name}"},"context":{"type":"string","enum":["list"]},"statuses":{"type":"array","items":{"$id":"https://schemas.coastapp.com/card/v1/cardStatus.json","$schema":"http://json-schema.org/draft-07/schema","title":"Card Status","type":"string","enum":["ACTIVE","PENDING"]}},"emptyState":{"$id":"https://schemas.coastapp.com/card/v1/emptyState.json","$schema":"http://json-schema.org/draft-07/schema","title":"Empty State","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"},"imageUri":{"type":"string"}},"additionalProperties":false},"cardBlocks":{"$id":"https://schemas.coastapp.com/card/v1/blocks.json","$schema":"http://json-schema.org/draft-07/schema","title":"Card Blocks","type":"array","items":{"$re |
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
#!/bin/zsh | |
## Script to merge all mp4 videos in current directory (recursively 2 levels) | |
## And update chapter marks to retain the folder/filename | |
## Script for merging videos | |
filename=`basename pwd` | |
current=`pwd` |
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
{ | |
"version": "v1", | |
"compose": { | |
"blockType": "seen-by", | |
"position": "prepend" | |
}, | |
"items": [ | |
{ | |
"label": "asdasd", | |
"name": "fVQ7", |
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 "./styles.css"; | |
const template = | |
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAMAAAAcvxc4AAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAF1QTFRFiIiId3d3REREZmZmVVVVe3t7Q0NDZ2dnAAAAIiIibm5uR0dHGhoaKysrf39/ERERMzMzTU1NTExMGRkZXV1dOzs7CQkJXl5ePDw8CAgIKioqU1NTVFRUUlJSHBwcY2zjYgAAI11JREFUeJzt3e1i4ki2JVAjuD2GawM2tsvQNfP+jzkgHYEiFEDYaZKs7rV+pUGExEnORh8BPDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVJg0e9N7b0WYHTbmtqv4n3/t/Z/brgP+400f927crNXmh4257SoWh1X8723XASOPJ0/z+fy5mS7vvUm/5BeDY/pY8t3xBAf/qQptslrfY1f/h44xBAf8BsVGeVy9/Pb9jh86xhAc8BuUg2MfHYvfvCGC41sEB3fRNsbrtDVrmvXml7vlm/6g4Fg1me8eQQkO/lO1GZE0xtv8LsnxBwXH/Je3IggO/lONg+PhYRK7HbPfuSGC41sEB3dRCo6Hh/cuOSa/cUMEx7cIDu6iHBwP6/b29W/cEMHxLYKDuzgTHA+b4i7Honlqb/9Y/5XecZyFsZw9fxyWeJ6lF3SnhwUm527a/7ONqvnxfORx0clsPW9HfHxal4+dpuuP7rGHx5SCYznrlnicv1y7VnQ |
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
{ | |
"Preact Component": { | |
"prefix": "pc", | |
"body": [ | |
"export interface Props { $2: $3 }", | |
"", | |
"export default function $1({ $2 }: Props) {", | |
" return (", | |
" ${0}", | |
" )", |
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
[user] | |
email = [email protected] | |
name = Your Name | |
[credential] | |
helper = store | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
ui = auto |