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
test |
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
# Creates a binary tree of depth `d`. Each node is represented as a python `dict`, | |
# with the value of the key "leaf" as a boolean indicating whether or not the node is a leaf node. | |
def make_tree(d): | |
assert d > 0 | |
if d == 1: return {"leaf": True} | |
else: return {"leaf": False, "left": make_tree(d-1), "right": make_tree(d-1)} | |
make_tree(1) | |
# {'leaf': True} |
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
# Ensure clang is used, by default, over any other C++ installation (e.g. gcc). | |
build --client_env=CC=clang | |
# We require C++17, but bazel defaults to C++0x (pre-C++11). | |
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --client_env=BAZEL_CXXOPTS=-std=c++17 |
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
/bazel-* |
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
load("@io_bazel_rules_go//go:def.bzl", "go_binary") | |
go_binary( | |
name = "main", | |
srcs = ["main.go"], | |
cgo = True, | |
) | |
action_listener( | |
name = "my_action_listener", |
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 python3 | |
# data from: https://smartasset.com/taxes/heres-how-the-trump-tax-plan-could-affect-you | |
# note: this applies to single filers only | |
import matplotlib.pyplot as plt | |
import numpy as np | |
brackets_old = [ | |
(9325.0, .1), |
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
# Maintainer: Maarten de Vries <[email protected]> | |
# Contributor: Nathan Ringo <[email protected]> | |
pkgname=libfreenect2 | |
pkgver=0.2.0 | |
pkgrel=3 | |
pkgdesc="Open source drivers for the Kinect for Windows v2" | |
arch=(i686 x86_64) | |
url="http://openkinect.org" | |
license=(Apache GPL) |
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
# Script generated with import_catkin_packages.py | |
# For more information: https://github.com/bchretien/arch-ros-stacks | |
pkgdesc="ROS - Libraries and examples for ROSserial usage on Arduino/AVR Platforms." | |
url='http://ros.org/wiki/rosserial_arduino' | |
pkgname='ros-jade-rosserial-arduino' | |
pkgver='0.7.5' | |
_pkgver_patch=0 | |
arch=('any') | |
pkgrel=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
# Script generated with import_catkin_packages.py | |
# For more information: https://github.com/bchretien/arch-ros-stacks | |
pkgdesc="ROS - Generalized client side source for rosserial." | |
url='http://ros.org/wiki/rosserial_client' | |
pkgname='ros-jade-rosserial-client' | |
pkgver='0.7.5' | |
_pkgver_patch=0 | |
arch=('any') | |
pkgrel=1 |
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
# Script generated with import_catkin_packages.py | |
# For more information: https://github.com/bchretien/arch-ros-stacks | |
pkgdesc="ROS - Messages for automatic topic configuration using rosserial." | |
url='http://ros.org/wiki/rosserial_msgs' | |
pkgname='ros-jade-rosserial-msgs' | |
pkgver='0.7.5' | |
_pkgver_patch=0 | |
arch=('any') | |
pkgrel=0 |
NewerOlder