Skip to content

Instantly share code, notes, and snippets.

View jirutka's full-sized avatar
🇺🇦
Слава Україні!

Jakub Jirutka jirutka

🇺🇦
Слава Україні!
View GitHub Profile
@jirutka
jirutka / README.adoc
Last active August 29, 2015 14:07
Twitter statistics for #LinuxDays 2014

Twitter statistics for #LinuxDays 2014

  • Number of tweets (excluding RTs): 359

  • Number of tweeting users: 107

TOP tweeting users

Rank

User

Tweets

@jirutka
jirutka / p2pvc.rb
Created February 21, 2015 12:43
Homebrew formula for p2pvc.
class P2pvc < Formula
homepage "https://github.com/mofarrell/p2pvc"
head "https://github.com/mofarrell/p2pvc.git"
depends_on "pkg-config" => :build
depends_on "homebrew/science/opencv"
depends_on "ncurses"
depends_on "portaudio"
def install
@jirutka
jirutka / curry.py
Last active August 29, 2015 14:15 — forked from JulienPalard/curry.py
#!/usr/bin/env python
def curry(func):
"""
Decorator to curry a function, typical usage:
>>> @curry
... def foo(a, b, c):
... return a + b + c
@jirutka
jirutka / README.adoc
Last active August 29, 2015 14:16
Twitter statistics for #InstallFest 2015

Twitter statistics for #InstallFest 2015

  • Number of tweets (excluding RTs): 119

  • Number of tweeting users: 45

TOP tweeting users

Rank

User

Tweets

@jirutka
jirutka / README.adoc
Created September 20, 2015 21:38
Twitter statistics for #WebExpo 2015

Twitter statistics for #WebExpo 2015

  • Number of tweets (excluding RTs): 1139

  • Number of favourites: 2804

  • Number of retweets: 1090

  • Number of tweeting users: 341

TOP tweeting users

@jirutka
jirutka / README.md
Created November 13, 2012 14:09
Secure SSH agent on Mac OS X
@jirutka
jirutka / bootstrap
Created October 19, 2015 00:51
Scripts to rule them all™ for Lua (https://github.com/github/scripts-to-rule-them-all) [WIP]
#!/bin/bash
#
# This script ensures that lua interpreter and lua modules specified in Rocksfile are installed.
#
# Environment variables:
# LUA_VERSION : Required version of the lua interpreter (e.g. lua-5.2, luajit-2.1). If this
# version is not available on PATH and USE_SYSTEM_LUA != 'yes', then it will be
# installed, otherwise it fails.
# If not set, then the script checks if lua-5.1, lua-5.2, or luajit-2 is
# available. If not and USE_SYSTEM_LUA != 'yes', then lua-5.1 will be installed,
@jirutka
jirutka / README.adoc
Created October 13, 2015 00:11
Twitter statistics for #LinuxDays 2015

Twitter statistics for #LinuxDays 2015

  • Number of tweets (excluding RTs): 323

  • Number of favourites: 718

  • Number of retweets: 239

  • Number of tweeting users: 134

@jirutka
jirutka / tydenvedy-2015-praha.csv
Last active November 5, 2015 14:04
Týden vědy 2015 Praha v CSV
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
"title","date","location","types","topics","booking","location_url","info_url"
"Knihovna snů aneb Oheň pekelný v Knihovně AV ČR","31. 10., 9:00–00:00","KNIHOVNA AV ČR, v. v. i., Národní 3, Praha 1","výstava","svět vědy","false","http://mapy.cz/zakladni?x=14.4145231&y=50.0813565&z=17&source=addr&id=8940048","http://www.tydenvedy.cz/sd/udalosti/kalendar/vystavy/1031-KAV-knihovna-snu-aneb-ohen-pekelny-v-knihovne-av-cr.html"
"Nepál 2015 – co především škody způsobilo a co zabránilo škodám ještě větším","31. 10., 15:00","Knihovna AV ČR, v. v. i., Národní 3, Praha 1","přednáška","svět vědy","false","http://mapy.cz/zakladni?x=14.4145231&y=50.0813565&z=17&source=addr&id=8940048&q=N%C3%A1rodn%C3%AD%203%2C%20Praha%201","http://www.tydenvedy.cz/sd/udalosti/kalendar/prednasky__PRAHA/1031-KNAV-nepal-2015-co-predevsim-skody-zpusobilo-a-co-zabranilo-skodam-jeste-vetsim.html"
"Oheň – dobrý sluha, ale zlý pán aneb Popáleniny očima fyzioterapeuta","31. 10., 17:30","Knihovna AV ČR, v. v. i., Národní 3, Praha 1","přednáška","med
@jirutka
jirutka / fix-rjava.sh
Last active November 15, 2015 17:40
Hack to force rJava to use specific Java VM, i.e. get rid of “Unsupported major.minor version 52.0!”
#!/bin/bash
# vim: set ts=4:
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
#