Skip to content

Instantly share code, notes, and snippets.

Chris Allnutt chris-allnutt

Block or report user

Report or block chris-allnutt

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
@chris-allnutt
chris-allnutt / docker-compose.yml
Created Apr 19, 2018 — forked from jeffreyssmith2nd/docker-compose.yml
Docker Compose for running an instance of the 3/28/18 build of eosio.
View docker-compose.yml
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
View sqlite_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 Dec 21, 2011
Sinon mock not releasing binding after verify on test
View collection_spec.js
// 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 Dec 11, 2011
css fix to the image for the site
View split_fix.css
.project_content #container img,
.project_content #container img {
margin-right: 0px;
}
You can’t perform that action at this time.