First, learn JSON. It's not programming language, not even close. Just follow syntax rules and you will be fine.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
directhex@flame:~/Projects/gtktest/gtktest/bin/Debug$ mkbundle -o gtktest --cross mono-5.8.0-ubuntu-16.04-x64 gtktest.exe --library /lib/x86_64-linux-gnu/libglib-2.0.so.0 --library /usr/lib/x86_64-linux-gnu/libffi.so.6 --library /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 --library /usr/lib/x86_64-linux-gnu/libdatrie.so.1 --library /usr/lib/x86_64-linux-gnu/libthai.so.0 --library /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 --library /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 --library /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 --library /lib/x86_64-linux-gnu/libz.so.1 --library /usr/lib/x86_64-linux-gnu/libpng16.so.16 --library /usr/lib/x86_64-linux-gnu/libfreetype.so.6 --library /lib/x86_64-linux-gnu/libexpat.so.1 --library /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 --library /usr/lib/x86_64-linux-gnu/libXau.so.6 --library /lib/x86_64-linux-gnu/libbsd.so.0 --library /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 --library /usr/lib/x86_64-linux-gnu/libxcb.so.1 --library /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pull base image. The official docker openjdk-8 image is used here. | |
FROM java:8-jdk | |
# Copy HiveMQ to container | |
COPY hivemq.zip /tmp/ | |
#Install wget and unzip, then download and install HiveMQ. | |
RUN \ | |
apt-get install -y wget unzip &&\ | |
unzip /tmp/hivemq.zip -d /opt/ &&\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FROM http://www.codeproject.com/Tips/777322/A-Faster-File-Copy | |
/// <summary> Time the Move | |
/// </summary> | |
/// <param name="source">Source file path</param> | |
/// <param name="destination">Destination file path</param> | |
public static void MoveTime (string source, string destination) | |
{ | |
DateTime start_time = DateTime.Now; | |
FMove (source, destination); | |
long size = new FileInfo (destination).Length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace FluentCassandra | |
{ | |
/// <summary> | |
/// Used for generating UUID based on RFC 4122. | |
/// </summary> | |
/// <seealso href="http://www.ietf.org/rfc/rfc4122.txt">RFC 4122 - A Universally Unique IDentifier (UUID) URN Namespace</seealso> | |
public static partial class GuidGenerator | |
{ |