This really clicked with me: https://stackoverflow.com/a/14095049
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
{ | |
"breadcrumbs.enabled": true, | |
"explorer.openEditors.visible": 0, | |
"window.title": "${dirty} ${activeEditorMedium}${separator}${rootName}", | |
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 13, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "all", | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.minimap.renderCharacters": false, |
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
{ | |
"name": "foo-project/wordpress-wp-content", | |
"description": "Plugins and Theme to power the Foo Project website built atop WordPress.", | |
"type": "project", | |
"require": { | |
"webdevstudios/sso": "^2.0", | |
"webdevstudios/advanced-custom-fields-pro": "^5.8", | |
"yoast/wordpress-seo-premium": "^11.6", | |
"wpackagist-plugin/stream": "^3.3", | |
"webdevstudios/wp-migrate-db-pro": "^1.9", |
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 | |
/** | |
* Set Beaver Builder defaults | |
* | |
* @param {object} $defaults The default settings. | |
* @param {object} $form)_type The module settings. | |
* @return $defaults | |
*/ | |
function grd_set_bb_defaults( $defaults, $form_type ) { |
- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/5798930 (
git reset
vsgit rm --cached
)
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |
https://www.virendrachandak.com/techtalk/php-isset-vs-empty-vs-is_null/
http://www.zomeoff.com/php-fast-way-to-determine-a-key-elements-existance-in-an-array/
$people = array(
'one' => 'Eric', // true
'two' => '', // false
'three' => null, // false
NewerOlder