Skip to content

Instantly share code, notes, and snippets.

View zessx's full-sized avatar

Samuel Marchal zessx

View GitHub Profile
@internationils
internationils / gandihost-sslcert.sh
Last active February 20, 2017 16:40
Create and apply Letsencrypt certificates to Gandi vhosts using certbot
#!/bin/sh
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# sslgen-gandihosts.sh
#
# v04 - 2016-08-10 combibe create and update loop
# v03 - 2016-08-10 more cleanups
# v02 - 2016-08-04 lots of cleanups, improved loop for updates
# v01 - basic functionality
@gdvalle
gdvalle / putty-monokai.reg
Created December 2, 2012 05:24
Monokai style theme for PuTTY; colors copied from ST2's theme
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\monokai]
"Colour21"="255,255,255"
"Colour20"="245,222,179"
"Colour19"="200,240,240"
"Colour18"="0,217,217"
"Colour17"="179,146,239"
"Colour16"="174,129,255"
"Colour15"="122,204,218"
@jakebellacera
jakebellacera / jquery.placeholder.js
Created July 15, 2011 18:00
jQuery Placeholder Plugin - Fixes the placeholder attribute on non-supported browsers.
/*
* Placeholder plugin for jQuery
* @author Daniel Stocks (http://webcloud.se)
*/
(function($) {
function Placeholder(input) {
this.input = input;
if (input.attr('type') == 'password') {
this.handlePassword();
}