start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env python | |
| import os | |
| import random | |
| import time | |
| import platform | |
| snowflakes = {} | |
| try: | |
| # Windows Support |
| #!/usr/bin/env bash | |
| while :; do | |
| find "$PWD" -name '*.less' | while read line; do | |
| REPLACE=`echo $line | sed "s|\.less|\.css|"` | |
| mt1=$(stat -c %Y $line) | |
| mt2=$(stat -c %Y $REPLACE) | |
| if [ "$mt1" -gt "$mt2" ]; then |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| { | |
| // -------------------------------------------------------------------- | |
| // JSHint Configuration, Strict Edition | |
| // -------------------------------------------------------------------- | |
| // | |
| // This is a options template for [JSHint][1], using [JSHint example][2] | |
| // and [Ory Band's example][3] as basis and setting config values to | |
| // be most strict: | |
| // | |
| // * set all enforcing options to true |
| #!/bin/sh | |
| # I put all my dev stuff in here | |
| export DEV_PREFIX=$HOME/Dev/ | |
| # Don't forget to adjust this to your NDK path | |
| export ANDROID_NDK=${DEV_PREFIX}/android-ndk-r8d/ | |
| export CROSS_COMPILE=arm-linux-androideabi |
This Gist has been moved to https://github.com/lbgists/rain.sh.
| hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg | |
| cd /tmp | |
| hdiutil convert /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg -format UDRW -o /tmp/RWBase | |
| hdiutil convert -format UDSP -o /tmp/sparseRWBase RWBase.dmg | |
| rm /tmp/RWBase.dmg | |
| hdiutil resize -size 6g /tmp/sparseRWBase.sparseimage | |
| hdiutil attach -owners on /tmp/sparseRWBase.sparseimage -shadow | |
| sudo rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages | |
| sudo ditto /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation/Packages | |
| hdiutil eject /Volumes/OS\ X\ Install\ ESD/ |
A couple of good lists (thanks to @DanielleSucher)
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!