Skip to content

Instantly share code, notes, and snippets.

View jonasjonas's full-sized avatar

Frank Hellenkamp jonasjonas

View GitHub Profile
@stereokai
stereokai / index.css
Created June 18, 2017 11:03
Trigonometry in CSS
//----------------------------------*\
// TRIGONOMETRY FUNCTIONS
//----------------------------------*/
// # Trigonometry in CSS
//
// - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf
// - Useful if you don't want to use JS.
// - With CSS Variables.
// - `calc()` can't do power (x ^ y) so I used multiplication instead.
@jonasjonas
jonasjonas / checkTmVolume
Last active May 3, 2016 17:35
automatic zfs snapshot taking for Time Machine Volumes after verifying the disk image
#!/bin/bash
DMG="$1"
if [ -d "$DMG" ]; then
OUTPUT=$( hdiutil attach -nomount $DMG )
SUCCESS=$?
if [[ $SUCCESS != 0 ]]; then
echo "Could not mount $DMG"
exit $SUCCESS
fi
@andreasheil
andreasheil / CoreOs2JiffyBox.md
Last active February 5, 2018 16:09
CoreOS und JiffyBox

CoreOS und JiffyBox

JiffyBox erstellen

  1. Klick auf Neue JiffyBox erstellen
  2. Distribution ist egal (wird später überschrieben)
  3. Kennwort ist auch egal (wird ja auch überschrieben)
  4. Warten bis die JiffyBox erstellt ist
@murtaugh
murtaugh / 1. single-line.html
Last active April 21, 2021 16:23
Blockquote patterns for ALA
<figure class="quote">
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote>
</figure>