View allreduce_loop.py
#!/usr/bin/env python
#
# allreduce_loop.py
#
# Showcase for how to use Gloo collectives from Caffe2.
# For rendezvous, this example can use a shared filesystem, Redis, or MPI.
#
# To use a shared filesystem for rendezvous, use:
#
# python ./allreduce_loop.py \
View foo.md

Test

My list:

  1. foo
  2. bar
  3. qux
View ompi-ipv6-link-local.patch
View ompi-fix-ipv6.patch
commit 19917b7bc38c4ffe6975c25ae76d31fb9f582dfd
Author: Pieter Noordhuis <pietern@fb.com>
Date: Tue Aug 16 19:29:19 2016 -0700
Fix IPv6 supporting in OOB and TCP BTL
diff --git a/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c b/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c
index c444390..7be03a7 100644
--- a/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c
+++ b/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c
View lambda.diff
diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java
index ae7392a..efa985f 100644
--- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java
+++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java
@@ -47,17 +47,26 @@ public class LambdaHandler extends AbstractExpressionHandler {
@Override
protected IndentLevel getLevelImpl() {
- // If the start of the lambda isn't the first element on the line,
- // use the start of the line as the reference indentation level.
View event_queue.c
#include <stddef.h>
#include "event_queue.h"
// Toggle the MSB every time an index wraps.
// This tells pi and ci apart if they are equal (empty vs full).
#define WRAP_CHECK(var) do { \
if (((var) & QUEUE_SIZE_MASK) == 0) { \
(var) = (~((var) & 0x80) & 0x80); \
} \
View ssh.c
/* $OpenBSD: ssh.c,v 1.364 2011/08/02 23:15:03 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
* Ssh client program. This program can be used to log into a remote machine.
* The software supports strong authentication, encryption, and forwarding
* of X11, TCP/IP, and authentication connections.
*
* As far as I am concerned, the code I have written for this software
View gist:5188355
$ bundle exec rake compile
mkdir -p tmp/x86_64-darwin12.2.0/hiredis_ext/2.0.0
cd tmp/x86_64-darwin12.2.0/hiredis_ext/2.0.0
/Users/pieter/.rbenv/versions/2.0.0-p0/bin/ruby -I. ../../../../ext/hiredis_ext/extconf.rb
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
creating Makefile
View gist:4566793
#!/usr/bin/env bash
set -e
[ -n "$DEBUG" ] && set -x
# rbenv
if [ ! -d "$HOME/.rbenv" ]
then
pushd $HOME
git clone git://github.com/sstephenson/rbenv.git .rbenv