Skip to content

Instantly share code, notes, and snippets.

View joshleblanc's full-sized avatar

Josh LeBlanc joshleblanc

  • OMICS Software
  • Riverview, New Brunswick
View GitHub Profile
main.js:32 var changed 0
main.js:36 Running a === 1
main.js:41 Running a === 2
main.js:45 ----
main.js:32 var changed 1
main.js:36 Running a === 1
main.js:32 var changed 2
main.js:36 Running a === 1
main.js:41 Running a === 2
main.js:32 var changed 3
require 'sequel'
Sequel.sqlite do |sqlite|
sqlite.create_table(:my_table) do
Date :date
end
sqlite[:my_table].insert({ date: "" })
sqlite[:my_table].each do |row|

Keybase proof

I hereby claim:

  • I am joshleblanc on github.
  • I am cereal (https://keybase.io/cereal) on keybase.
  • I have a public key ASDTu4Mog7xwo7Vf0jiKgOsPE7drT0gWIA4A6hyApYklPgo

To claim this, I am signing this object:

const fs = require('fs');
const { promisify } = require('util');
const hash = require('./hash');
const { dbs: dbsPath } = require('./paths');
class MahClass {
constructor() {
this.readFilePromise = promisify(fs.readFile);
this.originPath = this.getOriginHashFromFile();
app = Rack::Builder.new do
use Rack::SSL
use Rack::Deflater
use Rack::Static,
urls: %w(/img /js /fonts /css),
root: 'public/'
run Rack::URLMap.new(
'/' => Site::Main,
'/admin' => Admin::Main,
set number
set linebreak
set showbreak=+++
set textwidth=100
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase

Keybase proof

I hereby claim:

  • I am HorizonShadow on github.
  • I am cereal (https://keybase.io/cereal) on keybase.
  • I have a public key whose fingerprint is 7479 A053 B4A4 D425 57C9 7DE3 2B09 04D2 8FB3 8D8F

To claim this, I am signing this object:

// ==UserScript==
// @name Shield Battery chat sounds
// @namespace http://grep.sh
// @version 0.2
// @description Plays an audio chirp when a message is recieved.
// @author Cereal
// @match https://shieldbattery.net/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Show user's league
// @namespace http://screddit.com
// @version 1.7
// @description Show a user's 1v1 league
// @author Cereal
// @match http://*.battle.net/forums/*/sc2/topic/*
// @grant none
// ==/UserScript==
/* jshint -W097 */