Skip to content

Instantly share code, notes, and snippets.

View kenhkelly's full-sized avatar
👋

Ken Kelly kenhkelly

👋
View GitHub Profile
@kenhkelly
kenhkelly / remove.txt
Last active December 30, 2017 16:09
Remove all facebook page invites. Run in console on https://www.facebook.com/pages/?category=invites
var els = document.querySelectorAll('[data-tooltip-content="Remove Suggestion"]')
for (var i = 0; i < els.length; i++) {
els[i].click();
}
@kenhkelly
kenhkelly / remove.txt
Created December 30, 2017 16:08
Remove all facebook page invites. Run in console on facebook pages invite tab.
var els = document.querySelectorAll('[data-tooltip-content="Remove Suggestion"]')
for (var i = 0; i < els.length; i++) {
els[i].click();
}
@kenhkelly
kenhkelly / README.md
Last active August 24, 2017 17:54 — forked from brattonc/README.md
D3 Liquid Fill Gauge

Liquid Fill Gauge v1.1 - 7/14/2015

Changes:

  • Added support for updating the gauge value after loading is complete. The loadLiquidFillGauge method now returns an object with an update method which allows the gauge value to be changed. Click any of the gauges above to randomly update their value.

Configurable features include:

  • Changeable min/max values.
  • All colors.
@kenhkelly
kenhkelly / README.md
Last active August 29, 2015 14:27 — forked from anonymous/index.html
Javascript - Format date like PHP // source http://jsbin.com/vejujohiqu
<style id="jsbin-css">
body { font: bold medium monospace; }
.demolist { margin: 0; padding: 0; list-style-type: none; overflow: hidden; }
.demolist li { float: left; width: 5em; height: 5em; text-align: center; }
</style>
<ul class="demolist">
<li></li>
<li></li>
<li></li>
<li></li>