Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Philipp Tempel philipptempel

🎯
Focusing
Block or report user

Report or block philipptempel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cdpyr.sandbox.streams.py
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)
View cdpyr.sandbox.kinematics.py
import cdpyr
from sample import robots
import timeit
def main():
# sample robot to use
r = robots.ipanema_cuboid()
View sample.robots.py
import cdpyr
def ipanema_cuboid():
r = cdpyr.robot.Robot(
frame=cdpyr.robot.Frame(
anchors=[
cdpyr.robot.FrameAnchor(
position=[-1.0, 1.0, 1.0]
),
@philipptempel
philipptempel / HOWTO.mac-set-file-icon.md
Last active Mar 17, 2020
How to set an icon for a file type on Mac?
View HOWTO.mac-set-file-icon.md

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!

@philipptempel
philipptempel / latex.this-page-intentionally-left-blank.tex
Created Mar 22, 2013
LaTeX: How to have "This page intentionally left blank"
View latex.this-page-intentionally-left-blank.tex
\documentclass[twoside]{scrreprt}
\makeatletter
\def\cleardoublepage{\clearpage%
\if@twoside
\ifodd\c@page\else
\vspace*{\fill}
\hfill
\begin{center}
You can’t perform that action at this time.