Skip to content

Instantly share code, notes, and snippets.

@scarroll32
scarroll32 / .railsrc
Created October 22, 2025 19:49 — forked from lucasgeron/.railsrc
Rails Starter Pack
# place this code in ~/.railsrc
--css=tailwind
--template=~/.rails/template.rb

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:

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 / 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

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