Skip to content

Instantly share code, notes, and snippets.

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

Lindolfo Rodrigues lorn

🏠
Working from home
View GitHub Profile

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@beneggett
beneggett / create_oauth_tables.rb
Last active August 28, 2023 18:03
Postgresql multiple schemas in rails
class DbSetup < ActiveRecord::Migration
def up
create_schema :oauth
create_table "oauth.oauth_applications" do |t|
t.string :name, null: false
t.string :uid, null: false
t.string :secret, null: false
t.text :redirect_uri, null: false
t.integer :owner_id, null: false
@dgvncsz0f
dgvncsz0f / consul.conf
Created July 18, 2014 19:06
dnsmasq.d/consul.conf
server=/ita.consul.locaweb.com.br/10.30.124.165#8600
server=/ita.consul.locaweb.com.br/10.30.124.166#8600
server=/ita.consul.locaweb.com.br/10.30.124.167#8600
server=/ita.consul.locaweb.com.br/10.30.124.168#8600
server=/ita.consul.locaweb.com.br/10.30.124.169#8600
server=/ita.consul.locaweb.com.br/10.30.124.170#8600

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@paulmillr
paulmillr / active.md
Last active June 24, 2024 13:58
Most active GitHub users (by contributions). http://twitter.com/paulmillr

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user =&gt; user.followers &gt; 1000)
@viniciusteles
viniciusteles / gist:556029
Created August 29, 2010 06:20
Sete Atitudes para Hackear a Indústria de Software
Sete Atitudes para Hackear a Indústria de Software
By Klaus Wuestefeld
1) Torne-se excelente.
Seja realmente bom em alguma coisa. Não fique só choramingando ou
querendo progredir às custas dos outros. Não pense q pq vc sentou 4
anos numa faculdade ouvindo um professor falar sobre software q vc
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo