Skip to content

Instantly share code, notes, and snippets.

View bgianfo's full-sized avatar

Brian Gianforcaro bgianfo

View GitHub Profile
bgianfo /
Created September 23, 2014 19:02

Keybase proof

I hereby claim:

  • I am bgianfo on github.
  • I am bjg ( on keybase.
  • I have a public key whose fingerprint is 87AB AC73 F013 D2B4 AE80 D15E B291 6849 8721 F127

To claim this, I am signing this object:

bgianfo /
Created December 31, 2020 05:38
PolarFire SoC Icicle
tmux new-session -d -s 'polarfire-serial-dashboard'
tmux split-window -v
tmux split-window -h
tmux select-pane -t 0
tmux split-window -h
tmux respawn-pane -t0 -k "tio /dev/ttyUSB0"
tmux respawn-pane -t1 -k "tio /dev/ttyUSB1"
tmux respawn-pane -t2 -k "tio /dev/ttyUSB2"
tmux respawn-pane -t3 -k "tio /dev/ttyUSB3"
bgianfo / Logs
Created June 21, 2022 15:32
Bot Logs
2022-06-21T15:27:40.448592+00:00 app[worker.1]: Trace: matchedCommand.handle{Select|Context}Menu failed RequestError [HttpError]: Not Found
2022-06-21T15:27:40.448602+00:00 app[worker.1]: at /app/node_modules/@octokit/request/dist-node/index.js:86:21
2022-06-21T15:27:40.448603+00:00 app[worker.1]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-06-21T15:27:40.448604+00:00 app[worker.1]: at async composeCreatePullRequest (/app/node_modules/octokit-plugin-create-pull-request/dist-node/index.js:290:3)
2022-06-21T15:27:40.448604+00:00 app[worker.1]: at async GithubAPI.openFortunesPullRequest (/app/build/apis/githubAPI.js:118:24)
2022-06-21T15:27:40.448604+00:00 app[worker.1]: at async QuoteCommand.handleCommand (/app/build/commands/quoteCommand.js:101:35)
2022-06-21T15:27:40.448605+00:00 app[worker.1]: at async CommandHandler.callInteractionHandler (/app/build/commandHandler.js:125:9) {
2022-06-21T15:27:40.448605+00:00 app[worker.1]: status: 404,
bgianfo /
Created July 9, 2022 02:25
sigrok local bootstrap + build
# Based off of the notes for the Twinkie device located here:
sudo apt-get install gcc g++ libtool automake autoconf libftdi-dev libusb-1.0-0-dev libglib2.0-dev check libzip-dev
sudo apt-get install libzip-dev libglibmm-2.4-dev doxygen python-gobject-dev swig3.0 libhidapi-dev libserialport-dev
sudo apt-get install qtbase5-dev qtbase5-dev-tools libqt5svg5-dev cmake
sudo apt-get install libboost-filesystem-dev libboost-serialization-dev
bgianfo /
Last active August 10, 2022 00:20
SerenityOS Customization Scripts
cat <<EOT >> mnt/home/anon/.shellrc
sed -i 's/Width=1024/Width=2560/' mnt/etc/WindowServer.ini
sed -i 's/Height=768/Height=1440/' mnt/etc/WindowServer.ini
sed -i 's/Name=Default/Name=Gruvbox Dark/' mnt/etc/WindowServer.ini
sed -i 's/ShowScrollBar=true/ShowScrollBar=false/' mnt/home/anon/.config/Terminal.ini