# install dependecies
apt-get install qemu qemu-user-static binfmt-support
# download raspbian image
wget https://downloads.raspberrypi.org/raspbian_latest
# extract raspbian image
unzip raspbian_latest
This file contains 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
# Change to the project directory | |
cd $FORGE_SITE_PATH | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin $FORGE_SITE_BRANCH |
This file contains 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
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
This file contains 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
#!/bin/sh | |
# jm3.net | |
# uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu. | |
# ======================== | |
## RUN AT YOUR OWN RISK ## | |
# ======================== | |
# if this formats your hard drive or deletes your fonts or changes the sex | |
# of your dog, I'm super sorry, but there's nothing I can do. |
This file contains 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
/* I use Stylish (a chome addin) to set these styles | |
* URLs on the domain workflowy | |
*/ | |
.next-row { | |
border: 2px solid #46A546 !important; | |
border-top-left-radius:0.5em; | |
background-color: #CCFFCC !important; | |
} |
This file contains 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
/* I use Stylish (a chome addin) to set these styles | |
* URLs on the domain workflowy | |
*/ | |
.next-row { | |
border: 2px solid #46A546 !important; | |
border-top-left-radius:0.5em; | |
background-color: #CCFFCC !important; | |
} |
This file contains 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
#!/bin/sh | |
# tunnel.sh | |
# Configure | |
LOCAL_HOST=127.0.0.1; | |
USERNAME="your_username"; | |
# set your remote address and SSH port. | |
TUNNEL_PORT="2022" | |
REMOTE_HOST="my.homedomainorip.com -p $TUNNEL_PORT"; |
NewerOlder