Skip to content

Instantly share code, notes, and snippets.

@WinSCaP
WinSCaP / footer.js
Created July 3, 2018 08:16 — forked from daverogers/footer.js
Assign "active" class to navbar item based on current page URL with jQuery
#!/bin/sh
#This script get the current bandwidth usage for core network
#links in the LAN Zyxel and Mikrotik
#The time we are going to sleep between readings
#Also used to calculate the current usage on the interface
#30 seconds seems to be ideal, any more frequent and the data
#gets really spikey. Since we are calculating on total octets
#you will never loose data by setting this to a larger value.
#!/bin/sh
#This script get the current bandwidth usage for both the main
#Internet interface as well as the kids/guest interface and
#writes them to the InfluxDB instance running on this machine.
#The time we are going to sleep between readings
#Also used to calculate the current usage on the interface
#30 seconds seems to be ideal, any more frequent and the data
#gets really spikey. Since we are calculating on total octets
Badge Received, added
Bar No reply
Buildup No reply
Conduct No reply
Content No reply
Decoratie No reply
Design Received, added
Family Village No reply
Finance Maybe reply?
Foodcourt No reply
@WinSCaP
WinSCaP / soundex.js
Created September 21, 2016 10:30 — forked from shawndumas/soundex.js
Soundex in JavaScript
var soundex = function (s) {
var a = s.toLowerCase().split(''),
f = a.shift(),
r = '',
codes = {
a: '', e: '', i: '', o: '', u: '',
b: 1, f: 1, p: 1, v: 1,
c: 2, g: 2, j: 2, k: 2, q: 2, s: 2, x: 2, z: 2,
d: 3, t: 3,
l: 4,

Keybase proof

I hereby claim:

  • I am winscap on github.
  • I am winscap (https://keybase.io/winscap) on keybase.
  • I have a public key whose fingerprint is 43AF 35ED 8DEC 6316 433C 3936 4336 F75A 66C0 0F12

To claim this, I am signing this object: