Skip to content

Instantly share code, notes, and snippets.

@focusaurus
focusaurus / config.yaml
Created December 18, 2023 01:37
kipra ergogen 2023-12-17
metadata:
version: 0.0.2
author: Peter Lyons
www: https://peterlyons.com
units:
# choc spread is just a LITTLE too tight for me,
# so bump it up by 1mm
# This is by coincidence the same as "u" but "cx + 1"
# expresses the intent more clearly
$default_spread: cx + 1
@focusaurus
focusaurus / PKGBUILD
Created August 30, 2020 13:15
berry-git PKGBUILD fix diff
diff --git PKGBUILD PKGBUILD
index a8a1da2..a476180 100644
--- PKGBUILD
+++ PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc="A healthy, bite-sized window manager written over the XLib Library"
url="https://github.com/JLErvin/berry"
arch=('x86_64')
license=('MIT')
-makedepends=('gcc')
+makedepends=('gcc' 'git')
RUST_BACKTRACE=full broot --install
thread 'main' panicked at 'assertion failed: width > 2', /home/dys/.cargo/registry/src/github.com-1ecc6299db9ec823/termimad-0.6.5/src/wrap.rs:128:5
stack backtrace:
0: 0x55b961aab458 - <unknown>
1: 0x55b961aaabb8 - <unknown>
2: 0x55b961a89524 - <unknown>
3: 0x55b961a9d4a1 - <unknown>
4: 0x55b961a9fce9 - <unknown>
5: 0x55b96197eb03 - <unknown>
6: 0x55b961984feb - <unknown>
@focusaurus
focusaurus / message.md
Last active March 11, 2019 02:41
Denver/Boulder Freelance Web Developers Meetup Group Shutting Down

This Meetup Group Can No Longer Be No-Cost and Will Terminate

Prakash has stepped down as the only officially-registered organizer of our meetup group, although Pete Lyons and Rylan Bowers had also done some light organizing as needed.

However, it seems although we've had the meetup group on super-low simmer mode for several years, we will no longer be able to use Meetup for free according to their guidlines (fewer than 50 members and 3 organizers). We have some 354 members currently.

In order to continue the meetup group, Meetup wants $14.99/month. Since we hold in-person meetups so rarely and the attendance is only a tiny fraction of our membership, Rylan and I are inclined to allow the meetup group to lapse and be shut down.

Please Continue to Use Our Slack

/ # ldd /usr/local/bin/zola
/lib64/ld-linux-x86-64.so.2 (0x7fac5eead000)
Error loading shared library libstdc++.so.6: No such file or directory (needed by /usr/local/bin/zola)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fac5eead000)
librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7fac5eead000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fac5eead000)
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /usr/local/bin/zola)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fac5eead000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /usr/local/bin/zola)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fac5eead000)
@focusaurus
focusaurus / fuzzball.sh
Created November 25, 2018 18:22
Fuzzball desktop automation script
#!/usr/bin/env bash
# Please Use Google Shell Style: https://google.github.io/styleguide/shell.xml
# ---- Start unofficial bash strict mode boilerplate
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -o errexit # always exit on error
set -o errtrace # trap errors in functions as well
set -o pipefail # don't ignore exit codes when piping output
set -o posix # more strict failures in subshells
@focusaurus
focusaurus / docker-run.sh
Created October 17, 2018 03:57
Script to drop into myproject/bin and go to town with docker
#!/usr/bin/env bash
# Please Use Google Shell Style: https://google.github.io/styleguide/shell.xml
# ---- Start unofficial bash strict mode boilerplate
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -o errexit # always exit on error
set -o errtrace # trap errors in functions as well
set -o pipefail # don't ignore exit codes when piping output
set -o posix # more strict failures in subshells
@focusaurus
focusaurus / remark-latest-min.js
Last active July 22, 2018 13:30
remark slide boilerplate
require=function e(t,a,r){function s(i,l){if(!a[i]){if(!t[i]){var o="function"==typeof require&&require;if(!l&&o)return o(i,!0);if(n)return n(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var d=a[i]={exports:{}};t[i][0].call(d.exports,function(e){var a=t[i][1][e];return s(a?a:e)},d,d.exports,e,t,a,r)}return a[i].exports}for(var n="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(e,t,a){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function s(e){return"function"==typeof e}function n(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function l(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!n(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,a,r,n,o,c;if(th
@focusaurus
focusaurus / notes.md
Last active October 23, 2017 18:54
node --inspect bugs

Call Stack Expanding: Summary

When debugging node.js via devtools and --inspect, the devtools "Call Stack" accordian panel expands automatically, forcing the "Scope" panel out of the viewable area.

Versions

  • macOS 10.13
  • node v6.11.4, node v6.11.3
  • Chrome 62.0.3202.62, Chrome 61.0.3163.100