I hereby claim:
- I am alanthonyc on github.
- I am anthonyc (https://keybase.io/anthonyc) on keybase.
- I have a public key whose fingerprint is 65C0 E92C BBDF DECB 3ACE 75FB DBCC E4CE 34F2 B5E1
To claim this, I am signing this object:
| # from kencochrane.net | |
| emacs /opt/django/.bashrc | |
| # | |
| # User specific aliases and functions | |
| has_virtualenv() { | |
| if [ -e .venv ]; then | |
| deactivate >/dev/null 2>&1 | |
| source bin/activate | |
| fi |
| // read plist | |
| NSString *errorDesc = nil; | |
| NSPropertyListFormat format; | |
| NSString *plistPath; | |
| NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; | |
| plistPath = [rootPath stringByAppendingPathComponent:@"Pexplorer.plist"]; | |
| NSString *originalPlistPath; | |
| originalPlistPath = plistPath; | |
| #ifdef ENABLE_DEBUG | |
| #define DebugLog(format, args...) \ | |
| NSLog(@"%s, line %d: " format "\n", \ | |
| __func__, __LINE__, ## args); | |
| #else | |
| #define DebugLog(format, args...) do {} while(0) | |
| #endif | |
| // sample use | |
| DebugLog("number: %d ; class %p", count, className); |
| import simplejson | |
| import networkx as nx | |
| #http://mlg.ucd.ie/files/summer/tutorial.pdf | |
| from networkx.algorithms import bipartite | |
| g = nx.Graph() | |
| #need to bring in reutersJournalistList | |
| users=simplejson.loads(reutersJournalistList) |
| // | |
| // Constants.h | |
| // | |
| // Created by Anthony Castillo on 5/11/12. | |
| // | |
| #ifndef MyApp_Constants_h | |
| #define MyApp_Constants_h | |
| #define ONE_DAY 86400 |
| <hr> | |
| <div id="myCarousel" class="carousel slide"> | |
| <!-- Carousel items --> | |
| <div class="carousel-inner"> | |
| <div class="active item"><div class="offset1"><h4><img src="http://photos3.meetupstatic.com/photos/member/3/1/5/8/highres_69732632.jpeg" height=80 width=80px></h4><h1>Erna Kay</h1></div></div> | |
| <div class="item"><div class="offset1"><h4><img src="http://photos1.meetupstatic.com/photos/member/f/0/8/member_11139848.jpeg" height=80 width=80></h4><h1>Anthony C</h1></div></div> | |
| <div class="item"><div class="offset1"><h4><img src="http://photos2.meetupstatic.com/photos/member/3/f/f/4/highres_84856372.jpeg" height=80 width=80></h4><h1>Joe Becci</h1></div></div> | |
| </div> | |
| <!-- Carousel nav --> | |
| <a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a> |
| @implementation UIView (FindFirstResponder) | |
| - (id)findFirstResponder | |
| { | |
| if (self.isFirstResponder) { | |
| return self; | |
| } | |
| for (UIView *subView in self.subviews) { | |
| id responder = [subView findFirstResponder]; | |
| if (responder) return responder; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| ######################### | |
| # .gitignore file for Xcode4 and Xcode5 Source projects | |
| # | |
| # Apple bugs, waiting for Apple to fix/respond: | |
| # | |
| # 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
| # | |
| # Version 2.3 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| fabfile for Django | |
| ------------------ | |
| see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
| modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle) | |
| several additions, corrections and customizations, too |