Skip to content

Instantly share code, notes, and snippets.

View Lazercat's full-sized avatar

Jesse Lewis Lazercat

  • Eugene, OR
  • 19:49 (UTC -08:00)
View GitHub Profile
@sbimochan
sbimochan / unique-branches.md
Last active January 16, 2023 13:36
Get All unique commits going to staging branch from dev or other

Make sure you pulled all the commits in dev and staging branch

Approriately change if needed for master and staging.

git log origin/staging..origin/dev --oneline --no-merges

Press enter and grab all the result in clipboard

Fire up the console

@tliron
tliron / rest.py
Last active December 8, 2025 02:33
Simple and functional REST server for Python (2.7) using no dependencies beyond the Python standard library.
#!/usr/bin/env python
'''
Simple and functional REST server for Python (2.7) using no dependencies beyond the Python standard library.
Features:
* Map URI patterns using regular expressions
* Map any/all the HTTP VERBS (GET, PUT, DELETE, POST)
* All responses and payloads are converted to/from JSON for you