This guide is no longer being updated and instead has moved to GitHub (click and scroll down)
- Setting Up and Installing Software
- Building your keymap and keyboard firmware
| FROM jrei/systemd-debian:bullseye | |
| # Install | |
| RUN apt-get update -y && \ | |
| apt-get install -y git wget curl gnupg2 procps lsb-release net-tools redis-server nodejs npm && \ | |
| npm install -g yarn && \ | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ | |
| echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list && \ | |
| apt update -y && \ | |
| apt -y install postgresql-12 postgresql-client-12 libpq-dev && \ |
| ### Keybase proof | |
| I hereby claim: | |
| * I am shawnd on github. | |
| * I am shawndhawan (https://keybase.io/shawndhawan) on keybase. | |
| * I have a public key ASAqbq_mjBL2fhQHJxOwbbp_z9tySgxG2l-kyADX2uUbXAo | |
| To claim this, I am signing this object: |
| Rank | Type | Prefix/Suffix | |
|---|---|---|---|
| 1. | Prefix | my+ | |
| 2. | Suffix | +online | |
| 3. | Prefix | the+ | |
| 4. | Suffix | +web | |
| 5. | Suffix | +media | |
| 6. | Prefix | web+ | |
| 7. | Suffix | +world | |
| 8. | Suffix | +net | |
| 9. | Prefix | go+ |
These use separate document structures instead of HTML, some are more modular libraries than full editors
| upstream backend { | |
| server localhost:8080; | |
| #server backup1.example.com:8080 backup; | |
| #server backup2.example.com:8080 backup; | |
| } | |
| # Set cache dir | |
| proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:10m; | |
| # Set cache key to include identifying components |
| // sending to sender-client only | |
| socket.emit('message', "this is a test"); | |
| // sending to all clients, include sender | |
| io.emit('message', "this is a test"); | |
| // sending to all clients except sender | |
| socket.broadcast.emit('message', "this is a test"); | |
| // sending to all clients in 'game' room(channel) except sender |
| #!/usr/bin/env xcrun swift | |
| /* | |
| gen.swift is a direct port of cfdrake's helloevolve.py from Python 2.7 to Swift 3 | |
| -------------------- https://gist.github.com/cfdrake/973505 --------------------- | |
| gen.swift implements a genetic algorithm that starts with a base | |
| population of randomly generated strings, iterates over a certain number of | |
| generations while implementing 'natural selection', and prints out the most fit | |
| string. |