Name | Description |
---|---|
Help | Display the help window. |
Close | Closes a window |
Letter | Pronounciation |
---|---|
А а А а | a in father |
Б б Б б | b in bat |
В в В в | v in van |
ngrep -d tap0 -W byline port 80 |
scala> class Foo | |
defined class Foo | |
scala> class Bar extends Foo | |
defined class Bar | |
scala> new Foo | |
res6: Foo = Foo@3ace5360 | |
scala> new Bar |
Name | Description |
---|---|
Help | Display the help window. |
Close | Closes a window |
Letter | Pronounciation |
---|---|
А а А а | a in father |
Б б Б б | b in bat |
В в В в | v in van |
test(function() { | |
[ | |
['foo', 'bar', 'baz'], | |
['fuz', 'barz', 'bazz'], | |
['fux', 'bax', 'bazx'] | |
].forEach(Function.apply.bind(function(input1, input2, expectedOutput) { | |
assertEquals(subject(input1, input2), expectedOutput) | |
}, this)) | |
}) | |
// Yes, I know there are other (less cryptic) ways to achieve this :) |
import com.fasterxml.jackson.core.JsonGenerator | |
import com.fasterxml.jackson.databind.ObjectMapper | |
import com.fasterxml.jackson.module.scala.DefaultScalaModule | |
import scala.collection.JavaConversions._ | |
val mapper = new ObjectMapper() | |
mapper.registerModule(DefaultScalaModule) | |
mapper.configure(JsonGenerator.Feature.ESCAPE_NON_ASCII, true) | |
mapper.readValue("""{"bar":{"title":"hello"}}""", classOf[Map[String, Any]]) |
require 'active_support' | |
require 'json' | |
puts( | |
JSON.pretty_generate( | |
ActiveSupport::TimeZone.all.map do |tz| | |
{ | |
:id => tz.tzinfo.identifier, | |
:name => tz.name, | |
:utc_offset => tz.utc_offset |
sudo ngrep -W byline -d lo0 port 3000 |
import org.openqa.selenium._ | |
import org.openqa.selenium.support.ui._ | |
import org.openqa.selenium.chrome.ChromeDriver | |
import org.openqa.selenium.firefox.FirefoxDriver | |
import org.openqa.selenium.htmlunit.HtmlUnitDriver | |
import org.openqa.selenium.remote.DesiredCapabilities | |
import scala.collection.JavaConversions._ | |
import scala.actors.Actor._ | |
object Available { |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title></title> | |
<!--[if lt IE 9]> | |
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> | |
<body> |
({ | |
appDir: '.', | |
baseUrl: './', | |
dir: '../build/', | |
optimize: 'none', | |
modules: [ | |
{ | |
name: 'one', | |
excludeShallow: ['four', 'five'] | |
}, |