Skip to content

Instantly share code, notes, and snippets.

View camilonova's full-sized avatar

Camilo Nova camilonova

View GitHub Profile
@camilonova
camilonova / extensions.txt
Last active January 25, 2019 16:53
vscode settings
Django Template
EditorConfig
ESLint
Python
Sass
Sass Lint
Spacegray VSCode
@camilonova
camilonova / .zshrc
Last active January 25, 2019 16:51
export ZSH=/Users/camilo/.oh-my-zsh
ZSH_THEME="pure"
plugins=(git zsh-syntax-highlighting)
export PATH="/Users/camilo/Library/Python/2.7/bin:/Users/camilo/Library/Python/3.6/bin/:/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/camilo/go/bin/"
source $ZSH/oh-my-zsh.sh
@engelfrost
engelfrost / LICENSE
Last active September 2, 2020 11:15
Fake localStorage. Useful for Safari Private Browsing and browsers that don't implement localStorage.
The MIT License (MIT)
Copyright (c) 2015 Textalk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@Couto
Couto / tl-wn725n.md
Last active March 11, 2018 11:49
Install TL-WN725N on Raspbian

TL-WN725N (8188eu)

This was tested on the Raspbian wheezy (2014-01-07)

Update the system

apt-get update --fix-missing
apt-get upgrade
apt-get dist-upgrade
@camilonova
camilonova / Preferences.sublime-settings
Last active December 1, 2016 20:07
Sublime Text settings
{
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme",
"default_encoding": "UTF-8",
"default_line_ending": "unix",
"detect_indentation": false,
"display_signatures": false,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
@mzabriskie
mzabriskie / README.md
Last active May 22, 2024 16:53
Check git status of multiple repos

If you're like me you have a dir like ~/Workspace/Github where all your git repos live. I often find myself making a change in a repo, getting side tracked and ending up in another repo, or off doing something else all together. After a while I end up with several repos with modifications. This script helps me pick up where I left off by checking the status of all my repos, instead of having to check each one individually.

Usage:

git-status [directory]

This will run git status on each repo under the directory specified. If called with no directory provided it will default to the current directory.

@camilonova
camilonova / .bash_profile
Last active November 20, 2015 16:00
Bash profile osx lion
# Locale
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Homebrew
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH"
# Brew autocomplete
source `brew --prefix`/Library/Contributions/brew_bash_completion.sh
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@david-torres
david-torres / AmazonSignatureUtil.py
Created September 9, 2011 15:13
A basic utility class written in Python that verifies an Amazon Simple Payments return url or IPN url using VerifySignature from the FPS API
import base64
import hmac
import hashlib
import urllib
import urllib2
import time
from datetime import datetime, tzinfo
from xml.dom import minidom
@lrvick
lrvick / flask_geventwebsocket_example.py
Created September 1, 2011 07:17
Simple Websocket echo client/server with Flask and gevent / gevent-websocket
from geventwebsocket.handler import WebSocketHandler
from gevent.pywsgi import WSGIServer
from flask import Flask, request, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')