This was tested on the Raspbian wheezy (2014-01-07)
apt-get update --fix-missing
apt-get upgrade
apt-get dist-upgrade
Django Template | |
EditorConfig | |
ESLint | |
Python | |
Sass | |
Sass Lint | |
Spacegray VSCode |
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 |
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: |
This was tested on the Raspbian wheezy (2014-01-07)
apt-get update --fix-missing
apt-get upgrade
apt-get dist-upgrade
{ | |
"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": | |
[ |
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.
# 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 |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
import base64 | |
import hmac | |
import hashlib | |
import urllib | |
import urllib2 | |
import time | |
from datetime import datetime, tzinfo | |
from xml.dom import minidom | |
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') |