Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block empireshades

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
NorikDavtian / .bash_aliases
Created May 31, 2017
Docker cleanup bash aliases
View .bash_aliases
# ~/.bash_aliases
# Kill all running containers.
alias dockerkillall='docker kill $(docker ps -q)'
# Delete all stopped containers.
alias dockercleanc='printf "\n>>> Deleting stopped containers\n\n" && docker rm $(docker ps -a -q)'
# Delete all untagged images.
wall72 /
Last active Jun 13, 2018
install TensorFlow on Windows 10 Bash (include graphiclib)

install TensorFlow on Windows 10 Bash (include graphiclib)

1. install packages

sudo apt-get update
sudo apt-get install -y --no-install-recommends \
        build-essential \
        libfreetype6-dev \
        libpng12-dev \
        libzmq3-dev \
mattiaslundberg / Ansible Let's Encrypt Nginx setup
Last active Jan 21, 2020
Let's Encrypt Nginx setup with Ansible
View Ansible Let's Encrypt Nginx setup
Ansible playbook to setup HTTPS using Let's encrypt on nginx.
The Ansible playbook installs everything needed to serve static files from a nginx server over HTTPS.
The server pass A rating on [SSL Labs](
To use:
1. Install [Ansible](
2. Setup an Ubuntu 16.04 server accessible over ssh
3. Create `/etc/ansible/hosts` according to template below and change to your domain
4. Copy the rest of the files to an empty directory (`playbook.yml` in the root of that folder and the rest in the `templates` subfolder)
n8henrie /
Last active Dec 24, 2018
One-way sync of local directory to Dropbox using Dropbox API V2 and python3.
One-way sync of local directory to Dropbox using Dropbox API V2 and python3.
- dropbox (`pip3 install dropbox`)
Minimal modifications from:
gigablah / ansible-container.yml
Created Nov 11, 2015
Update Docker containers with Ansible
View ansible-container.yml
- name: Spin up a container
hosts: localhost
connection: local
gather_facts: False
sudo: False
base_image: gigablah/alpine-python
container_name: ansible_test
jamtur01 /
Last active Jan 11, 2020
Kickstarter Engineering Ladder
jwinder /
Last active Dec 30, 2018
Sonic Pi in-app tutorials concatenated - last synced 2018-07-17 - -

⚠️ This gist will no longer be updated when changes occur to master. This tutorial can now be found here instead:

1 Welcome to Sonic Pi

Welcome friend :-)

Welcome to Sonic Pi. Hopefully you're as excited to get started making crazy sounds as I am to show you. It's going to be a really fun ride where you'll learn all about music, synthesis, programming, composition,

shiffman /
Last active Sep 13, 2019
A list of ideas for #CodingRainbow Video topics:
straversi / bookmarklet.js
Created Jul 28, 2015
remove sidebar on reddit
View bookmarklet.js
nl5887 /
Last active Jan 15, 2020
Bash and zsh alias for Transfers files and directories to
function transfer
if test (count $argv) -eq 0
echo "No arguments specified. Usage:\necho transfer /tmp/\ncat /tmp/ | transfer"
return 1
## get temporarily filename, output is written to this file show progress can be showed
set tmpfile ( mktemp -t transferXXX )
## upload stdin or file
You can’t perform that action at this time.