Skip to content

Instantly share code, notes, and snippets.

@Michcioperz
Michcioperz / file.rb
Created January 31, 2015 17:58
Very important cryptographic announcement
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I was terribly bored so I decided to publicly announce it with a proper PGP signature
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.0.1
Comment: https://keybase.io/crypto
wsBcBAABCgAGBQJUzRaeAAoJEP8aK/wj/PCTDL0IAOS/p6d388nf3XDIGT77bDRg
xz5noIUpHqpAzCoVR1wVXc3Yypjh8J09sCEixu68ALLAHXdp2snMsn0VvLOAtaMB
@thedod
thedod / keybase.md
Last active August 29, 2015 14:12
I am 4real. Honest.

Keybase proof

I hereby claim:

  • I am thedod on github.
  • I am thedod (https://keybase.io/thedod) on keybase.
  • I have a public key whose fingerprint is 5986 9F95 92CF B3B8 D72F 0555 385F A683 3F85 ED5E

To claim this, I am signing this object:

@Wolf480pl
Wolf480pl / u64-vs-u71.md
Last active August 29, 2015 14:08
OpenJDK 7u65 vs 7u71

Below is a diff between OpenJDK 7u65 and 7u71 sources downloaded by IcedTea build scripts (IcedTea 2.5.2 and 2.5.3 respectively).

As far as I know, a few security issues were fixed between these two java versions.

OpenJDK sources are licensed under GPLv2 with the Classpath Exception and the OpenJDK Assembly Exception, see http://openjdk.java.net/legal/

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I hereby claim:

  • I am Wolf480pl on GitHub.
  • I have an OpenPGP public key whose fingerprint is E4C2 E023 3845 4C51 B7E8 A340 73C0 4340 D233 5052
@thedod
thedod / README.md
Last active August 29, 2015 14:03
webcomic2xbmc: feed enclosure tweak for xkcd, smbc, etc.

Some webcomics have RSS/ATOM feeds that include the images themselves. XBMC, however, require feeds to include the images as RSS enclosures. This script fetches a feed and prints an "XBMC-compliant" one to stdout. You can run a cron job that saves this to an http-accessible file on your pc. You can then use its URL as an rss picture source.

usaage: python webcomic2xbmc.py FEED_URL [IMG_URL_REGEXP]> myxbmcfeed.xml

Examples:

  • python webcomic2xbmc.py http://xkcd.com/rss.xml > ~/public_html/feeds/xkcd.xml
@Wolf480pl
Wolf480pl / mvn-run
Created May 15, 2014 19:03
a script to run a Java class as an application with a classpath from a maven project
#!/bin/sh
java -cp target/classes:`mvn -o dependency:build-classpath |sed s/\\\\[INFO.*// |tr -d " \\n"` "$@"
@thedod
thedod / FUD.LOL
Last active December 12, 2015 08:18
ZOMG! I CAN RITE LOLCODE!!1
HAI 1.2 BTW I DOAN KNOE Y I SAY STUPH LIEK 1.2 LOL
I HAS A FUD
I HAS A EMPTY ITZ FAIL
I HAS A STUPH ITZ MAEK EMPTY A NUMBR
I HAS A EATED ITZ "OM NOM NOM U HAZ NO :{FUD} I EATED IT"
IM IN YR KITCHEN NERFIN YR STUPH TIL EMPTY
VISIBLE "WUT DO U HAS?"
GIMMEH FUD
FUD, WTF?
OMG "NOTHING"