Skip to content

Instantly share code, notes, and snippets.

/*
Fluid App Userscript
FastMail web interface
URL pattern: *fastmail.fm/mail/*
*/
setTimeout(updateDockBadge, 3000);
setInterval(updateDockBadge, 5000);
INBOX_ONLY = true;

Keybase proof

I hereby claim:

  • I am jacquestardie on github.
  • I am jacques (https://keybase.io/jacques) on keybase.
  • I have a public key whose fingerprint is 9CD3 FA28 A92A 3685 6569 0301 6A01 A44C AEDD F9AF

To claim this, I am signing this object:

@msabramo
msabramo / rebuild_services_menu.sh
Created January 4, 2011 02:06
How to force the OS X Services menu to rebuild itself; a good thing to try if your Services menu is stuck saying "Building..."
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
# - or -
launchctl stop com.apple.pbs
@imathis
imathis / Pullquote.css
Created June 19, 2011 02:52
Jekyll Pullquote plugin for Octopress
.has-pullquote:before {
/* Reset metrics. */
padding: 0;
border: none;
/* Content */
content: attr(data-pullquote);
/* Pull out to the right, modular scale based margins. */
float: right;
@dyba
dyba / asa_cmds_rule_deletion.rb
Created January 27, 2012 16:18
Cisco ASA Firewall Rule Deletion Generator via RedSeal Device Cleanup Analysis Results
#
# PURPOSE:
# The purpose of this script is to generate a list of commands to delete unused access rules from a
# Cisco PIX or ASA firewall. This script is appropriate if you use the RedSeal application:
# http://www.redsealnetworks.com. Currently the results are printed to the screen only.
#
# INSTRUCTIONS:
# When you want to clean up unused rules on a firewall. Use the RedSeal application to run a cleanup:
# Tools > Manage Device Cleanup (Alt+T, C). When finished, export the results as a CSV file. Don't
# forget to include the .CSV extension. Run this script and type the name of the file with the
@jqtrde
jqtrde / emailPrivacy.md
Created December 5, 2013 19:44
links and resources for moving away from Gmail
@jrhorn424
jrhorn424 / Fastmail-commented.plist
Last active February 20, 2016 14:53
Fastmail keybindings for MailMate
#####################################################################################################
### WARNING: not kept up to date. I don't know the format well, and comments were causing issues. ###
### See next file for up-to-date mappings. ###
#####################################################################################################
{
// Keybindings to emulate Fastmail shortcuts in MailMate
// From: http://fastmail.wikia.com/wiki/KeyboardShortcuts
// Created by Jeffrey Horn <hello@jrhorn.me>
// See: http://manual.mailmate-app.com/key_binding_selectors
@visnup
visnup / gist:733671
Created December 8, 2010 18:24
/etc/newsyslog.d/local.conf
We couldn’t find that file to show.
@x-magic
x-magic / mmvmysql.sh
Created August 7, 2016 06:27
Install MySQL in OSX, originally from http://git.io/eUx7rg, fixed the link used in the script (since it point to wrong file and leads the script to fail)
#!/bin/bash
#############################################
# AUTHOR: JONATHAN SCHWENN @JONSCHWENN #
# MAC MINI VAULT - MAC MINI COLOCATION #
# MACMINIVAULT.COM - @MACMINIVAULT #
# VERSION 2.2 RELEASE DATE SEPT 28 2015 #
# DESC: THIS SCRIPT INSTALLS MySQL on OSX #
#############################################
#REQUIREMENTS:
# OS X 10.7 or newer
@x-magic
x-magic / Shadowsocks4Debian.sh
Created July 6, 2016 11:25
Automated installation script to install Shadowsocks on Debian Jessie server (perfect for DigitalOcean droplet)
#!/bin/bash
# A script that automates Shadowsocks on a Debian Jessie server
# Perfect for and tested on DigitalOcean 512MB ($5/month) Debian Jessie x64 droplet, as of July 2016
# Since this is modifying systemd servie script so it won't work on Debian Wheezy
# Disable nfs and rpcbind service (this is just for DigitalOcean Debian distros since these services are useless!)
systemctl stop nfs-common > /dev/null 2>&1
systemctl disable nfs-common > /dev/null 2>&1
systemctl stop nfs-common > /dev/null 2>&1