I hereby claim:
- I am nachinius on github.
- I am nachinius (https://keybase.io/nachinius) on keybase.
- I have a public key ASDX14QHFaIoW1xPDTq8XljRpLX_YJlJfXIsnFGaX-Te_go
To claim this, I am signing this object:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, |
<?php | |
/* | |
* This file is part of the Symfony package. (c) Fabien Potencier <[email protected]> For the full copyright and license information, please view the LICENSE file that was distributed with this source code. | |
*/ | |
namespace Symfony\Component\Yaml\Tests; | |
use Symfony\Component\Yaml\Yaml; | |
use Symfony\Component\Yaml\Parser; | |
use Symfony\Component\Yaml\Dumper; |
// angular.module('mymodule').directive('showAlertError', function() { | |
// return { | |
// restrict: 'E', | |
// scope: { | |
// key: '=key', | |
// alerts: '=alerts' | |
// }, | |
// template: '<div ng-show="alerts.by_key[key]">{{alerts.by_key[key].message}}</div>', | |
// link: function(scope, elm, attrs) { |
I hereby claim:
To claim this, I am signing this object:
cmake_minimum_required(VERSION 3.6) | |
project(algC) | |
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c") | |
set(SOURCE_FILES main.c) | |
add_executable(algC ${SOURCE_FILES}) |
import spray.json.JsonParser | |
val msg = | |
""" | |
| {"action":"move","data":{"direction":"left"}} | |
""".stripMargin | |
JsonParser(msg).asJsObject.getFields("action","data")(1).asJsObject.getFields("direction") | |
case class B(val afieldOfb: String) |
language: scala | |
scala: | |
- 2.12.4 | |
script: | |
- sbt clean coverage test coverageReport && | |
sbt coverageAggregate | |
after_success: | |
- sbt coveralls |
sealed trait Tree[K, V] extends Traversable[Tree[K,V]] { | |
self => | |
type Key = K | |
type Value = V | |
def eulerTourWithLevel[U, W, Y](level: Int)(in: Int => Tree[K, V] => U, | |
middle: Int => Tree[K, V] => W, | |
out: Int => Tree[K, V] => Y): Unit |
Copyright © 2016-2017 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
#!/bin/sh | |
find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete | |
sbt -J-XX:ReservedCodeCacheSize=128m ++2.11.12 ";test:compile;docs/paradox" |