Last active
August 19, 2021 20:19
-
-
Save vookimedlo/0bbb5a6cd1929b9c0546bedfa71312c1 to your computer and use it in GitHub Desktop.
Useful MacOS aliases
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
alias www="python -m SimpleHTTPServer 8000" | |
alias ssh_via_proxy='ssh -o "ProxyCommand nc -X 5 -x localhost:6000 %h %p"' | |
alias git_merge_up="git merge upstream/master" | |
alias proxy_on='networksetup -setsocksfirewallproxystate "Wi-Fi" on' | |
alias proxy_off='networksetup -setsocksfirewallproxystate "Wi-Fi" off' | |
# Perl SED | |
# | |
alias psed="perl -pe" | |
# requires: cpan JSON | |
# | |
alias json="perl -I /Users/duda/perl5/lib/perl5/ -MData::Dumper -MJSON=from_json -ne'print Dumper(from_json(\$_))'" | |
----- | |
Zmena velikosti obrazku | |
sips -Z 640 *.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment