Skip to content

Instantly share code, notes, and snippets.

View jasonkenison's full-sized avatar

Jason Kenison jasonkenison

  • Portland, OR
View GitHub Profile
on run {input, parameters}
set front_app to (path to frontmost application as Unicode text)
tell application front_app
activate
#set bounds of window 1 to {1237, 30, 2437, 1350}
set bounds of window 1 to {1237, 57, 2437, 1325}
end tell
return input
end run
on run {input, parameters}
set front_app to (path to frontmost application as Unicode text)
tell application front_app
activate
#set bounds of window 1 to {8, 30, 1228, 1350}
set bounds of window 1 to {28, 57, 1207, 1325}
end tell
return input
end run
on run {input, parameters}
set front_app to (path to frontmost application as Unicode text)
tell application front_app
activate
set bounds of window 1 to {8, 30, 1758, 1351}
#set bounds of window 1 to {28, 58, 1718, 1325}
end tell
return input
end run
# Don't list directory contents
IndexIgnore *
# Disable script execution
AddHandler cgi-script .php .php2 .php3 .php4 .php5 .php6 .php7 .php8 .pl .py .js .jsp .asp .htm .html .shtml .sh .cgi
Options -ExecCGI -Indexes
# Secure php.ini and .htaccess
RewriteRule ^(php\\.ini|\\.htaccess) - [NC,F]
# Block shell uploaders, htshells, and other baddies