Skip to content

Instantly share code, notes, and snippets.

View erichmachado's full-sized avatar
🏠
Working from home

Erich Soares Machado erichmachado

🏠
Working from home
View GitHub Profile
@lucasbf
lucasbf / Free_Textbooks.md
Last active September 9, 2020 19:21
Lista de livros liberados gratuitamente para download por diversas editoras.

Livros Gratuitos em Computação

Em tempos de COVID-19 algumas editoras liberaram uma série de livros do seu acervo em formato ebook para download. Entre elas a SpringerNature disponibilizou ebooks em diversas áreas do conhecimento, a lista completa pode ser vista aqui.

Entretanto, uma seleção foi realizada na lista geral e contempla os principais títulos para a área da Ciência da Computação e Análise e Desenvolvimento de Sistemas. São 60 livros que estão divididos em Matemática e Teoria da Computação, Programação e Desenvolvimento de Software, Ciência de Dados e Aprendizado de Máquina, e por fim Diversos.

O nível Básico ou Avançado é indicado em cada livro.

Qualquer dúvida e/ou sugestão de correção deixe um comentário ao final do gist, ou me encontre em @lucasfigueira.

@jjb
jjb / file.md
Created February 4, 2018 16:27
Active Record Connection Management in Rails 5.1 or lower
@ygrenzinger
ygrenzinger / CleanArchitecture.md
Last active June 13, 2024 09:52
Summary of Clean Architecture by Robert C. Martin

Summary of book "Clean Architecture" by Robert C. Martin

Uncle Bob, the well known author of Clean Code, is coming back to us with a new book called Clean Architecture which wants to take a larger view on how to create software.

Even if Clean Code is one of the major book around OOP and code design (mainly by presenting the SOLID principles), I was not totally impressed by the book.

Clean Architecture leaves me with the same feeling, even if it's pushing the development world to do better, has some good stories and present robust principles to build software.

The book is build around 34 chapters organised in chapters.

@chesterbr
chesterbr / brasileiros_toronto.md
Last active October 28, 2019 16:51
Sugestões para Brasileiros visitando Toronto

Sempre que alguém visita Toronto (em particular vindo do Brasil) a gente fica em dúvida sobre onde levar/recomendar.

O @djlebersilvestre compartilhou comigo uma lista de sugestões. Eu fiz alguns adendos e publiquei aqui. Sugestões são bem-vindas!

Locais / passeios

  • CN Tower (A visita vale a pena. O restaurante é um pouco caro - pelo preço tem opções melhores, mas é giratório)
  • Ripley's Aquarium
  • Real Sports Bar
  • Distillery District (falam que o restaurante Clooney é muito bom)

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@scy
scy / opening-and-closing-an-ssh-tunnel-in-a-shell-script-the-smart-way.md
Last active July 18, 2024 07:57
Opening and closing an SSH tunnel in a shell script the smart way

Opening and closing an SSH tunnel in a shell script the smart way

I recently had the following problem:

  • From an unattended shell script (called by Jenkins), run a command-line tool that accesses the MySQL database on another host.
  • That tool doesn't know that the database is on another host, plus the MySQL port on that host is firewalled and not accessible from other machines.

We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like

ssh -L 3306:localhost:3306 remotehost

@x2q
x2q / wd-live-s3-backup.sh
Last active February 19, 2018 00:29
WD My Book Live Duplicity Back Up To Amazon S3 (and Glacier). See this blog post for more info: http://www.x2q.net/blog/2013/02/24/howto-backup-wd-mybook-live-to-amazon-s3-and-glacier/
#!/bin/sh
# WD Live Duplicity Back Up To Amazon S3 (and Glacier)
#
# Requires python-boto, duplicity, util-linux, and trickle to be installed
# Install using: apt-get install python-boto duplicity util-linux trickle
#
# See this blog post for more info:
# http://www.x2q.net/blog/2013/02/24/howto-backup-wd-mybook-live-to-amazon-s3-and-glacier/
@Deradon
Deradon / live.rb
Last active December 16, 2016 14:36
Re-run a command whenever a file in directory is changed!
#!/usr/bin/env ruby
# Re-run a command whenever a file in directory is changed!
#
# Inspired by: http://ngauthier.com/2012/02/quick-tests-with-bash.html
# Thanks Nick!
#
# Patrick Helm (me@patrick-helm.de), 2013
#
#
@henrik
henrik / README.markdown
Created June 26, 2012 07:30
This is how we test that all translation keys match up between locales, in Rails.

This is how we test that all translation keys match up between locales.

Stuff that only goes in one locale (such as an admin section) or that can't be translated yet (if you use external translators) can simply go in files that don't match the path "config/locales/??.yml", like "config/locales/wip.fo.yml".