Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
@RunWith(PlayJUnitRunner.class) | |
public class AfterOrganisationTest { | |
@Test | |
public void canBePersisted() { | |
new Organisation("org1").save(); | |
Organisation reloadedOrg = Ebean.find(Organisation.class).findUnique(); | |
assertThat(reloadedOrg.name).isEqualTo("org1"); | |
} | |
# On clone le dépot tout frais pour avoir un fichier pack complet pour l'analyse (c'est + simple) | |
git clone --mirror ... | |
# On se déplace dans le répertoire du clone | |
# On fait l'état des lieux initial | |
git count-objects -v > count-objects-init.txt | |
# On exporte le verify-pack (ça prend du temps ça) | |
git verify-pack -v objects/pack/pack*.idx > verify-pack.txt |
<?php | |
/** | |
* Return query Filter from a list of query string & allowed Facets | |
* | |
* @param array $query The user query (facet_name => query, facet_name => query...) | |
* @param array $allowed_facets An array of Elastica\Facet | |
* | |
* @return \Elastica\Filter\AbstractFilter (if multiple filters, they are combined in BoolAnd filter) | |
*/ | |
private function getFacetsFilters($query, $allowed_facets) |
package controllers; | |
import models.Item; | |
import play.libs.Json; | |
import play.mvc.Controller; | |
import play.mvc.Result; | |
public class Application extends Controller | |
{ | |
public static Result index() |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
Copyright © 2016-2018 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
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
0-mail.com | |
0815.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
20minutemail.com | |
2prong.com | |
30minutemail.com | |
3d-painting.com |