Commands to get commit statistics for a Git repository from the command line -
using git log
, git shortlog
and friends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# v0.9.0 | |
# Run from Wordpress installation directory | |
# DEFINE COLORS | |
RED='\033[0;31m' # error | |
GRN='\033[0;32m' # success | |
BLU='\033[0;34m' # task | |
BRN='\033[0;33m' # headline | |
NC='\033[0m' # no color |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Abu Dhabi": "Asia/Muscat", | |
"Adelaide": "Australia/Adelaide", | |
"Alaska": "America/Juneau", | |
"Almaty": "Asia/Almaty", | |
"American Samoa": "Pacific/Pago_Pago", | |
"Amsterdam": "Europe/Amsterdam", | |
"Arizona": "America/Phoenix", | |
"Astana": "Asia/Dhaka", | |
"Athens": "Europe/Athens", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Bootstrap Markup --> | |
<div class="container"> | |
<ul class="thumbnails" id="hover-cap"> <!-- add id attr to thumbnail list --> | |
<li class="span3"> | |
<div class="thumbnail"> | |
<div class="caption"> | |
<h4>Caption Title</h4> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p> | |
<p><a href="#" class="btn btn-inverse" rel="tooltip" title="Preview"><i class="icon-eye-open"></i></a> <a href="#" rel="tooltip" title="Visit Website" class="btn btn-inverse"><i class="icon-share"></i></a></p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Google Analytics Realtime Alerts | |
// @namespace http://mobilecoder.wordpress.com | |
// @version 1.0 | |
// @description Plays a sound when you get a new user, you can change the sound by hosting your own file on dropbox or other web location | |
// @match https://www.google.com/analytics/web/?hl=en#realtime* | |
// ==/UserScript== | |
// Your custom sound goes here | |
mCoinSound = new Audio("https://dl.dropbox.com/u/7079101/coin.mp3"); |