Skip to content

Instantly share code, notes, and snippets.

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@satoyan
satoyan / cpufreq
Last active August 29, 2015 14:16 — forked from shunirr/cpufreq
#!/usr/bin/env ruby
exit false unless %{ondemand powersave performance}.index(ARGV[0])
(0..3).each do |i|
system "sudo su -c 'echo #{ARGV[0]} > /sys/devices/system/cpu/cpu#{i}/cpufreq/scaling_governor'"
end