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:7032067
Created October 17, 2013 20:55
push notification ios
http://stackoverflow.com/questions/15426422/how-to-update-provisioning-profile-for-push-notification-ios
http://stackoverflow.com/questions/8747539/how-do-i-check-if-an-ios-distribution-provisioning-profile-has-push-notification
@riosc
riosc / gist:5715044
Created June 5, 2013 16:00
GCD tutorials
http://www.raywenderlich.com/4295/multithreading-and-grand-central-dispatch-on-ios-for-beginners-tutorial
http://jeffreysambells.com/2013/03/01/asynchronous-operations-in-ios-with-grand-central-dispatch
@riosc
riosc / gist:5681378
Created May 30, 2013 21:27
modified file betwen commits
http://stackoverflow.com/questions/1552340/git-show-all-changed-files-between-two-commits
@riosc
riosc / gist:5333432
Created April 8, 2013 01:03
not dissmiss popover on tap
//BLOCKING DISSMISS POPOVER CLIKING OVER TAP WINDOW
//navPlaqueDetail.modalInPopover = YES;
//navPlaqueDetail.modalPresentationStyle = UIModalPresentationCurrentContext;
@riosc
riosc / tableView delegates and datasources methods
Created March 6, 2013 19:52
tableview delegates and datasources methods
#pragma mark table view delegate and datasources
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
return 1183;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
UIEndodonticExamToothCell
* cell = [tableView dequeueReusableCellWithIdentifier:@"toothEndodonticDiagnosis"];
@riosc
riosc / sqlite_ios
Created March 4, 2013 19:04
debug sqlite ios
http://blog.chrismiles.info/2011/07/core-data-debugging-with-sqlite.html
@riosc
riosc / enum_in_c
Last active December 14, 2015 05:39
enum c tutorial
http://crasseux.com/books/ctutorial/enum.html
typedef NS_OPTIONS(NSUInteger, ComponentOptions){
ComponentOptionA = 0,
ComponentOptionB = 1 << 0,
ComponentOptionC = 1 << 1,
ComponentOptionD = 1 << 2,
ComponentOptionE = 1 << 3,
ComponentOptionF = 1 << 4,
@riosc
riosc / commit_modified_files_gitHub
Created February 18, 2013 14:56
know what commit modified a file in gut hub
http://stackoverflow.com/questions/4784575/how-do-i-find-the-most-recent-git-commit-that-modified-a-file
@riosc
riosc / not dissmiss popover
Created February 14, 2013 20:09
avoid dissmiss popover on tap
//BLOCKING DISSMISS POPOVER CLIKING OVER TAP WINDOW
//navPlaqueDetail.modalInPopover = YES;
//navPlaqueDetail.modalPresentationStyle = UIModalPresentationCurrentContext;
@riosc
riosc / url paratheres javascript
Created February 7, 2013 19:04
paramether by url with javascript
http://www.xul.fr/javascript/parameters.html