Skip to content

Instantly share code, notes, and snippets.

Avatar
🐫
Copyright 1987-2013, Larry Wall

Jon Williams WIZARDISHUNGRY

🐫
Copyright 1987-2013, Larry Wall
View GitHub Profile
@coodix
coodix / gist:4fc9e68eef869e183cd42c662b7a6050
Created Sep 24, 2020
1password op cli load keys to ssh agent
View gist:4fc9e68eef869e183cd42c662b7a6050
op list items --tags ssh | op get item - --fields title | parallel -l 1 'op get item {} --fields notesPlain | ssh-add -'
@ixdy
ixdy / yubikey4-ssh-macos.md
Last active Sep 26, 2021
Setting up ssh public key authentication on macOS using a YubiKey 4
View yubikey4-ssh-macos.md

Setting up ssh public key authentication on macOS using a YubiKey 4

I largely followed Florin's blog post, but have a few notes to add regarding issues I encountered:

Basic setup notes

  1. I used a YubiKey 4, while the blog describes using a YubiKey NEO. I'm sure a YubiKey 5 would also work. I'm also running macOS 10.13.6.
  2. I installed GPGTools as recommended. However, as I'll note later, it seems that gpg-agent only automatically starts when gpg is used; for ssh, you'll need to ensure it's running.
  3. Before generating your keys, decide what key size you want to use. If you run the list command inside gpg --edit-card, look for the Key attributes line to see what is currently selected. On my YubiKey 4, it defaulted to 2048 bits for all keys:
Key attributes ...: rsa2048 rsa2048 rsa2048
@jj1bdx
jj1bdx / APRS-airspyhf_rx.md
Last active Apr 19, 2021
APRS with rtl_fm, direwolf, and multimon-ng / and also airspyhf_rx
View APRS-airspyhf_rx.md

APRS with airspyhf_rx, csdr, and direwolf

1200bps 144.660MHz

# Choose 11025Hz for the intermediate IF/audio frequency
airspyhf_rx -f 144.66 -a 768000 -r stdout | \
  csdr fir_decimate_cc 69.65986394557823129252 0.005 HAMMING | \
  csdr fmdemod_quadri_cf | csdr limit_ff 0.5 | csdr deemphasis_nfm_ff 11025 | \
  csdr fastagc_ff | csdr limit_ff 0.5 | csdr convert_f_s16 | \
  /usr/local/bin/direwolf -c ~/bin/sdr-1200bps.conf -t 0 -T "%FT%TZ" -r 11025 -D 1 -B 1200 -
@bagder
bagder / trrprefs.md
Last active Oct 23, 2020
This once held TRR prefs. Now it has moved.
View trrprefs.md

NOTE

This content has moved.

Please go to bagder/TRRprefs for the current incarnation of the docs, and please help us out polish and maintain this documentation!

@Chaircrusher
Chaircrusher / community-builds-from-source.sh
Last active Jul 26, 2018 — forked from jeremywen/community-builds-from-source.sh
This script pulls down the VCV Rack community repo, finds source urls, pulls down source repos, and builds plugins.
View community-builds-from-source.sh
#!/bin/bash
#################################################################################################################################
# community-builds-from-source.sh
# by Jeremy Wentworth
#
# Modified by Kent Williams chaircrusher@gmail.com
#
# This script pulls down the VCV Rack community repo, finds source urls, pulls down source repos, and builds plugins.
#
@prash-wghats
prash-wghats / Readme_VSCODE_FreeBSD
Last active Jun 4, 2021
Notes for Building Electron and VSCode in FreeBSD11
View Readme_VSCODE_FreeBSD
Copy all the files to the build directory.
Copy icudtl.dat to the build directory. (you can find it in the vscode downloads ex for linux).
chromium version in port is 52.0.2743.116.
This was built with FreeBSD 11.0-RELEASE-p1. If building with other versions probably need to change
the freebsd versions in diff files (ex. freebsd11 => freebsd10)
Installed
node => v6.9.1
npm => 3.9.2
>chmod 755 vscode_build.sh
@desnudopenguino
desnudopenguino / Install Bitcoin on OpenBSD 6.0
Last active Jan 3, 2018
Building/Installing Bitcoin on OpenBSD
View Install Bitcoin on OpenBSD 6.0
0. Make sure some dependencies are installed!
automake (1.15), autoconf (2.69), git, libtool, berkleydb (installed from source 4.8), boost, protobuf, python > 3.5, gmake, leveldb
5.9 guide: https://github.com/bitcoin/bitcoin/blob/master/doc/build-openbsd.md
1. Clone the repo
git clone https://github.com/bitcoin/bitcoin.git
2. Checkout newest stable branch (0.13.0 currently)
git checkout v0.13.0
3. run autogen script
./autogen.sh
Error: Provide an AUTOCONF_VERSION environment variable, please.
@eevee
eevee / gist:55426e5856f5825317b1
Last active Jan 28, 2021
adblock rules to hide mentions from people who don't follow you
View gist:55426e5856f5825317b1

Pop open "filter preferences" in adblock plus, and add the following rules to hide mentions from people who don't follow you (and who you don't follow).

For the interactions/notifications page:

twitter.com##.interaction-page [data-follows-you="false"][data-you-follow="false"]:not(.my-tweet)

For the mentions page:

twitter.com##.mentions-page [data-follows-you="false"][data-you-follow="false"]:not(.my-tweet)
@rskelley9
rskelley9 / how_to.md
Last active Feb 8, 2021
Workaround: Connect your Chromecast to a Hotel Wireless Network
View how_to.md

About

I recently relocated for new employment. I've been staying in an extended stay hotel for about 3 weeks now. The hotel I'm staying in gives its guests free Wifi access. However, it requires users to accept terms and conditions on a splash page via browser interface before they can use the network. This makes it difficult to use my Chromecast with the network, as it doesn't have a means of accessing that splash page. While I could call the IT help line, I decided to explore a work-around.

Like many networks, my hotel's network attempts to improve security by using MAC address filtering. Luckily, Mac OS X (10.4 - 10.10) makes it very easy to spoof your network card's MAC address.

Here's how to add a devices like Chromecast, AppleTV, Roku to a wireless network that requires a browser to authenticate and accept terms and conditions.

Before You Start