http://romannurik.github.io/AndroidAssetStudio/icons-notification.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
export ANDROID_HOME=/<installation location>/android-sdk-linux | |
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools |
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 | |
/** | |
* Plugin Name: Search By Meta | |
* Plugin URI: http://wordpress.stackexchange.com/questions/11758/extending-the-search-context-in-the-admin-list-post-screen | |
* Description: SearchByMeta. | |
* Author: SearchByMeta | |
* Author URI: http://wordpress.stackexchange.com/questions/11758/extending-the-search-context-in-the-admin-list-post-screen | |
**/ | |
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
https://www.airpair.com/ionic-framework/posts/production-ready-apps-with-ionic-framework |
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
db.collection.find().limit(1).skip(_rand()*db.collection.count()); |
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
[Unit] | |
Description=High-performance, schema-free document-oriented database | |
Documentation=man:mongod(1) | |
After=network.target | |
[Service] | |
Type=forking | |
User=mongodb | |
Group=mongodb |
-
All directories should be 755 or 750.
-
All files should be 644 or 640. Exception: wp-config.php should be 440 or 400 to prevent other users on the server from reading it.
-
No directories should ever be given 777, even upload directories. Since the php process is running as the owner of the files, it gets the owners permissions and can write to even a 755 directory.
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
function addsomevars($filters){ | |
$metaparts = array("meta_key", "meta_value", "meta_compare", "meta_query"); | |
$filters = array_merge($filters, $metaparts); | |
return $filters; | |
} | |
add_filter('json_query_vars', 'addsomvars'); | |
// url.com/wp-json/posts?filter[meta_key]=app-use&filter&filter[meta_value]=yes |
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 | |
add_filter( 'user_contactmethods', 'add_new_user_fields' ); | |
function add_new_user_fields( $user_contact ) { | |
$user_contact[ 'billing_cel_phone' ] = 'Celular'; | |
return $user_contact; | |
} |