Skip to content

Instantly share code, notes, and snippets.

@magthe
magthe / style.csl
Created September 10, 2014 19:34
CSL for pandoc-citeproc issue #81
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal" default-locale="en-US">
<info>
<title>Journal of Combinatorics</title>
<id>http://www.zotero.org/styles/journal-of-combinatorics</id>
<link href="http://www.zotero.org/styles/journal-of-combinatorics" rel="self"/>
<link href="http://www.e-publications.org/intlpress/support/" rel="documentation"/>
<author>
<name>Alafate Julaiti</name>
<email>arapat@arap.at</email>
@magthe
magthe / CMakeLists.txt
Last active February 5, 2024 18:30
Complete example of D-BUS client and server using Qt5 and CMake.
cmake_minimum_required(VERSION 3.5)
project(DBusTest)
find_package(Qt5 CONFIG REQUIRED Core DBus)
set(prog_SRCS my.test.Calculator.xml)
qt5_generate_dbus_interface(Calc.hh
my.test.Calculator.xml
OPTIONS -A
)
@magthe
magthe / msys2.reg
Created September 11, 2014 06:56
MSYS2 "Open Here" registry settings
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2]
@="Open MSYS2 here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/sh -lc 'cd \"$(cygpath \"%V\")\"; exec bash'"
[HKEY_CLASSES_ROOT\Folder\shell\open_msys2]
@="Open MSYS2 here"