Skip to content

Instantly share code, notes, and snippets.

Steven Noble snoblenet

Block or report user

Report or block snoblenet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
snoblenet / aremi-location-dictionary.json
Last active Apr 30, 2017
Australian (national market) power station location dictionary
View aremi-location-dictionary.json
'Hallett Power Station': 'SA',
'West Nowra Landfill Gas Power Generation Facility': 'NSW',
'Somerton Power Station': 'Vic',
'Angaston Power Station': 'SA',
'Awaba Power Station': 'NSW',
'Bald Hills Wind Farm': 'Vic',
'Bankstown Sports Club Plant Units ': 'NSW',
'Banimboola Power Station': 'Vic',
'Barcaldine Power Station': 'QLD',
View package.json
"name": "testivate-research-gigs",
"version": "1.0.0",
"description": "Earn money by testing websites",
"main": "main.js",
"scripts": {
"start": "electron main.js"
"keywords": [
View main.js
'use strict';
// Module to control application life.
const electron = require('electron');
// Module to create native browser window.
const app =;
View index.css
body {
margin: 0;
#sidebar {
border-right: 1px solid gray;
vertical-align: top;
#container {
View index.html
<!DOCTYPE html>
<meta charset="UTF-8">
<link href="fonts.css" rel="stylesheet" type="text/css"/>
<link href="index.css" rel="stylesheet" type="text/css"/>
<title>Testivate Research Gigs</title>
View gist:be1846b9c2e3e4cb8368
NoMethodError in ReviewsController#preview
undefined method `to_sym' for nil:NilClass
Extracted source (around line #59):
View gist:e9320c4d61fbd26db1a4
Stevens-MacBook-Air-2:testivate steven$ heroku logs --app testivate
2015-06-21T06:14:36+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_SILVER sample#current_transaction=35588211 sample#db_size=307467384bytes sample#tables=21 sample#active-connections=5 sample#waiting-connections=0 sample#index-cache-hit-rate=0.95747 sample#table-cache-hit-rate=0.84423 sample#load-avg-1m=0.07 sample#load-avg-5m=0.105 sample#load-avg-15m=0.135 sample#read-iops=0 sample#write-iops=0.20825 sample#memory-total=7629452kB sample#memory-free=567436kB sample#memory-cached=6285748kB sample#memory-postgres=261260kB
2015-06-21T06:14:46.971712+00:00 heroku[router]: at=info method=GET path="/" request_id=f2784ec8-d110-4799-8657-4d631e724d28 fwd="" dyno=web.1 connect=0ms service=9ms status=301 bytes=180
2015-06-21T06:14:51.016279+00:00 app[web.1]: Started GET "/" for at 2015-06-21 06:14:51 +0000
2015-06-21T06:14:51.482251+00:00 app[web.1]: Processing by HighVoltage::PagesController#show as
View url2png-v6.php
function url2png_v6($url, $args) {
# Get your apikey from
# urlencode request target
$options['url'] = urlencode($url);
View wkhtmltopdf.tablesplit.js
* WkHtmlToPdf table splitting hack.
* Forked and edited to include my own values
* Script to automatically split multiple-pages-spanning HTML tables for PDF
* generation using webkit.
* To use, you must adjust pdfPage object's contents to reflect your PDF's
* page format.
View gist:5974767
require "rubygems"
# require "spork"
require "database_cleaner"
# require "ruby-debug"
# require "pry"
# require "plymouth" # automatically drops a failing test into a pry session, but doesn't work with zues/parallel_tests
#uncomment the following line to use spork with the debugger
#require "spork/ext/ruby-debug"
You can’t perform that action at this time.