Skip to content

Instantly share code, notes, and snippets.

View Alexey-Architect's full-sized avatar

Alexey Architect Alexey-Architect

  • Kyiv
View GitHub Profile
@Alexey-Architect
Alexey-Architect / DefaultKeyBinding.dict
Created September 8, 2017 13:18
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more closely
match default behavior on Windows systems. This particular mapping assumes
that you have also switched the Control and Command keys already.
This key mapping is more appropriate after switching Ctrl for Command in this menu:
Apple->System Preferences->Keyboard & Mouse->Keyboard->Modifier Keys...->
Change Control Key to Command
Change Command key to Control
or replace @ with ^ in this file.
@Alexey-Architect
Alexey-Architect / .gitconfig
Last active September 6, 2017 22:13
GIT console aliases & nice formatting log
[push]
default = current
[core]
autocrlf = input
safecrlf = false
[alias]
last = log -3 HEAD
st = status -sb
https://git-scm.com/docs/git-remote
git remote prune --dry-run origin
git remote update origin --prune