Skip to content

Instantly share code, notes, and snippets.

View chuckxD's full-sized avatar
💩
I may be slow to respond.

Chuck Schleutker chuckxD

💩
I may be slow to respond.
View GitHub Profile
@chuckxD
chuckxD / Docker shell commands.sh
Created October 15, 2020 01:59 — forked from bahmutov/Docker shell commands.sh
A personal cheat sheet for running local Node project in a Docker container
# See list of docker virtual machines on the local box
$ docker-machine ls
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1
# Note the host URL 192.168.99.100 - it will be used later!
# Build an image from current folder under given image name
$ docker build -t gleb/demo-app .
<---
_._ _..._ .-', _.._(`))
'-. ` ' /-._.-' ',/
) \ '.
/ _ _ | \
| a a / |
\ .-. ;
'-('' ).-' ,' ;
'-; | .'
\ \ /
@chuckxD
chuckxD / base-bootstrap-ejs-view
Created June 20, 2018 18:34 — forked from ramontristani/base-bootstrap-ejs-view
EJS: Basic HTML/EJS boilerplate
<!doctype html>
<html>
<head>
<meta name="viewport" content="initial-scale=1, maximum-scale=1" />
<meta charset="utf-8" />
<title><%= title %></title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
</head>
<body>
@chuckxD
chuckxD / 0_reuse_code.js
Created September 23, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console