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
// Format number in input | |
function formatNumber(num) { | |
return ("" + num).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, function($1) { return $1 + " " }); | |
} | |
$('.format-num').on('keyup', function () { | |
$(this).val( formatNumber(this.value.replace(/\s/g, '')) ); | |
}); |
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
<ul class="tab-nav"> | |
<li><a href="#tab1">tab 1</a></li> | |
<li><a href="#tab2">tab 2</a></li> | |
<li><a href="#tab3">tab 3</a></li> | |
</ul> | |
<div class="tab-content"> | |
<div class="panel" id="tab1">panel 1</div> | |
<div class="panel" id="tab2">panel 2</div> | |
<div class="panel" id="tab3">panel 3</div> |
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
@-moz-document url-prefix() {} |
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
$ ./ffmpeg -i video.mkv -vf subtitles=rus.srt out.mkv |
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
$ shasum -a 256 FILENAME | awk '$1 == "SHA256 HASH" { print "good to go" }' |
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
intitle:"Joomla – Web Installer" | |
intitle:"Index of /" "joomla_update.php" | |
"Consola de Joomla! Debug" inurl:index.php | |
"Joomla! Administration Login" inurl:"/index.php" | |
"powered by joomla 3.2" OR "powered by joomla 3.3" OR "powered by joomla 3.4" | |
inurl:~~joomla3.txt filetype:txt | |
intext:"~~Joomla1.txt" title:"Index of /" | |
inurl:"index.php?option=com_bookjoomlas" | |
index2.php?option=com_joomlaboard | |
com_ijoomla_rss |
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
## Sample initialization file for GNU nano. | |
## | |
## VERSION 4.9.3 | |
## | |
## Characters that are special in a shell should not be escaped here. | |
## Inside string parameters, quotes should not be escaped -- the last | |
## double quote on the line will be seen as the closing quote. | |
## | |
## For the options that take parameters, the default value is shown. | |
## Other options are unset by default. To make sure that an option |
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
ZSH_THEME="avit" | |
plugins=(npm extract vscode web-search z) | |
################# | |
# # | |
# ALIASES # | |
# # | |
################# |
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
$ echo 'alias 2zsh="chsh -s $(which zsh)"' >> ~/.bashrc | |
$ echo 'alias 2bash="chsh -s $(which bash)"' >> ~/.zshrc |
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
# | |
# Customizing Bash environment | |
# | |
# Correct dir spellings | |
shopt -q -s cdspell | |
# Make sure display get updated when terminal window get resized | |
shopt -q -s checkwinsize |