Skip to content

Instantly share code, notes, and snippets.

View adykto's full-sized avatar

Alonso Mendez adykto

View GitHub Profile
@Nemesizz00
Nemesizz00 / .profile
Created September 1, 2016 19:20
Dev Enviroment Files
export TZ="UTC"
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
git config —global alias.lg "log —color —graph —pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' —abbrev-commit"
git config —global color.ui auto
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
@adykto
adykto / Default(Linux).sublime-keymap
Last active December 17, 2015 08:39
Sublime Text 3 custom preferences
[
{
"keys": ["shift+f11"],
"command": "toggle_menu"
},
{
"keys": ["ctrl+f11"],
"command": "toggle_side_bar"
},
]
@vasilisvg
vasilisvg / more.md
Last active December 4, 2020 04:48
This is my backup script which syncs my server to my dropbox every day.

The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing. You can exclude folders if you want to. You probably want to exclude giant cache folders.

You should have a similar script.