This file contains hidden or 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/sh | |
mkdir $(date +'%Y%m%d') |
This file contains hidden or 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 extractScript(str) { | |
let r = new RegExp(/<script[\s\S]*?>([\s\S]+?)<\/script>/mig); | |
return str.match(r) | |
.map(function (s) { | |
return s.replace(r, "$1"); | |
}); | |
}; |
This file contains hidden or 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 fzf_container() { | |
docker container ls -a | fzf -m | awk '{print $1}' | |
} | |
function fzf_running_container() { | |
docker ps | fzf -m | awk '{print $1}' | |
} | |
function container() { | |
case $1 in |
OlderNewer