- Outcomes and standards-based education
- Not a curriculum company
- Turning juniors/mids into mids/seniors
- Turning seniors into leads, principles, VPs
- Not necessarily with career alignment- they don't have to go all-in
heroku creategit push heroku masterheroku addons:create heroku-postgresql:hobby-devheroku openheroku run knex migrate:latestHow to setup a postgres db with knex
createdb <name_of_database>knex migrate:latestknex seed:run| const environment = process.env.NODE_ENV || 'development'; | |
| const config = require('./knexfile'); | |
| const environmentConfig = config[environment]; | |
| const knex = require('knex'); | |
| const connection = knex(environmentConfig); | |
| module.exports = connection; |
| const express = require('express') | |
| const app = express() | |
| const path = require('path') | |
| const fetch = require('node-fetch') | |
| const PORT = process.env.PORT || 3000 | |
| app.get('/api/user', (req, res) => { | |
| res.json({ name: 'Richard' }); | |
| }); |
| //general: | |
| COPY table_name TO 'location/here.csv' DELIMITER ',' CSV HEADER; | |
| //specific: | |
| COPY products_273 TO '/tmp/products_199.csv' DELIMITER ',' CSV HEADER; |
| // Thank you, Dan Levy | |
| function domReady(f, o, m) { | |
| (o = document), (m = 'addEventListener'); | |
| o[m] ? o[m]('DOMContentLoaded', f) : ((o = window), o.attachEvent('onload', f)); | |
| } | |
| // example usage: | |
| domReady(function() { |
I have read/listened to/completed all of the following and found them useful. --Kim
| fetch(url) | |
| .then(response => response.json()) | |
| .then() | |
| .catch(console.error) |
Ruby on Rails's Action Mailer allows you to preview an email view. It's a bit tricky, but if you'd like to see an email before it is sent to a user, follow the instructions below.