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
/* Center Items without floats */ | |
.centeredItems { | |
text-align: center; | |
text-align: left; /*if you want left aligned items*/ | |
} | |
.centeredItems .item { | |
display: inline-block; | |
zoom: 1; | |
*display: inline; | |
vertical-align: top; |
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
_ |
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
$ git config --global alias.unstage 'reset HEAD --' | |
This makes the following two commands equivalent: | |
$ git unstage fileA | |
$ git reset HEAD fileA | |
This seems a bit clearer. It’s also common to add a last command, like this: | |
$ git config --global alias.last 'log -1 HEAD' |
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
/* User Key Bindings */ | |
[ | |
{ | |
"keys": ["f1"], | |
"command": "reindent", | |
"args": { | |
"single_line": 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
<?php // Load in WP functions outside of wordpress | |
define('WP_USE_THEMES', false); | |
require('/home/kindyhub/public_html/wp-blog-header.php'); ?> | |
add_action('wp_enqueue_scripts', 'no_more_jquery'); | |
function no_more_jquery(){ | |
//if(!is_bbpress()) { //sample condition inside function | |
wp_deregister_script('jquery'); | |
//} | |
} |