Skip to content

Instantly share code, notes, and snippets.

View apriljunge's full-sized avatar
🚋

Gregor apriljunge

🚋
  • Braunschweig, Germany
  • 12:53 (UTC +01:00)
View GitHub Profile
@kamikat
kamikat / trig.scss
Last active December 7, 2023 12:50
SCSS/SASS module calculating sin/cos/tan using Taylor Expansion.
///////////////////////////////////////////////////////////
// Plain SASS Trigonometry Algorithm in Taylor Expansion //
// //
// Based on //
// http://japborst.net/posts/sass-sines-and-cosines //
///////////////////////////////////////////////////////////
$pi: 3.14159265359;
$_precision: 10;
@ThomasG77
ThomasG77 / index.html
Last active April 24, 2024 13:25
Demo to use Overpass JSON API with OpenLayers 3 & 4
<!DOCTYPE>
<html>
<head>
<title>Overpass JSON</title>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="https://openlayers.org/en/v4.6.5/css/ol.css" type="text/css">
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
@yinzara
yinzara / github_bitbucket_multiple_ssh_keys.md
Last active November 2, 2024 23:40
Managing SSH keys and repo cloning using multiple accounts on GitHub and BitBucket

Why Multiple SSH keys?

There are numerous reasons you may need to use multiple SSH keys for accessing GitHub and BitBucket

You may use the same computer for work and personal development and need to separate your work.

When acting as a consultant, it is common to have multiple GitHub and/or BitBucket accounts depending on which client you may be working for.

You may have different projects you're working on where you would like to segregate your access.

@kaat0
kaat0 / blocking_time_block.tex
Last active May 29, 2024 14:54
TikZ drawing of blocking times in railways
%!TEX TS-program = pdflatexmk
% Copyright 2022 Martin Scheidt, ORCID: 0000-0002-9384-8945 (ISC license)
% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
\documentclass[tikz,border=2,preview=true,convert]{standalone}
\usepackage[prefix=]{xcolor-solarized}
\usepackage{lmodern,microtype,mathptmx,courier}