- VTEX IO external developers
- Basic knowledge of how IO apps are structured
Disclaimer: These are not guidelines for apps' implementations!
{ | |
"version": "v1", | |
"compose": { | |
"blockType": "seen-by", | |
"position": "prepend" | |
}, | |
"items": [ | |
{ | |
"label": "asdasd", | |
"name": "fVQ7", |
#!/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` |
{"$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 |
resetaudio() { | |
sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'` | |
} |
[user] | |
email = [email protected] | |
name = Seu Nome | |
[credential] | |
helper = store | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
ui = auto |
(() => { | |
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() | |
})() |
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 & |
var link = document.createElement( "style" ); | |
link.type = "text/css"; | |
link.innerText = ` | |
html { | |
background-color: #454545 !important; | |
} | |
.storylink, .comment p, .comment span { | |
color: #eeeeee !important; | |
} |
#!/bin/bash | |
TOOLBELT_CFG_FILE="$HOME/.config/configstore/vtex.json" | |
parse_vtex_json() { | |
cat "$TOOLBELT_CFG_FILE" | grep $1 | sed -n "s/^.*\"$1\": \"\(.*\)\".*$/\1/p" | |
} | |
get_vtex_account() { | |
parse_vtex_json "account" | |
} | |
ACCOUNT=`parse_vtex_json "account"` | |
WORKSPACE=`parse_vtex_json "workspace"` |