Skip to content

Instantly share code, notes, and snippets.

View Cnly's full-sized avatar
🍩
Absorbing donuts...

Cnly

🍩
Absorbing donuts...
View GitHub Profile
@Cnly
Cnly / ssl-redirect.html
Last active October 4, 2015 10:44 — forked from konklone/ssl-redirect.html
Force a quick redirect to HTTPS on Github Pages for your domain (and only your domain)
<script>
if (window.location.host.indexOf('github.io') > -1 && window.location.protocol != "https:"){
window.location.protocol = "https";
}
</script>
@Cnly
Cnly / .gitignore
Created September 13, 2014 05:46
A .gitignore for Java
#Eclipse
/.classpath
/.project
/.settings/
#Maven
/target
# various other potential build files
/build