<commit_before>---
layout:     post
title:      Pixyll in Action
date:       2014-06-10 12:31:19
summary:    See what the different elements looks like. Your markdown has never looked better. I promise.
categories: jekyll pixyll
---

There is a significant amount of subtle, yet precisely calibrated, styling to ensure
that your content is emphasized while still looking aesthetically pleasing.

All links are easy to [locate and discern](#), yet don't detract from the harmony
of a paragraph. The _same_ goes for italics and __bold__ elements. Even the the strikeout
works if <del>for some reason you need to update your post</del>. For consistency's sake,
<ins>The same goes for insertions</ins>, of course.

### Code, with syntax highlighting

Here's an example of some Scala code:

~~~ scala
def stateChange = ComposedAction.async(parse.json) { request =>
  execute {
    val vppList = deserialize[java.util.List[Vpp]](request.body.toString())
    service.stateChange(vppList)
  } map {
    case Success(result) =>
      result match {
        case Right(list) => Ok(serialize(list)) as JSON
        case Left(list) => Status(422) {
          serialize(list)
        }
      }
    case Failure(t) => errors(t)
  }
}
~~~

And another one with line numbers:

{% highlight scala linenos %}
package utils

import scala.annotation.tailrec

import models.ClientMessageAwareException
import org.joda.time._
import utils.implicits.richDateTime
import utils.time.TimeIntervalHelper.{PAST_UNBOUNDED => BIG_BANG, FUTURE_UNBOUNDED => END_OF_TIME}

class RichInterval(val interval: Interval) extends AnyRef {

  override def toString: String = interval.toString

  def cancelDSTOffset(
    ref: Interval,
    tz: DateTimeZone,
    exceptHeads: Interval)
  : Interval = {
    val s =
      if (
        interval.getStartMillis != exceptHeads.getStartMillis &&
        interval.getStartMillis != exceptHeads.getEndMillis)
        interval.getStart.cancelDSTDifference(ref.getStart, tz)
      else
        interval.getStart
<commit_msg>Fenced code blocks with lang using tildas - 2nd attempt<commit_after>---
layout:     post
title:      Pixyll in Action
date:       2014-06-10 12:31:19
summary:    See what the different elements looks like. Your markdown has never looked better. I promise.
categories: jekyll pixyll
---

There is a significant amount of subtle, yet precisely calibrated, styling to ensure
that your content is emphasized while still looking aesthetically pleasing.

All links are easy to [locate and discern](#), yet don't detract from the harmony
of a paragraph. The _same_ goes for italics and __bold__ elements. Even the the strikeout
works if <del>for some reason you need to update your post</del>. For consistency's sake,
<ins>The same goes for insertions</ins>, of course.

### Code, with syntax highlighting

Here's an example of some Scala code:

~~~
def stateChange = ComposedAction.async(parse.json) { request =>
  execute {
    val vppList = deserialize[java.util.List[Vpp]](request.body.toString())
    service.stateChange(vppList)
  } map {
    case Success(result) =>
      result match {
        case Right(list) => Ok(serialize(list)) as JSON
        case Left(list) => Status(422) {
          serialize(list)
        }
      }
    case Failure(t) => errors(t)
  }
}
~~~
{: .language-scala}

And another one with line numbers:

{% highlight scala linenos %}
package utils

import scala.annotation.tailrec

import models.ClientMessageAwareException
import org.joda.time._
import utils.implicits.richDateTime
import utils.time.TimeIntervalHelper.{PAST_UNBOUNDED => BIG_BANG, FUTURE_UNBOUNDED => END_OF_TIME}

class RichInterval(val interval: Interval) extends AnyRef {

  override def toString: String = interval.toString

  def cancelDSTOffset(
    ref: Interval,
    tz: DateTimeZone,
    exceptHeads: Interval)
  : Interval = {
    val s =
      if (
        interval.getStartMillis != exceptHeads.getStartMillis &&
        interval.getStartMillis != exceptHeads.getEndMillis)
        interval.getStart.cancelDSTDifference(ref.getStart, tz)
      else
        interval.getStart

{'fraction_non_alphanumeric': 0.08869395711500974, 'fraction_numerical': 0.008528265107212475, 'mean_word_length': 3.6020179372197307, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '514273', 'n_tokens_mistral': 1258, 'n_tokens_neox': 1195, 'n_words': 398}