Skip to content

Instantly share code, notes, and snippets.

View Ealenn's full-sized avatar

Marchandise Rudy Ealenn

View GitHub Profile
@Ealenn
Ealenn / dotnet_swagger_client.md
Created November 30, 2020 15:21
Swagger Client (ASP.NET)
@Ealenn
Ealenn / iTerm-Finder.scpt
Created May 18, 2017 12:43
Finder Open iTerm Here
property debug : false
on run
tell application "Finder"
try
set this_folder to (the target of the front window) as alias
on error
set this_folder to startup disk
end try
@Ealenn
Ealenn / .htaccess
Last active May 30, 2018 08:07
[Force HTTPS and CacheBrowser (HTACCESS)] #tags:apache2
# Force HTTPS
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# Cache
<IfModule mod_expires.c>
ExpiresActive on