Skip to content

Instantly share code, notes, and snippets.

View jarrodparkes's full-sized avatar
🚀
Writing code!

Jarrod Parkes jarrodparkes

🚀
Writing code!
View GitHub Profile
@jarrodparkes
jarrodparkes / english-books-example.csv
Last active September 23, 2026 16:12
english-books-example.csv
id title titleEn author pages difficulty genre startedAt finishedAt notes isbn10 isbn13
en-2026-09-23-0001 Measure What Matters John Doerr 320 3 business 2018-08-04 0525536221 978-0525536222
en-2026-09-23-0002 The Effective Executive Peter Drucker 208 4 business 2018-08-12 0060833459 978-0060833459
en-2026-09-23-0003 Sprint: How to Solve Big Problems and Test New Ideas in Just Five Days Jake Knapp 288 3 design 2018-11-20 150112174X 978-1501121746
en-2026-09-23-0004 The Lean Startup Eric Ries 336 3 business 2018-11-27 0307887898 978-0307887894
en-2026-09-23-0005 Don't Make Me Think Steve Krug 216 2 design 2018-12-02 0321965515 978-0321965516
en-2026-09-23-0006 How Google Works Eric Schmidt and Jonathan Rosenburg 304 4 business 2019-01-03 1455582344 978-1455582341
en-2026-09-23-0007 High Growth Handbook Elad Gil 344 4 business 2019-01-15 1732265100 978-1732265103
en-2026-09-23-0008 Who: The A Method of Hiring Geoff Smart and Randy Street 208 2 business 2019-01-25 0345504194 978-034550419
@jarrodparkes
jarrodparkes / ExplicitNullEncodable.swift
Created December 4, 2021 02:41
ExplicitNullEncodable.swift
import Foundation
// Proposal...
/// A value that can be included in a payload (`.explicitNone` or `.some`)
/// or completely absent (`.none`). Intended for request payloads.
public enum ExplicitNullEncodable<Wrapped> {
case none
case explicitNone
case some(Wrapped)
@jarrodparkes
jarrodparkes / PULL_REQUEST_TEMPLATE.md
Created October 23, 2020 16:32
A simple template for pull requests.

Summary

[Provide a summary of the change.]

Issue

[If exists, provide a link to the corresponding JIRA issue(s).]

Code Dependencies

@jarrodparkes
jarrodparkes / release-notes.bash
Created October 13, 2020 14:59
Prints release notes by scrubbing Git commit messages that use a "[PROJECT]-[TICKET]: message" format.
#!/bin/bash
# determine branch
GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
# determine which commits you care about
if [ "$GIT_BRANCH" == "master" ]; then
# get commits between "tip of master" and "last tagged release"
LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
COMMITS=$(git log $LAST_TAG..master --pretty=format:"%h - %s (%an)")
@jarrodparkes
jarrodparkes / prepare-commit-msg.bash
Last active May 21, 2021 17:15
Loosely enforces a [PROJECT]-[TICKET] naming structure for Git commits based on Git branch name.
#!/bin/bash
# SOURCE: https://git-scm.com/docs/githooks
# SOURCE: https://gist.github.com/bartoszmajsak/1396344
#==================================================================================================#
# Loosely enforces a [PROJECT]-[TICKET] naming structure for Git commits based on Git branch name. #
#==================================================================================================#
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD 2> /dev/null)

Keybase proof

I hereby claim:

  • I am jarrodparkes on github.
  • I am jarrodparkes (https://keybase.io/jarrodparkes) on keybase.
  • I have a public key ASABKbWStLODJEQ84j8euEWL98VOSvpGo845gLzxBXtd3go

To claim this, I am signing this object: