Skip to content

Instantly share code, notes, and snippets.

View sarahhodne's full-sized avatar
🏳️‍⚧️

Sarah Hodne sarahhodne

🏳️‍⚧️
View GitHub Profile
Incident Identifier: FB37EF51-B713-4638-BF38-9ABBE413A625
CrashReporter Key: d5b33bff9bc664d260966cdfeaac267a3f5ab291
Hardware Model: iPhone4,1
Process: Tweetbot [1156]
Path: /var/mobile/Applications/33F68613-A107-45DF-B2EB-77EDE70BEA33/Tweetbot.app/Tweetbot
Identifier: Tweetbot
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
@sarahhodne
sarahhodne / gist:1468849
Created December 12, 2011 20:02
`brew list --unbrewed | egrep iconv`
lib/node_modules/chessathome-worker/node_modules/dnode/node_modules/socket.io/support/expresso/deps/jscoverage/m4/iconv.m4
MacGPG2/bin/iconv
MacGPG2/include/iconv.h
MacGPG2/lib/libiconv.2.dylib
MacGPG2/lib/libiconv.la
MacGPG2/share/aclocal/iconv.m4
MacGPG2/share/doc/libiconv/iconv.1.html
MacGPG2/share/doc/libiconv/iconv.3.html
MacGPG2/share/doc/libiconv/iconv_close.3.html
MacGPG2/share/doc/libiconv/iconv_open.3.html
@sarahhodne
sarahhodne / gist:1468321
Created December 12, 2011 17:47
`brew install git` error message
==> Downloading http://git-core.googlecode.com/files/git-1.7.8.tar.gz
File already downloaded in /Users/dvyjones/Library/Caches/Homebrew
/usr/bin/tar xf /Users/dvyjones/Library/Caches/Homebrew/git-1.7.8.tar.gz
==> make prefix=/usr/local/Cellar/git/1.7.8 install
make prefix=/usr/local/Cellar/git/1.7.8 install
GIT_VERSION = 1.7.8
* new build flags or prefix
* new link flags
./generate-cmdlist.sh > common-cmds.h+ && mv common-cmds.h+ common-cmds.h
/usr/bin/llvm-gcc -o hex.o -c -MF ./.depend/hex.o.d -MMD -MP -O3 -march=core2 -w -pipe -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM hex.c
@sarahhodne
sarahhodne / gist:1341827
Created November 5, 2011 18:01
Use pry for rails console
# Launch Pry with access to the entire Rails stack.
# If you have Pry in your Gemfile, you can pass: ./script/console --irb=pry
# instead. If you don't, you can load it through the lines below :)
rails = File.join(Dir.getwd, 'config', 'environment.rb')
if File.exist?(rails) && ENV['SKIP_RAILS'].nil?
require rails
if Rails.version[0..0] == '2'
require 'console_app'
@sarahhodne
sarahhodne / GroveApp.h.patch
Created September 24, 2011 18:39
Patches for OpenJade for Mac OS X
--- spgrove/GroveApp.h.orig Sun May 2 21:57:37 1999
+++ spgrove/GroveApp.h Tue Aug 5 11:27:44 2003
@@ -7,9 +7,9 @@
#pragma interface
#endif
-#include "ParserApp.h"
+#include <OpenSP/ParserApp.h>
#include "GroveBuilder.h"
-#include "HashTable.h"
@sarahhodne
sarahhodne / Questions.md
Created September 7, 2011 06:54
GOTO Amsterdam

Day job: None really, I'm a "high school student" (I'm in 13th grade, which would be Freshman year in college in the US).

What is your language of choice: Ruby. I'm looking at other "secondary" languages, such as

Open Source contributions: Mostly a bug report, maybe a fix here and there. There's also my own project, Defender.

How do you use GitHub: I use it to discover new libraries and programming goodies. When I needed an IMAP library for Objective-C, GitHub was the first place I looked. I also host everything I make of programming things (and a bit more, like dotfiles), as soon as it reaches a stage where there's some "runnable" code (even if it just throws an exception), I push it to GitHub.

@sarahhodne
sarahhodne / Questions.md
Created August 10, 2011 14:29
Frozen Rails Give-away

Day job: Student about to start last year of High School (13th grade)

Your Rails contributions (if any): No committed code, but I've helped out on a few bug reports, and I made a plugin.

What's your Ruby/Rail experience?: I've been programming in Ruby/Rails since 2008 (I remember Rails 1), and I've worked on a few (mostly personal) projects. I have two static sites up that are generated with Jekyll + some extra magic with a build script I wrote that eventually uploads to FTP, and I made an ActiveModel plugin for the Defensio spam filtering service, called Defender.

How do you use GitHub?: I use GitHub to host my code project, and it's the first place I search for the source code for projects. If I want, say, a Ruby LDAP library, the first place I search is GitHub. I haven't been able to get too involved in other open source projects, so I don't use the "social" features too much.

@sarahhodne
sarahhodne / gist:1134999
Created August 9, 2011 19:44
My geek code
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d-(--) s+:-()> a--- C++>$ ULC*+++(++++)>$ P L++(++++)>$ !E--- W+++>$ !N !o K-? !w O? M+(++)>$ V? PS+++(++)>$ PE-(+) Y? PGP++(+) !t !5 !X R tv+() b++(+)>++ DI(+) !D G e->+++ h--> !r>++ y>+
------END GEEK CODE BLOCK------
# Note 1: All variables are unsigned 32 bits and wrap modulo 232 when calculating
# Note 2: All constants in this pseudo code are in big endian
# Initialize variables
# (first 32 bits of the fractional parts of the square roots of the first 8 primes 2..19):
h[0..7] :=
0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19
# Initialize table of round constants
# (first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311):
k[0..63] :=
#--
# sha2.rb - defines Digest::SHA2 class which wraps up the SHA256,
# SHA384, and SHA512 classes.
#++
# Copyright (c) 2006 Akinori MUSHA <knu@iDaemons.org>
#
# All rights reserved. You can redistribute and/or modify it under the same
# terms as Ruby.
#
# $Id: sha2.rb 11708 2007-02-12 23:01:19Z shyouhei $