Skip to content

Instantly share code, notes, and snippets.

@shallowbit
shallowbit / settings.json
Last active September 11, 2021 08:29
window-terminal-settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
// Launch Settings
"initialCols": 120,
"initialRows": 60,
"launchMode": "default",
"alwaysOnTop": false,
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
// Selection
"copyOnSelect": true,
#!/usr/bin/env bash
# Inspired by https://blog.nimamoh.net/yubi-key-gpg-wsl2/
# Guide:
# Install GPG on windows & Unix
# Add "enable-putty-support" to gpg-agent.conf
# Download wsl-ssh-pageant and npiperelay and place the executables in "C:\Users\[USER]\AppData\Roaming\" under wsl-ssh-pageant & npiperelay
# https://github.com/benpye/wsl-ssh-pageant/releases/tag/20190513.14
# https://github.com/NZSmartie/npiperelay/releases/tag/v0.1
# Adjust relay() below if you alter those paths
@PatrickLang
PatrickLang / README.md
Last active August 23, 2025 23:53
Yubikey + Windows

Using a Yubikey 4 on Windows

These are my notes on how to set up GPG with the private key stored on the hardware Yubikey. This will reduce the chances of your GPG private key from being stolen, and also allow you to protect other secrets such as SSH private keys.

It's just some notes and a partial worklog for now, but I may turn it into a full blog post later.

@cassiozen
cassiozen / pixelbook-dev-setup.md
Last active October 22, 2023 12:06 — forked from denolfe/pixelbook-linux-setup.md
Notes on setting up Pixelbook for development

Pixelbook Setup

Change your channel

Some of the features mentioned in this document only work on the beta or Dev channel. To change your channel:

  1. chrome://help in a browser window
  2. Click Detailed Build Information
  3. Change Channel
  4. Select Beta (Or Dev, if you're feeling adventurous)
@Yodapp
Yodapp / main.cs
Created September 30, 2018 19:34
Skeleton of a WOX plugin
using System;
using System.Collections.Generic;
using Wox.Plugin;
namespace WOX.MyPlugin
{
public class Main : IPlugin
{
public void Init(PluginInitContext context)
{
@j-bennet
j-bennet / hterm_solarized.js
Last active September 13, 2023 15:27 — forked from jefferymiller/hterm_solarized.js
Chrome/Chromium OS hterm and Secure Shell solarized color scheme.
// Run in the JavaScript console of the hterm browser window
var colorPaletteOverides = [
"#073642", /* 0: black */
"#dc322f", /* 1: red */
"#859900", /* 2: green */
"#b58900", /* 3: yellow */
"#268bd2", /* 4: blue */
"#d33682", /* 5: magenta */
"#2aa198", /* 6: cyan */
"#eee8d5", /* 7: white */
@loa
loa / README.md
Last active June 29, 2025 07:21
Dual GPG Yubikey Setup

Dual GPG Yubikey Setup

Migrated

These instructions has been migrated to a proper repository loa/dual-gpg-yubikey-setup.

Instructions

If you follow this guide you will end up with an offline and online Yubikey. Use your online Yubikey for everyday life, signing/encryption etc. Offline key for signing keys for web-of-trust and replace lost online keys.

@ageis
ageis / YubiKey-GPG-SSH-guide.md
Last active June 25, 2025 15:14
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate). I've published a Bash function which automates this slightly special key generation process.

@shallowbit
shallowbit / .cvimrc
Last active July 28, 2021 20:16
[cvimrc] - shallowbit
" Settings
set autoupdategist
set hud
set smoothscroll
" noautofocus stops sites from focusing on an input box when they load
set noautofocus
set typelinkhints
set smartcase
set nonativelinkorder
set showtabindices
@dfontana
dfontana / CmderZSH.md
Last active April 22, 2025 10:13
My setup guide for installing Cgywin, Mintty, Cmder, and ZSH.

What's this?

Instructions to obtain ZSH on a windows environment, without the input funny business presented by some other attempted solutions.

The final result is ZSH running on a mintty terminal, emulated by cygwin, and being handled by the popular cmder.

Why is this here?

For the benefit of myself and others. I've already followed these instructions twice. It took me hours to figure all this out, maybe someone else can save a few.

What exactly is covered?

  • Installing and setting up cmder