Skip to content

Instantly share code, notes, and snippets.

View umeboshi2's full-sized avatar
💭
Ztd

Joseph Rawson umeboshi2

💭
Ztd
View GitHub Profile
@umeboshi2
umeboshi2 / 0_reuse_code.js
Created November 23, 2013 18:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@umeboshi2
umeboshi2 / python_resources.md
Created November 23, 2013 18:39 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

###*
Backbone sessionStorage Adapter
Based on https://github.com/jeromegn/Backbone.localStorage
###
(->
# A simple module to replace `Backbone.sync` with *sessionStorage*-based
# persistence. Models are given GUIDS, and saved into a JSON object. Simple
# as that.
@umeboshi2
umeboshi2 / bind.sls
Last active August 29, 2015 14:12 — forked from abraithwaite/bind.sls
/etc/bind/db.salt.example.com:
file.managed:
- source: salt://templates/db.salt.example.com.pyt
- template: jinja
- user: root
- group: bind
- mode: 644
bind_reload:
service.running:
@umeboshi2
umeboshi2 / server.js
Created July 30, 2016 01:44
Node.js Sample Server with Restify
/*
* Node.js Sample Server with Restify
* Copyright (C) 2014 - Thiago Uriel M. Garcia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@umeboshi2
umeboshi2 / backbone.localStorage.async.js
Created April 21, 2018 21:52 — forked from anonymous/backbone.localStorage.async.js
Async version of the backbone.localStorage module
/**
* Backbone localStorage Adapter
* https://github.com/jeromegn/Backbone.localStorage
*/
_ = require('underscore');
$ = require('jquery');
(function(_, Backbone) {
// A simple module to replace `Backbone.sync` with *localStorage*-based
// persistence. Models are given GUIDS, and saved into a JSON object. Simple
// as that.
@umeboshi2
umeboshi2 / D3 date-time series chart
Created July 18, 2019 00:55 — forked from d3netxer/D3 date-time series chart
D3 date-time series chart
title
file with a leading space = GIST title
http://stackoverflow.com/questions/19896900/how-to-change-the-name-of-a-gist-in-github