Skip to content

Instantly share code, notes, and snippets.

View SnuktheGreat's full-sized avatar

Snuk the Great SnuktheGreat

  • @timeseriesnl
  • Utrecht, The Netherlands
View GitHub Profile
@SnuktheGreat
SnuktheGreat / dcqlsh
Last active May 8, 2017 16:02
Docker wrapper for cqlsh
#!/usr/bin/env bash
CONTAINER=""
CQLSH=()
# Parse options
while [[ $# -gt 0 ]]
do
key="$1"
@SnuktheGreat
SnuktheGreat / vault_find.sh
Created July 18, 2017 11:57
Script to use "vault list" to find stuff in vault.
#!/usr/bin/env bash
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
cat << EOF
Usage: vault_find [needle] [haystack*]
Searches through the entire vault directory to find the given needle in the given haystack.
Warning: This script uses "vault list" and can be quite slow.
options:
@SnuktheGreat
SnuktheGreat / modlist.md
Last active October 20, 2020 02:20
Fallout 4 VR mod list

Fallout 4 VR playthrough modlist

@SnuktheGreat
SnuktheGreat / readme.md
Last active December 3, 2023 11:13
Auto playing SVG keyframe animation

SVG file embedded with Javascript <script> to play a keyframed animation. Looks for layers named frame_X, where X is parsed as the frame number.

You can add the following HTTP query paramaters for additional control:

  • fps (default: 12)
  • reload (default: false) - Reload after one full animation

The rotating star is not the best example, since rotation can be done by SVG animations. I may update this with a proper example at some point.

Based on https://www.reddit.com/r/Inkscape/comments/ut05ra/keyframe_animation_svg_open_in_browser_to_play/