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
The Cloud Foundry engineering team is looking for a few great | |
Site Reliability Engineers (SREs) | |
to join us in running a platform that transforms how the world | |
deploys and scales software. | |
== Desired Skills and Experience | |
Strong background | |
with CentOS and/or Ubuntu | |
Experience with |
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
%% Disable SSLv3.0 support | |
[ | |
{ssl, [{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]}]}, | |
{rabbit, [ | |
{ssl_listeners, [5671]}, | |
{ssl_options, [{cacertfile,"/path/to/ca_certificate.pem"}, | |
{certfile, "/path/to/server_certificate.pem"}, | |
{keyfile, "/path/to/server_key.pem"}, | |
{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]} | |
]} |
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
TLS_RSA_WITH_RC4_128_SHA | |
TLS_RSA_WITH_AES_128_CBC_SHA | |
TLS_RSA_WITH_AES_256_CBC_SHA |
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
require 'formula' | |
class Wireshark < Formula | |
homepage 'http://www.wireshark.org' | |
url 'http://www.wireshark.org/download/src/wireshark-1.8.6.tar.bz2' | |
sha1 '0f51ed901b5e07cceb1373f3368f739be8f1e827' | |
option 'with-x', 'Include X11 support' | |
option 'with-qt', 'Use QT for GUI instead of GTK+' | |
option 'with-ssl', 'Enable SSL support' |
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
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns | |
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
Read 4K randomly from SSD* 150,000 ns 0.15 ms |
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
// no, node.js does not suffer from the callback spaghetti. Never. | |
Bug | |
.select('createdAt', 'creatorId', 'name', 'url', 'description') | |
.page(0, 10) | |
.order('createdAt DESC') | |
.all(function(err, bugs) { | |
Commit | |
.select('createdAt', 'creatorId', 'name', 'url', 'description') | |
.page(0, 10) | |
.order('createdAt DESC') |
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 | |
# | |
# Downloads and installs the startssl CA certs into the global java keystore | |
# Author: Klaus Reimer <k@ailis.de> | |
# | |
# Check if JAVA_HOME is set | |
if [ "$JAVA_HOME" = "" ] | |
then | |
echo "ERROR: JAVA_HOME must be set." |
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
~ LEIN_JVM_OPTS="-Dfile.encoding=UTF-8" l2 repl | |
nREPL server started on port 50233 | |
Welcome to REPL-y! | |
Clojure 1.4.0 | |
Exit: Control+D or (exit) or (quit) | |
Commands: (user/help) | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
Source: (source function-name-here) | |
(user/sourcery function-name-here) |
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
diff --git a/spec/install/gems/sudo_spec.rb b/spec/install/gems/sudo_spec.rb | |
index 3894f76..c2d5444 100644 | |
--- a/spec/install/gems/sudo_spec.rb | |
+++ b/spec/install/gems/sudo_spec.rb | |
@@ -20,8 +20,7 @@ describe "when using sudo", :sudo => true do | |
it "installs when BUNDLE_PATH is owned by root" do | |
bundle_path = tmp("owned_by_root") | |
- FileUtils.mkdir_p bundle_path | |
- sudo "chown -R root #{bundle_path}" |
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
language: java | |
before_install: | |
- sudo apt-get install openjdk-7-jdk | |
- sudo apt-get remove openjdk-6-jdk |