Skip to content

Instantly share code, notes, and snippets.

@signsi
signsi / start.py
Created Mar 27, 2018
python httpserver #python #web #server
View start.py
python -m SimpleHTTPServer 8000
@signsi
signsi / docker.sh
Created Nov 28, 2017
[upload from dockerfile] #docker #shell #dockerhub
View docker.sh
# Dockerfile in same folder
docker build . -t psiegfried/rocket-theme-cli
docker push psiegfried/rocket-theme-cli
@signsi
signsi / c.css
Created Oct 3, 2017
[flexbox without flexbox] #css #flexbox
View c.css
https://kyusuf.com/post/almost-complete-guide-to-flexbox-without-flexbox
@signsi
signsi / node.sh
Created Sep 27, 2017
[run node docker container with attached shell] #docker #node #shell
View node.sh
docker run -i -t node /bin/bash
@signsi
signsi / docker.sh
Created Sep 27, 2017
[remove not running docker image] #docker #shell
View docker.sh
docker rmi $(docker images -qf "dangling=true")
@signsi
signsi / docker.sh
Created Sep 27, 2017
[configure mac os to run default docker] #docker #shell #macos
View docker.sh
eval $(docker-machine env default)
@signsi
signsi / s
Created Sep 26, 2017
[stockphoto samples]
View s
http://unsample.net
@signsi
signsi / cookie.php
Created Sep 26, 2017
[cookie ie] #php #cookie
View cookie.php
@signsi
signsi / gen.sh
Created Sep 21, 2017
[Generate ssh key] #ssh #terminal
View gen.sh
ssh-keygen -t rsa
@signsi
signsi / centeredmiddle.css
Created Sep 19, 2017
[Flexbox align center & middle] #css #flexbox
View centeredmiddle.css
display: flex;
justify-content: center;
align-items: center;