Skip to content

Instantly share code, notes, and snippets.

View Aaron3's full-sized avatar

Aaron Aaron3

View GitHub Profile
@Aaron3
Aaron3 / parseParams
Last active December 16, 2015 18:00 — forked from can3p/gist:1787188
Jquery parse query string built from .serialize() or .param() to object.
/**
* Converts a string that was serialized with jQuery.param back to the object.
*
* @param {String} str
*
* @return {Object}
*/
function parseParams(str) {
var obj = {}, pair;
var pairs = decodeURIComponent(str).split( "&" );
@Aaron3
Aaron3 / Default (Linux).sublime-keymap
Last active December 16, 2015 03:49 — forked from hoffstein/Default (Windows).sublime-keymap
Quick script to open a file's parent folder in the file manager in ubuntu. #Install to ~/.config/sublime-text-3/Packages/User/
[
{ "keys": ["ctrl+shift+e"], "command": "open_folder_in_nautilus" }
]