This file contains hidden or 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
| original name proposed name | |
| SPRINGFIELD - HOLYOKE Springfield - Holyoke | |
| BOSTON (MANCHESTER) Boston (Manchester) | |
| ALBANY - SCHENECTADY - TROY Albany - Schenectady - Troy | |
| PROVIDENCE - NEW BEDFORD Providence - New Bedford | |
| BURLINGTON - PLATTSBURGH Burlington - Plattsburgh | |
| PORTLAND - AUBURN Portland - Auburn | |
| BANGOR Bangor | |
| PRESQUE ISLE Presque Isle | |
| HARTFORD & NEW HAVEN Hartford & New Haven |
This file contains hidden or 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
| original name proposed name | |
| SPRINGFIELD - HOLYOKE Springfield - Holyoke | |
| BOSTON (MANCHESTER) Boston (Manchester) | |
| ALBANY - SCHENECTADY - TROY Albany - Schenectady - Troy | |
| PROVIDENCE - NEW BEDFORD Providence - New Bedford | |
| BURLINGTON - PLATTSBURGH Burlington - Plattsburgh | |
| PORTLAND - AUBURN Portland - Auburn | |
| BANGOR Bangor | |
| PRESQUE ISLE Presque Isle | |
| HARTFORD & NEW HAVEN Hartford & New Haven |
This file contains hidden or 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
| //controllers/authentication.controller.js | |
| const User = require("../models/user.model"); | |
| const passport = require("passport"); | |
| //auth operations | |
| exports.login = function(req, res, next) { | |
| if (!req.body.email) { | |
| return res.status(422).json({ | |
| errors: { |
This file contains hidden or 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
| #simple array modification | |
| array = [1,2,3] | |
| new_array = array.map{|integer| integer+=1} | |
| p new_array | |
| #output | |
| # [2,3,4] | |
| #using map! original array is modified | |
| array = [1,2,3] | |
| array.map!{|integer| integer+=1} |
This file contains hidden or 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
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1", | |
| "metadata": { | |
| "name": "kubectl-tester" | |
| }, | |
| "spec": { | |
| "containers": [ | |
| { | |
| "name": "bb", |