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
docker_ps_exited() { | |
docker ps -a -q -f status=exited | |
} | |
docker_dangling_images() { | |
docker images -f 'dangling=true' -q | |
} | |
docker_cleanup() { | |
local pids |
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
set-option -g default-command $SHELL | |
set-option -g status-fg white | |
set-option -g status-bg default | |
set-option -g status-interval 5 | |
set-option -g message-fg white | |
set-option -g message-bg default | |
set-option -g message-attr bright | |
set-option -g pane-border-fg black |
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
import java.util.Random; | |
public class RandomSpike { | |
private static final int PERCENTAGE = 50; | |
public static void main(String[] args) { | |
intNext100Example(); | |
intNext100KExample(); | |
doubleExample(); |