Skip to content

Instantly share code, notes, and snippets.

View PisoMojado's full-sized avatar

Michael Jones PisoMojado

View GitHub Profile
@PisoMojado
PisoMojado / termopen.macos.sh
Last active September 3, 2017 20:22
New Terminal Window Script for macOS
#!/usr/bin/env bash
NEW_TERM_SCRIPT=$(cat <<EOF
on run {}
tell application "Terminal"
do script ""
activate
end tell
return
end run
@PisoMojado
PisoMojado / keybase.md
Created September 13, 2016 02:00
keybase.md

Keybase proof

I hereby claim:

  • I am PisoMojado on github.
  • I am michaeljones (https://keybase.io/michaeljones) on keybase.
  • I have a public key whose fingerprint is 94F1 7464 CAF9 6F3C F503 76D4 5D3A 60C0 E416 D8BC

To claim this, I am signing this object:

#!/usr/bin/env bash
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-09
#
# _______________| netspeed : check download speed via command line.
#
# Usage: netspeed [tokyo, london, usw, use, east, west, URL]
# ^default U.S. west coast.
# [ -speed_KB/sec ]
# ^negation activates the Mbps converter.
#
@PisoMojado
PisoMojado / 1_ruby_quicksort.rb
Created July 30, 2014 18:51
Here are some things you can do with Gists in GistBox.
# Use Gists to store entire functions
class QuickSort
def self.sort!(keys)
quick(keys,0,keys.size-1)
end
private
def self.quick(keys, left, right)