I hereby claim:
- I am c0deaddict on github.
- I am josvanbakel (https://keybase.io/josvanbakel) on keybase.
- I have a public key whose fingerprint is 6568 423D 20F2 00A8 0A4E 9D56 3758 9FBA E4DA 2BC3
To claim this, I am signing this object:
local bor, band, bnot = bit.bor, bit.band, bit.bnot | |
local function write4bits(self, bits, char_mode) | |
tmr.delay(1000) | |
gpio.write(self.pin_rs, char_mode and gpio.HIGH or gpio.LOW) | |
for n = 1, 2 do | |
for i, pin in ipairs(self.pin_db) do | |
local j = (2-n)*4 + (i-1) | |
local val = (bit.isset(bits, j)) |
I hereby claim:
To claim this, I am signing this object:
Language | LOC | |
---|---|---|
c | 3181 | |
python | 1156 | |
ruby | 1067 | |
elm | 6701 | |
js | 1629 | |
java | 3052 | |
haskell | 3182 | |
racket | 1221 | |
perl | 2097 |
{ pkgs, nodejs, stdenv }: | |
let | |
nodePackages = import ./composition.nix { | |
inherit pkgs nodejs; | |
inherit (stdenv.hostPlatform) system; | |
}; | |
in | |
nodePackages |
live_loop :casper do | |
use_synth :piano | |
2.times do | |
sleep 0.5 | |
play :a | |
sleep 0.2 | |
play :b | |
sleep 0.2 | |
play :a | |
sleep 0.2 |
use_bpm 90 | |
live_loop :kick do | |
sample :bd_haus | |
sleep 0.5 | |
end | |
live_loop :snare do | |
sleep 0.5 | |
sample :sn_dolf | |
sleep 0.5 | |
end |
{ config, pkgs, lib, ... }: | |
let | |
interfaces = { | |
wan = "enp1s0"; | |
lan = "enp2s0"; | |
}; | |
in { |
{ lib, config, pkgs, ... }: | |
with lib; | |
let | |
veth = "veth-vpn"; | |
hostIp = "10.0.0.1/24"; | |
guestIp = "10.0.0.2/24"; |
{ lib, config, pkgs, ... }: | |
with lib; | |
let | |
cfg = config.mine.lxc; | |
format = pkgs.formats.json { }; | |
preseedFile = format.generate "preseed.yaml" cfg.preseed; |
{ lib, config, pkgs, ... }: | |
with lib; | |
let | |
cfg = config.services.mautrix-whatsapp; | |
dataDir = "/var/lib/mautrix-whatsapp"; | |
format = pkgs.formats.json { }; | |
registrationFile = "${dataDir}/whatsapp-registration.yaml"; |