Skip to content

Instantly share code, notes, and snippets.

View webcaetano's full-sized avatar
🦄
Working from home

Andre Caetano webcaetano

🦄
Working from home
View GitHub Profile
{
"bootstrapped": true,
"in_process_packages":
[
"ControlScroll"
],
"installed_packages":
[
"Better JavaScript",
"Chain of Command",
[
{ "keys": ["super+shift+q"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["super+up"], "command": "toggle_word"},
{ "keys": ["super+down"], "command": "toggle_word"},
{ "keys": ["super+shift+1"], "command": "open_terminal" },
{
"keys": ["super+f"],
"command": "chain",
"args": {
"commands": [
^(?!.*?log)
#!/bin/bash
CD_CMD="cd "\\\"$(pwd)\\\"" && clear"
if echo "$SHELL" | grep -E "/fish$" &> /dev/null; then
CD_CMD="cd "\\\"$(pwd)\\\""; and clear"
fi
VERSION=$(sw_vers -productVersion)
OPEN_IN_TAB=0
OPEN_TYPE="window"
var gui = {
indAjust:0,
indPoint:0,
dat:null,
newPoint:null,
};
gui.new = function(){
if(gui.dat) return;
gui.dat = new dat.GUI({autoPlace:false});
{
"close_windows_when_empty": false,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"folder_exclude_patterns":
[
".svn",
".hg",
"CVS"
],
"font_options":
@webcaetano
webcaetano / randomCollection.js
Last active May 30, 2016 20:03
Random Collection
console.log('bola')
this.col = [
{
"isActive": true,
"age": 31,
"name": "Louise Knight",
"gender": "female"
},
{
@webcaetano
webcaetano / Terminal.sublime-settings
Created March 28, 2016 07:45
My sublime terminal config for windows.
{
// The command to execute for the terminal, leave blank for the OS default
// On OS X the terminal can be set to iTerm.sh to execute iTerm
"terminal": "C:\\Windows\\system32\\cmd.exe",
// A list of default parameters to pass to the terminal, this can be
// overridden by passing the "parameters" key with a list value to the args
// dict when calling the "open_terminal" or "open_terminal_project_folder"
// commands
"parameters": ["/START", "%CWD%"]
#!/usr/bin/env python
import hashlib
import hmac
import time
import requests
import datetime
# Q. Do you have A Websocket API?
# A. Yes, and we strongly recommend you to use it. Please, check our JavaScript websocket implementation for our WebSocket API here:
# https://github.com/blinktrade/frontend/blob/master/jsdev/bitex/api/bitex.js
@webcaetano
webcaetano / JSON.jsfl
Last active December 7, 2015 19:53
@webcaetano personal PhaserJS-JSON-JSFL
var haveAFrame;
var symbolName = "";
var symbolFrames = [];
var repeatTest = [];
var frameIndex = 1;
var symbolPivot = {};
var symbolAnimation = null;
var boot = false;
var resp = {
sprites:{}