Skip to content

Instantly share code, notes, and snippets.

Avatar

Will Hoback whoback

  • SXSW
  • Cambridge, MA
View GitHub Profile
View keybase.md

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 Sep 24, 2019
use find utility to search directory for a file with a type and string
View findexample.md

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

View gist:bb7e56dd3ff78f43182e
<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>
View gist:8156305
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?');
});