Last active
August 29, 2015 13:59
-
-
Save drugoi/10619446 to your computer and use it in GitHub Desktop.
Aliases
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
# Lock screen with screensaver | |
alias poka_krasivo="/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine" | |
# Lock mac | |
alias poka="/System/Library/CoreServices/Menu\ Extras/user.menu/Contents/Resources/CGSession -suspend" | |
# Start python server for Chrome SaveCSS | |
alias server="python /var/project/server.py" | |
# Fast jump to projects directory | |
alias projects="cd /var/project" | |
# Get current IP | |
alias ip="ifconfig |grep 'inet 10'" | |
# Flush DNS Cache | |
alias dnscache="dscacheutil -flushcache" | |
# Update software | |
alias update_all="softwareupdate -i -a && brew update --rebase && brew upgrade && brew upgrade brew-cask && brew cleanup -s --forse && brew cask cleanup && brew prune && npm update npm -g && npm update -g" | |
# Л is new K, yo | |
alias л="k" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment