This file contains hidden or 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
{ | |
"start": "State0", | |
"alphabet": { | |
... | |
}, | |
"symbols": { | |
"aA": { |
This file contains hidden or 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
Request for status information | |
* ?action=about&... | |
* CAPABILITIES | |
* DATE | |
* ... | |
Retrieve some basic information about the service. For instance, | |
which authentication method the service would like to use, or if | |
some optional protocol features are implemented. Can also be used | |
to support the DATE command by looking at the Date header. If |
This file contains hidden or 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
#!perl -w | |
use Modern::Perl; | |
use Parse::ABNF; | |
use Data::Dumper; | |
use YAML::XS; | |
use Graph::Directed; | |
use List::OrderBy; | |
##################################################################### | |
# |
This file contains hidden or 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
#!perl -w | |
use Modern::Perl; | |
use Algorithm::Diff::XS; | |
use Test::More; | |
use Data::Random qw/rand_chars/; | |
sub compact_diff_to_sdiff { | |
my ($a, $b, @cdiff) = @_; | |
my @temp; |
This file contains hidden or 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
#!perl -w | |
use Modern::Perl; | |
use XML::LibXML; | |
use Algorithm::Diff::XS; | |
##################################################################### | |
# Merges the Lynx rendering of a HTML document with libxml2-parsed | |
# DOM representation of the same document to figure out which parts | |
# of the text are in a blockquote element. This is useful when using | |
# a html2text program while wanting to format parts differently when |
This file contains hidden or 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
#!perl -w | |
use Modern::Perl; | |
use String::CRC32; | |
use MIME::Base64; | |
use autodie; | |
##################################################################### | |
# Apply keyfiles to TrueCrypt passwords -- TrueCrypt allows users to | |
# specify one or more keyfiles that are applied to user passwords to | |
# make password recovery more difficult. Oddly, many of the popular |
This file contains hidden or 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
var properties = { | |
"alignment-baseline" : { | |
"ani" : true, | |
"app" : [ | |
"altGlyph", | |
"textPath", | |
"tref", | |
"tspan" | |
], | |
"inh" : false, |
This file contains hidden or 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
import org.w3c.dom.Document; | |
import org.w3c.dom.Element; | |
import org.apache.batik.bridge.BaseScriptingEnvironment; | |
import org.apache.batik.bridge.BridgeContext; | |
import org.apache.batik.bridge.GVTBuilder; | |
import org.apache.batik.bridge.UserAgentAdapter; | |
import org.apache.batik.dom.svg.SAXSVGDocumentFactory; | |
import org.apache.batik.util.XMLResourceDescriptor; | |
import org.w3c.dom.ls.DOMImplementationLS; | |
import org.w3c.dom.ls.DOMSerializer; |
This file contains hidden or 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
function OnYieldWaitForEvent(cor, target, name, phase) { | |
var self = arguments.callee; | |
target.addEventListener(name, function(evt) { | |
// We need to unregister the listener to save resources | |
// and to avoid getting called if the event occurs again | |
evt.currentTarget.removeEventListener(name, self, phase); | |
// Resume the waiting function | |
cor.next(); |
This file contains hidden or 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
; Bjoern Hoehrmann <[email protected]> <http://bjoern.hoehrmann.de> | |
(require (lib "graphics.ss" "graphics")) | |
; Konstanten | |
(define width 720) ; Fensterbreite | |
(define height 570) ; Fensterhoehe | |
(define substlist (list 'a 60 'a -120 'a 60 'a)) ; Koch-Ersetzungsliste | |
; Globale Variablen |