This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSDateRFC1123.h | |
// Filmfest | |
// | |
// Created by Marcus Rohrmoser on 19.08.09. | |
// Copyright 2009 __MyCompanyName__. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby -w | |
# As the Perl Script http://wiki.getdropbox.com/DropboxAddons/PerlScriptToMakeHTMLIndex | |
# disappeared I started a ruby script | |
# | |
# Ruby Help: http://www.rubycentral.com/pickaxe | |
# Html&CSS Help: http://de.selfhtml.org/css/ | |
# | |
DST_NAME = 'index.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BinarySearchTC.m | |
// | |
// Created by Marcus Rohrmoser on 12.01.10. | |
// Copyright 2009 Marcus Rohrmoser mobile Software. All rights reserved. | |
// | |
#define USE_APPLICATION_UNIT_TEST 0 | |
#import <SenTestingKit/SenTestingKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default namespace = "http://filmfestapp.com/schema/festival/v1" | |
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" | |
start = | |
## Flat Xml Schema for http://filmfestapp.com festival catalogues. | |
## | |
## This is a http://relaxng.org/ compact schema, to convert to RelaxNG regular or w3c-xsd use | |
## http://www.thaiopensource.com/relaxng/trang.html | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Bayern2 Programmseite abgrasen | |
# | |
require 'time' | |
# sudo gem install scrapi | |
# | |
# http://exceptionz.wordpress.com/2009/11/03/scrapi-on-snow-leopard/ | |
require 'scrapi' | |
require 'cgi' | |
require 'sqlite3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UILabelWithCGFont.h | |
// | |
// Created by Marcus Rohrmoser on 26.08.10. | |
// Copyright 2010 Marcus Rohrmoser mobile Software. All rights reserved. | |
// | |
/** <a href="http://www.devx.com/tips/Tip/13829">Function pointer</a> for unicode -> glyph conversion. | |
* | |
* Example implementation: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ############################################################## | |
# ragel stuff. http://www.complang.org/ragel/ | |
DOT ?= dot | |
RAGEL ?= ragel | |
RAGEL_SOURCES := $(wildcard ./ragel/*.rl) | |
./Generated/%.m : ./ragel/%.rl | |
$(RAGEL) -e -s -G2 -C -o $@ $< | |
./Generated/%.dot : ./ragel/%.rl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RagelParser.h | |
// | |
// Created by Marcus Rohrmoser on 24.06.10. | |
// Copyright 2010 Marcus Rohrmoser mobile Software. All rights reserved. | |
// | |
#define RAGEL_ERROR_DOMAIN @"_RAGEL_ERROR_DOMAIN_" | |
#define RAGEL_ERROR_CODE 110 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby -w | |
# visualize macports dependencies: http://blog.mro.name/2010/08/visualise-macports-dependencies/ | |
# pipe the result through graphviz, e.g. | |
# $ ./port-deps2dot.rb | dot -Tpdf -o port-deps.pdf ; open port-deps.pdf | |
def scan_deps | |
pat = /^([^:]+):(.+)$/ | |
name = '' | |
deps = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'complex' | |
class Array | |
# DFT and inverse. | |
# | |
# Algorithm from | |
# 'Meyberg, Vachenauer: Hoehere Mathematik II, Springer Berlin, 1991, page 332' | |
# | |
# See http://blog.mro.name/2011/04/simple-ruby-fast-fourier-transform/ |
OlderNewer