Skip to content

Instantly share code, notes, and snippets.

View honggoff's full-sized avatar

honggoff

  • Switzerland
View GitHub Profile
@sentinelt
sentinelt / gist:3f1a984533556cf890d9
Created February 6, 2015 18:44
Program to set arbitrary speed
/*
* Allows to set arbitrary speed for the serial device on Linux.
* stty allows to set only predefined values: 9600, 19200, 38400, 57600, 115200, 230400, 460800.
*/
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <asm/termios.h>
int main(int argc, char* argv[]) {
@patthoyts
patthoyts / gist:2004319
Created March 9, 2012 00:24
Quick and dirty patch for gitk to make clickable bug/issue links when displaying commits
From b35942dc61aaa07961662aaaea49eb89ae913670 Mon Sep 17 00:00:00 2001
From: Pat Thoyts <patthoyts@users.sourceforge.net>
Date: Fri, 9 Mar 2012 00:20:51 +0000
Subject: [PATCH] gitk: quick hack to make clickable bug links in commit
message
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
---
gitk | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)