Skip to content

Instantly share code, notes, and snippets.

View arnauddelattre's full-sized avatar

arnauddelattre arnauddelattre

View GitHub Profile
{
"auto_complete": true,
"auto_complete_delay": 0,
"bold_folder_labels": true,
"caret_style": "wide",
"create_window_at_startup": false,
"detect_slow_plugins": false,
"disable_tab_abbreviations": true,
"draw_white_space": "selection",
"ensure_newline_at_eof_on_save": false,
// ==UserScript==
// @name Example from http://stackoverflow.com/q/6834930
// @version 1.3
// @namespace http://www.abrutis.com/
// @description An example, adding a border to a post on Stack Overflow.
// @include http://www.abrutis.com/*
// ==/UserScript==
function addJQuery(callback) {
var script = document.createElement("script");
@arnauddelattre
arnauddelattre / Image.h
Created February 1, 2012 22:28
Image caching for images in the Documents directory
#import <Foundation/Foundation.h>
@interface Image : NSObject
+(void) clearCache;
+(UIImage *) imageInDocuments:(NSString *)imageName ;
+(void)addToDictionary:(NSString *)imageName image:(UIImage *)image;