I hereby claim:
- I am christiangenco on github.
- I am cgenco (https://keybase.io/cgenco) on keybase.
- I have a public key whose fingerprint is D1FA 6659 4379 E5B3 3867 9FF4 FF22 DC2D 357E 4A3C
To claim this, I am signing this object:
// ==UserScript== | |
// @name Add Post Table to Kid Blog | |
// @namespace http://christian.gen.co/ | |
// @version 0.1 | |
// @description Adds a table showing how many comments each kid has added to each post. | |
// @author Christian Genco | |
// @match http://kidblog.org/*/wp-admin/users.php | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
// WalkieSockie | |
// Christian Genco: @cgenco | |
// An alternate input/output device for the feet | |
// pins | |
static int pressurePin = A5, vibratorPin = 11; | |
// thresholds | |
static int pressureLow = 0, pressureHigh = 1000, | |
vibeLow = 0, vibeHigh = 255; |
require 'http' | |
require 'json' | |
require 'peach' | |
require 'gabbler' | |
require 'pry' | |
USERNAME = "patio11" | |
unless File.exists?("comments.txt") | |
def get_json(url) |
en: | |
edit: edit | |
delete: delete | |
embed_code: embed code | |
authenticate: authenticate |
class MouseDetector | |
constructor: () -> | |
@events = { | |
hasMouse: [] | |
noMouse: [] | |
} | |
mousemoves = 0 | |
mouseFirstMoved = null |
require 'csv' | |
require 'pry' | |
# sqlite3 AddressBook-v22.abcddb | |
# .headers on | |
# .mode csv | |
# .output ZABCDPOSTALADDRESS.csv | |
# select * from ZABCDPOSTALADDRESS; | |
# .mode csv | |
# .output ZABCDRECORD.csv |
class Array | |
def to_csv(csv_filename="hash.csv") | |
require 'csv' | |
CSV.open(csv_filename, "wb") do |csv| | |
csv << first.keys # adds the attributes name on the first line | |
self.each do |hash| | |
csv << hash.values | |
end | |
end | |
end |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Author: Christian Genco (@cgenco) | |
# 2013-09-04 | |
SMU_ID = "SMU STUDENT ID GOES HERE" | |
SMU_PW = "SMU PASSWORD GOES HERE" | |
require 'time' | |
@logfilename = "/Users/cgenco/Dropbox/flex.log" |
alias vime="vim -u ~/.encrypted_vimrc -x" |