- Snake case property populating https://gist.github.com/crallen/9238178
- Custom converter http://stackoverflow.com/questions/28155169/how-to-programmatically-choose-a-constructor-during-deserialization
- iOS optimization (and link.xml) on Unity http://docs.unity3d.com/Manual/iphone-playerSizeOptimization.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Big updates for you guys! | |
We have 2 new modes, full gamepad support, iCloud enabled, along with several improvement, and bug fixes. | |
** 2 New Modes ** | |
- Zombie Apocalypse | |
Fight against huge amount of zombies in each different type. Try to get the highest score and share it on Facebook or Twitter. Show off your friends! | |
You have only one chance to revive for each gameplay. | |
- Challenge Mode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/start - Greeting with users, show them some basic info of what bot can do, and list of commands. | |
/stop - End the conversation, just say good bye, and start it over. | |
/help - Show very brief info of what bot can do, and list of commands. | |
/getname - Return name of the author, in this case "Wasin Thonkaew". Of course :) | |
/getnickname - Return nickname of the author. | |
/getsocial - Return the list of social channels that author has and users can check them out. | |
/getfreelancingrate - Return freelancing rate of the author. | |
/getcurrentlocation - Return the current location of the author. | |
/getproductsmade - Return the list of products that author has made. | |
/getlistofclients - Return the list of clients. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following instructions install PEAR and PECL on Mac OS X under /usr/local/. PECL is bundled with PEAR. So this is as simple as installing PEAR on Mac OS X. | |
PEAR is PHP’s Package Repository and makes it easy to download and install PHP tools like PHPUnit and XDebug. I specifically recommend these two for every PHP developer. | |
Download PEAR | |
curl -O http://pear.php.net/go-pear.phar | |
sudo php -d detect_unicode=0 go-pear.phar | |
Configure and Install PEAR | |
You should now be at a prompt to configure PEAR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile to compile or check syntax of wrapper, and its tester class | |
CC=clang++ | |
FRAMEWORKS=-framework Foundation | |
FRAMEWORKS+=-framework UIKit | |
FRAMEWORKS+=-framework SystemConfiguration | |
FRAMEWORKS+=-framework CoreMotion | |
FRAMEWORKS+=-framework CoreLocation | |
FRAMEWORKS+=-framework CoreGraphics | |
FRAMEWORKS+=-framework Security |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
nicediff = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-07-11 15:17:36.144755 demoApp[1050:339273] userInfo: { | |
DataInfo = { | |
"client_id" = { | |
"$id" = 54b9bc8fbe120b4e478b47a1; | |
}; | |
"site_id" = { | |
"$id" = 57834760be120bc8278b4577; | |
}; | |
}; | |
aps = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
// set only for one for safety | |
$registrationId = 'YOUR-REGISTRATION-ID-GOES-HERE'; | |
// prep the bundle | |
$msg = array | |
( |
- list packages
adb shell pm list packages -f
- delegate package
adb shell am start -a android.intent.action.DELETE -d package: