Skip to content

Instantly share code, notes, and snippets.

View pixelastic's full-sized avatar

Tim Carry pixelastic

View GitHub Profile
@varemenos
varemenos / 1.README.md
Last active April 21, 2024 23:21
Git log in JSON format

Get Git log in JSON format

git log --pretty=format:'{%n  "commit": "%H",%n  "abbreviated_commit": "%h",%n  "tree": "%T",%n  "abbreviated_tree": "%t",%n  "parent": "%P",%n  "abbreviated_parent": "%p",%n  "refs": "%D",%n  "encoding": "%e",%n  "subject": "%s",%n  "sanitized_subject_line": "%f",%n  "body": "%b",%n  "commit_notes": "%N",%n  "verification_flag": "%G?",%n  "signer": "%GS",%n  "signer_key": "%GK",%n  "author": {%n    "name": "%aN",%n    "email": "%aE",%n    "date": "%aD"%n  },%n  "commiter": {%n    "name": "%cN",%n    "email": "%cE",%n    "date": "%cD"%n  }%n},'

The only information that aren't fetched are:

  • %B: raw body (unwrapped subject and body)
  • %GG: raw verification message from GPG for a signed commit
* **Ancestor's Call**<span style="color: #2f2f2f;"> "Hey! Ancestors!" - Ancestor's call</span>
* **Anima Golem** The Dark Animus is evil and mysterious and huge and unable to write sentences that utilize proper grammar.
* **Annoy-o-Tron** The inventor of the Annoy-o-Tron was immediately expelled from Tinkerschool, Tinkertown, and was eventually exiled from the Eastern Kingdoms altogether.
* **Anodized Robo Cub** It's adorable! AND OH MY GOODNESS WHY IS IT EATING MY FACE
* **Antique Healbot** They don't make 'em like they used to! (Because of explosions, mostly.)
* **Arcane Nullifier X-21** There was some hard talk between gnome magi and engineers about inventing this mech.
* **Blingtron 3000** PREPARE PARTY SERVOS FOR IMMEDIATE DEPLOYMENT.
* **Bolvar Fordragon** Spoiler alert: Bolvar gets melted and then sits on an ice throne and everyone forgets about him.
* **Bomb Lobber** He lobbies Orgrimmar daily on behalf of bombs.
@pcreux
pcreux / pomodoro
Created October 28, 2011 08:51
Pomodoro timer for ubuntu unity
#!/usr/bin/env ruby
#
# Pomodoro script.
#
# Displays a notification after 25 minutes.
#
# Don't forget to 'sudo apt-get install libnotify-bin'
#
system "notify-send -i face-cool 'Go go go!'"
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}