http://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html https://www.youtube.com/watch?v=_wiGpBQGCjU
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
/** | |
* :Author: Chad Skeeters | |
* :Contact: [email protected] | |
* Stylesheet for use with Docutils/rst2html. | |
* Example: rst2html --stylesheet=rst2html.css README.rst doc/html/README.html | |
*/ | |
html { | |
font-size: 100%; | |
-webkit-text-size-adjust: 100%; |
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
$ docker info | |
Containers: 16 | |
Running: 0 | |
Paused: 0 | |
Stopped: 16 | |
Images: 130 | |
Server Version: 1.13.1 | |
Storage Driver: aufs | |
Root Dir: /var/lib/docker/aufs | |
Backing Filesystem: extfs |
if i have a fix that applies to multple branches say 4.1 4.2 and 4.5 branch, would this be the best way to apply the bug fix to branches...
[11:37] - clone dev branch git clone [email protected]:/project -b devrelease devfolder git add setup/example.sql git commit -m "Fixed the example bug" git push origin master note down the sha1 code number
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
#!/usr/bin/env python | |
# image_test.py | |
import subprocess | |
import sys | |
""" | |
USAGE: ssh user@guest python < image_test.py |
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
function ssh-keyscan-fingerprint { | |
#function to get the fingerprints of remote servers | |
orig_umask=$(umask) | |
umask 0077 | |
t=$(mktemp) | |
chmod 0700 ${t} | |
while [ ! -z $1 ] ; do |
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
#!/usr/bin/env python3 | |
import logging | |
import logging.handlers | |
import sys | |
import tempfile | |
logger = logging.getLogger() | |
handler = logging.handlers.SysLogHandler(address=('/dev/log')) | |
logger.addHandler(handler) |
NewerOlder