- We've got some components
A
,B
andC
which provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
import { ipcRenderer } from 'electron' | |
ipcRenderer.send('print', { device: 'printer name', width: 210 }) |
Large Object Motions: | |
( | |
) | |
{ | |
} | |
[[ | |
[] | |
][ | |
]] | |
[m |
// This is my configuration for Phoenix <https://github.com/sdegutis/Phoenix>, | |
// a super-lightweight OS X window manager that can be configured and | |
// scripted through Javascript. | |
var mNone = [], | |
mCmd = ['cmd'], | |
mShift = ['shift'], | |
nudgePixels = 10, | |
padding = 0, | |
previousSizes = {}; |
#!/usr/bin/env bash | |
# vim: set filetype=ruby: | |
# b - browse Chrome bookmarks with fzf | |
[ $(uname) = Darwin ] || exit 1 | |
which fzf > /dev/null 2>&1 || brew reinstall --HEAD fzf || exit 1 | |
/usr/bin/ruby -x "$0" | | |
fzf-tmux -u 30% --ansi --multi --no-hscroll --tiebreak=begin | | |
awk 'BEGIN { FS = "\t" } { print $2 }' | |
#!/usr/bin/env bash | |
# | |
# Managing notes with fzf (https://github.com/junegunn/fzf) | |
# - CTRL-L: List txt files in descending order by their modified time | |
# - CTRL-F: Search file contents | |
NOTE_DIR="${NOTE_DIR:-$(dirname "${BASH_SOURCE[0]}")}" | |
TRASH_DIR="$NOTE_DIR/trash" | |
cd "$NOTE_DIR" |
It's a common confusion about terminal colors... Actually we have this:
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git