Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathanaël roipoussiere

View GitHub Profile
@roipoussiere
roipoussiere / log
Created Oct 9, 2017
Radicale sync error stacktrace
View log
--- 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 Jun 20, 2017
Having troubles with Docker DNS?
View Configure_Docker_DNS.sh
# 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 Mar 7, 2017
A script to convert notes from markdown / PlantUML to HTML and Redmine wiki syntax, then publish files through rsync.
View pub.py
#!/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 Oct 10, 2016
My fish init config file.
View init.fish
#####################
### 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 Dec 13, 2017
My zsh config
View .zshrc
########################
### 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
You can’t perform that action at this time.