Snippet from docker-compose:
secrets:
- source: "docker_secrets_expand"
target: "/docker_secrets_expand.sh"
mode: "0555"
- db_password
environment:
DB_PASSWORD:DOCKER-SECRET->db_password
#!/bin/bash | |
### | |
### my-script — does one thing well | |
### | |
### Usage: | |
### my-script <input> <output> | |
### | |
### Options: | |
### <input> Input file to read. | |
### <output> Output file to write. Use '-' for stdout. |
Snippet from docker-compose:
secrets:
- source: "docker_secrets_expand"
target: "/docker_secrets_expand.sh"
mode: "0555"
- db_password
environment:
DB_PASSWORD:DOCKER-SECRET->db_password
apps.facebook.com | |
connect.facebook.net | |
facebook.com | |
fbcdn.com | |
fbsbx.com | |
fbcdn.net | |
graph.facebook.com | |
login.facebook.com | |
s-static.ak.facebook.com | |
static.ak.connect.facebook.com |
#!/bin/bash -x | |
# Generally based on ideas found at: | |
# http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html | |
# | |
# Reduced the ideas there down to their essentials. | |
# 1. Unlock the image. | |
# 2. Reset the saved failure in the backup metadata. | |
# 3. Verify/fix the filesystem. |
<?php | |
$attributeValues = array( | |
'color' => array('Red', 'White', 'Blue'), | |
'size' => array(1, 2, 3, 4), | |
'fabric' => array('Cloth', 'Silk') | |
); | |
class Cartesian | |
{ |
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html (in case that link ever dies.)
Assume you've got homebrew installed.
Download the following files from Oracle
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |
<?php | |
/* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |