I hereby claim:
- I am yorch on github.
- I am yorch (https://keybase.io/yorch) on keybase.
- I have a public key whose fingerprint is 5D5D A1D1 347A 1523 B268 694B 02AC 4F9E 4323 0DAC
To claim this, I am signing this object:
| #!/bin/bash | |
| VERSION=4.8.0 | |
| IMAGE=wowzamedia/wowza-streaming-engine-linux:${VERSION} | |
| NAME=wowza | |
| DATA_DIR=$(pwd)/data | |
| CONFIG_DIR=${DATA_DIR}/conf | |
| LOGS_DIR=${DATA_DIR}/logs | |
| SUPERVISOR_LOG_FILE=${DATA_DIR}/supervisord.log |
| package main | |
| import ( | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "github.com/rwcarlsen/goexif/exif" | |
| "os" | |
| "path" | |
| "path/filepath" |
| #!/bin/bash | |
| # Timezone | |
| timedatectl set-timezone America/New_York | |
| # Locales | |
| locale-gen en_US.UTF-8 | |
| locale-gen en_CA.UTF-8 | |
| apt-get update |
| #!/bin/zsh | |
| git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" | |
| setopt EXTENDED_GLOB | |
| for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do | |
| ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" | |
| done | |
| curl -s https://gist.github.com/yorch/e60087118c0126b2f5f8bf8a271633eb/raw/74d2593d6fd277c05f93fd62ee5a3eb3399f2139/.zpreztorc > "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zpreztorc" |
| # | |
| # Sets Prezto options. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <[email protected]> | |
| # | |
| # | |
| # General | |
| # |
| #!/bin/bash | |
| HOST=www.google.com | |
| while true ; do | |
| if ifconfig wlan0 | grep -q "inet addr:" ; then | |
| #$printf "WLAN connected, IP: %s\n" $(hostname -I) | |
| sleep 60 | |
| else | |
| echo "Network connection down! Attempting reconnection." |
I hereby claim:
To claim this, I am signing this object:
| var pushRight = slate.operation("push", { | |
| "direction" : "right", | |
| "style" : "bar-resize:screenSizeX/2" | |
| }); | |
| var pushLeft = slate.operation("push", { | |
| "direction" : "left", | |
| "style" : "bar-resize:screenSizeX/2" | |
| }); | |
| var pushTop = slate.operation("push", { | |
| "direction" : "top", |
| #!/bin/bash | |
| # Migrate ISPConfig 3 installation from one server to another | |
| # This script should run on the final/destination ISPConfig 3 server | |
| # You must first install the same ISPConfig on the destination server | |
| # and make sure to create all the users from the previous installation | |
| # (ISPConfig creates users for each client and web page) | |
| # Tested on ISPConfig version 3.0.5.3 | |
| # Created by Jorge Barnaby (@jbarnaby) - March 2014 | |
| # EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE |
| # Example of a DelayedJob that syncs info with mailchimp | |
| class SyncMailchimp < Struct.new(:opts) | |
| include Dobexer::ExceptionNotifier | |
| def run_hominid(attempts = 0, &block) | |
| attempts += 1 | |
| block.call | |
| rescue EOFError => e |