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
# assumes you've done a pretty basic 7.4 install, I used http://cdimage.debian.org/debian-cd/7.4.0/amd64/bt-cd/ | |
# add wheezy-backports repo, http://backports.debian.org/Instructions/ | |
sudo sh -c "echo deb http://ftp.us.debian.org/debian wheezy-backports main > /etc/apt/sources.list.d/wheezy-backports.list" | |
sudo apt-get update -y | |
sudo apt-get -t wheezy-backports install linux-image-amd64 -y | |
sudo reboot |
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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "make an instance, based on region, subnet, and security group. Uses AMI Mapping for Instance Store backed Amazon Linux 64bit in the region specified", | |
"Parameters" : { | |
"InstanceType" : { | |
"Description" : "Type of Instance to use, defaults to m1.medium", | |
"Type" : "String", |
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
alias cfnv="cfn-validate-template --template-file $1" |
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
def shut_down(s): | |
if s.lower() == "yes": | |
return "Shutting down..." | |
elif s.lower() == "no": | |
return "Shutdown aborted!" | |
else: | |
return "Sorry, I didn't understand you." |
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
Index: etc-socorro/common.conf | |
=================================================================== | |
--- etc-socorro/common.conf (revision 54642) | |
+++ etc-socorro/common.conf (working copy) | |
@@ -49,3 +49,5 @@ | |
# bug 790097 | |
export statsdHost=graphite1.dmz.phx1.mozilla.com | |
export statsdPrefix=socorro-stage | |
+# bug 822828 | |
+export brokenBoot2GeckoFixer=/data/bin/minidump_hack-b2g |
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
I've seen things you people wouldn't believe. [laughs] Document queries on fire off the shoulder of Orion. | |
I watched elasticsearch-head glitter in the dark on my wall monitors near the Tannhäuser Gate. | |
All those documents will be lost in time, like [coughs] tears in rain. Time to index. |
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
I've seen things you people wouldn't believe. [laughs] Document queries on fire off the shoulder of Orion. I watched elasticsearch-head glitter in the dark on my wall monitors near the Tannhäuser Gate. All those documents will be lost in time, like [coughs] tears in rain. Time to index. |
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
#all the imports | |
from __future__ import with_statement | |
from contextlib import closing | |
import sqlite3 | |
from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash | |
# configuration | |
DATABASE = "/tmp/flaskr.db" | |
DEBUG = True | |
SECRET_KEY = 'development key' |
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
-> % s push | |
Would you like to deploy from the current directory ? [Yn]: | |
Pushing application 'standup-irc-solarce'... | |
Framework: buildpack | |
Runtime: <framework-specific default> | |
Application Deployed URL [standup-irc-solarce.paas.allizom.org]: | |
Application Url: standup-irc-solarce.paas.allizom.org | |
Creating Application [standup-irc-solarce]: OK | |
Bind existing services to 'standup-irc-solarce' ? [yN]: | |
Create services to bind to 'standup-irc-solarce' ? [yN]: |
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
-> % s push | |
Would you like to deploy from the current directory ? [Yn]: | |
Pushing application 'hastebin'... | |
Framework: buildpack | |
Runtime: <framework-specific default> | |
Application Deployed URL [hastebin.paas.allizom.org]: | |
Application Url: hastebin.paas.allizom.org | |
Creating Application [hastebin]: OK | |
Creating redis service [file-backing]: | |
OK |