Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am Paulo-Branco on github.
  • I am paulobranco (https://keybase.io/paulobranco) on keybase.
  • I have a public key whose fingerprint is D872 FD6F 4341 5D8D 12FD 7271 9A9A 6B3C 9015 1018

To claim this, I am signing this object:

@Paulo-Branco
Paulo-Branco / gist:eb0d876d7af446fc75bb
Created February 13, 2015 18:22
[Debug] - Add a current calendar event
NSDateComponents *dateComponents5 = [[NSCalendar currentCalendar] components:NSDayCalendarUnit|NSMonthCalendarUnit|NSYearCalendarUnit|NSHourCalendarUnit fromDate:[NSDate date]];
[dateComponents5 setHour:dateComponents5.hour - 1]; /* Started one hour ago */
Calendar *newItem5 = [Calendar newEntityWithError:nil];
[newItem5 setClassStart:[[NSCalendar currentCalendar] dateFromComponents:dateComponents5]];
[newItem5 setClassEnd:[[[NSCalendar currentCalendar] dateFromComponents:dateComponents5] dateByAddingTimeInterval:3600*3]]; /* Lasts for 4 hours */
[newItem5 setEventType:@"CLASS"];
[newItem5 setEventName:[NSString stringWithFormat:@"%@ - Theoretical", exampleCourse4.courseName]];
[newItem5 addCoursesObject:exampleCourse4];
@Paulo-Branco
Paulo-Branco / Alpha0.5.2ChangeLog
Last active August 29, 2015 14:14
myIST Release Notes - Alpha 0.5.6
# myIST - Alpha 0.5.6
_![myIST AppIcon](http://www.paulobranco.net/myIST/AppIcon76x76%402x.png) Version A0.5.6 Alpha Testing Team only.
### What's new / fixed?
___
#### General Bug Fixes:
@Paulo-Branco
Paulo-Branco / myIST Release Notes - Alpha 0.5.2
Last active August 29, 2015 14:14
myIST Release Notes - Alpha 0.5.2
# myIST - Alpha 0.5.2
###The Tripe-S Edition: Speed, Security, Scalability.
_![myIST AppIcon](http://www.paulobranco.net/myIST/AppIcon76x76%402x.png) Version A0.5.2. Alpha Testing Team only.
> If debugging is the process of removing software bugs, then programming must be the process of putting them in.” ~ Edsger Dijkstra
@Paulo-Branco
Paulo-Branco / myIST Release Notes - Alpha 0.5.2
Created February 6, 2015 15:20
myIST Release Notes - Alpha 0.5.2
# myIST - Alpha 0.5.2
###The Tripe-S Edition: Speed, Security, Scalability.
_![myIST AppIcon](http://www.paulobranco.net/myIST/AppIcon76x76%402x.png) Version A0.5.2. Alpha Testing Team only.
> If debugging is the process of removing software bugs, then programming must be the process of putting them in.” ~ Edsger Dijkstra
@Paulo-Branco
Paulo-Branco / myIST 0.5.2
Last active August 29, 2015 14:14
myIST Release Notes - Alpha 0.5.2
# myIST - Alpha 0.5.2
###The Tripe-S Edition: Speed, Security, Scalability.
_![myIST AppIcon](http://www.paulobranco.net/myIST/AppIcon76x76%402x.png) Version A0.5.2. Alpha Testing Team only.
> If debugging is the process of removing software bugs, then programming must be the process of putting them in.” ~ Edsger Dijkstra