- Managers Path Leaders Navigating Growth $21.67
- Debugging Teams: Better Productivity through Collaboration $21.66
- Bottlenecks: Aligning UX Design with User Psychology $20.25
- [Product Leadership: How Top Product Managers Launch Awesome Products and Build Successful Teams](https://www.amazon.com/Product-Leadership-Managers-Products-Successful/dp/1491960604/ref=sr_1_9?s=books&ie=U
This file contains 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 | |
/** | |
* panji | |
* 2013 08 08 | |
*/ | |
class Gcm | |
{ | |
protected static $apiUrl = "https://android.googleapis.com/gcm/send"; |
This file contains 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
$ curl -s http://getcomposer.org/installer | php | |
$ sudo mv composer.phar /usr/local/bin/composer.phar | |
$ alias composer='/usr/local/bin/composer.phar' |
This file contains 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
# Mac & Android Studio Environment | |
/.idea/workspace.xml | |
.DS_Store | |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the Dalvik VM | |
*.dex |
This file contains 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
public void toggleFullscreenMode( boolean isFullscreen ) | |
{ | |
// Build.VERSION.SDK_INT >= 16 | |
View decorView = getWindow().getDecorView(); | |
if (getActionBar().isShowing()) { | |
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN; | |
decorView.setSystemUiVisibility(uiOptions); | |
getActionBar().hide(); | |
} else { | |
int uiOptions = View.SYSTEM_UI_FLAG_VISIBLE; |
This file contains 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
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android |
This file contains 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 | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, "https://202.43.173.234/transaksi/" ); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 ); | |
curl_setopt($ch, CURLOPT_POST, 1 ); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); |
When setting these options consider the following:
- How long is your average request?
- What is the maximum number of simultaneous visitors the site(s) get?
- How much memory on average does each child process consume?
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log