This file contains hidden or 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
/* | |
* License: GPLv2+ | |
* Author: Colomban Wendling <[email protected]> | |
*/ | |
/* | |
* FIXME: improve function names (e.g. strvstrv doesn't simply do strstr anymore) | |
*/ | |
#include <stdlib.h> |
This file contains hidden or 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
#!/bin/bash | |
# Diffs 2 configuration files, sorting their content by sections to and key | |
# names to get a meaningful diff. | |
sed_escape() { | |
sed 's/[][/\\.$^]/\\\0/g' <<<"$1" | |
} | |
read_section_sorted() { |
This file contains hidden or 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
/* | |
* geany-run-helper.c - this file is part of Geany, a fast and lightweight IDE | |
* | |
* Copyright 2016 Colomban Wendling <ban(at)herbesfolles(dot)org> | |
* | |
* 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 2 of the License, or | |
* (at your option) any later version. | |
* |
This file contains hidden or 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
#!/bin/sh | |
set -e | |
trap 'rm -f /tmp/get-type.txt geany-gtkdoc-tmp.h' EXIT INT QUIT TERM | |
# prepare the get-type list | |
cat > /tmp/get-type.txt <<EOF | |
get-type:stash_group_get_type | |
get-type:tm_source_file_get_type |
This file contains hidden or 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
#!/usr/bin/make -f | |
PLUGIN = c-preproc-hl | |
VPATH ?= . | |
# fetch from https://github.com/b4n/geany-plugin.mk | |
include $(VPATH)/geany-plugin.mk |
This file contains hidden or 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
#!/usr/bin/make -f | |
PLUGIN = indictest | |
VPATH ?= . | |
# fetch from https://github.com/b4n/geany-plugin.mk | |
include $(VPATH)/geany-plugin.mk |
This file contains hidden or 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
#!/usr/bin/env python | |
# chose either GTK 2 or 3 | |
GTK=2 | |
if GTK == 3: | |
from gi.repository import Gtk, GLib | |
else: | |
import gtk as Gtk | |
import glib as GLib |
This file contains hidden or 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
/* | |
* Threaded TM updates. | |
* | |
* One worker thread processes parsing jobs. | |
* | |
* A job represents the update of one single source file. | |
* A group represents the user's update request, that can consist of several update jobs. | |
* | |
* The job<->group relation is many-to-many: A group can consist of multiple jobs, and a job can be | |
* shared by several groups. This allows to perform bulk updates as a single job, while allowing |
This file contains hidden or 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
#include <stdio.h> | |
#include "mio/mio.h" | |
int | |
main (int argc, | |
char **argv) | |
{ | |
int ret = 0; | |
int i; |
NewerOlder