Skip to content

Instantly share code, notes, and snippets.

View Marko-M's full-sized avatar

Marko Martinović Marko-M

View GitHub Profile
@Marko-M
Marko-M / magento_dump_ssh.sh
Last active February 8, 2016 11:00
One-liner dump Magento database trough SSH directly to your machine
#!/bin/bash
# Marko Martinović
# Print command traces
set -x
# SSH user
SSHUSER=""
# SSH host
@Marko-M
Marko-M / wpa_wlan.sh
Last active December 21, 2015 16:49
Debian based wireless with WPA/WPA2 from CLI
#!/bin/bash
# One time only, to create wpa.conf:
# wpa_passphrase ESSID secret > wpa.conf
# su to root, or use sudo for following commands
su
# Bring the wlan interface up
ifconfig wlan0 up