Skip to content

Instantly share code, notes, and snippets.

It can be difficult to test the different scenarious for a module intended for use by including in another class.

If the class is statically defined in the spec, any later definitions extend, not replace, the first definition - which can cause test issues and breaks isolation between examples.

RSpec.describe SomeModule do
  class SomeIncluder
    include SomeModule
  end
 

It can be difficult to test the different scenarious for a module intended for use by including in another class.

If the class is statically defined in the spec, any later definitions extend, not replace, the first definition - which can cause test issues and breaks isolation between examples.

RSpec.describe SomeModule do
  class SomeIncluder
    include SomeModule
  end
 
@scarroll32
scarroll32 / my-maker-setup.md
Created March 16, 2018 18:39 — forked from traumverloren/my-maker-setup.md
My Maker Projects + Tools

My toolkit:

Frequented Websites for Supplies:

Soldering Iron/Supplies:

  • Antex XS25 Soldering Iron
@scarroll32
scarroll32 / index.html
Created August 20, 2018 21:29
Unobtrusive Video
<section class="video">
<h1>Scroll Down for lyrics</h1>
<div class="vid-wrap">
<iframe src="https://www.youtube.com/embed/wp43OdtAAkM" frameborder="0" allowfullscreen></iframe>
</div>
</section>
<section class="post">
<!--http://www.azlyrics.com/lyrics/katebush/runningupthathill.html-->
<p>"If I only could, I'd be running up that hill.
If I only could, I'd be running up that hill."</p>

Genomics - A programmer's guide.

Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.

https://www.genomicsplc.com

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options: