Instantly share code, notes, and snippets.

View rpi_initialization.sh
#!/bin/bash
sudo -i
## variables
HOSTNAME_NEW=rasple
## Delete some packages
apt-get purge wolfram-engine
apt-get purge libreoffice*
View Allowed_Email.js
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;
}
});
});
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console