Skip to content

Instantly share code, notes, and snippets.

View mailchimp-popup-button.html
<script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script>
<script type="text/javascript">
function showMailingPopUp() {
window.dojoRequire(["mojo/signup-forms/Loader"], function (L) {
L.start({
"baseUrl": "mc.us19.list-manage.com",
"uuid": "f135c2db40c105c2927c91ba0",
"lid": "a0227cec63",
"uniqueMethods": true
});
@cornernote
cornernote / README.md
Last active Jan 15, 2022
Logitech G105 Keyboard - Ubuntu 18.04
View README.md
@cornernote
cornernote / packages.json
Created Apr 12, 2018
minetest-bower backup
View packages.json
[{"name":"worldedit","url":"https://github.com/Uberi/MineTest-WorldEdit.git","hits":1105,"bower":null,"screenshots":null,"authors":null,"license":null,"readme":null},{"name":"skyblock","url":"https://github.com/cornernote/minetest-skyblock.git","hits":946,"bower":null,"screenshots":null,"authors":null,"license":null,"readme":null},{"name":"inventory_plus","url":"https://github.com/cornernote/minetest-inventory_plus.git","hits":908,"bower":null,"screenshots":null,"authors":null,"license":null,"readme":null},{"name":"craft_guide","url":"https://github.com/cornernote/minetest-craft_guide.git","hits":897,"bower":null,"screenshots":null,"authors":null,"license":null,"readme":null},{"name":"minetest-3d_armor","url":"https://github.com/stujones11/minetest-3d_armor.git","hits":891,"bower":null,"screenshots":null,"authors":null,"license":null,"readme":null},{"name":"creatures","url":"https://github.com/BlockMen/creatures.git","hits":781,"bower":null,"screenshots":null,"authors":null,"license":null,"readme":null},{"nam
@cornernote
cornernote / Dockerfile
Last active Apr 30, 2021
docker test for wkhtmltopdf
View Dockerfile
FROM debian:stretch
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -y install \
curl && \
## Install wkhtmltopdf
curl -L https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.stretch_amd64.deb \
-o wkhtmltox_0.12.6-1.stretch_amd64.deb && \
apt-get -y install \
View setup-ubuntu-1604.sh
#!/bin/sh
# update and install core packages
sudo apt-get update && \
sudo apt-get -y upgrade && \
sudo apt-get -y install \
ntp \
gcc \
libc6-dev \
python-pip \
View setup.sh
#!/bin/sh
# install basics
sudo apt install -y git mydumper
# install docker
sudo wget -qO- https://get.docker.com/ | sh
# install docker-compose
sudo apt install -y python-pip
@cornernote
cornernote / README.md
Last active Jan 26, 2018
Play with Docker Shinken
View README.md

Play with Docker Shinken

There are many way to try out Docker Shinken, a really slick one is creating a stack on Play with Docker.

Login or signup, then create a new instance.

Download a Docker Shinken application definition:

# shinken_basic
@cornernote
cornernote / README.md
Last active Jan 25, 2018
Install Docker and Docker Compose
View README.md

Install Docker and Docker Compose

Ububtu 16.04

sudo wget -qO- https://goo.gl/hukjGs | sh
View Dockerfile
FROM phundament/php-one:5.6-fpm-5.1.1
# Server packages
RUN apt-get update -y
RUN apt-get install php5-imagick -y
RUN rm -rf /var/lib/apt/lists/*
# PHP packages
RUN yes | pecl install memcache
RUN docker-php-ext-enable memcache
@cornernote
cornernote / README.md
Last active Apr 19, 2017
Docker Testing
View README.md

Docker Testing

Head over to http://labs.play-with-docker.com/ and create a new instance.

Download an application definition

curl -Lo docker-compose.yml https://gist.githubusercontent.com/cornernote/850a48f6d361b3401ec4f293438f55c6/raw/c1169161191127bc9415bdc42203e7b640b21a48/docker-compose.yml

Run the application setup