This can be used to retreive files/binaries/information from docker containers.
#!/bin/bash
set -Eeuo pipefail
mkdir ./binary || true
# build most recent docker image
require 'json' | |
require 'pry' | |
require 'uri' | |
require 'net/http' | |
class FocusMateNumSessions | |
# Step 1. Create a file somewhere in your filesystem. | |
# Call it fm_token_file.txt. Insert the path to the file into the line below | |
# Make sure to look at the reference .txt file and just paste | |
# that over. |
val scalacOptions = Seq( | |
"-encoding", | |
"utf-8", // Specify character encoding used by source files. | |
"-Ybackend-parallelism", // | |
"8", | |
"-explaintypes", // Explain type errors in more detail. | |
"-feature", // Emit warning and location for usages of features that should be imported explicitly. | |
"-unchecked", // Enable additional warnings where generated code depends on assumptions. | |
"-Xcheckinit", // Wrap field accessors to throw an exception on uninitialized access. | |
// "-Ymacro-annotations", // Enable support for macro annotations, formerly in macro paradise. |
This can be used to retreive files/binaries/information from docker containers.
#!/bin/bash
set -Eeuo pipefail
mkdir ./binary || true
# build most recent docker image
Ctrl + Alt + Space
<!-- all you need to know about log levels src: https://i.stack.imgur.com/Z5mag.png --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> | |
<appender name="console" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern> %d{yyyy-MM-dd HH:mm:ss.SSS} [%level] %msg %n</pattern> | |
</encoder> | |
</appender> |
brew options ffmpeg | |
brew install ffmpeg \ | |
--with-chromaprint \ | |
--with-fdk-aac \ | |
--with-fontconfig \ | |
--with-freetype \ | |
--with-frei0r \ | |
--with-game-music-emu \ | |
--with-libass \ |
import fansi.Str | |
import org.slf4j.LoggerFactory | |
import scala.util.Try | |
import scala.util.control.NonFatal | |
object TablePrinter { | |
val logger = LoggerFactory.getLogger(TablePrinter.getClass) |
# Image neeeds to have ssh-client | |
image: docker:git | |
services: | |
- docker:dind | |
stages: | |
- staging | |
before_script: | |
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY |
config.vm.provision "shell", inline: <<-SHELL | |
apt-get -y -q update | |
apt-get -y -q upgrade | |
apt-get -y -q install software-properties-common htop | |
add-apt-repository ppa:webupd8team/java | |
apt-get -y -q update | |
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
apt-get -y -q install oracle-java8-installer | |
apt-get -y -q install oracle-java7-installer |