Skip to content

Instantly share code, notes, and snippets.

clippy.cow from: https://gist.github.com/danopia/3550035
______________________________________
/ It looks like you're trying to run a \
\ container /
--------------------------------------
\ ___
\ / \
\ / \
/ \
@andrewseidl
andrewseidl / bullet.diff
Created April 29, 2015 19:41
Chrono/Bullet differences
Only in bullet-real: btBulletDynamicsCommon.h
Only in bullet-real: Bullet-C-Api.h
diff -r bullet-real/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h bullet-chrono/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h
51a52
> BARREL_SHAPE_PROXYTYPE, //***ALEX***
60a62,64
> // for 2d collision between polylines:
> ARC_SHAPE_PROXYTYPE, //***ALEX***
> SEGMENT_SHAPE_PROXYTYPE, //***ALEX***
diff -r bullet-real/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h bullet-chrono/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h

                 ##            .          
           ## ## ##           ==          
        ## ## ## ## ##       ===
     /""""""""""""""""""\___/ ===-
~~~ {~~ ~~~~ ~~~ ~~~ ~~ ~~ ~ /  ===- ~~~
     \       o            __/           
      \____/           __/
       \______________/
#!/usr/bin/env bash
# `hub` is GitHub's Hub: hub.github.com
# can be replaced with regular `git`, but must use full repository URLs
function initPaths {
mkdir -p merge && cd merge
hub clone projectchrono/chrono
hub clone projectchrono/chrono-parallel
}
@andrewseidl
andrewseidl / recurse-includes.sh
Last active April 11, 2017 22:00
Given one header, recursively find all other files it #includes
#!/bin/bash
set -e
START="folly/SharedMutex.h"
ALL=$START
NEW=""
# could simplyify with `sort -t' ' -u`
while ! diff -q <(echo $ALL | tr ' ' '\n' | sort -u) <(echo $NEW | tr ' ' '\n' | sort -u) >/dev/null ; do
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname='arrow'
pkgver=0.12.1
pkgrel=10
pkgdesc="A columnar in-memory analytics layer for big data."
arch=('x86_64')
url="https://arrow.apache.org"
license=('Apache')
depends=('boost-libs' 'protobuf' 'rapidjson' 'google-glog')