Skip to content

Instantly share code, notes, and snippets.

View fabioam's full-sized avatar

Fabio AM fabioam

View GitHub Profile
@fabioam
fabioam / docker_remove_networks.txt
Created February 11, 2018 13:43 — forked from bastman/docker_remove_networks.txt
remove all docker networks
docker network rm $(docker network ls | grep "foo" | awk '/ / { print $1 }')
@fabioam
fabioam / MagentoAddRandomCustomers.php
Last active March 7, 2018 21:03
add random customers to Magento database
//PHP array containing forenames.
$names = array(
'Joao',
'Alberto',
'Jose',
'Raimundo',
'Carlos',
'Fabio',
'David',
'Mell',
@fabioam
fabioam / runapp.sh
Last active September 13, 2022 21:37
Run cool-retro-term as Guake
# This script searchs for the application with the
# given classname. There are three possibilities:
# 1. If the app is not open, opens it
# 2. If the app is open but is not the active window, activates it
# 3. If the app is open AND is the active window, minimizes it#
# The idea is to assign this script to keyboard shortcuts in order
# to launch/activate/minimize a common used application quickly
#
# Requieres 'xdotool' installed
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!