Skip to content

Instantly share code, notes, and snippets.

<script id="rafl-script" type="text/javascript">
RafflecopterSettings = {
raffleID: 'YzM3Y2VlZDA3M2RlMDNjZDlmZjI1ZTM0OWQxNjZkOjA='
};</script>
<script type="text/javascript" src="https://rafflecopter.ssl.dotcloud.com/static/js/widget/rafl-widget.js"></script>
<noscript><a href="http://rafl.es/enable-js">You need javascript enabled to see this giveaway</a>.</noscript>
  1. this is an item

  2. this is an item

  3. this is another

    this is another paragraph

    this is too

Sometimes, you hear people spout off the phrase, "You only manage what you measure." Well, say you're measuring out some timber. How do you know the ruler you're measuring with is really 12 inches long? Even worse, what if the person making the measurement left themselves intentionally ignorant about their measurement tool because it gave them the result they wanted. That sounds pretty bad right? Well, that's what things were like at times in the research field that I left to come work on Rafflecopter.
Ultrafast science has a small, but growing, community, and I think the importance of the field will increase greatly in the next decade as we (society) use physical processes that occur on increasingly shorter timescales in our technology stack. Like a mechanic pointing a strobe light at a timing belt, an ultrafast scientist uses incredibly short pulses of light from a laser to probe events that happen on timescales that are to one second what one second is to the age of the universe. The shortest event ever c
# Dev servers
127.0.0.1 raafl.com
127.0.0.1 www.raafl.com
127.0.0.2 service1.raafl.com
127.0.0.3 service2.raafl.com
127.0.0.4 service3.raafl.com
127.0.0.5 service4.raafl.com
127.0.0.6 service5.raafl.com
127.0.0.7 service6.raafl.com
adsfasdfdf df adsf awf awdf
@leroix
leroix / ThreadPool.hs
Last active December 21, 2015 14:59
a multithreaded udp receiver with graceful exit
-- Forked from ThreadPool in Control-Engine and made to use TChan
-- instead of Chan
-- http://new-hackage.haskell.org/package/Control-Engine-1.1.0.1/docs/src/Control-ThreadPool.html
module ThreadPool
( threadPool
, threadPoolIO
) where
import Control.Monad (forever, forM_)
@leroix
leroix / check-remote-sync.sh
Created February 5, 2014 18:15
Git: check if a branch is sync'd with a branch of the same name in a remote repo e.g. `check-remote-sync development origin`. Returns nothing if in sync.
#!/bin/bash
LOCAL_BRANCH=$1
REMOTE_BRANCH="${2:-origin}/$1"
if [ x"$(git rev-parse $LOCAL_BRANCH)" != x"$(git rev-parse $REMOTE_BRANCH)" ]
then
echo "$LOCAL_BRANCH is not in sync with $REMOTE_BRANCH. You may want to rebase or push first."
fi
if (ryan === "poor climber")
console.log('SHINER');
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr{display:none}.rafl-powered{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;width:100%;font-size:10px;color:#999;text-a
[librdkafka (master)]$CC=clang CXX=clang++ ./configure --reconfigure && make clean all
Reconfiguring: /Users/leroix/librdkafka/configure
using cache file config.cache
checking for OS or distribution... ok (osx)
checking for C compiler from CC env... ok (cached)
checking for C++ compiler from CXX env... ok (cached)
checking executable ld... ok (cached)
checking executable nm... ok (cached)
checking executable objdump... failed (disable)
checking executable strip... ok (cached)