Skip to content

Instantly share code, notes, and snippets.

View samliu's full-sized avatar

Sam Liu samliu

View GitHub Profile
@samliu
samliu / url_dsl.rb
Created December 14, 2009 22:09 — forked from defunkt/url_dsl.rb
require 'open-uri'
# url dsl -- the ultimate url dsl!
#
# You just can't beat this:
#
# $ irb -r url_dsl
# >> include URLDSL
# => Object
# >> http://github.com/defunkt.json

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@samliu
samliu / README.md
Created August 11, 2024 07:49 — forked from kktse/README.md
Installing brlaser CUPS drivers for printing on Apple Silicon Macs and Brother printers

Installing brlaser CUPS drivers for printing on Apple Silicon Macs and Brother printers

Problem

You own a Mac running MacOS and want to print a document using a Brother printer. You also prefer not to use MacPorts because you have another package maanger installed.

Environment

  • I used a 2021 Macbook Pro 14" running Sonoma 14.0
  • I am using Homebrew as a package manager