Skip to content

Instantly share code, notes, and snippets.

@kayahr
kayahr / java.nsi
Created Jan 21, 2012
Nullsoft Installer Script for Java applications
View java.nsi
!include "MUI.nsh"
!define NAME "MyApp"
!define JAR "myapp.jar"
!define VERSION "1.0.0-SNAPSHOT"
!define PUBLISHER "Its Me"
!define WEBSITE "http://my.home/"
!define JRE_VERSION "1.6"
!define JRE_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=58134"
@kayahr
kayahr / ttc2ttf.py
Created Apr 24, 2012
Python script to convert a true type font collection into separate ttf files. Copy from http://pastebin.com/QXcAtP24
View ttc2ttf.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#First released as C++ program by Hiroyuki Tsutsumi as part of the free software suite “Beer”
#I thought porting it to Python could be both a challenge and useful
from sys import argv, exit, getsizeof
from struct import pack_into, unpack_from
def ceil4(n):
@kayahr
kayahr / GPLv3.md
Created Jun 7, 2012
GNU General Public License v3 in markdown format
View GPLv3.md

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

@kayahr
kayahr / LGPLv3.md
Last active Dec 16, 2015
GNU Lesser General Public License v3 in markdown format
View LGPLv3.md

GNU LESSER GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.