Skip to content

Instantly share code, notes, and snippets.

@AllenMay
AllenMay / random_RSVP.js
Last active February 7, 2018 11:48
Get random RSVP for Meetup
javascript: alert(Array.prototype.slice.call(document.querySelectorAll("a h4.text--bold"),0).sort(
function () {
return Math.random() -0.5;
}
)[0].innerText);

Keybase proof

I hereby claim:

  • I am allenmay on github.
  • I am allenhmay (https://keybase.io/allenhmay) on keybase.
  • I have a public key whose fingerprint is AD1D 0AFE 1E8B D3A0 439A FE58 FEE6 2591 5E1E 9709

To claim this, I am signing this object:

@AllenMay
AllenMay / Gruntfile.js
Created February 3, 2015 01:27
My Yeoman generator-ember file
// Generated on 2015-02-02 using generator-ember 0.8.5
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing
// for performance reasons we're only matching one level down:
@AllenMay
AllenMay / gist:1992185
Created March 7, 2012 09:31
HTML: Starting Template
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title></title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>