How to save text files in Java with umlauts

Here at .Maui, working in Java on files written in German, we had difficulty saving files that contained umlauts. Here is the solution we found: package javaexample; import java.io.BufferedWriter; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter;…

JavaScript loop through json array

If you are not interested in support for old browsers, the best way to browse an array of json is: var dotArrayJSON = [ {“label”: 1}, {“label”: 2}, {“label”: 3}, {“label”: 4} ]; dotArrayJSON.forEach(loopThrough); function…

We’re back!

After a period of forced pause, we are recovering this project to continue the development and solve the bugs you have reported to us. We are reorganizing all our services, for this reason, at least…

Convert URLs and HTML Code to PDF with PHP

Our API is a free solution for converting web pages and HTML documents to PDF with PHP. Here is a simple example: <?php $data = array(“apikey” => “YOUR_API_KEY”, “html” => “<p>My first pdf with <b>.Maui…

HTML to PDF tool and API released

.Maui now lets you create PDF documents from web pages or raw HTML markup in your applications or through the tool on dotmaui.com. Register for free and get your API key to convert HTML to…

Vulture CSS Alpha 4 released

Vulture CSS Alpha 4 released. Immediately remove unused CSS from your website with Vulture CSS. Free and without advertisements. Now even faster and more accurate. Try it now: Vulture CSS. Changelog: – Updated the CSS…

pymongo: Find documents by non-existence of a field

MongoDB: Search for documents without a property and add it with pymongo. from pymongo import MongoClient client = MongoClient(“myconnectionstring”) db = client.mydb cursor = db.mydocs.find({“myproperty”: None}) for document in cursor: print(document[“_id”]) db.mydocs.update({“_id”: document[“_id”]}, {“$set”: {“myproperty”:…

MD5 Hash Generator released

Online Tool to easily convert any string in MD5, SHA1 and SHA-256 hashes. Is 100% cllient side, all calculations are performed directly in the browser, try it now: MD5 Hash generator.