Skip to content

Instantly share code, notes, and snippets.

@equalunique
equalunique / ergodox-layout.json
Created October 31, 2018 17:38
JSON from Lenbok/scad-redox-case/kle-examples made pastable for KLE
[{x:3.5},"#\n3",{x:10.5},"*\n8"],
[{y:-0.875,x:2.5},"@\n2",{x:1},"$\n4",{x:8.5},"&\n7",{x:1},"(\n9"],
[{y:-0.875,x:5.5},"%\n5",{a:7},"",{x:4.5},"",{a:4},"^\n6"],
[{y:-0.875,a:7,w:1.5},"",{a:4},"!\n1",{x:14.5},")\n0",{a:7,w:1.5},""],
[{y:-0.375,x:3.5,a:4},"E",{x:10.5},"I"],
[{y:-0.875,x:2.5},"W",{x:1},"R",{x:8.5},"U",{x:1},"O"],
[{y:-0.875,x:5.5},"T",{a:7,h:1.5},"",{x:4.5,h:1.5},"",{a:4},"Y"],
[{y:-0.875,a:7,w:1.5},"",{a:4},"Q",{x:14.5},"P",{a:7,w:1.5},""],
[{y:-0.375,x:3.5,a:4},"D",{x:10.5},"K"],
[{y:-0.875,x:2.5},"S",{x:1},"F",{x:8.5},"J",{x:1},"L"],
@equalunique
equalunique / dmesg_SM2008_P19_.txt
Last active May 2, 2018 01:51
Matching mps driver in 11.1-STABLE to LSI 2008 firmware
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017
root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(vga): resolution 640x480
CPU: AMD Opteron(TM) Processor 6272 (2100.05-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x600f12 Family=0x15 Model=0x1 Stepping=2
@equalunique
equalunique / stack build
Created February 21, 2018 16:21
haskell stack setup.exe: the program 'unzip' is required but could not be found
C:\projects\equalunique.me\my-site>stack build --verbose
Version 1.6.3, Git revision b27e629b8c4ce369e3b8273f04db193b060000db (5454 commits) x86_64 hpack-0.20.0
2018-02-21 11:13:57.469218: [debug] Checking for project config at: C:\projects\equalunique.me\my-site\stack.yaml
@(Stack\Config.hs:842:9)
2018-02-21 11:13:57.484961: [debug] Loading project config file stack.yaml
@(Stack\Config.hs:868:13)
2018-02-21 11:13:57.484961: [debug] Decoding build plan from: C:\sr\build-plan\lts-10.6.yaml
@(Stack\Snapshot.hs:150:5)
2018-02-21 11:13:57.484961: [debug] Trying to decode C:\sr\build-plan-cache\lts-10.6.cache
@(Data\Store\VersionTagged.hs:66:5)

Keybase proof

I hereby claim:

  • I am equalunique on github.
  • I am equalunique (https://keybase.io/equalunique) on keybase.
  • I have a public key ASACHrlUKxwaAZ2JxJ1Hy0uqavl4GPK4IwuyuhvoN5g52Ao

To claim this, I am signing this object:

@equalunique
equalunique / redux_options_webnus_options_backup_01-08-2017.json
Last active August 1, 2017 02:12
redux_options_webnus_options_backup_01-08-2017.json
{"last_tab":"38","webnus_template_select":"trust","webnus_enable_responsive":"1","webnus_css_minifier":"0","webnus_enable_smoothscroll":"1","webnus_scrollup":"1","webnus_background_layout":"wide","webnus_container_width":"","webnus_logo":{"url":"http:\/\/westpark-baptist-dev.com\/wp-content\/uploads\/2016\/11\/west-park-baptist-church-logo-blktrans_big.png","id":"8528","height":"701","width":"701","thumbnail":"http:\/\/westpark-baptist-dev.com\/wp-content\/uploads\/2016\/11\/west-park-baptist-church-logo-blktrans_big-150x150.png"},"webnus_logo_width":"150","webnus_transparent_logo":{"url":"http:\/\/westpark-baptist-dev.com\/wp-content\/uploads\/2016\/11\/west-park-baptist-church-logo-whttrans_big.png","id":"8529","height":"701","width":"701","thumbnail":""},"webnus_transparent_logo_width":"150","webnus_header_padding_top":"","webnus_header_padding_bottom":"","webnus_slogan":"","webnus_header_menu_type":"8","webnus_dark_submenu":"1","webnus_header_background":{"url":"","id":"","height":"","width":"","thumbnail
-module(shapes).
-import(io,[format/1]).
-import(math,[sqrt/1,pi/0]).
-import(lists,[droplast/1,append/2,last/1,zip/2]).
-export([perimeter/1,area/1,enclose/1]).
% Perimeter function:
% Works on Triangles.
perimeter({triangle, {X1,Y1}, {X2,Y2}, {X3,Y3}}) ->
polymeter([{X1,Y1}, {X2,Y2}, {X3,Y3}]);
-module(bits).
-export([bits/1]).
bitsDirectRecursion(0,R) ->
R;
bitsDirectRecursion(N,R) ->
Rem = N rem 2,
Num = N div 2,
Val = bitsDirectRecursion(Num,Rem),
@equalunique
equalunique / 0.leo_manager.conf
Created April 19, 2017 14:23
tutorial configs for my fifo 0.9.1 leofs 1.3.1 managers
##======================================================================
## LeoFS - Manager Configuration (MASTER)
##
## See: http://leo-project.net/leofs/docs/configuration/configuration_1.html
##======================================================================
## --------------------------------------------------------------------
## SASL
## --------------------------------------------------------------------
## See: http://www.erlang.org/doc/man/sasl_app.html
##
# download latest libevent2 and tmux sources, and extract them somewhere
# (thx bluejedi for tip on latest tmux URL)
#
# at the time of writing:
# https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
# http://sourceforge.net/projects/tmux/files/latest/download?source=files
#
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
wget http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz