This Gist: http://is.gd/dokkudjango
DigitalOcean: https://www.digitalocean.com/
Dokku: https://github.com/progrium/dokku
Dokku-Postgres: https://github.com/Kloadut/dokku-pg-plugin
| #!/usr/bin/env bash | |
| # Formatting constants | |
| export BOLD=`tput bold` | |
| export UNDERLINE_ON=`tput smul` | |
| export UNDERLINE_OFF=`tput rmul` | |
| export TEXT_BLACK=`tput setaf 0` | |
| export TEXT_RED=`tput setaf 1` | |
| export TEXT_GREEN=`tput setaf 2` | |
| export TEXT_YELLOW=`tput setaf 3` | 
| (add-to-list 'file-name-handler-alist '("\\.class$" . javap-handler)) | |
| (defun javap-handler (op &rest args) | |
| "Handle .class files by putting the output of javap in the buffer." | |
| (cond | |
| ((eq op 'get-file-buffer) | |
| (let ((file (car args))) | |
| (with-current-buffer (create-file-buffer file) | |
| (call-process "javap" nil (current-buffer) nil "-verbose" | |
| "-classpath" (file-name-directory file) | 
| #!/bin/bash | |
| RESET="\e[0m" | |
| BLACK="\e[0;30m" | |
| RED="\e[0;31m" | |
| GREEN="\e[0;32m" | |
| YELLOW="\e[0;33m" | |
| BLUE="\e[0;34m" | |
| MAGENTA="\e[0;35m" | |
| CYAN="\e[0;36m" | 
| #!/bin/bash | |
| #Author: Travis Gibson | |
| #This script requires an argument for the resolution width | |
| #Thanks go out to eCharles for a patch in the comments of this link here: http://blog.echarles.net/2013/10/01/Ubuntu-13.04-On-MacbookPro-Retina | |
| if [ -z "$1" ]; then | |
| echo "Usage: Res.sh <resolution_width>"; | |
| exit 1; | |
| fi | |
| erg=$( echo "$1") | |
| check=$(xrandr -q | grep DP-2 | cut -d " " -f 4 | cut -d "x" -f 1) | 
This Gist: http://is.gd/dokkudjango
DigitalOcean: https://www.digitalocean.com/
Dokku: https://github.com/progrium/dokku
Dokku-Postgres: https://github.com/Kloadut/dokku-pg-plugin