Install NGINX, PHP, MariaDB, and Composer.
$ brew install nginx php mariadb composer
urxvt.termName: rxvt | |
urxvt.loginShell: true | |
urxvt*urlLauncher: /usr/bin/chromium | |
urxvt*perl-lib: /usr/lib/urxvt/perl/ | |
urxvt*perl-ext-common: default,matcher,searchable-scrollback | |
urxvt*font: xft:DejaVu Sans Mono:pixelsize=10 | |
urxvt*boldFont: xft:DejaVu Sans Mono:pixelsize=10 | |
urxvt.scrollBar: false | |
urxvt.saveLines: 65535 | |
urxvt.secondaryScroll: true |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import curses | |
from math import floor | |
from datetime import datetime as date | |
from subprocess import Popen as popen | |
# Globals: | |
screen = curses.initscr() |
<!doctype html> | |
<html> | |
<head> | |
<title>Scroll Test</title> | |
<style> | |
html, body { | |
overflow: hidden; | |
width: 100%; | |
height: 100%; |
Forewarning: this can be a bit painful and may not work as expected. I've already had issues with even including stdlib through clang.
Make sure you have git installed and properly configured before continuing. This is trivial on Windows these days (https://git-scm.com/download/win) but is required to pull down Binaryen and Wabt.
Make sure to add the binary to your PATH variable in Windows.
#!/usr/bin/env node | |
// Test Hand | |
var hand = [ | |
{ rank: 10, suit: 1 }, | |
{ rank: 11, suit: 1 }, | |
{ rank: 12, suit: 1 }, | |
{ rank: 13, suit: 1 }, | |
{ rank: 14, suit: 1 } |
#!/bin/bash | |
declare -i f=75 s=13 r=2000 t=0 c=1 n=0 l=0 | |
declare -ir w=$(tput cols) h=$(tput lines) | |
declare -i x=$((w/2)) y=$((h/2)) | |
declare -ar v=( [00]="\x83" [01]="\x8f" [03]="\x93" | |
[10]="\x9b" [11]="\x81" [12]="\x93" | |
[21]="\x97" [22]="\x83" [23]="\x9b" | |
[30]="\x97" [32]="\x8f" [33]="\x81" ) | |
OPTIND=1 |
#!/usr/bin/python | |
import curses, random | |
screen = curses.initscr() | |
width = screen.getmaxyx()[1] | |
height = screen.getmaxyx()[0] | |
size = width*height | |
char = [" ", ".", ":", "^", "*", "x", "s", "S", "#", "$"] | |
b = [] |