I hereby claim:
- I am vizanto on github.
- I am vizanto (https://keybase.io/vizanto) on keybase.
- I have a public key ASALosUXuO-ugRRf0YeRfru1XuZ_JEwfq-NDnDc0rt9P-Qo
To claim this, I am signing this object:
(def multi-transfer-invariant | |
'[$balance-sums | |
[:find [(sum ?balance-before) :as sum-before | |
(sum ?balance-after) :as sum-after | |
(sum ?balance-change) :as sum-of-change] | |
:with ?affected-entity | |
:in $before $after $txn | |
:where | |
;; Unify data from databases and transactions with affected-entity | |
[$after ?affected-entity :account/balance ?balance-after] |
package; | |
using SizeOf; | |
import io.Bytes; | |
import haxe.macro.Context; | |
import haxe.macro.Expr; | |
import haxe.macro.TypeTools; | |
#if !macro @:genericBuild(InlineArrayBuilder.build()) #end | |
class InlineArray<T> extends ReadOnlyBufferSlice { | |
} |
-server | |
-Xms12G | |
-Xmx12G | |
-XX:+UnlockExperimentalVMOptions | |
-XX:+UnlockDiagnosticVMOptions | |
-XX:+PrintClassHistogram | |
-XX:+UseG1GC | |
-XX:G1HeapRegionSize=16M |
{ config, lib, pkgs, ... }: with lib; | |
{ | |
### SmartOS Linux Branded Zone specific configuration | |
boot.isContainer = true; | |
boot.loader.initScript.enable = true; | |
networking.useDHCP = false; | |
networking.firewall.enable = false; | |
services.nscd.enable = true;# false; |
import haxe.macro.Expr; | |
import haxe.macro.ExprTools; | |
import haxe.macro.Context; | |
class Macro { | |
static macro function addField (nameAndType : Expr) : Array<Field> { | |
var fieldName; | |
var ct; | |
switch nameAndType.expr { |
package hxclj; | |
import hxclj.edn.Parser; | |
import byte.ByteData; | |
class Main { | |
static function main() { | |
var expr = "^:yo clojure.core// (.lol wut) .1 (+ 0N 0.1M 0xdeadbeef 1 2 ~a ~@aas)"; | |
// trace("Parse ", expr); | |
var input = sys.io.File.getBytes("test.clj"); | |
var parser = new Parser(@:privateAccess new ByteData(input), "test.clj"); |
#!/usr/bin/env python3 | |
import os | |
import re | |
import requests | |
from autologin import AutoLogin | |
from configparser import SafeConfigParser | |
from glob import glob | |
# Helper definitions |
{ config, lib, pkgs, ... }: | |
{ | |
imports = [ ]; | |
### SmartOS Linux Branded Zone specific configuration | |
nix.extraOptions = '' | |
build-users-group = | |
''; |
I hereby claim:
To claim this, I am signing this object:
{ config, lib, pkgs, ... }: | |
{ | |
imports = [ ]; | |
### SmartOS Linux Branded Zone specific configuration | |
# boot.initrd.availableKernelModules = [ ]; | |
# boot.kernelModules = [ ]; | |
# boot.extraModulePackages = [ ]; |