Skip to content

Instantly share code, notes, and snippets.

View bjonord's full-sized avatar

Björn Nordstrand bjonord

View GitHub Profile
@bjonord
bjonord / keybindings.md
Last active February 19, 2021 22:55 — forked from rnwolf/spacemacs-keybindings.md
Keybindings

Zoxide

https://github.com/ajeetdsouza/zoxide#examples

z foo       # cd to highest ranked directory matching foo
z foo bar   # cd to highest ranked directory matching foo and bar

z foo/      # can also cd into actual directories

zi foo # cd with interactive selection using fzf
#!/usr/bin/env ruby
hits_ = nil
misses_ = nil
loop do
`redis-cli info | grep keyspace` =~ /hits:(\d+).*misses:(\d+)/m
hits, misses = $1.to_i, $2.to_i
if hits_

NOTE TO CONTRIBUTORS : Take this wherever you like. If you have articles that really helped you, add them to the list of resources at the end. All content added to this Gist is considered public domain. Add your name to the list of contributors at the end if you want attribution.

Suggestions on where to eventually take this content are welcome. I was thinking of making it into a Github pages branch, or maybe on a wiki somewhere?

Testing Chef Cookbooks : A Landscape

There seem to be many approaches to test driving your Chef infrastructure, and the amount of projects to pick from is overwhelming. This document tries to provide some overview and be a guide to the world of Chef