I hereby claim:
- I am ewencp on github.
- I am ewencp (https://keybase.io/ewencp) on keybase.
- I have a public key whose fingerprint is 713E 6517 0A2D 1AB7 30AE FDD9 DDAA 3452 5234 D94F
To claim this, I am signing this object:
diff --git a/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java b/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java | |
index 2ad9926..eacc50b 100644 | |
--- a/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java | |
+++ b/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java | |
@@ -29,10 +29,16 @@ public class CachedBufferAllocator implements BufferAllocator { | |
} | |
public static synchronized CachedBufferAllocator getAllocator(int bufferSize) { | |
- if(!queueTable.containsKey(bufferSize)) { | |
- queueTable.put(bufferSize, new SoftReference<CachedBufferAllocator>(new CachedBufferAllocator(bufferSize))); |
:: Required: git, Visual Studio 10.0 Express, Visual Studio 9 Express, | |
:: Windows 7 SDK (.NET 4), Windows 7 SDK (.NET 3.5), Anaconda/Miniconda | |
::::::::::::::::::::::::::::::::::: | |
:: User configurable stuff start :: | |
::::::::::::::::::::::::::::::::::: | |
:: These depends on where you installed Anaconda. | |
:: Python2 or Python3 doesn't matter but you need both 32bit and 64bit versions. | |
set ANACONDA_BASE=C:\Users\Administrator\Anaconda |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
while [ 1 ]; do | |
ifconfig "$1" | grep "TX bytes" | sed "s/.*RX bytes:\([0-9]*\).*TX bytes:\([0-9]*\).*/\1 \2/" >> "$2" | |
sleep 1 | |
done |
// check for GL errors and print them to stderr | |
inline void glError(const char* location) | |
{ | |
GLenum e; | |
e = glGetError(); | |
if (e != GL_NO_ERROR) | |
{ | |
fprintf (stderr, "ERROR!!! %s, %s\n", location, gluErrorString(e)); | |
e = glGetError(); | |
while (e != GL_NO_ERROR) |
# Find Bullet includes and library | |
# | |
# This module defines | |
# Bullet_INCLUDE_DIRS The location of the Bullet header files | |
# Bullet_LIBRARIES The libraries to link against to use Bullet | |
# Bullet_FOUND If false, do not try to use Bullet | |
# | |
# To specify an additional directory to search, set Bullet_ROOT. | |
# | |
# If the absence of Bullet is a fatal error, set Bullet_FIND_REQUIRED to TRUE. |
Index: install | |
=================================================================== | |
--- install (revision 78) | |
+++ install (working copy) | |
@@ -410,7 +410,7 @@ | |
user_eval "cd ${DIR} && | |
tar -jxf boost_1_37_0.tar.bz2 && | |
cd boost_1_37_0 && | |
- ./configure --without-icu --without-libraries=python --prefix=${DIR}/installed-boost && | |
+ ./configure --without-icu --with-libraries=system,program_options,thread,filesystem,regex --prefix=${DIR}/installed-boost && |
From a689986179e140d1c4f1d8d07299bdf8ef5879c4 Mon Sep 17 00:00:00 2001 | |
From: Ewen Cheslack-Postava <ewencp@cs.stanford.edu> | |
Date: Thu, 30 Jul 2009 23:25:24 -0700 | |
Subject: [PATCH] Add virtual destructor to WebViewListener. | |
--- | |
Awesomium/include/WebViewListener.h | 2 ++ | |
1 files changed, 2 insertions(+), 0 deletions(-) | |
diff --git a/Awesomium/include/WebViewListener.h b/Awesomium/include/WebViewListener.h |
From 274a96b92f90e6b8367463bb777617cd2da33fa9 Mon Sep 17 00:00:00 2001 | |
From: Ewen Cheslack-Postava <ewencp@cs.stanford.edu> | |
Date: Tue, 9 Mar 2010 20:19:26 -0800 | |
Subject: [PATCH] Raise an exception if VM import fails. | |
--- | |
lib/vagrant/actions/vm/import.rb | 1 + | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
diff --git a/lib/vagrant/actions/vm/import.rb b/lib/vagrant/actions/vm/import.rb |
#!/usr/bin/env bash | |
# | |
# Run as | |
# bash -c "$(curl -fsS http://gist.github.com/raw/639036/install-debian-sirikata-system-deps.sh)" | |
# to get a single command install (avoids requiring you to download and separately run the command). | |
sudo apt-get install \ | |
git-core cmake sed unzip zip automake1.9 nvidia-cg-toolkit jam g++ \ | |
libzzip-dev libxt-dev libxaw7-dev libxxf86vm-dev libxrandr-dev libfreetype6-dev \ | |
libxext-dev autoconf libtool libpcre3-dev flex bison patch libbz2-dev gawk \ |