Skip to content

Instantly share code, notes, and snippets.

Jason Burk jasonburk

Block or report user

Report or block jasonburk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jasonburk on github.
  • I am burk (https://keybase.io/burk) on keybase.
  • I have a public key whose fingerprint is 9267 5F5D B4F1 1215 33BF 0E99 03A8 8AB4 B29E BEF2

To claim this, I am signing this object:

@jasonburk
jasonburk / Badger.py
Created Feb 22, 2013
Because everyone needs this. :) The lyrics to the Badger song to play along side the video! www.youtube.com/watch?v=EIyixC9NsLI
View Badger.py
import time
#badger 12 times
badger = 0
while badger < 12:
print "Badger"
time.sleep(0.4)
badger = badger + 1
#mushroom 2 times
@jasonburk
jasonburk / HidingFiles.scpt
Created Feb 18, 2013
Application to let user choose if they hidden files to be visible or not.
View HidingFiles.scpt
--Jason Burk | jasonburk@gmail.com | twitter: @twothirtyam | app.net: @burk
--http://230.am
--Application to let user choose if they hidden files to be visible or not
set mainList to {"Show Files", "Hide Files"}
choose from list mainList with prompt "Would you like to show hidden files or re-hide them?"
set listchoice to result as text
if listchoice = "Show Files" then
@jasonburk
jasonburk / Dock23d.scpt
Created Oct 24, 2012
Utility to quickly switch your OS X dock between 2D and 3D views.
View Dock23d.scpt
--Jason Burk | jasonburk@gmail.com | twitter: @twothirtyam | app.net: @burk
--http://230.am
--Application to let user choose if they would like a 2D or 3D dock
set mainList to {"2D", "3D"}
choose from list mainList with prompt "Would you like your dock to be 2D or 3D?"
set listchoice to result as text
if listchoice = "2D" then
tell application "Terminal"
@jasonburk
jasonburk / gist:3158546
Created Jul 22, 2012
Little project I did for a class. Calculates room square footage and cubic footage.
View gist:3158546
# Jason Burk
# Python Version: 2.73
#
#A program to calculate the square footage of a room, and also the cubic feet if the user desires.
print "****************************\n*** Room Size Calculator ***\n****************************" #Displays welcome message to user
print #blank line
room_width = input("What is the width of your room in feet?\n[Please enter a number] ") #asks user for input of room width
@jasonburk
jasonburk / gist:2246408
Created Mar 30, 2012
Only allow numbers and decimal point to be entered into input boxes. 46 = '.' & 48-57 = '0-9'
View gist:2246408
//Only allow numbers and decimal point to be entered into input boxes. 46 = '.' & 48-57 = '0-9'
function numOnly(evt){
var charCode = (evt.which) ? evt.which : event.keyCode
if ((charCode == 46) || (charCode >= 48 && charCode <= 57)){
return true;
}
else {
return false;
}
}
@jasonburk
jasonburk / gist:2246395
Created Mar 30, 2012
Create link to refresh browser
View gist:2246395
<a href="javascript:location.reload(true)">I am a link!</a>
You can’t perform that action at this time.