This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am bjtitus on github. | |
| * I am bjtitus (https://keybase.io/bjtitus) on keybase. | |
| * I have a public key whose fingerprint is A5F4 94EA 5211 28E6 1869 6A1D 7173 093D CF0A B813 | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # A simple script to backup an organization's GitHub repositories. | |
| GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files | |
| GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up | |
| GHBU_API=${GHBU_API-"https://api.github.com"} # base URI for the GitHub API | |
| GHBU_GITHOST=${GHBU_GITHOST-"<CHANGE-ME>.github.com"} # the GitHub hostname (see comments) | |
| # I recommend using an API token so it is easily trackable and removable. | |
| # Note that you MUST have SSH keys for a user with the access to all repos set up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // UIColor+ContrastAdditions | |
| // | |
| // Created by Brandon Titus (bjtitus.net) on 10/26/12. | |
| // | |
| // | |
| #import <UIKit/UIKit.h> | |
| #import "UIColor-Expanded.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| use Net::Ping; | |
| $host = "www.google.com"; | |
| while (1) { | |
| $p = Net::Ping->new('icmp'); | |
| if ($p->ping($host)) { | |
| print "$host is alive.\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import getopt | |
| def main(): | |
| """ print ind(40, [ 55, 77, 42, 12, 42, 100 ]) | |
| print ind(42, range(0,100)) | |
| print ind('hi', [ 'hello', 42, True ]) | |
| print ind('hi', [ 'well', 'hi', 'there' ]) | |
| print ind('i', 'team') | |
| print ind(' ', 'outer exploration') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print "Hello, World!" | |
| value = raw_input("Input your name: ") | |
| print "Hello, " + value + "!" |
NewerOlder