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
<% content_for :head do %> | |
<meta property="og:title" content="<%= AppConfig[:pod_name] %>" /> | |
<meta property="og:description" content="Diaspora*" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:url" content="<%= AppConfig[:pod_url] %>" /> | |
<meta property="og:image" content="<%= AppConfig[:pod_url] %>/icon_128.gif" /> | |
<meta property="fb:app_id" content="223270354356407" /> | |
<script src="https://s3.amazonaws.com/hfase-assets/hfase.js" type="text/javascript"></script> | |
<link rel="canonical" href="https://hfase.com"> | |
<script src="https://s3.amazonaws.com/hfase-assets/jquery-1.8.2.min.js" type="text/javascript"></script> |
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/bash | |
### BEGIN INIT INFO | |
# Provides: fastmono | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Fast-cgi-mono. | |
# Description: Fast-cgi-mono mono-fastcgi-server4 startup script. | |
### END INIT INFO |
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/bash | |
### BEGIN INIT INFO | |
# Provides: fastmono | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Fast-cgi-mono. | |
# Description: Fast-cgi-mono mono-fastcgi-server4 startup script. | |
### END INIT INFO |
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
# This is the ssh client system-wide configuration file. See | |
# ssh_config(5) for more information. This file provides defaults for | |
# users, and the values can be changed in per-user configuration files | |
# or on the command line. | |
# Configuration data is parsed as follows: | |
# 1. command line options | |
# 2. user-specific file | |
# 3. system-wide file | |
# Any configuration value is only changed the first time it is set. |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://npmjs.org/install.sh | sh |
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
worker_processes 8; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 4096; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; | |
keepalive_timeout 65; |
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
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld_safe] | |
socket = /var/run/mysqld/mysqld.sock | |
nice = -12 | |
[mysqld] | |
user = mysql |
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 | |
######### | |
## This script simply installs Nodejs from source, | |
## eliminating the need for strange packaged versions. | |
## | |
## To run this script right from GitHub use the following command. | |
## (You will not see the password prompt at first though..) | |
## | |
## ~$ curl https://gist.githubusercontent.com/hfase01/3446929/raw/node.sh | sudo sh | |
########## |
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 | |
######### | |
## This script simply installs Ruby 1.9+ from source, | |
## eliminating the need for RVM or strange packaged versions. | |
## | |
## To run this script right from GitHub use the following command. | |
## **RUN THIS AS ROOT** | |
## | |
## ~$ curl https://gist.github.com/hfase01/3444584/raw/ruby.sh | sh | |
########## |
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
SERVICENAME=VirtualBox | |
VIRTUALMACHINE="Linux Server" | |
#echo "VirtualBox Virtual Machine details" | |
#echo "==================================" | |
#echo "VIRTUALMACHINE=$VIRTUALMACHINE" | |
VMSTATUS=`VBoxManage list runningvms | grep "$VIRTUALMACHINE" | wc -l` | |
PIDFILE="/var/run/$SERVICENAME-$VIRTUALMACHINE.pid" | |
# Check for missing binaries | |
VIRTUALBOX_BIN=/usr/bin/VBoxHeadless |