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
#! /usr/bin/env bash | |
# | |
# To install globally: | |
# $ chmod +x vcs-update.sh | |
# $ mv vcs-update.sh /usr/local/bin/vcs-update | |
# | |
# Run "vcs-update" in terminal to update all directories. | |
# | |
DIRECTORIES=$PWD/* |
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
# Set variables in .bash_profile for convenience: | |
# GOOGLE_COMPUTE_PROJECT_NAME - e.g. "my-project" | |
# | |
# Run locally: | |
# sudo ssh-add ~/.ssh/google_compute_engine | |
# gcutil ssh $GOOGLE_COMPUTE_INSTANCE_NAME | |
# Cache project name | |
gcutil getproject --project=$GOOGLE_COMPUTE_PROJECT_NAME --cache_flag_values |
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
#! /usr/bin/env bash | |
# | |
# To install globally: | |
# $ chmod +x vcs-update.sh | |
# $ ln /usr/local/bin/push push.sh | |
# | |
# Run "vcs-update" in terminal to update all directories. | |
# | |
DIRECTORIES=$PWD/* |
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
#! /usr/bin/env bash | |
# | |
# To install globally: | |
# $ chmod +x vcs-update.sh | |
# $ mv vcs-update.sh /usr/local/bin/vcs-update | |
# | |
# Run "vcs-update" in terminal to update all directories. | |
# | |
DIRECTORIES=$PWD/* |
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
{ | |
"config": { | |
"preferred-install": "source" | |
}, | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://repository.usabilitydynamics.com" | |
} | |
] |
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 | |
# | |
# nginx - this script starts and stops the nginx daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /etc/nginx/nginx.conf | |
# config: /etc/sysconfig/nginx |
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
# | |
# | |
# source http://www.idevelopment.info/data/Unix/Linux/LINUX_AddGNOMEToCentOSMinimalInstall.shtml | |
yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" | |
yum -y groupinstall "Graphical Administration Tools" | |
yum -y groupinstall "Internet Browser" | |
yum -y groupinstall "General Purpose Desktop" | |
yum -y groupinstall "Office Suite and Productivity" | |
yum -y groupinstall "Graphics Creation Tools" |
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 | |
# | |
# My Run Node.js services. | |
# | |
# chkconfig: - 90 10 | |
# description: My Service Application. | |
# processname: my-app | |
# config: /etc/my-app/my-app.yaml | |
# pidfile: /var/run/my-app.pid | |
# |
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
# | |
# | |
# http://www.clusterdb.com/mysql-cluster/deploying-mysql-cluster-over-multiple-hosts | |
# http://dev.mysql.com/doc/refman/5.6/en/mysql-cluster.html | |
# http://www.houseoflinux.com/mysql/how-to-configure-a-mysql-cluster-on-centos-redhat | |
yum -y groupinstall "High Availability" "Resilient Storage" | |
yum -y groupinstall "High Availability Management" | |
yum -y install iscsi-initiator-utils | |
yum -y install vsftpd |
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
# /usr/local/lib/varnish/vmods | |
sudo port install autoconf | |
sudo port install automake | |
sudo port install libtool | |
sudo port install pkg-config | |
sudo port install pkgconfig | |
sudo port install pcre | |
wget http://curl.haxx.se/download/curl-7.35.0.zip && unzip curl-7.35.0.zip |