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/python | |
import gi | |
import sys | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import Gtk | |
from gi.repository import GLib | |
def log_handler(a, b, c, d): |
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 "sparsepack.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
struct context { | |
char *cur_buf; |
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 | |
unset int | |
[ -t 0 ] && int=yes | |
medium_minus_date="commit %H%nAuthor: %an <%ae>%n%n%w(0,4,4)%B" | |
csi=$(printf "\033["); w=${csi}1m; n=${csi}m | |
[ $# -eq 0 -o "$1" = "--help" ] && { |