Skip to content

Instantly share code, notes, and snippets.

View whoback's full-sized avatar

Will Hoback whoback

  • SXSW
  • Cambridge, MA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am whoback on github.
  • I am whoback (https://keybase.io/whoback) on keybase.
  • I have a public key ASDlBoVEWhRAuNW-EdAuRUR5E1k9hbOL0LOz1-T7Ra3fZQo

To claim this, I am signing this object:

@whoback
whoback / findexample.md
Last active September 24, 2019 21:40
use find utility to search directory for a file with a type and string

This lets us find all files which match have filetype and search string in their file names.

find . -iname '*.filetype' -iname '*search string*' -print

working example to find .pdf file that contain algorithm in the name

find . -iname '*algorithm*' -iname '*.pdf' -print

@whoback
whoback / gist:bb7e56dd3ff78f43182e
Created June 17, 2015 17:01
HBR Shopping Cart
<shopping-cart class="backdrop-lightest clearfix">
<div class="row">
<div class="content-area column">
<!-- header -->
<div class="row">
<div class="small-12 medium-9 medium-centered columns">
<h2 class="subheader mvl text-center">Shipping &amp; Payment Information</h2>
</div>
</div>
@whoback
whoback / gist:8156305
Created December 28, 2013 05:16
JSKoans errors
module("About Numbers (topics/about_numbers.js)");
test("types", function() {
var typeOfIntegers = typeof(6);
var typeOfFloats = typeof(3.14159);
equal(true, typeOfIntegers === typeOfFloats, 'are ints and floats the same type?');
equal("number", typeOfIntegers, 'what is the javascript numeric type?');
equal(1, 1.0, 'what is a integer number equivalent to 1.0?');
});