Skip to content

Instantly share code, notes, and snippets.

View annibal's full-sized avatar

Arthur Annibal annibal

View GitHub Profile
#NoEnv
SetBatchLines, -1
#Include <Socket>
MATRIC_CONFIG_PATH := A_Desktop "\..\Documents\.matric\config.json"
APP_NAME := "AutoHotkey"
API_PORT := 50300
RESP_PORT := 50301
@lewis-munyi
lewis-munyi / javascript.json
Last active November 19, 2025 19:23
VS code Try-catch snippet
{
"Stackoverflow Try-Catch": {
"prefix": "trycatch",
"body": [
"try{",
" ${1:// Something}",
"} catch(error) {",
" ${2:console.error('Exception ' + error);",
" ${3:window.open('https://stackoverflow.com/search?q=[js]' + error.message, '_blank');}}",
"}",
@pimatco
pimatco / estados-cidades-capitais.json
Last active June 24, 2022 14:05 — forked from letanure/estados-cidades.json
JSON com Estados Cidades Capitais e Regiões
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"região": "Norte",
"capital": "Rio Branco",
"cidades": [
"Acrelândia",
"Assis Brasil",
@willnss
willnss / gist:3246637
Created August 3, 2012 10:52 — forked from leonardofaria/gist:1037052
Gerador de CPF, NIT, CNPJ e CEI válidos
<html>
<head>
<title>Gerador de CPF, CNPJ e NIT Válidos</title>
<script language="javascript">
function gera_random(n) {
var ranNum = Math.round(Math.random()*n);
return ranNum;
}
function mod(dividendo,divisor) {