Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Write given argument into current iterm session. (useful if running commands from another application).
osascript - "$@" <<EOF
on run argv
tell application "iTerm2"
tell current session of current window
repeat with arg in argv
write text arg
end repeat
end tell
@LeoUfimtsev
LeoUfimtsev / 512001.md
Last active March 9, 2017 15:14
512001

Tasks left to do:
[ ] meh
[] how
[x]

  • Task
@LeoUfimtsev
LeoUfimtsev / dabblet.css
Created June 1, 2013 19:06
Side by side
/** Side by side
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.bigbox {