This file contains hidden or 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
[ | |
{ | |
"event": "send", | |
"msg": { | |
"ts": 1365109999, | |
"subject": "This an example webhook message", | |
"email": "[email protected]", | |
"sender": "[email protected]", | |
"tags": [ | |
"webhook-example" |
This file contains hidden or 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
sudo apt-get -y install build-essential devscripts quilt | |
sudo apt-get -y build-dep openssl | |
apt-get source openssl | |
cd openssl-* | |
quilt pop -a # This removes updates | |
vi debian/patches/series # Remove no-ssl2.patch | |
vi debian/rules # Remove no-ssl2 in args | |
quilt push -a # Re-applies the updates | |
dch -n 'Allow dangerous v2 protocol' | |
dpkg-source –commit |
This file contains hidden or 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
require 'rubygems' | |
require 'chef/config' | |
require 'chef/webui_user' | |
Chef::Config.from_file(File.expand_path("~/.chef/knife.rb")) | |
user = Chef::WebUIUser.load('admin') | |
user.set_password("MyAwesomePassword") | |
user.save |