Skip to content

Instantly share code, notes, and snippets.

@skylercole
skylercole / index.html
Created May 25, 2023 15:21
js-mindmap example
<ul>
<li><a href="http://jeffbarcay.com/">ALS</a>
<ul>
<li><a href="#" target="_blank" data-content="chest-pain" style="background:green !important;">Chest Pain</a></li>
<li><a href="#" target="_blank" data-content="head-pain" color="blue">Head Pain</a></li>
<li><a href="#" target="_blank" class="icon facebook">Allergic Reaction</a></li>
<li><a href="https://www.google.com" target="_blank" class="icon twitter" title="goo">Diabetic</a></li>
<li><a href="#">STEMI</a>
<ul>
<li><a href="#" target="_blank" class="icon twitter" title="9">ACS</a></li>
@skylercole
skylercole / clean_code.md
Created August 11, 2020 09:43 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules