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:
crypto = require('crypto'); | |
exampleClientId = 'my_client_id' | |
mySharedKey = 'shared_key' | |
cipher = crypto.createCipher('aes256', mySharedKey) | |
cipherText = cipher.update(exampleClientId, 'utf8', 'base64') | |
cipherText += cipher.final('base64') | |
decipher = crypto.createDecipher('aes256', mySharedKey) |
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]!') |
function car() { | |
return { | |
start: function() { | |
return "Engine on." | |
}, | |
accelerate: function() { | |
return "Let's go!" | |
} | |
} | |
} |
class Animal | |
constructor: -> | |
@noise = "BOOM" | |
speak: -> console.log @noise | |
class Dog extends Animal | |
constructor: -> | |
@noise = "BARK" |
assert = require('assert'); | |
require('dotenv').config({path: 'production.env'}); | |
assert.equal(process.env.DB_USER, 'root') | |
assert.equal(process.env.PORT, 80) |
{ | |
"extends": "future/react" | |
} |
I hereby claim:
To claim this, I am signing this object:
use diff
to get fun red and green lines
- old
+ new
var first = true; | |
module.exports = function () { | |
console.log(`first: ${first}`); | |
if (first) { | |
first = false; | |
} | |
}; |
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" | |
} |