Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
sudo -i
## variables
HOSTNAME_NEW=rasple
## Delete some packages
apt-get purge wolfram-engine
apt-get purge libreoffice*
jQuery(document).ready(function($) {
$('#registerform').find(':submit').click(function(e) {
if( ! isAllowedEmail( $('#user_email').val() ) ) {
e.preventDefault(); // Prevent the form from submitting
alert('You can only register with an @gmail.com email address!');
return false;
}
});
});
@alexhaller
alexhaller / 0_reuse_code.js
Created February 13, 2014 14:36
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console