Skip to content

Instantly share code, notes, and snippets.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MKVToolNix configure 9.9.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --with-boost=/home/djcj/Downloads/mkvtoolnix-9.9.0~ubuntu14.04/libs --enable-qt --enable-static-qt --enable-debug --disable-optimization
## --------- ##
## Platform. ##
#!/bin/sh
set -e
set -x
mkdir -p build
cd build
# readelf
deb: libgtk2.0-0
libgtk-x11-2.0.so.0
libgdk-x11-2.0.so.0
deb: libgdk-pixbuf2.0-0
libgdk_pixbuf_xlib-2.0.so.0
libgdk_pixbuf-2.0.so.0
deb: libglib2.0-0
libglib-2.0.so.0
#!/bin/sh
appimage="qpdfview-0.4.17beta1.glibc2.14-x86_64.AppImage"
uniquename="${appimage}-$(date +%s)" # seconds since 1970-01-01 00:00:00 UTC, good enough for this purpose
desktopfile="$HOME/.local/share/applications/$uniquename.desktop"
iconfile="$HOME/.local/share/icons/$uniquename.png"
mkdir -p "$HOME/.local/share/applications"
mkdir -p "$HOME/.local/share/icons"
/* XPM */
static const char *logo[] = {
/* columns rows colors chars-per-pixel */
"48 48 149 2 ",
" c #2E4859",
". c #2E4959",
"X c #304C5C",
"o c #324C5C",
"O c #314E5E",
"+ c #345060",
#!/bin/bash
# tested in Ubuntu 14.04 chroot
# run with `--build-qt-from-source' to build Qt libraries from source
set -e
set -x
sudo apt-get install -y --no-install-recommends git wget fuse build-essential gperf bison ruby flex libsqlite3-dev libjpeg-dev libpng-dev zlib1g-dev libharfbuzz-dev libgtk2.0-dev libicu-dev libgl1-mesa-dev libx11-dev libxkbcommon-dev
sudo apt-get install -y --no-install-recommends "libxcb-*"
#!/bin/bash
set -e
# use Ubuntu 14.04 (chroot) as build system
if [ "$(lsb_release -sc)" != "trusty" ]; then
echo "error: build system needs to be Ubuntu 14.04"
echo "use chroot if possible"
exit 1
fi
// moved to https://github.com/darealshinji/superhot-linux-launcher
#include <Windows.h>
PBITMAPINFO CreateBitmapInfoStruct(HWND hwnd, HBITMAP hBmp)
{
BITMAP bmp;
PBITMAPINFO pbmi;
WORD cClrBits;
// Retrieve the bitmap color format, width, and height.
if (!GetObject(hBmp, sizeof(BITMAP), (LPSTR)&bmp))
@darealshinji
darealshinji / screenfetch-dev
Created August 4, 2016 03:40
IBM S/390 fix
#!/usr/bin/env bash
# screenFetch - a CLI Bash script to show system/theme info in screenshots
# Copyright (c) 2010-2016 Brett Bohnenkamper <kittykatt@kittykatt.us>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.