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
#include "moda.h" | |
#include <pybind11/pybind11.h> | |
#include <pybind11/stl_bind.h> | |
namespace py = pybind11; | |
PYBIND11_MODULE(moda, m) { | |
py::class_<A, std::shared_ptr<A>>(m, "A") | |
; |
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
#include <vector> | |
#include <boost/shared_ptr.hpp> | |
#include <pybind11/pybind11.h> | |
#include <pybind11/stl_bind.h> | |
namespace py = pybind11; | |
class A { | |
}; |
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
#!/bin/bash | |
get_branches() { | |
git branch -r | tail -n +2 | sed "s|^[^/]*/||" | sort | |
} | |
branches_were=$(get_branches) | |
git fetch | |
branches_are=$(get_branches) |
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
#!/bin/bash | |
set -e | |
temp=$(mktemp) | |
grep -nHr "$@" > "$temp" | |
vim -c "lgetfile $temp" -c "lw" -c "wincmd o" | |
rm "$temp" |
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: AWhetter <ashley awhetter couk> | |
# Note: sesinet is installed to /opt/houdini/houdini/sbin | |
# Note: You may want to add /opt/houdini/bin to your PATH | |
pkgname=('houdini' 'houdini-maya-engine') # TODO: hqueue-server hqueue-client | |
pkgbase=houdini | |
_pkgver_major=14 | |
_pkgver_minor=0 | |
_pkgver_build=201.13 |
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
import itertools | |
from panda3d.core import NodePath | |
from panda3d.core import TransformState | |
from panda3d.core import Vec3 | |
from panda3d.bullet import BulletBoxShape | |
from panda3d.bullet import BulletConeShape | |
from panda3d.bullet import BulletConvexHullShape | |
from panda3d.bullet import BulletCylinderShape |
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
main = readFile "input.txt" >>= (writeFile "output.txt").reverse |