drush rsync @helm-platform._local:%files/ @helm-platform.master:%files
drush sql-sync @helm-platform._local @helm-platform.master
This file contains hidden or 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
export old=soar_base | |
export new=helm_base | |
mv $old $new | |
cd $new | |
rename "s/${old}/${new}/g;" * | |
perl -pi -w -e "s/${old}/${new}/g;" * | |
cd ../ |
Docs: http://terra.readthedocs.org
# View logfiles
docker logs drupallocal_app_1
in ~/.bashrc
export PATH=${PATH}:/home/jeff/Android/Sdk/platform-tools:/home/jeff/Android/Sdk/tools
Start genymotion
/usr/share/genymotion/genymotion
Use Genymotion Android Tools (settings > ADB in Genymotion)
Helpful overview:
# Install Konena Master: http://www.kontena.io/docs/getting-started/quick-start
# More: http://www.kontena.io/docs/getting-started/installing/master
# Create node
kontena node digitalocean create \
This file contains hidden or 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
https://github.com/jaredhanson/passport-oauth2 |
# Auth
https://public-api.wordpress.com/rest/v1.1/me?http_envelope=1&meta=flags
https://public-api.wordpress.com/rest/v1.1/me/settings?http_envelope=1
# User - login
https://public-api.wordpress.com/rest/v1.1/me/sites?http_envelope=1&site_visibility=all
https://public-api.wordpress.com/rest/v1.1/products?http_envelope=1&locale=en
https://public-api.wordpress.com/rest/v1.1/sites/103415197/users?http_envelope=1&number=50&offset=0&siteId=103415197&order=ASC&order_by=display_name
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>title</title> | |
</head> | |
<body style="background:#333;text-align:center;"> | |
<!-- 1. The <iframe> (and video player) will replace this <div> tag. --> | |
<div id="player" style="width: 1170px;height: 585px;margin:20px auto;"></div> | |
<script>// 2. This code loads the IFrame Player API code asynchronously. |
This file contains hidden or 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
sudo apt-get install -y git | |
# Install nodejs | |
# From https://raspberrypi.stackexchange.com/questions/48303/install-nodejs-for-all-raspberry-pi | |
sudo bash | |
sudo wget -O - https://raw.githubusercontent.com/audstanley/NodeJs-Raspberry-Pi/master/Install-Node.sh | bash | |
exit | |
node -v | |
npm install -g pm2 | |
# pm2 usage: https://stackoverflow.com/a/40254977 |
This file contains hidden or 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
license: gpl-3.0 |