This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { | |
"theme": "macchiato" | |
}, | |
"basics": { | |
"name": "Richard Hendriks", | |
"label": "Programmer", | |
"email": "[email protected]", | |
"phone": "(912) 555-4321", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Test.{doWhat, findColorById, findColorById2, findColorByName} | |
import TrafficLightColorById.{Green, Red, TrafficLightColorById, Yellow} | |
import scala.util.Try | |
/* | |
Enums (id, name) with default id incremental | |
*/ | |
object TrafficLightColor extends Enumeration { | |
val Red = Value(0, "RED") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'); | |
var express = require('express'); | |
var bodyParser = require('body-parser'); | |
var app = express(); | |
app.set('port', (process.env.PORT || 3000)); | |
app.use('/', express.static(path.join(__dirname, 'public'))); | |
app.use(bodyParser.json()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo brew uninstall node | |
brew update | |
brew upgrade | |
brew cleanup | |
brew install node | |
sudo chown -R $(whoami) /usr/local | |
brew link --overwrite node | |
sudo brew postinstall node |