Skip to content

Instantly share code, notes, and snippets.

View ernstki's full-sized avatar

Kevin Ernst ernstki

  • Earth, Sol
View GitHub Profile
@ernstki
ernstki / spinner.py
Created October 17, 2018 20:35 — forked from cevaris/spinner.py
Simple Python CLI Spinner
#!/usr/bin/env python
# source: https://gist.github.com/cevaris/79700649f0543584009e
# updated to allow an arbitrary message to be displayed in front of the spinner
import itertools
import sys
import time
import threading
@ernstki
ernstki / quadratic.html
Last active August 29, 2015 14:04 — forked from anonymous/jsbin.qoxalize.html
JavaScript source to create quadratic curves between successive points drawn with the mouse
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-2.1.0.min.js"></script>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<meta charset=utf-8 />
<title>quadraticCurveTo given three points</title>
<style>
body { background:#000; margin:0px; padding:0px; overflow:hidden; }
@ernstki
ernstki / plink.cmd
Last active October 28, 2022 02:17 — forked from anonymous/plink.cmd
A simple batch wrapper around PuTTY's PLINK.EXE to fix EGit/Pageant integration on Windows for non-standard SSH port numbers