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 dri | |
| echo 'docker rmi (docker images -q) -f' | |
| docker rmi (docker images -q) -f | |
| end | |
| function dre | |
| echo 'docker rm $(docker ps -q -f 'status=exited')' | |
| docker rm (docker ps -q -f 'status=exited') | |
| end |
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 uuid | |
| set -lx UUID (uuidgen | awk '{printf("%s", tolower($0));}') | |
| printf $UUID | pbcopy | |
| echo "$UUID copied to clipboard." | |
| end |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #!/usr/bin/env groovy | |
| @Grapes([ | |
| @Grab('com.h2database:h2:1.3.176'), | |
| @Grab('org.apache.kafka:kafka_2.11:0.10.2.0'), | |
| @GrabConfig(systemClassLoader=true) | |
| ]) | |
| import java.sql.* | |
| import groovy.sql.Sql |