I hereby claim:
- I am falsycat on github.
- I am falsycat (https://keybase.io/falsycat) on keybase.
- I have a public key ASAj3Bp1J77mbXlt-GhZpXd5_1Q3mvc3J6s-t6cEckAwBwo
To claim this, I am signing this object:
#!/bin/bash | |
rec=$(cat -) | |
n=$(awk '$0!=""{++a}END{print a}' <<< "$rec") | |
sort -g -k $1 <<< "$rec" | awk -v "i=$1" -v "n=$n" '$0!=""{ | |
++a; | |
p = $(i)*(n-a+1); | |
if (p>0.05) exit; | |
for (x=1;x<=NF;++x) { |
#!/bin/bash | |
# ---- record manipulation | |
function normalize() { | |
cat - | \ | |
sed -nE -e '/^#/b' -e '/^\s/{H;$!b}' -e 'x; /^$/!{s/\s+/ /g;p}' | \ | |
awk -e '{for (i=3;i<NF;i+=2) print $1, $2, $i, $(i+1)}' | |
} | |
function calc_wallet_sums() { | |
cat - | \ |
(() => { | |
const kModPath = "/instance/"; | |
window.addEventListener("DOMContentLoaded", () => { | |
const mods = [ | |
mod_style, | |
mod_highlight, | |
mod_math, | |
]; |
#include <Servo.h> | |
#define ACTION_DELAY 700 | |
#define ANGLE_UNIT 15 | |
#define TEST_COUNT (180/ANGLE_UNIT+1) | |
#define DIST_ERROR 20 | |
#define PIN_BEEP 12 | |
#define PIN_LED 2 | |
#define PIN_BUTTON_INIT 3 |
#include <cassert> | |
#include <cstdint> | |
#include <cstring> | |
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
#define MINIMP4_IMPLEMENTATION | |
#include "minimp4.h" |
#include <cassert> | |
#include <cstdint> | |
#include <cstring> | |
#include <iostream> | |
#define MINIMP4_IMPLEMENTATION | |
#include "minimp4.h" | |
#include "../codec/api/wels/codec_api.h" |
#pragma once | |
#if defined(__clang__) | |
#include <cstdint> | |
namespace std { | |
// source_location impl for Clang | |
// reference: | |
// https://github.com/paweldac/source_location/blob/ff0002f92cdde3576ce02048dd9eb7823cabdc7b/include/source_location/source_location.hpp |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/awk -f | |
! /^(#|$)/ { | |
delete io | |
for (i = 4; i <= NF; ++i) { | |
split($i, tok, ":") | |
target = tok[1] | |
value = int(tok[2]) |
#version 330 | |
#extension GL_ARB_explicit_uniform_location : enable | |
out vec4 o_color; | |
void main(void) { | |
o_color = vec4(1.); | |
} |