Skip to content

Instantly share code, notes, and snippets.

View chrowe's full-sized avatar

Chris Rowe chrowe

View GitHub Profile
==> INSTALL START -> checkpoint:
* Your e-mail address appears to be [email protected] - is that correct?
* Your IP address appears to be - are you sure it's a valid IP?
* Your hostname appears to be - are you sure it's a valid FQDN hostname?
NOTE: If your outgoing SMTP requires using relayhost, define first _SMTP_RELAY_HOST.
* Your core Aegir instance control panel will be available at http://.
* Your (optional) MultiCore Apache Solr Tomcat will listen on localhost:8080.
==> EXIT on error due to invalid DNS setup.
* Your custom _MY_OWNIP is set to "66.25.167.202"
* Your custom _MY_HOSTN is set to "octopus.chr.dyndns.org"
* Your custom _MY_FRONT is set to "aegir.octopus.chr.dyndns.org"
* Your _MY_HOSTN and/or _MY_FRONT doesn't match your _MY_OWNIP,
or your hostname is not set properly yet.
* Please add/check correct line in your /etc/hosts file on the server:
127.0.0.1 localhost
66.25.167.202 octopus.chr.dyndns.org aegir.octopus.chr.dyndns.org
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
@chrowe
chrowe / drush dq.txt
Last active December 16, 2015 23:59
My drush qd template
drush qd mahr-content-import admin_menu module_filter devel fpa views views_bulk_operations ctools features strongarm diff date entity entityreference feeds feeds_tamper job_scheduler extlink --yes
drush en module_filter fpa views_ui devel_generate admin_menu_toolbar extlink feeds_tamper feeds_ui features strongarm date diff --yes
drush dis toolbar overlay --yes
@chrowe
chrowe / gist:5623634
Created May 21, 2013 22:01
settings.local.php template
<?php
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => '',
'username' => '',
'password' => '',
@chrowe
chrowe / SotW-RebelMouse
Last active August 29, 2015 14:00
RebelMouse
<html>
<body>
<h1>RebelMouse</h1>
<div>
<script type="text/javascript" class="rebelmouse-embed-script" src="https://www.rebelmouse.com/static/js-build/embed/embed.js?site=SummerontheWaterfrontBoston&height=1500&flexible=0&dont_load_new_posts=0&scrollbar_theme=default&show_rebelnav=1"></script>
</div>
</body>
<html>
<!DOCTYPE html>
<html>
<head>
<!-- EXTERNAL LIBS-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://www.google.com/jsapi"></script>
<!-- EXAMPLE SCRIPT -->
<script>
@chrowe
chrowe / log
Created March 9, 2015 01:29
OPK install
pi@temper4 ~ $ wget http://node-arm.herokuapp.com/node_0.10.36_armhf.deb
--2015-03-08 21:25:11-- http://node-arm.herokuapp.com/node_0.10.36_armhf.deb
Resolving node-arm.herokuapp.com (node-arm.herokuapp.com)... 54.243.70.214
Connecting to node-arm.herokuapp.com (node-arm.herokuapp.com)|54.243.70.214|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5745294 (5.5M) [application/x-debian-package]
Saving to: `node_0.10.36_armhf.deb'
100%[================================================================================>] 5,745,294 7.69M/s in 0.7s
@chrowe
chrowe / monitor.py
Created April 6, 2015 04:08
1 Wire scripts
#!/usr/bin/env python
import sqlite3
import os
import time
import glob
# global variables
speriod=(15*60)-1
mkdir drivers
git clone https://github.com/openpipekit/opk-temper1-cli.git
git clone https://github.com/openpipekit/opk-phant-cli.git
./drivers/opk-temper1-cli/install
sudo ./drivers/opk-temper1-cli/detect
sudo ./drivers/opk-temper1-cli/pull --path 0001:0005:01 --scale farenheit