Skip to content

Instantly share code, notes, and snippets.

View ZelphirKaltstahl's full-sized avatar

Zelphir Kaltstahl ZelphirKaltstahl

  • Germany
View GitHub Profile
@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 / .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 / stacktrace
Created February 22, 2017 23:24
Squeak Stacktrace
From: [email protected]
To: [email protected]
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 / 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 / Dockerfile
Created January 16, 2018 21:33
Racket in Docker (debian:jessie)
################
# DEBIAN IMAGE #
################
FROM debian:jessie
########
# META #
########
MAINTAINER "Zelphir Kaltstahl <[email protected]>"
@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

[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" },