Download sources and javadoc for all dependencies
sbt update-classifiers
For further information read Useful SBT Commands.
| package com.ffbit.collections; | |
| import static org.hamcrest.CoreMatchers.is; | |
| import static org.junit.Assert.assertThat; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import org.junit.Before; | |
| import org.junit.Test; |
| package com.ffbit.fun.array; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.junit.runners.Parameterized; | |
| import java.util.Arrays; | |
| import java.util.Collection; | |
| import static org.hamcrest.CoreMatchers.is; |
| { | |
| Request scope | |
| { | |
| Page scope 1 | |
| } | |
| { | |
| Page scope 2 | |
| } |
| package com.ffbit.permutation; | |
| import static org.hamcrest.CoreMatchers.is; | |
| import static org.junit.Assert.assertThat; | |
| import java.util.Arrays; | |
| import java.util.Collection; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; |
Download sources and javadoc for all dependencies
sbt update-classifiers
For further information read Useful SBT Commands.
| CREATE ROLE sonar WITH LOGIN PASSWORD 'password'; | |
| CREATE DATABASE sonar | |
| WITH OWNER = sonar | |
| ENCODING 'UTF8'; | |
| GRANT ALL PRIVILEGES ON DATABASE sonar TO sonar; |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.ffbit</groupId> | |
| <artifactId>some-artifact</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <packaging>jar</packaging> |
| #!/bin/bash | |
| apg -a 0 -t -s |
| function asyncForeach(array, fn, callback) { | |
| var completed = 0; | |
| var arrayLength = array.length; | |
| if(arrayLength === 0) { | |
| callback(); | |
| } | |
| for(var i = 0; i < arrayLength; i++) { | |
| fn(array[i], i, function() { | |
| completed++; | |
| if(completed === arrayLength) { |