I hereby claim:
- I am ruxkor on github.
- I am ruxkor (https://keybase.io/ruxkor) on keybase.
- I have a public key ASAL7SX6GrU8Z_N2zKyAQZ4vopKQ8dx6fWYgHOyHbYaLyAo
To claim this, I am signing this object:
import gc | |
from greenlet import greenlet | |
import traceback | |
def dumpGreenlets(): | |
for ob in gc.get_objects(): | |
if not isinstance(ob, greenlet): | |
continue | |
if not ob: | |
continue |
<html> | |
<head> | |
<title>Magenta</title> | |
</head> | |
<body> | |
<h2>Magenta</h2> | |
<div id="loading">Loading …</div> | |
<canvas id="cvs" width="600" height="600"></canvas> |
# checkinstall makefile for tigervnc's precompiled tarball | |
# expects the extracted files to be in a folder named 'build' | |
# save this file as Makefile and checkinstall as usual. | |
noop: | |
install: | |
find build -type d | sort | sed "s,^build,," | while read l; do ls $$l >/dev/null 2>/dev | |
find build -type f | sed -r "s,build(.*),\0 \1," | while read l; do cp -a $$l; done |
I hereby claim:
To claim this, I am signing this object:
# comparison function, checking also the contents of elements if we are comparing 2 arrays. | |
# very useful for sorting. | |
cmp = (a,b) -> | |
typemap = | |
'null': 0 | |
'undefined': 0 | |
'number': 1 | |
'string': 1 | |
'object': 2 |
#!/usr/bin/env python | |
# Usage: | |
# pipe, or pass as a file something identical to the | |
# following command: | |
# | |
# git log --pretty="format:COMMIT %h %at %f" --numstat | |
# | |
# | |
# |
This is an answer to https://twitter.com/developius/status/892470102632923136 about his SSL with Docker Swarm, Let's Encrypt and Nginx blog post and a way to not kill Nginx for certificate generation/renewal.
(from what I read in the blog post)
/etc/letsencrypt
directory so that certificates are on the host and not on the container.#!/bin/bash -e | |
# Run with `sudo` | |
STORAGEACCOUNT_NAME=$1 | |
STORAGEACCOUNT_KEY=$2 | |
if [ -z "$1" ]; then echo "Storage Account Name not set..." && exit 2 ; fi | |
if [ -z "$2" ]; then echo "Storage Account Key not set..." && exit 2 ; fi | |
echo "# Install CIFS" |
#!/bin/bash | |
# set the following variables | |
REGISTRY_HOSTNAME= | |
REGISTRY_USER= | |
REGISTRY_PASSWORD= | |
REGISTRY_IMAGE= | |
REGISTRY_IMAGE_TAG= | |
# if you don't know, get the tags first |
# Nginx can serve FLV/MP4 files by pseudo-streaming way without any specific media-server software. | |
# To do the custom build we use 2 modules: --with-http_secure_link_module --with-http_flv_module | |
# This module "secure-link" helps you to protect links from stealing away. | |
# | |
# NOTE: see more details at coderwall: http://coderwall.com/p/3hksyg | |
cd /usr/src | |
wget http://nginx.org/download/nginx-1.5.13.tar.gz | |
tar xzvf ./nginx-1.5.13.tar.gz && rm -f ./nginx-1.5.13.tar.gz |