As configured in my dotfiles.
start new:
tmux
start new with session name:
A contents <<< | |
send this to a | |
this goes to a | |
a, I forgot to add this | |
<<< | |
B contents <<< | |
this goes to b | |
b, please | |
<<< |
pm list packages -f |
As configured in my dotfiles.
start new:
tmux
start new with session name:
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter(user => user.followers > 1000)
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
I like public key auth. I feel safer using them instead of a username and password login. But, I might not have my private key with me at a time where I need access.
I started using yubikey with LastPass and since I have it always on my keychain, I decided to find more ways to make use of it.
I wasn't originally aware, but if you pass a private key to ssh and sshd is configured to accept a key, it appears pam isn't used. Your authorized keys are checked and you are logged in. If you don't pass a private key, ssh falls back to the more standard un*x style login found in /etc/pam.d/sshd
. This is where we'll add the yubikey pam. I am currently unaware of a way to use both public key auth and yubikey for login.
These steps worked for me on debian squeeze/wheezy.
more info at the yubico-pam github repo
An error occurred while executing `vmrun`, a utility for controlling | |
VMware machines. The command and output are below: | |
Command: ["start", "/Users/wes/projects/serverdensity/Vagrantfiles/honshuu-environment/.vagrant/machines/default/vmware_fusion/vm.vmwarevm/precise64.vmx", "nogui", {:notify=>[:stdout, :stderr]}] | |
Stdout: 2013-07-22T07:48:28.125| ServiceImpl_Opener: PID 98149 | |
Error: The operation was canceled | |
Stderr: |
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
git clone git://github.com/wbond/sublime_package_control.git Package\ Control | |
cd Package\ Control | |
git checkout python3 | |
# restart Sublime Text 3 and you should have Package Control working |
export GOPATH=$HOME/gopath | |
# Path | |
export PATH=/opt/local/bin:/usr/local/bin:/opt/local/sbin:/usr/local/sbin:$PATH | |
export PATH=/usr/local/share/npm/bin:$PATH # NPM | |
export PATH=/usr/local/mysql/bin:$PATH # MySQL | |
export PATH=/usr/local/pear/bin:$PATH # Pear | |
export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:$PATH # sed | |
export PATH=$GOPATH/bin:$PATH # Go |