Skip to the relevant sections if needed.
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
#!/bin/bash | |
# Author: Thomas Berezansky <[email protected]> | |
# Author: Jason Stephenson <[email protected]> | |
# | |
# Feel free to use and to share this script in anyway you like. | |
# This script is intended as a shortcut for the git cherry-pick | |
# command when you have several commits that you want to cherry-pick | |
# into your local branch from another branch. It often results in a |
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: WP Remove Assets | |
* Plugin URI: https://gist.github.com/CesarChaMal/d8bc69fcbb5d0e8562a60682b3a08007 | |
* Version: 0.1 | |
* Description: Filter particular scripts and style to load in posts or pages that don't need it. | |
* Author: Cesar Chavez | |
* Author URI: https://github.com/CesarChaMal | |
*/ | |
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: WP Remove Assets | |
* Plugin URI: https://github.com/CesarChaMal | |
* Version: 0.1 | |
* Description: Filter particular scripts and style to load in posts or pages that don't need it. | |
* Author: Cesar Chavez | |
* Author URI: https://github.com/CesarChaMal | |
*/ | |
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 | |
// Remove styles of plugin | |
add_filter( 'jetpack_implode_frontend_css', '__return_false' ); | |
add_filter( 'bbp_default_styles', '__return_empty_array' ); | |
// Remove bbPress scripts on non-bbPress pages | |
add_filter( 'bbp_default_scripts', function ( $scripts ) | |
{ | |
return is_bbpress() ? $scripts : [ ]; | |
} ); |
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
If you want to clone an svn repository with git-svn but don't want it to push all the existing branches, here's what you should do. | |
* Clone with git-svn using the -T parameter to define your trunk path inside the svnrepo, at the same time instructing it to clone only the trunk: | |
git svn clone -T trunk http://example.com/PROJECT | |
* If instead of cloning trunk you just want to clone a certain branch, do the same thing but change the path given to -T: | |
git svn clone -T branches/somefeature http://example.com/PROJECT |
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
Fonte: http://gohorseprocess.wordpress.com | |
1- Pensou, não é XGH. | |
XGH não pensa, faz a primeira coisa que vem à mente. Não existe | |
segunda opção, a única opção é a mais rápida. | |
2- Existem 3 formas de se resolver um problema, a correta, a errada e | |
a XGH, que é igual à errada, só que mais rápida. |
nssm.exe install SERVICE_NAME "C:\path\to\exe\or\bat\file.ext" "argument1 argument2"
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
----- BEGIN LICENSE ----- | |
TwitterInc | |
200 User License | |
EA7E-890007 | |
1D77F72E 390CDD93 4DCBA022 FAF60790 | |
61AA12C0 A37081C5 D0316412 4584D136 | |
94D7F7D4 95BC8C1C 527DA828 560BB037 | |
D1EDDD8C AE7B379F 50C9D69D B35179EF | |
2FE898C4 8E4277A8 555CE714 E1FB0E43 | |
D5D52613 C3D12E98 BC49967F 7652EED2 |
Ctrl + Shift + P - Command Pallete
Ctrl + ~ - Console
Ctrl + g - go to line
Ctrl + r - go to function
Ctrl + Shift + up/down - move line up/down
F5 - razeni podle abecedy vybraneho textu
F6 - spellcheck
F11 - fullscreen