Skip to content

Instantly share code, notes, and snippets.

<script type="text/javascript">
(function () {
"use strict";
// once cached, the css file is stored on the client forever unless
// the URL below is changed. Any change will invalidate the cache
var css_href = './index_files/web-fonts.css';
// a simple event handler wrapper
function on(el, ev, callback) {
if (el.addEventListener) {
el.addEventListener(ev, callback, false);
@quentind
quentind / gist:7273153
Created November 1, 2013 22:42
Grant privilege to one AWS S3 bucket
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": "s3:*",
@quentind
quentind / zen-coding.sublime-settings
Created September 12, 2012 08:29
ZenCoding config file for sublime text 2
{
// Copy any modified settings to `User/zen-coding.sublime-settings`
// otherwise modifications will not survive updates.
// Will sublime.log_commands(True) and output Zen Specific debug info
"debug" : false,
// Disable specific contextual completions that aren't part of `zen proper`
"completions_blacklist": [
// "css_selectors",
@quentind
quentind / gist:3105243
Created July 13, 2012 14:39 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt