Skip to content

Instantly share code, notes, and snippets.

alias mcc='php -f bin/magento cache:clean'
alias msu='php -f bin/magento setup:upgrade'
alias mdc='php -f bin/magento setup:di:compile'
alias mir='php -f bin/magento indexer:reindex'
alias mme='php -f bin/magento module:enable'
alias mmd='php -f bin/magento module:disable'
alias mms='php -f bin/magento module:status'
alias mage='php -f bin/magento'
alias mup='mcc && msu && mdc'
ssh -v -N -L 5432:remote.host.to.tunnel.com:5432 ubuntu@staging.server.com
### Keybase proof
I hereby claim:
* I am ajt2 on github.
* I am ajt2 (https://keybase.io/ajt2) on keybase.
* I have a public key whose fingerprint is B54D BFF9 3778 D880 058F AF06 2534 A9BD 8CE0 78DB
To claim this, I am signing this object:
@ajt2
ajt2 / xvfb_daemon.sh
Created October 5, 2012 07:45 — forked from fedesilva/xvfb_daemon.sh
Xvfb startup init script for headless selenium started via Jenkins
#!/bin/bash
# /etc/init.d/xvfb_daemon
# Xvfb startup script.
# Tom Meier <tom@venombytes.com>
#
### BEGIN INIT INFO
# Provides: xvfb
# Short-Description: Start/stop/restart daemon
# Description: Controls the Xvfb daemon which starts/stops the X Virtual Framebuffer server
### END INIT INFO