Skip to content

Instantly share code, notes, and snippets.

@alnutile
alnutile / gulpfile.js
Last active August 29, 2015 14:07 — forked from acavanagh/gulpfile.js
//gulpfile.js
var gulp = require('gulp');
var beep = require('beepbeep');
var sys = require('sys');
var exec = require('child_process').exec;
var gutil = require('gulp-util');
var plumber = require('gulp-plumber');
var onError = function(err) {
beep([1000, 1000, 1000]);
{
"name": "alnutile/REPO_NAME",
"type": "library",
"description": "",
"keywords": [],
"homepage": "https://github.com/alnutile/REPO_NAME",
"license": "MIT",
"authors": [
{
"name": "Alfred Nutile",
@alnutile
alnutile / app.js
Created March 24, 2014 16:34 — forked from jrmoran/app.js
var App = angular.module('App', []);
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
import pyrax
import os
import sys
import datetime
from novaclient import exceptions
#Loading credentials from ini file
def auth(credential_location="~/.rackspace_cloud_credentials"):
"""
@alnutile
alnutile / amazonprofile.js
Last active November 12, 2017 20:43 — forked from DTrejo/top3stories.js
Scrape amazon kindle reading list and profile from public page
// Scraping Made Easy with jQuery and SelectorGadget
// (http://blog.dtrejo.com/scraping-made-easy-with-jquery-and-selectorga)
// by David Trejo
//
// Install node.js and npm:
// http://joyeur.com/2010/12/10/installing-node-and-npm/
// Then run
// npm install jsdom jquery http-agent
// node numresults.js
//