Skip to content

Instantly share code, notes, and snippets.

View sidonath's full-sized avatar
🐈
Petting cats

Damir Zekic sidonath

🐈
Petting cats
View GitHub Profile
@sidonath
sidonath / README.md
Last active August 29, 2015 14:20
Generate reports from Slack logs

Put JSON files with Slack logs into the data directory and save the Ruby script outside that directory.

Open Terminal and cd into the directory with the Ruby script. Now type:

ruby parse_logs.rb

You should get output directory with reports in CSV.

// ==UserScript==
// @name last.fm Mutual Friends
// @namespace http://z3c.info/
// @description Shows mutual friends when visiting a user's profile
// @include http://www.last.fm/user/*
// @include http://www.lastfm.*/user/*
// @exclude http://www.last.fm/user/*/*
// @exclude http://www.lastfm.*/user/*/*
// ==/UserScript==
// ==UserScript==
// @name last.fm One-click paste Taste-O-Meter
// @namespace http://z3c.info/
// @description Inserts results of Teste-O-Meter between you and the last user who replied on the same topic
// @include http://www.last.fm/group/*/forum/*
// @include http://www.lastfm.*/group/*/forum/*
// ==/UserScript==
//
// As the code below demonstrates I love chaining function calls :)
// ==UserScript==
// @name Gmail Bottom Posting v3
// @namespace http://z3c.info/
// @description Inserts the caret _after_ the quoted text when replying to emails using Gmail. Please view source for full credits.
// @include https://mail.google.tld/mail/*
// @include http://mail.google.tld/mail/*
// @include https://mail.google.tld/a/*
// @include http://mail.google.tld/a/*
// ==/UserScript==
// ==UserScript==
// @name twitter Easy block
// @namespace http://z3c.info/
// @description Adds the block button on user's profile page
// @include http://twitter.com/*
// @exclude http://twitter.com/*/*
// ==/UserScript==
$ = unsafeWindow.jQuery;
// ==UserScript==
// @name last.fm About Me Preview
// @namespace http://z3c.info/
// @description Displays the Preview button when editing "About You" section in user settings
// @include http://www.last.fm/settings
// @include http://www.lastfm*/settings
// ==/UserScript==
$ = unsafeWindow.$;
$$ = unsafeWindow.$$;
// ==UserScript==
// @name last.fm Numeric Compatibility
// @namespace http://z3c.info/
// @description Displays the numeric compatibility with a user
// @include http://www.last.fm/user/*
// @include http://www.lastfm*/user/*
// @exclude http://www.last.fm/user/*/*
// @exclude http://www.lastfm*/user/*/*
// ==/UserScript==
// ==UserScript==
// @name twitter Search v2
// @namespace http://z3c.info/
// @description Adds a search field to the Twitter interface
// @include http://twitter.com/home
// ==/UserScript==
// Twitter Search script
// version 0.3
// 2009-01-31
// ==UserScript==
// @name twitter Komplimenti
// @namespace http://z3c.info/
// @description Daje komplimente korisniku
// @include http://twitter.com/home
// ==/UserScript==
$ = unsafeWindow.jQuery;
var MessageProvider = new (function () {