Skip to content

Instantly share code, notes, and snippets.

View JonathanKolnik's full-sized avatar

Jono Kolnik JonathanKolnik

View GitHub Profile
@devonharless
devonharless / questions.md
Last active April 22, 2018 04:04
Product Vetting - ipaulgraham.herokuapp.com
Product/User Definition
  • How are you understanding customer needs?
  • What are the top things users want?
  • Where do new users come from?
  • Who is going to be your first paying customer?
  • What resistance will they have to trying your product and how will you overcome it?
  • How does your product work in more detail?
  • How will customers and/or users find out about you?
  • How are you meeting customers?
  • What do you understand about your users?
@hopsoft
hopsoft / db.rake
Last active May 6, 2024 14:00
Rails rake tasks for dump & restore of PostgreSQL databases
# lib/tasks/db.rake
namespace :db do
desc "Dumps the database to db/APP_NAME.dump"
task :dump => :environment do
cmd = nil
with_config do |app, host, db, user|
cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump"
end
puts cmd