Top HN posts
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
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
<?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'; |
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
# Example Dockerfile | |
FROM hello-world |
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
input { | |
file { | |
type => "magento-exception" | |
path => "/path/to/magento/www/var/log/exception.log" | |
codec => multiline { | |
pattern => "^%{TIMESTAMP_ISO8601}" | |
negate => true | |
what => previous | |
} | |
} |
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
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
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'); |
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
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" |
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
<?php | |
/** | |
* Simple Magento integration test PHPUnit bootstrap | |
*/ | |
chdir(__DIR__ . '/../..'); | |
$mageFile = 'htdocs/app/Mage.php'; | |
umask(0); |
NewerOlder