Skip to content

Instantly share code, notes, and snippets.

View AriT93's full-sized avatar

Ari Turetzky AriT93

  • N/A
  • Pleasanton, CA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am AriT93 on github.
  • I am arit93 (https://keybase.io/arit93) on keybase.
  • I have a public key whose fingerprint is 9436 FFAB 1713 76FC 660B F45D EE27 9FA6 DD59 F4FC

To claim this, I am signing this object:

@AriT93
AriT93 / emoji.txt
Created April 3, 2012 18:56 — forked from stephencelis/emoji.txt
Emoji not on the iOS Keyboard
2139 ℹ INFORMATION SOURCE
23EB ⏫ BLACK UP-POINTING DOUBLE TRIANGLE
23EC ⏬ BLACK DOWN-POINTING DOUBLE TRIANGLE
23F0 ⏰ ALARM CLOCK
23F3 ⏳ HOURGLASS WITH FLOWING SAND
26C5 ⛅ SUN BEHIND CLOUD
26D4 ⛔ NO ENTRY
2705 ✅ WHITE HEAVY CHECK MARK
2753 ❓ BLACK QUESTION MARK ORNAMENT
2757 ❗ HEAVY EXCLAMATION MARK SYMBOL
@AriT93
AriT93 / fix-nokogiri
Created March 19, 2012 21:08 — forked from martinisoft/fix-nokogiri.md
Nokogiri working install with latest XCode
Homebrew has blacklisted libiconv so the majority of your help via google will not work now.
Here's a way I figured out how to get nokogiri to compile if you made the mistake of upgrading your XCode version and you use RVM
1. Install packages via RVM
rvm pkg install libxslt
rvm pkg install libxml2
rvm pkg install iconv
2. Tell bundler how to build this by default
bundle config build.nokogiri --with-opt-dir=$rvm_home/usr
@AriT93
AriT93 / native full screen
Created November 25, 2011 19:46
emacs 24 fullscreen
diff --git a/src/nsterm.m b/src/nsterm.m
index c5b28d5..8ff4e3e 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5488,9 +5488,7 @@ ns_term_shutdown (int sig)
win = [[EmacsWindow alloc]
initWithContentRect: r
styleMask: (NSResizableWindowMask |
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
NSTitledWindowMask |
@AriT93
AriT93 / sift.pl
Created September 13, 2011 14:20
Looking for a way to better do this
#sifting through a list, the keys are non unique and can show up any number of times with corresponding #level; aqua,purple,blue
#The desire is to sift each key to its highest value; aqua > purple > blue.
#I am using a sub like this to handle updating the value in a hash that uses the key value to
#uniquify the data and will then give me the key with it's highest rated level.
#This seemed a pretty efficient way to do it but I'd like input.
#It's perl but really more interested in the algorithm.
sub sift_value{
my $value_in = shift;