Skip to content

Instantly share code, notes, and snippets.

View kaylarose's full-sized avatar

Kayla Rose kaylarose

View GitHub Profile
# Ruby 1.9 using ruby-ni
#
# VERSION 0.0.1
#
FROM base
MAINTAINER Ivan Acosta-Rubio "[email protected]"
ADD https://gist.github.com/ivanacostarubio/9309be8a79a94aafd02d/raw/8e84fac50a57a23f191eccf5e41bae4ecde80873/gistfile1.txt /etc/resolv.conf
# Installing basic stuf: wget, git, ruby

Google+ Domains API - Quick Start

introduction

Google+ Domains API are meant to interact with your G+ accounts in the domain. With these APIs you can manage circles, read and write posts, shares, and comments etc.. more informations here

This tutorial is for creating an application that uses the Domains API, running on Google App Engine with python.

create GAE (Google App Engine) app

@kaylarose
kaylarose / resources.js
Last active August 29, 2015 14:10 — forked from brucecoddington/resources.js
An abstract $resource Provider for consuming RESTful resources on Angular JS
// Original Source:
// - http://www.objectpartners.com/2014/06/03/extending-angulars-resource-service-for-a-consistent-api/
// - https://gist.github.com/brucecoddington/92a8d4b92478573d0f42
//
// Enhancements/Fixes:
// - Delete by Query instead of Model Instance
// - Delete single by Model
// - Added ability to have Root Host appended to all resources registered.
// - Added Count action. (TODO Configurable)
// - Fixed lots of Misc. Dependency Injection/Recursion, scope issues.
@kaylarose
kaylarose / get_barcode_from_image.js
Created February 28, 2012 18:10 — forked from tbtlr/get_barcode_from_image.js
Barcode recognition with JavaScript - Demo: http://bit.ly/djvUoy
/*
* Copyright (c) 2010 Tobias Schneider
* This script is freely distributable under the terms of the MIT license.
*/
(function(){
var UPC_SET = {
"3211": '0',
"2221": '1',
"2122": '2',