Skip to content

Instantly share code, notes, and snippets.

@jfedtq
jfedtq / gitflow-breakdown.md
Created November 20, 2017 14:01 — forked from ubante/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
git commit --allow-empty -m "Initial commit"
git checkout -b develop master

Connect to the remote repository

@jfedtq
jfedtq / genders.sql
Created May 24, 2016 11:25 — forked from umbrae/genders.sql
Roughly detect gender by first name in SQL
-- This table is useful for rough statistics based on gender
-- Don't consider it scientific in any way.
--
-- Example use:
-- select COALESCE(
-- (SELECT gender
-- FROM gender_types
-- WHERE name=users.first_name
-- LIMIT 1),
-- 'U') gender_type, count(*)