For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
#!/bin/sh | |
# Use socat to proxy git through an HTTP CONNECT firewall. | |
# Useful if you are trying to clone git:// from inside a company. | |
# Requires that the proxy allows CONNECT to port 9418. | |
# | |
# Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run | |
# chmod +x gitproxy | |
# git config --global core.gitproxy gitproxy | |
# | |
# More details at http://tinyurl.com/8xvpny |
#/bin/bash | |
# From http://wiki.opscode.com/display/chef/Package+Installation+on+Debian+and+Ubuntu | |
# Run: wget http://gist.github.com/raw/568876/install_chef_client.sh && bash install_chef_client.sh | |
echo "Add the Opscode APT Repository" | |
echo 'deb http://apt.opscode.com/ lucid main' | sudo tee /etc/apt/sources.list.d/opscode.list | |
sudo apt-get update | |
echo "Install curl" | |
sudo apt-get install curl |
# Run with bash < <( curl https://gist.github.com/raw/786735/bootstrap-chef-client-osx.sh ) | |
# Switch to system Ruby | |
if [ -s "$HOME/.rvm/scripts/rvm" ]; then | |
rvm use system | |
fi | |
sudo gem install chef --no-ri --no-rdoc | |
sudo mkdir -p /etc/chef | |
sudo scp interactive@chef.factorylabs.com:/etc/chef/validation.pem /etc/chef/validation.pem |
// Request settings from the extension's localStorage and kick things off | |
chrome.extension.sendRequest({type: "getprefs"}, function(response) | |
{ | |
cachedSettings = response; | |
init(); | |
}); |
This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
#!/bin/bash | |
sudo kextunload -b org.virtualbox.kext.VBoxUSB | |
sudo kextunload -b org.virtualbox.kext.VBoxNetFlt | |
sudo kextunload -b org.virtualbox.kext.VBoxNetAdp | |
sudo kextunload -b org.virtualbox.kext.VBoxDrv | |
sudo kextload /Library/Extensions/VBoxDrv.kext -r /Library/Extensions/ | |
sudo kextload /Library/Extensions/VBoxNetFlt.kext -r /Library/Extensions/ | |
sudo kextload /Library/Extensions/VBoxNetAdp.kext -r /Library/Extensions/ |
--- openvpn-2.2.2.orig/options.c 2011-12-14 00:58:56.000000000 +0800 | |
+++ openvpn-2.2.2/options.c 2012-12-21 10:44:57.683130505 +0800 | |
@@ -54,6 +54,10 @@ | |
#include "memdbg.h" | |
+extern char* _socket_obfs_salt; | |
+extern int _socket_obfs_salt_len; | |
+extern int _socket_obfs_padlen; | |
+ |
<?php | |
$options = array( | |
'http' => array( | |
'method' => 'GET', | |
'verify_peer' => false, | |
'allow_self_signed' => true, | |
'follow_location' => 1, | |
'max_redirects' => 20, | |
'proxy' => 'tcp://your.proxy.ip:yourProxyPort', | |
// Uncomment the following line to reproduce the bug |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.