Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcelo Adamatti adamatti

View GitHub Profile
@adamatti
adamatti / README.md
Last active Apr 18, 2020
Corona / Covid
@yogthos
yogthos / clojure-beginner.md
Last active Aug 12, 2022
Clojure beginner resources
View clojure-beginner.md

Introductory resources

@dwildt
dwildt / openhackrs-principios.txt
Last active Dec 13, 2019
Open Hack RS - Funcionamento base e princípios.
View openhackrs-principios.txt
/// OpenHackRS - Open Hack Rio Grande do Sul
/// https://www.meetup.com/OpenHackRS/
TL;DR; Queremos fazer eventos para codar. Reunir pessoas interessadas em
desenvolvimento de software, interessadas em aprender novas tecnologias.
Quer participar de eventos? Se inscreva no https://www.meetup.com/OpenHackRS/.
Quer ajudar a organizar eventos? Procura pelo dwildt no Telegram.
/// Qual a ideia?
@adamatti
adamatti / .editorconfig
Last active Nov 1, 2019
Default files - Java #bootstrap
View .editorconfig
root = true
[*.{groovy,gradle}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
[Makefile]
@wojteklu
wojteklu / clean_code.md
Last active Aug 14, 2022
Summary of 'Clean code' by Robert C. Martin
View clean_code.md

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

@ngpestelos
ngpestelos / remove-docker-containers.md
Last active Aug 1, 2022
How to remove unused Docker containers and images
View remove-docker-containers.md

May 8, 2018

I wrote this four years ago, so instead use this command:

$ docker rmi $(docker images -q -f dangling=true)
@johand
johand / install.sh
Created Aug 21, 2013
heroku toolbelt installer without sudo
View install.sh
HEROKU_CLIENT_URL="http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client.tgz"
echo "This script requires superuser access to install software."
echo "You will be prompted for your password."
su -c "sh <<SCRIPT
# download and extract the client tarball
rm -rf /usr/local/heroku
mkdir -p /usr/local/heroku