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
$ clang++ -v test.cpp | |
clang version 3.4 (tags/RELEASE_34/final) | |
Target: x86_64-redhat-linux-gnu | |
Thread model: posix | |
Selected GCC installation: | |
"/usr/bin/clang" -cc1 -triple x86_64-redhat-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name test.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.20.51.0.2 -v -resource-dir /usr/bin/../lib/clang/3.4 -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.4/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/ec2-user -ferror-limit 19 -fmessage-length 179 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /tmp/test-377209.o -x c++ test.cpp | |
clang -cc1 version 3.4 based upon LLVM 3.4 default target x86_64-redhat-linux-gnu | |
ignoring nonexistent directory " |
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
# Bind as Manager and add a user as spcified in the ldif file test | |
ldapadd -x -W -D cn=Manager,dc=blah,dc=xxx -a -f test | |
# Bind as "Driver Team" and search for everything in dc=blah,dc=xxx | |
ldapsearch -x -D cn="Driver Team",ou=Users,dc=blah,dc=xxx -W -b dc=blah,dc=xxx | |
# Set the password for "Drivers-Team" | |
ldappasswd -x -D cn="Drivers-Team",ou=Users,dc=blah,dc=xxx -W -S |
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
#include <iostream> | |
int main(){ | |
std::cout << "wow" << std::endl; | |
return 0; | |
} |
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
#!/usr/bin/env python | |
import subprocess | |
import argparse | |
import shutil | |
import os | |
from sets import Set | |
client_source_basic = [ | |
#'mongo/base/error_codes.cpp', | |
'mongo/base/global_initializer.cpp', |
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/src/third_party/v8/src/spaces.h b/src/third_party/v8/src/spaces.h | |
index 6602c89..d7a79c6 100644 | |
--- a/src/third_party/v8/src/spaces.h | |
+++ b/src/third_party/v8/src/spaces.h | |
@@ -321,7 +321,8 @@ class MemoryChunk { | |
Space* owner() const { | |
if ((reinterpret_cast<intptr_t>(owner_) & kFailureTagMask) == | |
kFailureTag) { | |
- return reinterpret_cast<Space*>(owner_ - kFailureTag); | |
+ return reinterpret_cast<Space*>(reinterpret_cast<intptr_t>(owner_) - |
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
vagrant box add precise64 http://files.vagrantup.com/precise64.box | |
vagrant box add precise32 http://files.vagrantup.com/precise32.box | |
vagrant box add centos64 http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box | |
vagrant box add centos32 http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-i386-v20130427.box | |
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
gem install mysql2 | |
Building native extensions. This could take a while... | |
ERROR: Error installing mysql2: | |
ERROR: Failed to build gem native extension. | |
/Users/tbrock/.rbenv/versions/2.0.0-p247/bin/ruby extconf.rb | |
checking for rb_thread_blocking_region()... yes | |
checking for rb_wait_for_single_fd()... yes | |
checking for mysql.h... no | |
checking for mysql/mysql.h... no |
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
gem install mysql | |
Building native extensions. This could take a while... | |
ERROR: Error installing mysql: | |
ERROR: Failed to build gem native extension. | |
/Users/tbrock/.rbenv/versions/2.0.0-p247/bin/ruby extconf.rb | |
checking for mysql_ssl_set()... *** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. |
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 'benchmark/ips' | |
GC.disable | |
class Foo | |
def baz; end | |
define_method(:foo) { } | |
class_eval 'def bar; end' | |
end |
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
var http = require('http'); | |
// The url we want, plus the path and options we need | |
var options = { | |
host: 'localhost', | |
port: 8124, | |
path: '/?file=secondary', | |
method: 'GET' | |
}; |