Skip to content

Instantly share code, notes, and snippets.

View iamkevinv's full-sized avatar

Kevin Vanderbeken iamkevinv

View GitHub Profile
@iamkevinv
iamkevinv / keybase.md
Created June 18, 2017 07:55
Public signing

Keybase proof

I hereby claim:

  • I am iamkevinv on github.
  • I am iamkevinv (https://keybase.io/iamkevinv) on keybase.
  • I have a public key ASDTGTFktSgnSXkZX77u-PmgxIUlZyqtSt1KdWnFs4Qcbwo

To claim this, I am signing this object:

@iamkevinv
iamkevinv / index.html
Last active January 17, 2017 10:47 — forked from sfinktah/index.html
d3-map-visible-area-coordinates
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
.info {
position: absolute;
@iamkevinv
iamkevinv / .block
Last active August 5, 2019 04:43 — forked from mbostock/.block
Zoom to Bounding Box II - Updated for d3 v4
license: gpl-3.0
@iamkevinv
iamkevinv / vpn-status.sh
Created December 21, 2015 04:21 — forked from aelveborn/vpn-status.sh
Synology DSM 5 VPN reconnection script.Save file to /usr/openVPNreconnect then run chmod +x /usr/openVPNreconnect. Schedule by following http://forum.synology.com/enu/viewtopic.php?f=241&t=65444
# Replace o1234567890 with your OpenVPN id. To get your id, start the VPN and run ps|grep client_o
# Replace YOUR_VPN_NAME with the name of your VPN profile in DSM 5 admin panel.
if echo `ifconfig tun0` | grep -q "00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00"
then
echo "VPN is running"
else
echo conf_id=o1234567890 > /usr/syno/etc/synovpnclient/vpnc_connecting
echo conf_name=YOUR_VPN_NAME >> /usr/syno/etc/synovpnclient/vpnc_connecting
echo proto=openvpn >> /usr/syno/etc/synovpnclient/vpnc_connecting
@iamkevinv
iamkevinv / NeoPixelTest.ino
Last active April 22, 2016 06:35 — forked from dougalcampbell/NeoPixelTest.ino
Example of driving an Adafruit NeoPixel Ring with the Digispark Arduino-compatible board
#include <Adafruit_NeoPixel.h>
#define PIN 1
#define STRIPSIZE 16
// Parameter 1 = number of pixels in strip
// Parameter 2 = pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
@iamkevinv
iamkevinv / setup.sh
Last active August 29, 2015 14:22 — forked from marklawlor/setup.sh
Setup things for a new mac
#!/bin/bash
#
# Helper functions
#
function pause(){
read -p "$*"
}
@iamkevinv
iamkevinv / dabblet.css
Created December 4, 2013 04:09
Just for fun™: Flickr spinner in pure CSS - Lea L
/**
* Just for fun™: Flickr spinner in pure CSS - Lea L
*/
@keyframes move {
to { left: 50%; }
}
@keyframes cover {
from,49.9% { z-index: 1 }