2016-11-05 VimConf 2016
# ~/.XCompose | |
### Based on the en_US.UTF locale. ### | |
include "/usr/share/X11/locale/en_US.UTF-8/Compose" | |
### Populated with Kragen's additions. ### |
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0] | |
binding='<Super>Return' | |
command='urxvtc' | |
name='Open Terminal' | |
[org/gnome/desktop/wm/preferences] | |
action-middle-click-titlebar='none' | |
mouse-button-modifier='<Super>' | |
num-workspaces=9 |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
#!/usr/bin/env node | |
// Reads JSON from stdin and writes equivalent | |
// nicely-formatted JSON to stdout. | |
var stdin = process.stdin, | |
stdout = process.stdout, | |
inputChunks = []; | |
stdin.resume(); |
module hexagon(radius) | |
{ | |
circle(r=radius,$fn=6); | |
} | |
module shell(radius) | |
{ | |
difference() | |
{ | |
hexagon(radius*1.2); // base |
function! EditScss() | |
" The current file | |
let file = expand("%") | |
" The current file's basename plus .scss | |
let scss = expand("%:r") . ".scss" | |
" If the file exists | |
if filereadable(scss) | |
" Prompt the user and store the user's choice (1-indexed) in a variable |