I hereby claim:
- I am jottinger on github.
- I am josephbottinger (https://keybase.io/josephbottinger) on keybase.
- I have a public key whose fingerprint is CD29 CD73 6C6B 4FD5 1175 174C AAD1 9C24 F542 CF8B
To claim this, I am signing this object:
Unit] | |
Description=MailMan3 daemon | |
After=network.target | |
[Service] | |
Type=forking | |
EnvironmentFile=/etc/sysconfig/sshd | |
ExecStart=/usr/bin/mailman -C /usr/lib/systemd/system/var/etc/mailman.cfg start | |
ExecStop=/usr/bin/mailman -C /usr/lib/systemd/system/var/etc/mailman.cfg stop | |
ExecReload=/usr/bin/mailman restart |
public class Iterate { | |
public static void main(String[] args) { | |
new Iterate().run(); | |
} | |
public void run() { | |
long start=System.currentTimeMillis(); | |
InputStream in = this.getClass().getResourceAsStream("/numbers.txt"); | |
BufferedInputStream bis=new BufferedInputStream(in); | |
Scanner scanner=new Scanner(bis); |
public class Iterate2 { | |
public static void main(String[] args) { | |
new Iterate2().run(); | |
} | |
public void run() { | |
long start = System.currentTimeMillis(); | |
InputStream in = this.getClass().getResourceAsStream("/numbers.txt"); | |
BufferedInputStream bis = new BufferedInputStream(in); | |
Scanner scanner = new Scanner(bis); |
Joseph@netzach ~/work/java/docker-maven-plugin | |
$ mvn install; mvn com.autumncode.docker:docker-maven-plugin:1.0-SNAPSHOT:docker -Dimage=hello-world | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building docker-maven-plugin Maven Plugin 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-plugin-plugin:3.2:helpmojo (help-goal) @ docker-maven-plugin --- | |
[INFO] Using 'UTF-8' encoding to read mojo metadata. |
package org.javachannel; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.stream.IntStream; | |
public class LemonSparrowExample { | |
public static void main(String[] args) { | |
List<Integer> ids = new ArrayList<>(); | |
IntStream.range(0, 2300).forEach(ids::add); |
package chapter2 | |
import scala.math._ | |
object Recommendations { | |
def sim_distance(preferences: Map[String, Map[String, Double]], | |
person1: String, person2: String)= { | |
val p1=preferences(person1) | |
val p2=preferences(person2) | |
val si: Set[String] = p1.keySet.intersect(p2.keySet) |
import java.util.UUID | |
import scala.collection.mutable.{Map => MutableMap} | |
case class Terms(id:UUID, name:String) { | |
val words=MutableMap[UUID, Word]() | |
} | |
case class Word(id:UUID, word:String, definition:String) |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package snf; | |
import com.google.gson.Gson; | |
import org.junit.Test; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; |