Skip to content

Instantly share code, notes, and snippets.

View riosc's full-sized avatar

Carlos David Rios Vertel riosc

  • Santiago, Chile.
View GitHub Profile
@riosc
riosc / gist:8752015
Created February 1, 2014 12:52
polilyne utility
https://developers.google.com/maps/documentation/utilities/polylineutility
https://developers.google.com/live/shows/240588492-4001
@riosc
riosc / gist:8752025
Last active August 29, 2015 13:55
android rest clients
http://stackoverflow.com/questions/6930584/proper-android-rest-client
https://github.com/PCreations/RESTDroid
https://github.com/octo-online/robospice/wiki/Starter-Guide
https://github.com/octo-online/RoboSpice-samples
CONFIGURING TO INSTALL NEEDED LIBRARIES
http://stackoverflow.com/questions/10969753/android-command-not-found
@riosc
riosc / gist:8845829
Last active August 29, 2015 13:56
library projects android
http://developer.android.com/tools/projects/index.html
http://developer.android.com/samples/input.html
http://www.sitepoint.com/getting-started-with-android-library-projects-part-1/
http://stackoverflow.com/questions/5580575/could-not-find-the-xxx-apk-message-in-console-while-starting-application-with
http://stackoverflow.com/questions/9682074/using-android-library-in-eclipse-and-jumping-to-class-files-instead-of-source-fi
http://stackoverflow.com/questions/9108136/is-it-possible-to-create-multiple-targets-for-android-project-like-xcode-target
@riosc
riosc / gist:9034327
Last active August 29, 2015 13:56
button + images ios
http://stackoverflow.com/questions/4912315/uibutton-rounded-corners-in-highlight-state
http://stackoverflow.com/questions/14523348/how-to-change-the-background-color-of-a-uibutton-while-its-highlighted
http://stackoverflow.com/questions/17018617/how-to-resize-an-image-in-ios
https://coffeeshopped.com/2010/09/iphone-how-to-dynamically-color-a-uiimage
http://blog.ioscodesnippet.com/post/9247898208/creating-a-placeholder-uiimage-dynamically-with-color
@riosc
riosc / gist:9050643
Created February 17, 2014 13:40
jenkins
https://www.digitalocean.com/community/articles/how-to-build-android-apps-with-jenkins
@riosc
riosc / gist:9146505
Last active August 29, 2015 13:56
CollectionViews iOS
http://skeuo.com/uicollectionview-custom-layout-tutorial
http://www.raizlabs.com/2013/10/animating_items_uicollectionview/
recomendado
http://www.raywenderlich.com/es/46652/comenzando-con-uicollectionview-en-ios6-primera-parte
@riosc
riosc / gist:9214363
Created February 25, 2014 18:04
android null variables on background
http://stackoverflow.com/questions/151777/saving-activity-state-in-android
http://stackoverflow.com/questions/9541688/static-variable-null-when-returning-to-the-app
http://stackoverflow.com/questions/4797187/android-static-variable-null-on-low-memory
http://stackoverflow.com/questions/11884387/can-static-variable-value-be-nulled-by-system-in-android-app
@riosc
riosc / gist:9244466
Last active August 29, 2015 13:56
generating java code from xml android xslt
http://stackoverflow.com/questions/14926123/generating-java-source-code-using-mixins-from-xml
http://stackoverflow.com/questions/2960122/generate-java-code-in-eclipse
http://www.vogella.com/tutorials/XSLT/article.html
http://www.abbeyworkshop.com/howto/xslt/ant_XSLT/
http://stackoverflow.com/questions/2960122/generate-java-code-in-eclipse
http://stackoverflow.com/questions/3581251/how-do-i-fix-unexpected-element-target-antliborg-apache-tools-anttarget
http://stackoverflow.com/questions/3469371/xslt-value-of-text-associated-with-element
http://stackoverflow.com/questions/16406952/use-xslt-to-find-node-and-specific-attribute-value
http://www.w3schools.com/XSL/xsl_templates.asp
@riosc
riosc / gist:9744996
Last active August 29, 2015 13:57
compile project command line android
http://stackoverflow.com/questions/15285331/how-to-compile-apk-from-command-line
http://developer.android.com/tools/building/building-cmdline.html
http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html
@riosc
riosc / gist:9776781
Last active August 29, 2015 13:57
Efective Objective C 2.0
1. Prefer @class instead of #import as posible
- In headers files use @class, in implementation file use #import
- For protocol, separarte the protocol in other file (h)
2. Prefere literals instead of class methods
@YES, @1, @5.45f, ...
3. Prefer static cons instead of prepocesor # define
DURATION 0.3
static const NSInterval duration = 0.3; this is visible in implementatio file only