View lambda.js
import λ from "apex.js";
import { Pool } from "pg";
// connection details inherited from environment
const pool = new Pool({
max: 1,
min: 0,
idleTimeoutMillis: 120000,
connectionTimeoutMillis: 10000
});
View index.js
const Sequelize = require("sequelize");
const sequelize = new Sequelize(
process.env.DB_NAME,
process.env.DB_USER,
process.env.DB_PASS,
{
host: process.env.DB_HOST,
dialect: "mysql"
}
View b.js
var first = true;
module.exports = function () {
console.log(`first: ${first}`);
if (first) {
first = false;
}
};
View example.md

use diff to get fun red and green lines

- old
+ new
View keybase.md

Keybase proof

I hereby claim:

  • I am maxbeatty on github.
  • I am maxbeatty (https://keybase.io/maxbeatty) on keybase.
  • I have a public key ASAj0U1E22K3wIaNOVtmMEMpV-5pX4F7hcPUOjCl58mg7Qo

To claim this, I am signing this object:

View .eslintrc
{
"extends": "future/react"
}
View app.js
assert = require('assert');
require('dotenv').config({path: 'production.env'});
assert.equal(process.env.DB_USER, 'root')
assert.equal(process.env.PORT, 80)
View class.coffee
class Animal
constructor: ->
@noise = "BOOM"
speak: -> console.log @noise
class Dog extends Animal
constructor: ->
@noise = "BARK"
View bdc.js
function car() {
return {
start: function() {
return "Engine on."
},
accelerate: function() {
return "Let's go!"
}
}
}
View gist:96350e9adc423c6c752a
Subject: If employment = false....
var money = a lot;
var opportunity = amazing;
var technology = cutting edge;
var people = cool;
var awesomejob = money + opportunity + technology + people;
if (awesomejob = false && employment = available) alert('We have a great opportunity for you here at [redacted]!')