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
/** | |
* This script can be used to override the current behave of `npm init` | |
* Can have a set of "defaults" values and also, will include functionality | |
* to create a Github repository for the project. | |
* | |
* You can set it: | |
* npm config set init-module YOUR-PATH/.npm-init.js | |
* | |
* Note: This is a work in progress, so there are some failures, mostly because | |
* npm is using promzard for the prompts, and it doesn't have async methods, so |
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
[ { | |
"bezeichnung" : "Softwareentwickler/in", | |
"berufId" : 15260, | |
"istReglementiert" : false | |
}, { | |
"bezeichnung" : "Leiter/in - Softwareentwicklung", | |
"berufId" : 90610, | |
"istReglementiert" : false | |
}, { | |
"bezeichnung" : "Mathematisch-technische/r Softwareentwickler/in", |
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
[ { | |
"bezeichnung" : "Lehrer/in (Uni) - Gesamtschulen", | |
"berufId" : 9297, | |
"istReglementiert" : true | |
}, { | |
"bezeichnung" : "Lehrer/in - Alexander-Technik", | |
"berufId" : 15103, | |
"istReglementiert" : false | |
}, { | |
"bezeichnung" : "Lehrer/in - Begabtenförderung", |
- Create a Dockerfile with all the specs for your image
- Create a docker-compose.yml file for the basic setup
- Create docker-compose.env.yml files for the specific rules for each environment
To build the image execute:
docker-compose -f docker-compose.yml -f docker-compose.env.yml build
To run the container execute:
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
# This script do a loop to read all the lines in file "url-list" | |
# Usign curl with get the http code of the url and print it with the url | |
#!/bin/bash | |
while read LINE; do | |
curl -o /dev/null --silent --head --write-out '%{http_code}' "$LINE" | |
echo ' '$LINE | |
done < url-list |
gcloud container clusters create kaka-cluster --num-nodes=1
- kaka-cluster: the name of the cluster
kubectl run kaka-server --image=gcr.io/kaka-234500/dockerflask_docker-flask:latest --port 5000 --env="FLASK_APP=app/main.py" --env="PORT=5000" --env="HOST=0.0.0.0"
- kaka-server: the name of the workload
- image: the name of the image on the hub
- port: the exposed by the docker
- env: the environment variables
This are my notes during the W2'19 at Recurse Center
The Recurse Center runs educational programming retreats in New York City. The retreats are free, self-directed, project based, and for anyone who wants to get dramatically better at programming.
This gist includes my application and code for the pair programming interview
NewerOlder