A Pen by Tu Chu Quang on CodePen.
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
{ | |
"bold_folder_labels": true, | |
"theme": "Spacegray Eighties.sublime-theme", | |
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme", | |
"font_face": "Source Code Pro", | |
"font_size": 10, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ |
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
[ | |
{ "keys": ["super+shift+w"], "command": "close_all" }, | |
{ "keys": ["super+shift+s"], "command": "save_all" }, | |
{ "keys": ["alt+up"], "command": "swap_line_up" }, | |
{ "keys": ["alt+down"], "command": "swap_line_down" }, | |
{ "keys": ["super+alt+j"], "command": "join_lines" }, | |
{ "keys": ["super+alt+down"], "command": "duplicate_line" }, | |
{ "keys": ["shift+super+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, |
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
Show list modifed file only | |
=========================== | |
svn status | grep ^M |
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
facebook.com | |
twitter.com | |
tumblr.com | |
pinterest.com | |
dantri.com.vn | |
vnexpress.net | |
kenh14.vn | |
genk.vn | |
afamily.vn | |
vozforums.com |
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
SSH_ENV=$HOME/.ssh/environment | |
# start the ssh-agent | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
# spawn ssh-agent | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
echo succeeded | |
chmod 600 "${SSH_ENV}" | |
. "${SSH_ENV}" > /dev/null |
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] | |
email = tucq88@gmail.com | |
name = Tucq | |
[color] | |
ui = auto | |
diff = true | |
status = true | |
branch = true | |
interactive = true | |
[merge] |
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
function debug($var) { | |
echo '<pre style="text-align: left;font-size: 14px;">'; | |
$trace = debug_backtrace(); | |
echo 'Line: ' . $trace[0]['line'] . '<br>'; | |
print_r($var); | |
echo '</pre>'; | |
} | |
function debug_plus() | |
{ |
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
//Change owner to web user | |
$ sudo chown -R :_www installed-wordpress-dir | |
$ sudo chmod -R g+w installed-wordpress-dir | |
//Add this to installed-wordpress-dir/wp-config.php | |
//Ignore FTP login to install plugins or stuff | |
define('FS_METHOD', 'direct'); |
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
module.exports = function(grunt) { | |
// All configuration goes here | |
grunt.initConfig({ | |
jekyll: { | |
build : { | |
dest: '_site' | |
} | |
}, |
OlderNewer