Skip to content

Instantly share code, notes, and snippets.

View gregjw's full-sized avatar
😇
I may be slow to respond.

Greg Worrall gregjw

😇
I may be slow to respond.
View GitHub Profile
@gregjw
gregjw / pollfish.js
Last active March 5, 2020 15:19
pollfish
var PollfishHelper = function (e, i) {
var t = function (e, t) {
var r = new Date;
r.setTime(r.getTime() + 15768e7);
var o = "expires=" + r.toUTCString();
i.cookie = e + "=" + t + "; " + o
},
r = function (e) {
for (var t = e + "=", r = i.cookie.split(";"), o = 0; o < r.length; o++) {
for (var n = r[o];

Keybase proof

I hereby claim:

  • I am gregjw on github.
  • I am gregjw (https://keybase.io/gregjw) on keybase.
  • I have a public key ASAJD2Y-ouCzlWxRorxbgY8MVhMB2AoBWU8ryuh13vOtdgo

To claim this, I am signing this object:

@gregjw
gregjw / index.html
Created May 11, 2017 14:47 — forked from liuyanghejerry/index.html
Modern index file in 2017
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<head>
<!-- content-type, which overrides http equivalent header. Because of charset, this meta should be set at first. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- Overrides http equivalent header. This tells IE to use the most updated engine. -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<!-- Tells crawlers how to crawl this page, and the role of this page. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta -->
<meta name="robots" content="index, follow">
@gregjw
gregjw / index.html
Created May 11, 2017 14:47 — forked from liuyanghejerry/index.html
Modern index file in 2017
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<head>
<!-- content-type, which overrides http equivalent header. Because of charset, this meta should be set at first. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- Overrides http equivalent header. This tells IE to use the most updated engine. -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<!-- Tells crawlers how to crawl this page, and the role of this page. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta -->
<meta name="robots" content="index, follow">