Skip to content

Instantly share code, notes, and snippets.

View ZelphirKaltstahl's full-sized avatar

Zelphir Kaltstahl ZelphirKaltstahl

  • Germany
View GitHub Profile
[tool.poetry]
name = "replaced"
version = "0.1.0"
description = ""
authors = ["replaced"]
[tool.poetry.dependencies]
python = "^3.6"
pandas = [
{ version = "^1.0", python = "^3.6.1" },
@ZelphirKaltstahl
ZelphirKaltstahl / troubleshooting.org
Created April 3, 2019 20:25
troubleshooting org-mode async

Issue Reporting Checklist

This checklist will help you diagnose problems with your ob-async setup.

Instructions

Execute the src blocks one at a time with ctrl-c ctrl-c to ensure that ob-async-org-babel-execute-src-block is used for files

@ZelphirKaltstahl
ZelphirKaltstahl / Dockerfile
Created January 16, 2018 21:33
Racket in Docker (debian:jessie)
################
# DEBIAN IMAGE #
################
FROM debian:jessie
########
# META #
########
MAINTAINER "Zelphir Kaltstahl <zelphirkaltstahl@gmail.com>"
@ZelphirKaltstahl
ZelphirKaltstahl / useful_commands.sh
Created October 8, 2017 17:17
This gist contains useful terminal commands for actions, which might come up sometimes.
# find the 10 largest directories from the point of the current working directory
du -hsx * | sort -rh | head -10
@ZelphirKaltstahl
ZelphirKaltstahl / stacktrace
Created February 22, 2017 23:24
Squeak Stacktrace
From: zelphirkaltstahl@gmail.com
To: squeak-dev@lists.squeakfoundation.org
Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #binary
Tried to install Metacello in order to install Koans.
23 February 2017 12:22:55.478149 am
VM: unix - Smalltalk
Image: Squeak5.1 [latest update: #16549]
@ZelphirKaltstahl
ZelphirKaltstahl / .emacs
Last active March 10, 2017 18:21
GNU Emacs 24 config file
;; deactivate version control integration, so that emacs starts up faster
(setq vc-handled-backends ())
;(setq-default vc-handled-backends nil)
;(eval-after-load "vc" '(remove-hook 'find-file-hooks 'vc-find-file-hook))
;; Installation of el-get
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(unless (require 'el-get nil 'noerror)
(with-current-buffer
@ZelphirKaltstahl
ZelphirKaltstahl / system-command.rkt
Last active April 11, 2021 15:18
Racket code for running system commands with nice output
#lang racket
(require racket/system)
;; racket -l errortrace -t system-command.rkt
;; a general print function
(define (printline elems #:sep [sep " "] #:end [end "\n"] #:element-converter [element-converter identity])
(define (iter remaining-elements result-string)
(cond
@ZelphirKaltstahl
ZelphirKaltstahl / jiaxian-triangle
Last active February 4, 2017 23:22
Racket implementation for JiaXian triangle
#lang racket
(define (Mb-to-B n) (* n 1024 1024))
(define MAX-BYTES (Mb-to-B 64))
(custodian-limit-memory (current-custodian) MAX-BYTES)
(define nil (list))
(define (string-multiplier a-string factor)
(cond
@ZelphirKaltstahl
ZelphirKaltstahl / pandoc-template-english.tex
Created November 3, 2016 14:08
Pandoc template for English documents
% BETTER ERROR MESSAGES
\errorcontextlines 10000
% DOCUMENT ATTRIBUTES
\documentclass[11pt, a4paper, parskip=full, openany, twoside]{book}
% 12pt : main font size
% a4paper : paper format
% parskip=full : ???
% openany : no need for an additional (second) pagebreak after a chapter to move new chapters always to the right page
\usepackage[
@ZelphirKaltstahl
ZelphirKaltstahl / pandoc-template-german.tex
Created November 3, 2016 14:07
Pandoc template for German documents
% BETTER ERROR MESSAGES
\errorcontextlines 10000
% DOCUMENT ATTRIBUTES
\documentclass[11pt, a4paper, parskip=full, openany, twoside]{book}
% 12pt : main font size
% a4paper : paper format
% parskip=full : ???
% openany : no need for an additional (second) pagebreak after a chapter to move new chapters always to the right page
\usepackage[