AngularJS: Tutorial: Tutorial

AngularJS: Tutorial: Tutorial.

Home | Read the Docs

What is this place?

Read the Docs hosts documentation, making it fully searchable and easy to find. You can import your docs using any major version control system, including Mercurial, Git, Subversion, and Bazaar. We support webhooks so your docs get built when you commit code. There’s also support for versioning so you can build docs from tags and branches of your code in your repository. A full list of features is available.

It’s free and simple. Read the Getting Started guide to get going!

via Home | Read the Docs.

Geb – Very Groovy Browser Automation

Geb is a browser automation solution.

It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language.

It can be used for scripting, scraping and general automation — or equally as a functional/web/acceptance testing solution via integration with testing frameworks such as Spock, JUnit & TestNG.

The Book of Geb contains all the information you need to get started with Geb.

via Geb – Very Groovy Browser Automation.

Groovy VFS » Greach

Groovy VFS is a humble DSL that makes the Apache VFS library really useful. Copying from and to remote FTP, SFTP & HTTP sites become one line operations. Moving documents across servers are just as simple. Need to download an archive file from a website and unpack it? That is simple too.

via Groovy VFS » Greach.

CESU-8 – Wikipedia, the free encyclopedia

The Compatibility Encoding Scheme for UTF-16: 8-Bit (CESU-8) is a variant of UTF-8 that is described in Unicode Technical Report #26 [1]. A Unicode code point from the Basic Multilingual Plane (BMP), i.e. a code point in the range U+0000 to U+FFFF, is encoded in the same way as in UTF-8. A Unicode supplementary character, i.e. a code point in the range U+10000 to U+10FFFF, is first represented as a surrogate pair, like in UTF-16, and then each surrogate code point is encoded in UTF-8. Therefore, CESU-8 needs six bytes (3 bytes per surrogate) for each Unicode supplementary character while UTF-8 needs only four. Each CESU-8 character code (1, 2, or 3 bytes) can be converted to exactly one UTF-16 code unit (2 bytes).

The encoding of Unicode supplementary characters works out to 11101101 1010yyyy 10xxxxxx 11101101 1011xxxx 10xxxxxx (yyyy represents the top five bits of the character minus one i.e. U+10**** becomes 1111, U+01**** becomes 0000, x represents the remaining bits of the character).

CESU-8 is not an official part of the Unicode Standard, because Unicode Technical Reports are informative documents only. It should be used exclusively for internal processing and never for external data exchange.

CESU-8 is similar to Java’s Modified UTF-8 but does not have the special encoding of the NUL character (U+0000).

The Oracle and MySQL databases both have character sets called “UTF-8″ which are actually CESU-8. Standard UTF-8 can be obtained using the character sets “AL32UTF8″ (since Oracle version 9.0), or “utf8mb4″ (in MySQL)[1] (so named because a maximum of 4 bytes are used for each character).

via CESU-8 – Wikipedia, the free encyclopedia.

Cédric Champeau’s blog: A fast markup template engine for Groovy (part 1 of 2)

Recently, I was surprised no-one had the idea of developping a template engine relying on the Groovy MarkupBuilder. Working on JBake made me take a look at existing template engines for Java again, something I hadn’t done for years, and even if new technologies like Thymeleaf or Handlebars exist, not of them are as practical to use as the markup builder.

via Cédric Champeau’s blog: A fast markup template engine for Groovy (part 1 of 2).

The MarkupTemplateEngine

This template engine is a template engine primarily aimed at generating XML-like markup (XML, XHTML, HTML5, …). Unlike traditional template engines, this one relies on a DSL that uses the builder syntax. Here is a sample template:

via The MarkupTemplateEngine.

How To Dissect a Clojure Web Application and Deploy on Engine Yard

How To Dissect a Clojure Web Application and Deploy on Engine Yard.

Making Java APIs Groovy » Greach

Making Java APIs Groovy » Greach.

Unscrewed; A story about OpenBSD | Dave Josephsen

To put it in no uncertain terms, I was screwed. It was 5am, and the network was down. The network was down because the core routers had crashed. Yes, both of them, master and backup. And to make matters worse, this was only 12 or so hours after the network was down because the switches had crashed. Yes. All of them.

Have you ever even heard of something like that? 3 switches? core dumped?! Well, pull up a chair brother, and let me tell you the tale. I was THERE. Hell, I was even responsible.

via Unscrewed; A story about OpenBSD | Dave Josephsen.