Before you start:
- Change the password in
connection.jsto an empty string""
- Open up mysql and create the
burgers_dbdatabase
mysql -u root -pCREATE DATABASE burgers_db;
- Exit out of mysql
- hit control + d once or twice
| apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 | |
| kind: Deployment | |
| metadata: | |
| name: dvlp-app | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: dvlp-app | |
| template: | |
| metadata: |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: dvlp-k8s |
| /* | |
| LilyPad_touch_LED | |
| When readPin (A4) is connected to ground, LED connected to ledPin (9) will light up. | |
| */ | |
| int ledPin9 = 9; | |
| int ledPin10 = 10; | |
| int ledPin11 = 11; | |
| int ledPin1 = 1; |
| /* | |
| LilyPad_light_sensor_LED | |
| When sensorPin (A4) is connected to ground, LED connected to ledPin (9) will light up. | |
| Connect a photoresistor (light sensor) between sensorPin and ground. | |
| */ | |
| int ledPin = 9; | |
| int sensorPin = A4; |
| /* | |
| LilyPad USB BLINK | |
| */ | |
| int firstledPin = 9; // onboard LED | |
| int secondledPin = 10; | |
| void setup() { | |
| Serial.begin(9600); // Sets up the serial window. Tools->Serial Monitor |
| version: 2 | |
| jobs: | |
| build_and_test: | |
| docker: | |
| - image: cypress/base:8 | |
| steps: | |
| - checkout | |
| - restore_cache: | |
| keys: | |
| - v1-npm-deps-{{ checksum "package.json" }} |
| # Window 1 | |
| echo 'this is file one' > one.txt | |
| echo 'this is file two' >> two.txt | |
| cat one.txt two.txt | |
| cat > three.txt | |
| 'this is file three' | |
| ^d | |
| echo 'i am adding this to file three' >> three.txt | |
| echo 'here is an additional line' >> three.txt | |
| echo 'and another one...' >> three.txt |
A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
index.jsnpm install expressnode index.js