Skip to content

Instantly share code, notes, and snippets.

/* 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 <[email protected]>
# 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.
Pkg: a52dec
Pc: liba52.pc
Libs: -la52
Pkg: mman-win32
Pc: mman.pc
Libs: -lmman
Pkg: lzo
Pc: lzo.pc
# -*- mode: autoconf -*-
#
# AX_CHECK_CL
#
# Check for an OpenCL implementation. If CL is found, the required compiler
# and linker flags are included in the output variables "CL_CFLAGS" and
# "CL_LIBS", respectively. If no usable CL implementation is found, "no_cl"
# is set to "yes".
#
# If the header "CL/cl.h" is found, "HAVE_CL_CL_H" is defined. If the header
itch-canary_0.14.38-canary_amd64.deb:
neues Debian-Paket, Version 2.0.
Größe 36508158 Byte: control-Archiv= 2650 Byte.
337 Byte, 12 Zeilen control
5287 Byte, 78 Zeilen md5sums
81 Byte, 6 Zeilen * postinst #!/bin/sh
Package: itch-canary
Version: 0.14.38-canary
License: MIT
Vendor: itch.io
This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -32,7 +32,7 @@ SUBDIRS_FIRST = libdjvu tools
@XML_YES@SUBDIRS_XML = xmltools