M301 P20 I0.02 D250 M501 M500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import StoreKit | |
public extension SKProduct { | |
convenience init(d : Dictionary<String, AnyObject>) { | |
self.init() | |
self.setValue(d["uid"], forKey: "productIdentifier") | |
self.setValue(d["title"], forKey: "localizedTitle") | |
self.setValue(d["detail"], forKey: "localizedDescription") | |
self.setValue(NSDecimalNumber(string: (d["price"] as! String?)), forKey: "price") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# Downloads voicemails from google voice. | |
# This is old code, and I'm not 100% sure it still works, but I wanted to save this. | |
# natefanaro@gmail.com | |
use strict; | |
use WWW::Mechanize; | |
use DBI; | |
use HTTP::Cookies; |
I hereby claim:
- I am natefanaro on github.
- I am natefanaro (https://keybase.io/natefanaro) on keybase.
- I have a public key whose fingerprint is 087C 86DE EF9C A6CF 85F7 8E5C BE24 E885 80EB B3E9
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories":[ | |
{ | |
"type":"git", | |
"url":"https://github.com/natefanaro/Imagine" | |
} | |
{ | |
"type":"git", | |
"url":"https://github.com/natefanaro/memegenerator" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Model { | |
public $limit; | |
public $order_by; | |
public $query_properties = array(); | |
public function __call($name, $arguments) | |
{ | |
if (property_exists(__CLASS__, $name)) { | |
$this->$name = $arguments[0]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl Makefile.PL > /dev/null \ | |
&& make > /dev/null \ | |
&& perl -I blib/lib script.pl |