Skip to content

Instantly share code, notes, and snippets.

View schlichtanders's full-sized avatar

Stephan Sahm schlichtanders

View GitHub Profile
@schlichtanders
schlichtanders / rürupp-rechnung.jl
Created September 1, 2021 11:49
Beispiel Vergleich von Rürupp vs Private Rentenversicherung
### A Pluto.jl notebook ###
# v0.15.1
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))
@schlichtanders
schlichtanders / mwe_layout_table.html
Created October 24, 2016 07:40
bokeh datatable has some little layout issues when combined with bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bokeh Table Header Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
@schlichtanders
schlichtanders / mwe_layout_plots.html
Last active October 26, 2016 11:53
bokeh layout. This gist shows some unexpected behaviour of the layout.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bokeh Plots Responsiveness Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
@schlichtanders
schlichtanders / Texify-Mathjax.user.js
Last active February 9, 2016 11:00 — forked from goatandsheep/Texify-Mathjax.js
A Tampermonkey / Greasemonkey script that turns LaTeX code on page into mathematical symbols using MathJax
// ==UserScript==
// @name TeXify the World MathJax
// @namespace
// @version 1.0
// @description Enables MathJax to process LaTeX on all websites. Based off SOUP (Stack Overflow Unofficial Patch) and http://www.math.ucla.edu/~robjohn/math/mathjax.html.
// @include *
// @copyright
// ==/UserScript==
/*
var mathjaxVersion = "http://cdn.mathjax.org";
@schlichtanders
schlichtanders / latex_test.html
Created September 14, 2014 21:07
ipython notebook example showing bugs in latex conversion
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>latex_test</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>