Nota: alguns scripts requerem 🎀 gum!
| import processing.serial.*; | |
| import static javax.swing.JOptionPane.*; | |
| import java.nio.file.*; | |
| import processing.data.JSONArray; | |
| import processing.data.JSONObject; | |
| Serial myPort; | |
| // Configurable params | |
| final int frameInterval = 33; // ~30 fps | NOTE: lower is faster |
| import processing.serial.*; | |
| import static javax.swing.JOptionPane.*; | |
| Serial myPort; | |
| // Configurable params | |
| // i.e.: final String displayText = "Hello World "; | |
| final String displayText = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"; | |
| final int scrollInterval = 200; | |
| final boolean WARN_RESERVOIR = true; |
| import processing.serial.*; | |
| import static javax.swing.JOptionPane.*; | |
| Serial myPort; | |
| // Configurable params | |
| final boolean WARN_RESERVOIR = true; | |
| final boolean ROTATE_CONTROLS = false; | |
| final boolean UI_MODE = true; |
Esse é um script para rodar alguns comandos do postgres + ecto
Esse script requer 🎀 gum!
Você deve colocar as funções abaixo no seu .zshrc ou em um arquivo separado para usar o db:
function ecto() {Esse é um alias para rodar o formatter/credo/testes no elixir e realizar o commit automaticamente (com coautores)
Esse script requer 🎀 gum!
Você deve colocar as funções abaixo no seu .zshrc para usar o mixes:
coauthors_path="$HOME/.config/coauthors"Esse é um cheat sheet com alguns emojis da Finbits para utilizar em PRs, issues e comentários: use com moderação
Alternativamente, você pode colocar a função abaixo no seu .zshrc para facilitar a busca e/ou copiar o <img> direto:
function emj() {
raw="${1//:/}"
companyid="T02BNKN7B1B" # substituir pelo id da empresa/grupo do slack
emoji="${raw:-rainbowdance}" # substituir rainbowdance por um emoji default| /* How to use: | |
| (async () => { | |
| const Shazam = require('this_file.js') | |
| const api = Shazam('your_token') | |
| try { | |
| const song_path = 'example.mp4' // input | |
| const rawb64_path = 'example.raw' // output | |
| const songName = await api.identify(song_path, rawb64_path) | |
| console.log(songName) | |
| } catch (err) { |
| using System; | |
| using System.IO; | |
| using System.Text; | |
| using System.Collections.Generic; | |
| using System.Text.RegularExpressions; | |
| using SharpPcap; | |
| using System.Linq; | |
| namespace Example5 | |
| { |