Skip to content

Instantly share code, notes, and snippets.

int gsdll_callback(int message, char* str, unsigned long const) { return 0;}
int main(int argc, char* argv[])
{
int rc;
args[0] = "gsdll32-test.exe";
args[1] = "-dBATCH";
args[2] = "-dNOPAUSE";
args[3] = "-dDEVICE=pdfwrite";
rc = gsdll_init(gsdll_callback, NULL, argct, args);
% dot -T svg graph1.gv -o graph1.svg
graph1.gv
=========
graph G {
node [label="\N"];
graph [bb="0,0,218,108"];
king [pos="31,90", width="8.86", height="0.50"];
lord [pos="31,18", width="0.81", height="0.50"];

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server:

@lukexie
lukexie / ARMonQEMUforDebianUbuntu.md
Created January 9, 2020 09:40 — forked from luk6xff/ARMonQEMUforDebianUbuntu.md
Emulating ARM with QEMU on Debian/Ubuntu

You might want to read this to get an introduction to armel vs armhf.

If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.

Running ARM programs under linux (without starting QEMU VM!)

First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static so that you can run ARM executables directly on linux

If there's no qemu-arm-static in the package list, install qemu-user-static instead