This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/nntp-md-adder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
start | |
note right: Agent enters the kitchen to bring back a dish (e.g. glass, cup, mug, plate, ...) | |
if (Dishwasher running?) then (yes) | |
:Put dish into sink; | |
stop | |
else (no) | |
if (Dishwasher full?) then (yes) | |
if (Dishes in dishwasher clean?) then (yes) | |
:Put clean dishes back; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
intellij-community | |
.DS_Store | |
*.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function copy-lp-name -d "copy lp name" | |
if lpass ls | fzf > /tmp/fzf.result | |
set lp_account (cat /tmp/fzf.result | cut -d ' ' -f 1) | |
set lp_username (lpass show $lp_account | grep 'Username:' | cut -d ' ' -f 2) | |
echo -n $lp_username | copy | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function copy-lp-pass -d "copy lp pass" | |
if lpass ls | fzf > /tmp/fzf.result | |
set lp_account (cat /tmp/fzf.result | cut -d ' ' -f 1) | |
set lp_pass (lpass show $lp_account | grep 'Password:' | cut -d ' ' -f 2) | |
echo -n $lp_pass | copy | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function copy -d 'copy to clipboard' | |
switch (uname) | |
case Linux | |
xsel --clipboard --input | |
case Darwin | |
pbcopy | |
case '*' | |
echo "copy not supported for (uname)" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function up -d "lastpass user and password" | |
if lpass ls | fzf > /tmp/fzf.result | |
cat /tmp/fzf.result | |
set account_name (cat /tmp/fzf.result | cut -f 1 -d ' ') | |
lpass show --username $account_name | pbcopy | |
read -p 'echo username stored in clipboard ... press return to continue' | |
lpass show --password $account_name | pbcopy | |
read -p 'echo password stored in clipboard ... press return to continue' | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAs5zpVBQD4paP5RVkb6LGsjGjQXANP0S7SUxXkTY4+3Muov651wzcX/VmDHBQFLSmT92PdqSXL2+8HiAvlPxaHohZIsIu7JEOO5yvAeb/y/rw5Gp1ggVieVojLLbhhnZ5ECTR4Wj7/TvQI7IaL0WH8KHzo8Q+nBz1ZzLkIDTjGAfcgwxZ32ieGAea5rDjFouxmIZTisMIdroAZT0M/QvM1GgbXmHaairYLsJJDE1CUI5GjHGLFbCE10qRlXqHMyw6GKkoXiV4LzvnIcQ1J0l7GIWq6vnvy2NWkMBckA/DLnL123Z95676KwIHlzDw11LPzXv1ncwf5lOOWRuLa+OWcw== gizmo@armadillo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function rt() { | |
local task | |
task=$(rake -T | fzf | cut -d ' ' -f 2) | |
rake $task | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rt -d "select one rake task" | |
if rake -T | fzf > $TMPDIR/fzf.result | |
set fzf_result (cat $TMPDIR/fzf.result | cut -d ' ' -f 2) | |
set h "rake $fzf_result" | |
commandline $h | |
end | |
end |
NewerOlder