Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am beedaan on github.
  • I am beedaan (https://keybase.io/beedaan) on keybase.
  • I have a public key ASDKZJqIfJQv1A47tye9G-hENnatT5ik0d6a-K6aqkzYRwo

To claim this, I am signing this object:

View getopts_test.sh
#!/bin/bash
while getopts ":a" opt; do
case $opt in
a)
echo "-a was triggered" >&2
;;
\?)
echo "Invalid option: -$OPTARG" >&2
;;
View pdftotextOnDir.sh
#!/bin/bash
# pdftotextOnDir
# Runs pdftotext on all files in a directory
# Author - Brendan Heussler (bheussler@gmail.com)
# argument 1 - Input Directory
# argument 2 - Output Directory
input_directory=$1 # Input Directory
output_directory=$2 # Output Directory
@beedaan
beedaan / learnyounode-jugglingAsync.js
Last active Dec 5, 2015
My solution to learnyounode Juggling Async
View learnyounode-jugglingAsync.js
var http = require('http');
var bl = require('bl');
var urls = []
for(var i = 2; i < process.argv.length; i++) {
urls.push(process.argv[i])
}
var makeRequest = function(urls) {
if(urls.length > 0) {
View zenburn-console.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console]
"ColorTable00"=dword:003f3f3f
"ColorTable01"=dword:00af6464
"ColorTable02"=dword:00008000
"ColorTable03"=dword:00808000
"ColorTable04"=dword:00232333
"ColorTable05"=dword:00aa50aa
"ColorTable06"=dword:0000dcdc
@beedaan
beedaan / Play.java
Last active Aug 29, 2015
Simple Bean
View Play.java
package me.beedaan.nfl.conv;
public class Play {
private String gameid;
public String getGameid() {
return gameid;
}
You can’t perform that action at this time.