- Create 5GB FreeBSD image.
- Install FreeBSD on xhyve.
- Mount host directory.
This script is no longer required with Docker for Mac which includes an option to run Docker at startup and doesn't use docker-machine
to administer the local Docker engine.
- Docker Machine + Docker
- curl
- A Virtualbox-driven Docker Machine called "default"
docker-machine create --driver virtualbox default
(this is the default with Docker toolkit).
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
# Set up notification options | |
notifications: | |
email: | |
recipients: | |
- [email protected] | |
- [email protected] | |
# change is when the repo status goes from pass to fail or vice versa | |
on_success: change | |
on_failure: always |
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
// This is a dead simple wrapper that can have setuid set on it so that | |
// the sudo helper is run as root. It is expected to run in the same CWD | |
// as the actual Ruby sudo helper. Any arguments to this script are forwarded | |
// to the Ruby sudo helper script. | |
package main | |
import ( | |
"fmt" | |
"os" | |
"path/filepath" |
Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
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
#!/usr/bin/env bash | |
ENV_PATH="$(dirname "$(dirname "$(which pip)")")" | |
SYSTEM_VIRTUALENV="$(which -a virtualenv|tail -1)" | |
GNUFIND_PATH="$(which -a gfind|tail -1)" | |
echo "Ensure the root of current virtualenv:" | |
echo " $ENV_PATH" | |
read -p "‼️ Say no if you are not sure (y/N) " -n 1 -r | |
echo | |
if [[ $REPLY =~ ^[Yy]$ ]]; then |
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
var casper = require('casper').create({ | |
pageSettings: { | |
// javascriptEnabled: false | |
} | |
}); | |
var system = require('system'); | |
var options = casper.cli.options; |
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
require "rake" | |
Gem::Specification.new do |s| | |
s.name = "GEM_NAME" | |
s.version = "0.1.0" | |
s.summary = "GEM_SUMMARY (short)" | |
s.description = "GEM_DESCRIPTION (longer)" | |
s.homepage = "http://example.com/GEM_NAME" | |
s.authors = ["GEM_AUTHOR_NAME"] | |
s.email = "GEM_AUTHOR_EMAIL" |
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
# | |
# Project specific excludes | |
# | |
tomcat | |
# | |
# Default excludes | |
# |
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
DKIM is DomainKeys Identified Mail and is used in mail servers, such as Postfix or Sendmail to sign e-mails and thus authenticating the sender so that a forgery can be detected. It also reduces the possibility of an e-mail being flagged as spam, but it's not a definite prevention. | |
A much simpler method is using SPF (Sender Policy Framework) which, in a nutshell, verifies the sender IP address. | |
According to the internet, using both should result to ????, PROFIT !!!. | |
SPF does not need a specific configuration. Whitelisted servers are listed in a DNS record, TXT or SPF, and an example record is: | |
example.com. IN TXT "v=spf1 a mx ~all" |