Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am afcajamarcar on github.
  • I am andresca (https://keybase.io/andresca) on keybase.
  • I have a public key ASCPDunTHxi4PHNJNnAVhabZnD9UHJ20zXa9pB-fpDNVNQo

To claim this, I am signing this object:

@afcajamarcar
afcajamarcar / container_ip.txt
Last active September 29, 2018 20:42
Command for getting the ip of a Docker container.
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container's id>
@afcajamarcar
afcajamarcar / stop_and_remove_containers.txt
Created September 29, 2018 20:42
Docker commands for stopping and removing all current Docker containers.
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
@afcajamarcar
afcajamarcar / init_lambda.sh
Last active November 18, 2019 20:35
Init lambda function (Stackery - AWS serverless lambda function)
cd <lambda/project directory>
stackery local invoke -e <stackery-env-name> --aws-profile <aws cli profile> --watch
@afcajamarcar
afcajamarcar / init_users.sh
Last active November 18, 2019 23:01
Init Users
meteor run --settings <settings-file>.json
@afcajamarcar
afcajamarcar / init_admin.sh
Last active November 19, 2019 14:59
Init Admin
set "MONGO_URL=mongodb://localhost:<port>/meteor"
meteor run --settings <settings-file>.json --port <other port>