Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am paulbeattie on github.
  • I am paulbeattie (https://keybase.io/paulbeattie) on keybase.
  • I have a public key whose fingerprint is D81D 02AA F140 B518 CCD8 68A9 F777 7371 4057 04E4

To claim this, I am signing this object:

@paulbeattie
paulbeattie / list.php
Created February 24, 2015 12:11
GCC HH Energy Data
<?php
function endsWith($haystack, $needle) {
$length = strlen($needle);
if ($length == 0) {
return true;
}
return (substr($haystack, -$length) === $needle);
}
@paulbeattie
paulbeattie / ruby-build.20141018115353.58524.log
Created October 18, 2014 10:58
ree-1.8.7 Yosemite build failure
/var/folders/75/_yb744wd5jd1y2gf4cb4dmg80000gn/T/ruby-build.20141018115353.58524 ~/Websites/2.5
HTTP/1.1 200 OK
Content-Type: binary/octet-stream
Content-Length: 7918435
Connection: keep-alive
Date: Sat, 18 Oct 2014 09:00:20 GMT
Last-Modified: Fri, 23 May 2014 08:51:54 GMT
ETag: "8d086d2fe68a4c57ba76228e97fb3116"
Accept-Ranges: bytes
Server: AmazonS3