I hereby claim:
- I am andrewjkerr on github.
- I am andrewjkerr (https://keybase.io/andrewjkerr) on keybase.
- I have a public key whose fingerprint is 0994 7CE8 1AE7 2184 8A3D 58F9 2480 243C 99EB 20B2
To claim this, I am signing this object:
| require 'tumblr_client' | |
| client = Tumblr::Client.new({ | |
| consumer_key: 'TUMBLR_CONSUMER_KEY', | |
| consumer_secret: 'TUMBLR_CONSUMER_SECRET', | |
| oauth_token: 'TUMBLR_OAUTH_TOKEN', | |
| oauth_token_secret: 'TUMBLR_OAUTH_TOKEN_SECRET' | |
| }) | |
| submissions = client.submissions('dogs.tumblr.com') |
| require 'tumblr_client' | |
| # Get dat Tumblr client | |
| client = Tumblr::Client.new({ | |
| consumer_key: 'CONSUMER_KEY', | |
| consumer_secret: 'CONSUMER_SECRET', | |
| oauth_token: 'OAUTH_TOKEN', | |
| oauth_token_secret: 'OAUTH_TOKEN_SECRET' | |
| }) |
| require 'pcaprub' | |
| snaplength = 65535 | |
| promiscous_mode = true | |
| timeout = 0 | |
| capture = PCAPRUB::Pcap.open_live('en0', snaplength, promiscous_mode, timeout) | |
| capture.each_packet do |packet| | |
| mac = packet.data.unpack("C*"). |
| # Accepts an integer n | |
| # Returns the factorial of n | |
| def fact(n) | |
| return nil if n < 1 | |
| (1..(n.to_i)).reduce(:*) | |
| end |
| import sys, hashlib, urllib2, re | |
| def hash(s, salt): | |
| #Welcome to the Space Jam | |
| h = hashlib.sha256() | |
| #Here's your chance do your dance at the Space Jam | |
| h.update(s + salt) | |
| #Alright |
| <!DOCTYPE html> | |
| <!-- | |
| Original Theme: Ashley v0.6 | |
| Original Author: Jxnblk [http://jxnblk.com] | |
| For: Tumblr [http://tumblr.com/] | |
| Terms: Protected under Creative Commons. [http://creativecommons.org/licenses/by-nc/3.0/] | |
| Modified Theme: type v0.1 | |
| Modified Author: andrewjkerr [https://andrewjkerr.github.io] |
| def palindrome str | |
| str.split('') | |
| if str.length <= 1 | |
| return true | |
| elsif str.length == 2 | |
| return str[0] == str[1] | |
| else | |
| length = str.length | |
| if str[0] == str[length-1] | |
| return palindrome str[1..length-2] |
| /* | |
| Class: CountNum | |
| Author: Andrew J Kerr <me@andrewjkerr.com> | |
| Summary: Counts the number of occurances for all numbers 1-10 from user input. | |
| */ | |
| import java.util.*; | |
| public class CountNum | |
| { |
I hereby claim:
To claim this, I am signing this object:
#COP4600 Fall 2014 Project 1
https://www.cise.ufl.edu/~nemo/cop4600/proj1_fa14.txt