By Thomas Darr (@trdarr), with love.
“How has no one yet written a tutorial for deploying Hubot on @digitalocean? cc @beyroutey”
— Miles Grimshaw (@milesgrimshaw), 10 Dec 2013
require 'httparty' | |
require 'nokogiri' | |
USERNAME = "[email protected]" | |
PASSWORD = "your-password-here" | |
COOKIE_FILE = 'cookies.txt' # by example | |
class ElixirsipsDownloader | |
FEED_URL = "https://elixirsips.dpdcart.com/feed" | |
LOGIN_URL = "http://elixirsips.dpdcart.com/subscriber/content" |
var express = require('express'); | |
var cp = require('child_process'); | |
var app = express.createServer(); | |
var chrome_count = 0; | |
app.get('/', function(req, res){ | |
startChrome(chrome_count++,9222,function chromeStared(err,id,chrome){ | |
res.send('Chrome '+id+' Started\r\n'); |
By Thomas Darr (@trdarr), with love.
“How has no one yet written a tutorial for deploying Hubot on @digitalocean? cc @beyroutey”
— Miles Grimshaw (@milesgrimshaw), 10 Dec 2013
input { | |
file { | |
type => "magento-exception" | |
path => "/path/to/magento/www/var/log/exception.log" | |
codec => multiline { | |
pattern => "^%{TIMESTAMP_ISO8601}" | |
negate => true | |
what => previous | |
} | |
} |
# Example Dockerfile | |
FROM hello-world |
<?php | |
$mysqlCommandPath = 'to be filled'; | |
$mysqldumptCommandPath = 'to be filled'; | |
$remoteDbUnsername = 'to be filled'; | |
$remoteDbPassword = 'to be filled'; | |
$remotePort = 'to be filled'; | |
$remotHost = 'to be filled'; | |
$remoteDb = 'to be filled'; |