Skip to content

Instantly share code, notes, and snippets.

View dotzero's full-sized avatar
:octocat:

dotzero dotzero

:octocat:
View GitHub Profile
#!/bin/bash
# PiTFT Resistive 2.8" (PID 1601) or Capacitive 2.8" (PID 1983) setup script or Resistive 3.5" (PID 2097) or 2.2" No-Touchscreen setup script!
set -e
function cleanup() {
if [ "${mountpoint}" != "/" ]
then
sudo -n umount "${mountpoint}/boot" 2> /dev/null
@dotzero
dotzero / cloudapp.user.js
Created February 9, 2012 18:35
CloupApp Select all
// ==UserScript==
// @name CloupApp Select all
// @match http://my.cl.ly/*
// @author dotzero
// @description Add Select All button to CloudApp web interface
// ==/UserScript==
function main() {
$('#toolbar').prepend('<li><a class="button" href="#" id="selall">Select all</a></li>');
$('#selall').on("click", function(event){