Skip to content

Instantly share code, notes, and snippets.

View sriram275's full-sized avatar

Sriram sriram275

View GitHub Profile
@sriram275
sriram275 / clean_code.md
Created August 11, 2022 16:38 — 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

@sriram275
sriram275 / bootstrap_3_full_class_list
Created October 25, 2016 15:04 — forked from cosmicscr/bootstrap_3_full_class_list
bootstrap 3 full class list
Here are all the classes from Bootstrap 3 (version 3.1.1).
Method of extraction:
1. Download Bootstrap 3 and rename bootstrap.css as "bootstrap.html"
2. Add the following 24 lines of code to the very bottom of the bootstrap.html file:
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
<script>
<?xml version="1.0" encoding="UTF-8"?>
<response>
<reviews type="array">
<review>
<id type="integer">5</id>
<description><![CDATA[Een prettige organisatie om trainingen te volgen, het voorbereidend traject alsmede de benadering gedurende de training zijn communicatief erg sterk.
De trainers zijn van hoge kwaliteit met zeer kundige ervaring en een hoog kennisgehalte.
Daarnaast zijn de trainers hier zeer zeker bereid om ook buiten de reguliere uren hun diensten te verlenen.]]></description>
<author-name> Gerben</author-name>