I hereby claim:
- I am joshbuhler on github.
- I am joshbuhler (https://keybase.io/joshbuhler) on keybase.
- I have a public key whose fingerprint is 3883 BF29 5216 B107 D605 6F70 2C04 B9F3 70F4 C9D1
To claim this, I am signing this object:
// grab the version number from the app bundle | |
NSString *versionString = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]; | |
versionLabel.text = [NSString stringWithFormat:@"Version %@", versionString]; |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(moviePlaybackDidStart:) | |
name:@"UIMoviePlayerControllerDidEnterFullscreenNotification" | |
object:nil]; | |
// Apparently Apple had this notification misspelled in iOS < 4.3 | |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(moviePlaybackDidStart:) | |
name:@"UIMoviePlayerControllerDidEnterFullcreenNotification" | |
object:nil]; |
# Add to .bash_profile, then restart Terminal (or open a new tab.) | |
# Usage: tabname "<TAB_NAME>" | |
# | |
# Quotes around the new tab name are optional - but make it easier to | |
# add tabnames that contain spaces or special characters. | |
tabname () { | |
echo -e "\033];$1\007"; | |
} |
scrum = log --since '1 day ago' --no-merges --pretty=format':%C(yellow)%h %aN%n %B%n' --author <AUTHOR_EMAIL> |
#!/bin/bash | |
################################################## | |
# | |
# BuildVersion incrementing script v1.0 | |
# | |
################################################## | |
processedPlist="${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" | |
projectPlist="${INFOPLIST_FILE}" |
// DateFilter is just an enum for some preset dates to filter on. | |
- (NSDate *) dateForFilter:(DateFilter)filterType | |
{ | |
NSDate *today = [NSDate date]; | |
NSCalendar *cal = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; | |
NSDateComponents *dateComp = [[NSDateComponents alloc] init]; | |
switch (filterType) { | |
case DateFilterWeek: |
I hereby claim:
To claim this, I am signing this object:
# Usage: sh stringsValidator.sh ~/path/to/strings/folder | |
rootFolder=. | |
if [[ $1 ]]; then | |
rootFolder=$1 | |
fi | |
stringsFiles=$(find $rootFolder -type f -name "*.strings"); | |
for stringsFile in $stringsFiles; do | |
plResult=$(plutil -lint $stringsFile) |
IR codes for a Govee 44-button remote, captured using a Control4 CORE-1 controller. Buttons are labeled based on the top-left of the remote. From top to bottom, 1-11, from left to right, A-D.
0000 006f 0022 0002 0157 00a6 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 003e 0016 003e 0016 003e 0015 003e 0016 003e 0016 003e 0015 003e 0016 003e 0016 0015 0016 0015 0015 003f 0016 003e 0016 003f 0015 0015 0016 003e 0015 0015 0016 003e 0015 003e 0016 0015 0015 0015 0016 0015 0016 003e 0016 0015 0016 003e 0016 05c3 0156 0053 0016 0de2
https://everything2.com/index.pl?node_id=1520430 | |
99991 11113 11115 11117 11119 11133 11135 11137 11139 11153 | |
11155 11157 11159 11173 11175 11177 11179 11193 11195 11197 | |
11199 11313 11315 11317 11319 11333 11335 11337 11339 11353 | |
11355 11357 11359 11373 11375 11377 11379 11393 11395 11397 | |
11399 11513 11515 11517 11519 11533 11535 11537 11539 11553 | |
11555 11557 11559 11573 11575 11577 11579 11593 11595 11597 | |
11599 11713 11715 11717 11719 11733 11735 11737 11739 11753 | |
11755 11757 11759 11773 11775 11777 11779 11793 11795 11797 |