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! SetRandomColors() | |
if !exists('g:mycolors') | |
let matches = {} | |
for fname in split(globpath(&runtimepath, 'colors/*.vim'), '\n') | |
let name = fnamemodify(fname, ':t:r') | |
let matches[name] = 1 | |
endfor | |
let g:mycolors = sort(keys(matches), 1) | |
endif | |
exe 'colorscheme ' . g:mycolors[localtime() % len(g:mycolors)] |
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
/***************************************************************** | |
* | |
* Copy Layer text 1.0 - by Praveen Vijayan! - http://www.decodize.com/ | |
* | |
* Compatibility above Photoshop CS6 | |
* | |
* Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/ | |
* | |
*****************************************************************/ | |
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
.gotoymaps, | |
.ymaps-2-1-50-map-copyrights-promo, | |
.ymaps-2-1-50-copyright | |
{ | |
display: none !important; | |
} |
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
<snippet> | |
<content><![CDATA[ | |
<!-- begin $1 --> | |
<div class="$1"> | |
$2 | |
</div> | |
<!-- end $1 --> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>di</tabTrigger> |
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
" cvim config v.0.0.1 | |
map gr gT | |
map gb :buffer<Space> | |
"================================================== | |
" russian langmap for hotkeys to work in both kb layouts | |
" credit: https://gist.github.com/rynffoll/7bb30a47b3b8d39687f588ecc2be5425 | |
" also: https://gist.github.com/MaxLevs/f519d361d3946d6d877085f909e13043 | |
let langmap = "Ё|АFБ<ВDГUДLЕTЖ:ЗPИBЙQКRЛKМVНYОJПGРHСCТNУEФAХ{ЦWЧXШIЩOЪ}ЫSЬMЭ\"Ю>ЯZаfб\\,вdгuдlеtж\\;зpиbйqкrлkмvнyоjпgрhсcтnуeфaх[цwчxшiщoъ]ыsьmэ'ю.яzё\\№#" | |
"================================================== | |
let blacklists = ["http://www.typing.com/*","http://www.heuxasoftware.com/*","http://www.keybr.com/*","http://www.reddit.com/*","https://sirxemic.github.io/*","http://vim-adventures.com/*","https://mail.google.com/*","https://timeinvariant.github.io/*","http://www.platinumgames.co.jp/*","http://codecombat.com/*","http://johanw123.nu/*","http://hughsk.io/*","https://np.reddit.com/*","chrome-extension://hgimloonaobbeeagepickockgdcghfnn/*","https://blastar-1984.appspot.com/*","http://redditp.com/*", |
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
.credits | |
{ | |
display: inline-block; | |
float: right; | |
color: var(--cl-credit); | |
} | |
.prostor | |
{ | |
color: var(--cl-credit); |
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
// show tax id's in admin panel: | |
// https://wordpress.stackexchange.com/a/77536 | |
foreach ( get_taxonomies() as $taxonomy ) { | |
add_action( "manage_edit-${taxonomy}_columns", 't5_add_col' ); | |
add_filter( "manage_edit-${taxonomy}_sortable_columns", 't5_add_col' ); | |
add_filter( "manage_${taxonomy}_custom_column", 't5_show_id', 10, 3 ); | |
} | |
add_action( 'admin_print_styles-edit-tags.php', 't5_tax_id_style' ); | |
function t5_add_col( $columns ) |
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
remove_filter( 'the_content', 'wpautop' ); | |
remove_filter( 'the_content', 'wptexturize' ); | |
remove_filter( 'the_excerpt', 'wpautop' ); | |
remove_filter( 'comment_text', 'wpautop' ); |