Skip to content

Instantly share code, notes, and snippets.

View brian-penguin's full-sized avatar
💭
🌵 🎩

Brian Penguin brian-penguin

💭
🌵 🎩
View GitHub Profile
@brian-penguin
brian-penguin / project.clj
Created December 17, 2018 19:48
first test project clj
(defproject firsttest "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[cheshire "5.8.1"]
[clojure.java-time "0.3.2"]
[compojure "1.6.1"]
[conman "0.8.3"]
[cprop "0.1.13"]
@brian-penguin
brian-penguin / git-aliases-export.sh
Created August 22, 2018 14:48 — forked from miguelbermudez/git-aliases-export.sh
Git Aliases from oh-my-zsh git plugin ported to fish shell
#
# Aliases
# (sorted alphabetically)
#
# GIT #
alias g 'git'
alias ga 'git add'
@brian-penguin
brian-penguin / tmux.conf
Created November 17, 2015 21:56 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
Rails as it has never been before :)
Rails 3 AntiPatterns, Useful snippets and Recommended Refactoring. Note: Some of them are collected from different online resources/posts/blogs with some tweaks.
@brian-penguin
brian-penguin / CodeSmells.md
Last active February 21, 2017 20:21
Lets talk about Code Smells

Code Smells

Code Smells are paterns that we commonly fall into when building a code base for our project. They're troublesome bits of code and habits that can cause problems as your code base increase in size and complexity. However it's important to know code smells are realy just hints or pointers that something might be wrong.

Why is it important to be aware of code smells?

The cost of maintaining code as it increases in complexity and features becomes more difficult and as code grows these smell patterns can take root in your code base and if not monitored they can turn your code into a brittle tangle of difficult to understand methods and classes. Monitoring code smells as part of your work routines refactoring can save you time and money as your code base continues to grow.

Common code smells