Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
/* | |
* | |
* cc twilight.c -lgl_s -lm -o twilight | |
* | |
* Copyright (c) 1991, 1992 Silicon Graphics, Inc. | |
* | |
* Permission to use, copy, modify, distribute, and sell this software and | |
* its documentation for any purpose is hereby granted without fee, provided | |
* that the name of Silicon Graphics may not be used in any advertising or | |
* publicity relating to the software without the specific, prior written |
[Unit] | |
Description=Dropbear SSH server | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/local/sbin/dropbear -b /etc/dropbear/logo.txt | |
PIDFile=/var/run/dropbear.pid | |
[Install] |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
#!/usr/bin/env bash | |
set -e | |
# names of latest versions of each package | |
export NGINX_VERSION=1.13.5 | |
export VERSION_ZLIB=zlib-1.2.11 | |
export VERSION_PCRE=pcre-8.41 | |
export VERSION_LIBRESSL=libressl-2.6.1 | |
export VERSION_NGINX=nginx-$NGINX_VERSION |
I wrote this answer on stackexchange, here: https://stackoverflow.com/posts/12597919/
It was wrongly deleted for containing "proprietary information" years later. I think that's bullshit so I am posting it here. Come at me.
Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release?
set showmode | |
set laststatus=2 | |
set statusline+=%F | |
map ^H :!more ~/.vi_help^M | |
map #2 :set number^M | |
map #3 :set nonumber^M | |
map #4 :set autoindent^M | |
map #5 :set noautoindent^M | |
map #6 :set list^M | |
map #7 :set nolist^M |
sed -E -f solver.sed input
where input
is a file containing the maze.
For best results, resize your terminal to match the height of the maze. To disable animations, delete the lines containing p
.
The solver assumes the following:
- The maze only contains the characters
# \nSE
- Every line has the same number of characters
- There is only one start (
S
) and end (E
)
;;;; A webserver in Emacs, because why not. | |
;;;; Basically a fast replacement for serve_this in Fish. | |
(use-package web-server | |
:config | |
(defvar my/file-server nil "Is the file server running? Holds an instance if so.") | |
(defun my/ws-start (handlers port &optional log-buffer &rest network-args) |
cmd = "./restart.sh ${server} ${containerName}" | |
println("INFO: Restarting the container: ${cmd}") | |
def proc = cmd.execute() | |
proc.waitForProcessOutput(System.out, System.err) | |
def errorCode = proc.exitValue() |