Skip to content

Instantly share code, notes, and snippets.

import cdpyr
from sample import robots
import timeit
def main():
# sample robot to use
r = robots.ipanema_cuboid()
import cdpyr
def ipanema_cuboid():
r = cdpyr.robot.Robot(
frame=cdpyr.robot.Frame(
anchors=[
cdpyr.robot.FrameAnchor(
position=[-1.0, 1.0, 1.0]
),
import cdpyr
from sample import robots
# from prettyprinter import pprint
from marshmallow import pprint, Schema
def main():
# c = cdpyr.robot.Cable(diameter=6.0/1000)
# cblschm: cdpyr.robot.CableSchema = cdpyr.robot.CableSchema()
# jsn = cblschm.dump(c)
@philipptempel
philipptempel / latex.this-page-intentionally-left-blank.tex
Created March 22, 2013 09:27
LaTeX: How to have "This page intentionally left blank"
\documentclass[twoside]{scrreprt}
\makeatletter
\def\cleardoublepage{\clearpage%
\if@twoside
\ifodd\c@page\else
\vspace*{\fill}
\hfill
\begin{center}
@philipptempel
philipptempel / HOWTO.mac-set-file-icon.md
Last active January 5, 2023 17:44
How to set an icon for a file type on Mac?

Q: How to set an icon for some file types throughout the whole system?

For example, I have text files that ends with .scala extension and I want to associate an icon for that files through the whole system and for any newly created file of this extension.

Gisted from http://superuser.com/questions/178316/how-to-set-an-icon-for-a-file-type-on-mac

All credits go to the author of the accepted and top-voted answer by Daniel Beck

A: How to set an icon for a file type on Mac!