Skip to content

Instantly share code, notes, and snippets.

@dbohdan
dbohdan / tmux-cheatsheet.markdown
Last active September 21, 2015 19:04 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@dbohdan
dbohdan / grades.tcl
Last active July 23, 2021 09:30 — forked from smls/grades.p6
Data munging task from the Perl 6 advent calendar
#!/usr/bin/env tclsh
package require sqlite3
package require fileutil
sqlite3 db :memory:
db eval {CREATE TABLE grades(name TEXT PRIMARY KEY, grade TEXT)}
foreach {name grade} [::fileutil::cat grades.txt] {
if {![regexp {[A-F][+-]?} $grade]} {