- 60 - 90 minutes
- 5 - 11 people
- Table + chairs
- PostIts and Pens
- Timer
# 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" |
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
installp -u security.pkcs11
. The one suggested by IBM does not work: http://www-01.ibm.com/support/docview.wss?uid=isg3T1019142security.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# 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 |
#!/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 |
#!/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 )) |
#!/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 )) |
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 |