Prereq:
apt-get install zsh git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
Prereq:
apt-get install zsh git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Class TorDetector | |
* | |
* Helps to detect if visitors are using a Tor browser to surf the website. | |
* | |
* Thanks to https://trac.torproject.org/projects/tor/wiki/doc/TorDNSExitList | |
*/ | |
class TorDetector |
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
# Bol.com Lookup Command | |
class BolLookupCommand < Command | |
def help | |
'Searches for products in the Bol.com catalog.' | |
end | |
def syntax | |
'/bol <search query>' | |
end |
#!/usr/bin/env ruby | |
def notice(text) | |
puts "\e[33m#{text}\e[0m" | |
end | |
def success(text) | |
puts "\e[32m#{text}\e[0m" | |
end | |
def error(text) |
Easily work with sketch templates on Git, by having a script that updates them from your repository
#!/usr/bin/env ruby | |
# Get values from | |
branch_name = ARGV[0] | |
commit_count = ARGV[1].to_i > 0 ? ARGV[1].to_i : 1 | |
# If no branch is given, or it is a question for help, show usage | |
if branch_name.nil? or ['-h', '--help'].include? branch_name | |
puts <<-USAGE | |
usage: git move-to-branch <branch name> [commits] |
Verifying that +jeroenvisser101 is my blockchain ID. https://onename.com/jeroenvisser101 |