Skip to content

Instantly share code, notes, and snippets.

View arzzen's full-sized avatar
🤖
I'm borg...

arzzen

🤖
I'm borg...
  • ::1
  • 20:44 (UTC)
View GitHub Profile
@arzzen
arzzen / git_log_date_tag_csv.sh
Created March 15, 2016 11:14
git log date and tag csv
# output format (datetime;tag), example:
# 2016-03-07 14:54;%C;1.1.61
git log --tags --simplify-by-decoration --pretty="format:%ai%x08%x08%x08%x08%x08%x08%x08%x08%x08;%C;%d" | egrep "\(tag: [0-9]\.[0-9]+\.[0-9]+\)" | sed 's/ (tag: //' | sed 's/)//'
@arzzen
arzzen / cygwin-uninstaller.sh
Created January 22, 2017 13:36
Cygwin Uninstaller - git-quick-stats
#!/usr/bin/env bash
echo "Cygwin Uninstaller - git-quick-stats"
test -d /usr/local/bin/git-quick-stats && rm -rf /usr/local/bin/git-quick-stats
git config --global --unset alias.quick-stats '! /usr/local/bin/git-quick-stats'
echo -e "...\ndone"

Keybase proof

I hereby claim:

  • I am arzzen on github.
  • I am get (https://keybase.io/get) on keybase.
  • I have a public key whose fingerprint is A18B EADA BDC6 0123 6F9E 29F4 88BB C317 72F6 3516

To claim this, I am signing this object:

@arzzen
arzzen / Makefile
Created April 29, 2016 05:32
Update cinnamon weather applet (new Yahoo API)
FILE_APPLET="/home/$(USER)/.local/share/cinnamon/applets/weather@mockturtl/applet.js"
FILE_SCHEMA="/home/$(USER)/.local/share/cinnamon/applets/weather@mockturtl/settings-schema.json"
all:
@echo "usage: make install"
install:
wget -q https://gist.githubusercontent.com/arzzen/7925e31c5355035a6161b5059232ec35/raw/5efbae9132178010ff36cfa105ba238c84ed6069/applet.js -O $(FILE_APPLET) && \
wget -q https://gist.githubusercontent.com/arzzen/1575f9eb3c5daf82f119e37352597dab/raw/999a65b5f9397668dc38c017e01b0c4f0ac04d66/settings-schema.json -O $(FILE_SCHEMA)
@arzzen
arzzen / settings-schema.json
Created April 29, 2016 05:31
Cinnamon weather applet - file settings-schema.json
{
"woeidLookup":
{ "type": "button"
, "description": "Get WOEID"
, "callback": "woeidLookup"
, "tooltip": "http://woeid.rosselliot.co.nz/"
}
, "woeid":
{ "type": "entry"
, "default": ""
@arzzen
arzzen / applet.js
Created April 29, 2016 05:30
Cinnamon weather applet - file applet.sj
//"use strict"
//----------------------------------
// imports
//----------------------------------
/**
* /usr/share/gjs-1.0/
* /usr/share/gnome-js/
*/
@arzzen
arzzen / index.html
Created December 7, 2015 11:45
fall back to local jquery in case cdn is unavailable
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script type="text/javascript">
if (typeof jQuery === 'undefined')
{
// fall back to local jQuery in case CDN is unavailable
document.write('\x3Cscript type="text/javascript" src="/js/jquery.min.js">\x3C/script>');
}
</script>