Skip to content

Instantly share code, notes, and snippets.

@roipoussiere
roipoussiere / pyproject.toml
Last active April 17, 2022 21:48
Poetry issue
[tool.poetry]
name = "cadquery"
version = "2.1"
description = "A python parametric CAD scripting framework based on OCCT"
authors = [ "Parametric Products Intellectual Holdings, LLC" ]
[tool.poetry.dependencies]
python = "^3.8"
ocpvtk = [
{ python = "~3.8", markers = "platform_system == 'Linux'", url = "https://github.com/roipoussiere/OCP/releases/download/7.5.3/ocp_vtk-7.5.3.0-cp38-cp38-manylinux_2_31_x86_64.whl" },
[tool.poetry]
name = "cadquery"
version = "2.1"
description = "A python parametric CAD scripting framework based on OCCT"
authors = [ "Parametric Products Intellectual Holdings, LLC" ]
[tool.poetry.dependencies]
python = "^3.9"
# each url below must be replaced by the url of the wheel generated by the CI.
ocpvtk = [
@roipoussiere
roipoussiere / log
Created October 9, 2017 16:33
Radicale sync error stacktrace
--- BEGIN DEBUG INFO ---
LOGS:
2017-10-09 18:17:01 4 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
2017-10-09 18:17:01 4 [ui.setup.DavResourceFinder] Checking user-given URL: https://miaou.nohost.me/radicale/
2017-10-09 18:17:01 4 [HttpClient] --> PROPFIND https://miaou.nohost.me/radicale/
2017-10-09 18:17:01 4 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-10-09 18:17:01 4 [HttpClient] Content-Length: 290
2017-10-09 18:17:01 4 [HttpClient] Depth: 0
2017-10-09 18:17:01 4 [HttpClient]
@roipoussiere
roipoussiere / Configure_Docker_DNS.sh
Created June 20, 2017 14:22
Having troubles with Docker DNS?
# First, verify that your Docker DNS are actually incorrecly configured
# by dowloading the Debian image, creating a container and ping the Debian archives repository from it.
# $ docker run -it debian ping 128.31.0.62 # the IP of the repository
# This should work:
# > [...] 2 packets transmitted, 2 packets received, 0% packet loss
# If not, this is not a DNS issue.
# $ docker run -it debian ping deb.debian.org # the URL of the repository
# If you get this message:
@roipoussiere
roipoussiere / pub.py
Created March 7, 2017 18:48
A script to convert notes from markdown / PlantUML to HTML and Redmine wiki syntax, then publish files through rsync.
#!/usr/bin/env python
# -*- coding: utf-8 -*
"""
From a folder containing a set of markdown files, this script:
- generate HTML files;
- generate RedMine-compliant Textile files;
- generate UML diagrams (from PlantUML syntax) and insert the in HTML and Textile files;
- send images and HTML files to a server through rsync.
"""
@roipoussiere
roipoussiere / init.fish
Created October 10, 2016 18:06
My fish init config file.
#####################
### SET VARIABLES ###
#####################
set PATH /usr/local/bin $HOME/.anaconda3/bin $HOME/scripts/ $PATH
set EDITOR nano
set JAVA_HOME /usr/lib/jvm/java-7-oracle
###############
### ALIASES ###
@roipoussiere
roipoussiere / .zshrc
Last active December 13, 2017 20:24
My zsh config
########################
### VARIABLES EXPORT ###
########################
# Path
export PATH=$HOME/bin:/usr/local/bin:$HOME/.anaconda3/bin:$HOME/scripts/:$PATH
# Shell
export EDITOR=nano
export ZSH=$HOME/.oh-my-zsh # path to oh-my-zsh installation