- Our standard bootstrap procedure doesn't work (not that I think many folks on AIX will use it). A couple problems:
- Omnitruck doesn't understand BFFs and has invalid syntax for uname: chef/omnitruck#72
- Bootstrap SSH fails with
SSH debug returns "cipher_init: EVP_CipherInit: set key failed for aes128-cbc
(when running in -VV) -- it will also fail to negotiate other cipher suites like 3des-cbc- Only fix I've found so far is to
installp -u security.pkcs11
. The one suggested by IBM does not work: http://www-01.ibm.com/support/docview.wss?uid=isg3T1019142 - Maybe there's a patch for this. My LPAR is 7100-02-04-1341 which isn't the latest SP.
security.pkcs11
is safe to remove as it has to do with hardware encryption devices (a rare use case). Customers can contact IBM if they have a hardware crypto device and need this package
- Only fix I've found so far is to
- Bootstrap assumes bash is available on the system so you get something like `k
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
ohessten% security find-certificate -a /System/Library/Keychains/SystemRootCertificates.keychainc >osx_system_roots.pem | |
ohessten% /path/to/homebrew/bin/openssl s_client -CAfile osx_system_roots.pem -verify 5 -connect sketchy.example.org:443 |
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
#!/bin/zsh | |
# computer activity data collection for http://jehiah.cz/one-two/ | |
# Originally by Jehiah Czebotar. This verison by Luca Spiller. | |
FILE="$HOME/Dropbox/activity_log/`hostname`-`date +%Y%m%d`.log" | |
function log_activity() | |
{ | |
local TIME=`date "+%Y-%m-%dT%H:%M:%S%z"` | |
local IDLE=$((`/usr/sbin/ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/!{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q'` / 1000000000 )) |
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
#!/bin/sh | |
# computer activity data collection for http://jehiah.cz/one-two/ | |
# by Jehiah Czebotar | |
FILE="activity_log/`date +%Y%m%d`.log" | |
function log_activity() | |
{ | |
local UTC=`date "+%s,%Z"` | |
local IDLE=$((`/usr/sbin/ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/!{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q'` / 1000000000 )) |
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
#!/bin/sh | |
# This script takes a photo if the computer has not been idle for longer than a period of time | |
# it uses isightcapture from https://www.macupdate.com/app/mac/18598/isightcapture | |
[ -z "$USER" ] && echo "missing variable \$USER " && exit 1 | |
if [ ! -d /Users/$USER/daily_photo ]; then | |
mkdir -p $/Users/$USER/daily_photo | |
fi | |
IDLE=$((`/usr/sbin/ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/!{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q'` / 1000000000 )) | |
export SUDO_ASKPASS=/Users/$USER/bin/get_pass.sh |
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
# Our .tmux.conf file | |
# Setting the prefix from C-b to C-a | |
# START:prefix | |
set -g prefix C-a | |
# END:prefix | |
# Free the original Ctrl-b prefix keybinding | |
# START:unbind | |
unbind C-b | |
# END:unbind |
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
# Run this from Powershell as Administrator with (New-Object System.Net.WebClient).DownloadString("https://gist.github.com/damieng/881852e7112be7d97957/raw") | powershell -command - | |
Write-Output "Making Windows more developer oriented (Revision 26)..." | |
Set-ExecutionPolicy Unrestricted | |
if ([System.Environment]::OSVersion.Version.Major -ge 10) { | |
Write-Output " * Detected Windows 10" | |
Write-Output " * Removing Windows 10 bloatware" | |
$apps = @( | |
"Microsoft.3DBuilder" |
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
# Recurse into all subdirectories of the working directory. | |
# Converts all flac into mp3 using ffmpeg | |
find . -type f -name "*.flac" -print0 | while read -d $'\0' a; do < /dev/null ffmpeg -i "$a" -qscale:a 0 "${a[@]/%flac/mp3}" | |
done |
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
# Knife Configuration File. | |
# | |
# This is a Ruby DSL to set configuration parameters for Knife's | |
# general options. The default location for this file is | |
# ~/.chef/knife.rb. If multiple Chef repositories are used, | |
# per-repository configuration files can be created. A per repository | |
# configuration file must be .chef/knife.rb in the base directory of | |
# the Chef repository. For example, | |
# | |
# ~/Development/chef-repo/.chef/knife.rb |
OlderNewer