I hereby claim:
- I am roobie on github.
- I am shirian (https://keybase.io/shirian) on keybase.
- I have a public key ASAOUBeQosW9KXZ3jzSTRCSkscvHrN3jaiA6x-g1wIYzOQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Live Editable Tech Palette with Randomizer</title> | |
| <!-- Coloris --> | |
| <link | |
| rel="stylesheet" | |
| href="https://cdn.jsdelivr.net/gh/mdbassit/Coloris@latest/dist/coloris.min.css" |
| using System; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| using System.Collections.Concurrent; | |
| using System.Diagnostics; | |
| using System.Reflection; | |
| using Xunit; | |
| namespace Shovel.Lib | |
| { |
| using System.Data; | |
| using System.Reflection; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace Shovel.Lib; | |
| public static class DataTableExtensions | |
| { | |
| public static IEnumerable<T> IntoDtos<T>(this DataRowCollection rows) |
| using System; | |
| namespace Option.Abstractions | |
| { | |
| public static class OptAbstractions | |
| { | |
| public static Option<T> ToOption<T>(this T value) | |
| where T: class | |
| { | |
| if (value == null) |
| /* ==UserStyle== | |
| @name don't kill my eyes, OLD reddit | |
| @version 1.0.0 | |
| @description my old.reddit.com style | |
| @author bjorn | |
| @namespace bjorn | |
| @updateURL https://gist.github.com/roobie/c8d28599acd3116363fc1b917c6737c0/raw/d57be0ee4a489315d868a8ad469f18b0ec7a2e08/old.reddit.com.user.css | |
| @license CC-BY-NC-SA-4.0 | |
| ==/UserStyle== */ | |
| @-moz-document domain("old.reddit.com") { |
| local bit = require("bit") | |
| local function u8_ToBinaryRepresentation (u8) | |
| local function AND (x, v) | |
| local res = bit.band(x, v) | |
| if res ~= 0 then | |
| return 1 | |
| else | |
| return 0 | |
| end |
| #!/usr/bin/env bash | |
| set -e | |
| set -u | |
| export BASEDIR="$HOME" | |
| export APP=appname | |
| export APPDIR="$BASEDIR/$APP" | |
| export DOCKER_OPTS="" | |
| unset GIT_DIR |
| # find * and + to be confusing, trying to use sequence and choice instead | |
| (def peg-simple | |
| ~{:main (capture (some :S))}) | |
| (peg/match peg-simple "hello") # @["hello"] | |
| # from: | |
| # https://janet-lang.org/docs/peg.html | |
| (defn finder |
| (def *default-ldflags* "-s") | |
| (def zlib {:path "/abc/zlib"}) | |
| (def libuv {:path "/abc/libuv"}) | |
| (defn default-ldflags-with-runpath [&keys collections] | |
| (var to-join @[]) | |
| (each key (keys collections) | |
| (let [prefix (string "/" key) | |
| libs (in collections key) | |
| extra (join-pkg-paths ":" prefix libs)] | |
| (set to-join (array/concat to-join extra)))) |