Skip to content

Instantly share code, notes, and snippets.

@hvan021
hvan021 / urchin_parts_bom.csv
Created December 21, 2024 12:51 — forked from irizwaririz/urchin_parts_bom.csv
Bare PCB Urchin Keyboard Parts List
Amount Part Part Number (if any) Notes Estimated Price (w/o shipping) Where to get/buy
1 pc Urchin PCB set Build guide: https://youtu.be/CHSh1-dJq24 https://github.com/duckyb/urchin
34 pcs Kailh Choc v1 hot swap sockets https://www.aliexpress.com/item/33023283633.html OR https://keebd.com/products/kailh-hot-swappable-low-profile-1350-pcb-socket-pack-of-10
34 pcs Kailh Choc v1 switches PG1350 https://nextkeyboard.club/product/choc-v1-switches-pack-of-5 OR https://shop.beekeeb.com/product/kailh-low-profile-choc-v1-key-switches-pg1350-chocolate-10-pcs OR https://www.aliexpress.com/item/4000419542482.html
34 pcs Choc v1 keycaps ✅ 1u size. To understand what "1u" means, refer to this: https://www.dwarf-factory.com/keycap-length https://nextkeyboard.club/product-category/keycaps/choc-keycaps
34 pcs SMD diodes 1N4148w SOD-123 package https://nextkeyboard.club/product/switch-diode-1n4148w-sod-123-smd
2 pcs nice!nano microcontroller boards ✅ https://nextkeyboard.club/product/nicenano OR https://shop.b
@hvan021
hvan021 / ncmpcpp.md
Created November 20, 2023 04:44 — forked from travis-g/ncmpcpp.md
Cheat Sheet for ncmpcpp

ncmpcpp Cheat Sheet

Movement

  • Up k - Move cursor up
  • Down j - Move cursor down
  • [ - Move cursor up one album
  • ] - Move cursor down one album
  • { - Move cursor up one artist
  • } - Move cursor down one artist
@hvan021
hvan021 / Setup MAMP.md
Last active August 29, 2015 14:25
Setup MAMP

In terminal:

  • sudo apachectl start

  • sudo vim /etc/apache2/httpd.conf uncomment "LoadModule php5_module libexec/apache2/libphp5.so"

  • sudo apachectl restart

  • cd to Dev folder

#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@hvan021
hvan021 / ArchLinuxInstallationSteps.md
Last active August 29, 2015 14:05
Arch linux installation steps
@hvan021
hvan021 / UnixTrick.md
Last active August 29, 2015 14:03
Unix Tricks

I have marked with a * those which I think are absolutely essential Items for each section are sorted by oldest to newest. Come back soon for more!

BASH

  • In bash, 'ctrl-r' searches your command history as you type
  • Input from the commandline as if it were a file by replacing 'command < file.in' with 'command <<< "some input text"'
  • '^' is a sed-like operator to replace chars from last command 'ls docs; ^docs^web^' is equal to 'ls web'. The second argument can be empty.
@hvan021
hvan021 / gist:5fcc185edb5352f743a7
Created May 30, 2014 14:23
Bash keyboard shortcut
http://ss64.com/osx/syntax-bashkeyboard.html
Bash Keyboard Shortcuts
Moving the cursor:
Ctrl + a Go to the beginning of the line (Home)
Ctrl + e Go to the End of the line (End)
Ctrl + p Previous command (Up arrow)
Ctrl + n Next command (Down arrow)

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

# cheat_sheet.org.sh
# The contents of this file are released under the GNU General Public License. Feel free to reuse the contents of this work, as long as the resultant works give proper attribution and are made publicly available under the GNU General Public License.
# Best viewed in emacs org-mode.
# Alternately, one can keep this cheat sheet handy by adding the following line to ~/.bashrc:
#
# alias cheatsheet="less ~/path_to_cheat_sheet.org.sh"
* Reference:
** Basics: