Skip to content

Instantly share code, notes, and snippets.

View Genomics_A_Programmers_Guide.md

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

@scarroll32
scarroll32 / index.html
Created Aug 20, 2018
Unobtrusive Video
View index.html
<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>
@scarroll32
scarroll32 / my-maker-setup.md
Created Mar 16, 2018 — forked from traumverloren/my-maker-setup.md
My Maker Projects + Tools
View my-maker-setup.md

My toolkit:

Frequented Websites for Supplies:

Soldering Iron/Supplies:

  • Antex XS25 Soldering Iron
View Testing Modules with Rspec.md

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
 
View Testing Modules with Rspec.md

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