Skip to content

Instantly share code, notes, and snippets.

View mauroherlein's full-sized avatar
🏠
Working from home

Mauro Herlein mauroherlein

🏠
Working from home
View GitHub Profile
@jrainlau
jrainlau / signal-interference.css
Last active November 7, 2017 18:53
CSS effect: `signal interference`
.motto-disturb {
position: relative;
}
@keyframes noise-anim {
0% {
clip: rect(55px, 9999px, 9px, 0);
}
5% {
clip: rect(12px, 9999px, 60px, 0);
@JeffBelback
JeffBelback / docker-destroy-all.sh
Last active May 25, 2024 20:19
Destroy all Docker Containers and Images
#!/bin/bash
# Stop all containers
containers=`docker ps -a -q`
if [ -n "$containers" ] ; then
docker stop $containers
fi
# Delete all containers
containers=`docker ps -a -q`
if [ -n "$containers" ]; then
docker rm -f -v $containers
@nyxcalamity
nyxcalamity / gf-local-cleanup.sh
Last active November 14, 2017 06:24
Utility scripts to clean up glassfish domain folders to avoid permgen exception
#!/bin/bash
#Cleans up glassfish domain folders so that the maven deployment with cargo doesn't hang.
#---------------------------------------------------------------------------------------------------
# CUSTOMIZATION SECTION START
#---------------------------------------------------------------------------------------------------
export GF_DIR=/home/nyxcalamity/ws/appservers/glassfish
#---------------------------------------------------------------------------------------------------
# CUSTOMIZATION SECTION END
#---------------------------------------------------------------------------------------------------
export OK="$(tput setaf 2) DONE$(tput sgr0)"
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 22, 2024 12:19
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname