Skip to content

Instantly share code, notes, and snippets.

View chris-allnutt's full-sized avatar

Chris Allnutt chris-allnutt

  • Blacksburg, VA
View GitHub Profile
@chris-allnutt
chris-allnutt / docker-compose.yml
Created April 19, 2018 13:56 — forked from jeffreyssmith2nd/docker-compose.yml
Docker Compose for running an instance of the 3/28/18 build of eosio.
version: "3"
services:
eosio:
image: eosio/eos:dawn3x
ports:
- "8888:8888"
- "9876:9876"
command: /opt/eosio/bin/nodeosd.sh --resync-blockchain
volumes:
- ./eosio-volume/config:/opt/eosio/bin/data-dir
@chris-allnutt
chris-allnutt / sqlite_cheat_sheet
Created May 6, 2013 01:51
SQLITE 3 cheat sheet
.q > quit
.schema > lists out the strucuture of the database
Use with SQL as you normally would.
@chris-allnutt
chris-allnutt / collection_spec.js
Created December 21, 2011 14:43
Sinon mock not releasing binding after verify on test
// spec for tests on base Collection Class
describe("Moveline.App.Collection", function() {
it("calls stageChangedModel when a collection model is updated", function() {
var model = new Backbone.Model({
'first_name': 'Chris',
'last_name' : 'Allnutt'
});
var collection_mock = sinon.mock(Moveline.App.Collection.prototype).expects('stageChangedModel').once();
@chris-allnutt
chris-allnutt / split_fix.css
Created December 11, 2011 22:31
css fix to the image for the site
.project_content #container img,
.project_content #container img {
margin-right: 0px;
}