Skip to content

Instantly share code, notes, and snippets.

View richardsimko's full-sized avatar
👨‍💻

Richard Simko richardsimko

👨‍💻
View GitHub Profile

brew config:

HOMEBREW_VERSION: 1.9.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7be9ac1e9d550df18392550d611c5ff10b91292b
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 428b7ae25501975f7d2c9d0add133344a6a9b74d
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
@richardsimko
richardsimko / broken.js
Last active January 23, 2017 13:11
Bookshelf broken idAttribute
'use strict';
const _ = require('lodash');
const Promise = require('bluebird');
const knex = require('knex')({
client: 'sqlite3',
connection: ':memory:',
useNullAsDefault: true,
debug: true
});
const bookshelf = require('bookshelf')(knex);
#!/bin/bash
#
# MySQL Backup Script
# VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/
# Copyright (c) 2002-2003 wipe_out@lycos.co.uk
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.