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:
| Verifying my Blockstack ID is secured with the address 1GaEBfFWjUDqGbdQoogDfYiMGHaJz7YMaw https://explorer.blockstack.org/address/1GaEBfFWjUDqGbdQoogDfYiMGHaJz7YMaw |
| @implementation UIImage (Extras) | |
| // from this SO: http://stackoverflow.com/a/605385 | |
| #pragma mark - | |
| #pragma mark Scale and crop image | |
| - (UIImage*)imageByScalingAndCroppingForSize:(CGSize)targetSize | |
| { | |
| UIImage *sourceImage = self; | |
| UIImage *newImage = nil; |
| // | |
| // HTTPConstants.h | |
| // Heartagram | |
| // | |
| // Created by Anthony Castillo on 3/11/15. | |
| // HTTP status codes. Reference: http://www.django-rest-framework.org/api-guide/status-codes/ | |
| #ifndef HTTPConstants_h | |
| #define HTTPConstants_h |
| #!/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 |
| ######################### | |
| # .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 | |
| # |
I hereby claim:
To claim this, I am signing this object:
| @implementation UIView (FindFirstResponder) | |
| - (id)findFirstResponder | |
| { | |
| if (self.isFirstResponder) { | |
| return self; | |
| } | |
| for (UIView *subView in self.subviews) { | |
| id responder = [subView findFirstResponder]; | |
| if (responder) return responder; | |
| } |
| <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> |
| // | |
| // Constants.h | |
| // | |
| // Created by Anthony Castillo on 5/11/12. | |
| // | |
| #ifndef MyApp_Constants_h | |
| #define MyApp_Constants_h | |
| #define ONE_DAY 86400 |
| 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) |