One Paragraph of project description goes here.
If possible include an indication about the build status of the project here, a badge per environment would be sufficient.
brew install git
import java.net.InetSocketAddress | |
import akka.actor.{ActorSystem, Props, Actor} | |
import akka.io.{Tcp, IO} | |
import akka.io.Tcp._ | |
import akka.util.ByteString | |
class TCPConnectionManager(address: String, port: Int) extends Actor { | |
import context.system | |
IO(Tcp) ! Bind(self, new InetSocketAddress(address, port)) |
import java.time.Instant | |
import io.getquill.{MappedEncoding, LowerCase, MySQLDialect, JdbcContext} | |
import io.getquill.context.sql.SqlContext | |
import java.util.Date | |
trait Encoders { | |
implicit val instantEncoder = MappedEncoding[Instant, Date](i => Date.from(i)) | |
} | |
trait Decoders { |
## Java | |
sudo apt-get update | |
sudo apt-get install apt-transport-https default-jdk | |
## Scala | |
sudo apt-get remove scala-library scala | |
sudo wget http://scala-lang.org/files/archive/scala-2.12.1.deb | |
sudo dpkg -i scala-2.12.1.deb | |
sudo apt-get update | |
sudo apt-get install scala |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "forwarded_port", guest: 5672, host: 5672 | |
config.vm.network "forwarded_port", guest: 15672, host: 15672 | |
config.vm.provision "shell", inline: <<-SHELL | |
wget -O - 'https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc' | sudo apt-key add - | |
echo "deb https://dl.bintray.com/rabbitmq/debian trusty main" | sudo tee | |
apt-get update | |
apt-get install -y erlang rabbitmq-server |
#!/usr/bin/python | |
""" | |
Usage: | |
python swagger-yaml-to-html.py < /path/to/api.yaml > doc.html | |
""" | |
import yaml, json, sys | |
TEMPLATE = """ |
import java.io.BufferedWriter; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
public class TestDataGenerator { | |
public static void main(String[] args) { | |
int maxSize = 100; | |
int counter = 0; |
# Preperations | |
FROM debian:11 | |
WORKDIR /tmp | |
RUN apt-get update | |
RUN apt-get install -y \ | |
git=1:2.30.2-1 \ | |
libssl-dev=1.1.1n-0+deb11u4 \ | |
tclsh \ | |
pkg-config=0.29.2-1 \ | |
cmake=3.18.4-2+deb11u1 \ |