Bits & Bytes
Here you can find funny, elegant or otherwise noteworthy pieces of code - by-products of me kludging around for fun and profit, might come handy for others as well.
<markup />
My HTML, XHTML, XML based and other (: "webtwo" :) related smart bits and proof-of-concept codes you will find below.
- JavaScript MessageFormat - java.text.MessageFormat-like thing for "client side": Enable locale-agnostic handling of string constants and concatenated messages on the client side of a web application.
- JavaScript native2ascii - Convert Unicode strings to ASCII compatible \uxxxx notation: Converting Unicode text in a way that it only contains ASCII characters.
- Revelation2KeePass - import from Revelation into KeePassMobile password manager: I need to convert sensitive data stored in a Revelation database into a KeePass compatible format I can import it into the password manager I use on my mobile phone.
- Old Browser Warning - tells users of old IE to change or update: If you try hard to create a website that shows exactly the same style and behavior in all browsers you will either end up with very poor user experience consistent among all browsers, or you will have to make sure can dedicate much of your time to getting things right...
#!/bin/sh
Here you find useful and/or noteworthy linux/unix shellscripts and other tools. These were built for special purposes under special conditions, kludged together to serve my particular needs in my particular environment. So take them 'AS IS', without any guaranteed. However, they might very well give you a starting point for solving similar issues.
- evolution-migrator.sh - Migrates gconf settings of Evolution: I want to transfer the mail client settings of a given user form one station to another, better said I want to automate this task. It is important to note that only settings are considered here, data like emails and calendar entries are not. These can be migrated by ways of simple file transfer.
- crt_sfx_enc.sh - create self-extracting encoded file: I need to transfer confidential data over a non-secure channel and make the recipients job as easy as possible.
- svnserve-sgidtunnel - secure wrapper for svnserve: Increased security when providing access to subversion repositories through svn+ssh://
- Encoding in statusbar (gedit plugin) - Display document encoding in statusbar: Gedit is a smart generic text editor, but it does not indicate the character encoding of the file being edited..
0xCAFEBABE
A collection of Java/J2EE/JEE based tools and samle codes.
- XSLTProc - commandline XSLT processor: A portable command line tool capable of performing XSL transformations may always come handy...
- XML2Ascii - storing XML content using ASCII characters only: Serialize arbitrary XML structure into an equivalent representation that only contains ASCII characters, so it remains readable by any standard compliant XML parser.
- Base64 - flyweight RFC 4648 compliant base64 implementation: You can find a multitude of Base64 libraries out there... If you do not need stream processing, here you go with a flyweight, fast implementation totaling to 64 lines of code.
- PasswordBasedEncryptor - password based encryption made simple: There are a bunch of algorithms and even more crypto-libraries, tools, whatever in the wild. If you just need to encrypt and decrypt data based on a user provided password without fluff, take a look at this one.
- AESEncryptor - symmetic key encryption made simple: Dependency-less AES encryption and decryption. If you stick to AES256 you probably have a good reason to do so...
- Nyctalopia - minimalistic flow obfuscator: How to protect intellectual property against script kiddies and other inferior forms of life?