mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
resize pdf
php debug server
This commit is contained in:
@@ -38,6 +38,11 @@ ocr(){
|
||||
http-server -o
|
||||
}
|
||||
|
||||
# resize pdf <input> <output>
|
||||
resizePdf(){
|
||||
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=94 -dNOPAUSE -dBATCH -sOutputFile="$2" "$1"
|
||||
}
|
||||
|
||||
# Open many ssh sessions in separate tabs in gnome-terminal
|
||||
sshInTabs(){
|
||||
logins="$@"
|
||||
@@ -297,6 +302,11 @@ swaysleep(){
|
||||
swaylock & systemctl suspend
|
||||
}
|
||||
|
||||
# Start php with xdebug
|
||||
phpdebugsrv(){
|
||||
php -S 127.0.0.1:8000 -d xdebug.mode=develop,debug -d xdebug.start_with_request=yes $@
|
||||
}
|
||||
|
||||
|
||||
# Setup autocomplete. run eval "$(THIS_FILE setup-autocomplete)"
|
||||
setup-autocomplete(){
|
||||
|
||||
Reference in New Issue
Block a user