Skip to content

Instantly share code, notes, and snippets.

View conorjohn's full-sized avatar

Conor John O'Reilly conorjohn

View GitHub Profile
@wojteklu
wojteklu / clean_code.md
Last active May 16, 2024 20:39
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

@nmfzone
nmfzone / gist:2dc02fb73f30c47faf39005bd21d6331
Last active June 7, 2020 02:53 — forked from bigsnarfdude/gist:b2eb1cabfdaf7e62a8fc
Install Scala 2.11.8 and sbt 13.11 in Ubuntu 14.04
# Scala Installation
wget www.scala-lang.org/files/archive/scala-2.11.8.deb
sudo dpkg -i scala-2.11.8.deb
# sbt Installation
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt
@davidrapin
davidrapin / .profile
Last active January 26, 2024 08:54
Kill WebStorm when frozen (linux)
alias killws="ps -Alf |grep -i webstorm |grep -v grep |awk -F' ' '{print \$4}' |xargs kill -9 "