WIP ALERT - THIS IS A WORK IN PROGRESS

Here are some of the ways you can define and/or create functions in Scala:

Simplest possible way

For functions which are only one line long.

```scala def func1(a:In

Read more




WIP THIS IS A WORK IN PROGRESS

URL-QUERIES VS BODY QUERIES

If you query your server using an url like http://my-server:9200/_search?q=foobar, this is exactly the same as doing the following body query:

`

Read more




Here are a few ways in which you can use regular expressions (regexp for short) in Scala.

Just find out whether or not a string matches a given regexp

"5".matches("""\d""")
//returns True

Fin

Read more




WIP THIS IS A WORK IN PROGRESS

Here are some examples of how to annotate your Play 2.x web app (Scala) using Swagger directives so you can, for instance, plug a Swagger-UI pr

Read more




There's been some changes in the way you deal with form elements in Yii 2 (in comparison with Yii 1) so here are some examples to get you started:

Create an ActiveForm with a single field (text input) and a submit

Read more




When using default configuration on Ubuntu, you might experience SSH Timeouts (i.e. the console you are using to connect to a remote server will seem to freeze) after a few minutes of lack of activity.

This is ann

Read more




Upon trying to run npm install to download and install dependencies for the [angular-seed][1] app, I've gotten an error saying something about a legacy version of node:

npm WARN This failure might be due to the us

Read more




WIP Alert: This is a work in progress

Defining a custom block to define what a double will return

When none of the predefined ways to define what your double will return (once(), twice() and so on) work f

Read more




These are some points that may help you if you are starting out with R (maybe you are taking the Coursera Data Science course).

R vectors are 1-indexed

That means the first index is 1 and not 0 as you may

Read more