Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:
entrypoint: mysqld_safe --skip-grant-tables --user=mysql
The start up the Docker Compose stack:
$> docker-compose up -d
The GitLab container comes with an embedded ssh daemon to provide secure access to the git repositories. This ssh daemon inside the container must be accessible via the ssh port (Port 22) of the host machine. However, this usually conflicts with the ssh daemon run by the host machine.
This document describes how the host and the container ssh can be chained to work nevertheless.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <title>ePOS-Print</title> | |
| <script type="text/javascript"> | |
| // URL of ePOS-Print supported TM printer (Version 4.1 or later) | |
| var url = 'http://10.0.0.201/cgi-bin/epos/service.cgi'; |
Hello, brethren :-)
As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".
| package org.hibernate.test; | |
| import com.google.inject.AbstractModule; | |
| import com.google.inject.Inject; | |
| import com.google.inject.Singleton; | |
| import com.google.inject.persist.PersistService; | |
| import com.google.inject.persist.jpa.JpaPersistModule; | |
| public class DatabaseTestModule extends AbstractModule { |
| interface SerializeableWithKryo | |
| class ImmutableClassSerializer<T : SerializeableWithKryo>(val klass: KClass<T>) : Serializer<T>() { | |
| val props = klass.memberProperties.sortedBy { it.name } | |
| val propsByName = props.toMapBy { it.name } | |
| val constructor = klass.primaryConstructor!! | |
| init { | |
| // Verify that this class is immutable (all properties are final) | |
| assert(props.none { it is KMutableProperty<*> }) |
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| maven { | |
| name = "forge" | |
| url = "http://files.minecraftforge.net/maven" | |
| } | |
| maven { | |
| name = "sonatype" | |
| url = "https://oss.sonatype.org/content/repositories/snapshots/" |
| import java.io.BufferedReader; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.UUID; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; |
| import java.io.BufferedReader; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.UUID; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; | |
| import java.util.function.Consumer; |
| <?php | |
| /** | |
| * @author Savaş Can ALTUN <[email protected]> | |
| * www.savascanaltun.com.tr | |
| * CURL vBulletin Login Example | |
| * */ | |
| function vBulletinLogin($username,$password,$url,$posturl){ | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_HEADER,false); | |
| curl_setopt($ch, CURLOPT_COOKIEFILE, 'veri.txt'); |