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
autodetach on | |
term screen-256color | |
hardstatus on | |
hardstatus alwayslastline | |
hardstatus string '%{= kK}%{w}%H %{K}%= %{= kw}%?%-Lw%?%{B}(%{W}%n*%f %t%?(%u)%?%{B})%{w}%?%+Lw%?%?%= %{K}%{B} %{w}%c%{K}' | |
startup_message off | |
termcapinfo xterm* ti@:te@ | |
defscrollback 100000 | |
altscreen on | |
nonblock on |
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
alias gl="git l" | |
alias gg="git grep -n" | |
alias gd="git d" | |
alias gs="git s" | |
# enable programmable completion features (you don't need to enable | |
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile | |
# sources /etc/bash.bashrc). | |
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then | |
. /etc/bash_completion |
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
[mysqld] | |
default-character-set=utf8 | |
default-collation=utf8_general_ci | |
character-set-server=utf8 | |
collation-server=utf8_general_ci | |
init-connect='SET NAMES utf8' | |
[client] | |
default-character-set=utf8 |
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 hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"default_line_ending": "unix", | |
"draw_white_space": "selection", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "UTF-8", | |
"font_size": 9, | |
"ignored_packages": | |
[ | |
"Vintage", |
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
git filter-branch --index-filter 'git rm --cached --ignore-unmatch path/to/sensitive_file' HEAD |
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
SELECT CONCAT(table_schema, '.', table_name), | |
CONCAT(CAST(ROUND(table_rows / 1000000, 2) AS CHAR), 'M') rows, | |
CONCAT(CAST(ROUND(data_length / ( 1024 * 1024 * 1024 ), 2) AS CHAR), 'G') DATA, | |
CONCAT(CAST(ROUND(index_length / ( 1024 * 1024 * 1024 ), 2) AS CHAR), 'G') idx, | |
CONCAT(CAST(ROUND(( data_length + index_length ) / ( 1024 * 1024 * 1024 ), 2) AS CHAR), 'G') total_size, | |
ROUND(index_length / data_length, 2) idxfrac | |
FROM information_schema.TABLES | |
ORDER BY data_length + index_length DESC | |
LIMIT 10; |
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
{json} | python -mjson.tool |
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
find . -type f -name '*.html.twig' | xargs perl -pi -e 's/find/replace/g' |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Session%20Name%20Here] | |
"Colour0"="131,148,150" | |
"Colour1"="147,161,161" | |
"Colour2"="0,43,54" | |
"Colour3"="7,54,66" | |
"Colour4"="0,43,54" | |
"Colour5"="238,232,213" | |
"Colour6"="7,54,66" |
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
echo -n "username:password" | base64 |
OlderNewer