This document catalogs a set of recommended practices for compositing documents in AsciiDoc.
DRAFT
This document is only a rough draft. These recommendations are not doctrine and are subject to change.
hostclass :externalresources do | |
scope_h = scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) } | |
scope_h.keys.each do |var| | |
if scope_h[var][0].chr == '{' | |
begin | |
#Convert the variable from a string to a hash | |
var_h = eval scope_h[var] | |
rescue => e | |
notice "Couldn't convert variable #{var} to hash: #{e}" |
#!/bin/bash | |
wake(){ # Start your VM | |
sudo virsh start $1 | |
} | |
slay(){ # Stop your VM | |
sd_time=20 | |
sudo virsh shutdown $1 | |
if [[ $? ]]; then |
Homebrew is a package management system for OS X. You can read more about it here, or simply run
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
to install it.
At this time few component of the Juno release have been recompiled for EL6 and are available in the repositories:
Available packages can be browsed at the following url.
Here's the folded and literal style definition: http://www.yaml.org/spec/1.2/spec.html#id2795688
Let's take this simple ansible playbook:
- name: folded vs literal
I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.
There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*
, e.g.:
:vs **/*<partial file name><Tab>
{ | |
"emojis": [ | |
{"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
This is my current (as of 4/30/2020) Yabai and skhdrc config as well as the Ubersicht (http://tracesof.net/uebersicht/) widget I use rather than the Yabai status bar. I went this route rather than the built-in status bar because I didn't like how Yabai as of 2.0.1 handled multiple monitors in the status bar.
Nothing is too far from defaults here, and the spaces.coffee was something I found linked in an issue on Yabai's github page.