This file contains 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
# Maintainer: haru <uobikiemukot at gmail dot com> | |
pkgname=mlterm-fb | |
_pkgname=mlterm | |
pkgver=3.1.5 | |
pkgrel=1 | |
pkgdesc="Multi Lingual TERMinal emulator on X" | |
arch=('i686' 'x86_64') | |
url="http://mlterm.hg.sourceforge.net/hgweb/mlterm/mlterm/" | |
license=('MIT') | |
depends=('libx11' 'fribidi' 'gdk-pixbuf') |
This file contains 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 <stdlib.h> | |
enum { | |
BITS_PER_BYTE = 8, | |
TYPE_AUTO = 1, | |
TYPE_MANUAL = 2, | |
}; | |
int swap_byte(int byte) |
This file contains 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
/* See LICENSE for licence details. */ | |
/* | |
Standard VGA colors | |
http://en.wikipedia.org/wiki/ANSI_escape_code | |
*/ | |
const struct color_t color_list[COLORS] = { | |
/* system color: 16 | |
{0x00, 0x00, 0x00}, {0xAA, 0x00, 0x00}, {0x00, 0xAA, 0x00}, {0xAA, 0x55, 0x00}, | |
{0x00, 0x00, 0xAA}, {0xAA, 0x00, 0xAA}, {0x00, 0xAA, 0xAA}, {0xAA, 0xAA, 0xAA}, | |
{0x55, 0x55, 0x55}, {0xFF, 0x55, 0x55}, {0x55, 0xFF, 0x55}, {0xFF, 0xFF, 0x55}, |
This file contains 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 | |
# usage: ./mkarchiso.sh ISO_IMAGE | |
YAFT_32=~haru/yaft/yaft_32 | |
YAFT_64=~haru/yaft/yaft_64 | |
TERMINFO=~haru/yaft/info/yaft.src | |
KEYMAP=~haru/tmp/special/us-fix.map.gz | |
ISO=$1 |
This file contains 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
--- protocols/twitter/twitter.c.orig 2013-04-12 20:33:58.236098274 +0900 | |
+++ protocols/twitter/twitter.c 2013-04-12 20:34:09.505347769 +0900 | |
@@ -615,7 +615,7 @@ | |
twitter_log(ic, "Could not undo last action"); | |
goto eof; | |
- } else if (g_strcasecmp(cmd[0], "favourite") == 0 && cmd[1]) { | |
+ } else if (g_strcasecmp(cmd[0], "fav") == 0 && cmd[1]) { | |
if ((id = twitter_message_id_from_command_arg(ic, cmd[1], NULL))) { | |
twitter_favourite_tweet(ic, id); |
This file contains 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 <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
#include <sys/ioctl.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <linux/fb.h> | |
enum { |
This file contains 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
--- kiklib/src/kik_str.c.orig 2014-04-24 14:08:29.656026948 +0900 | |
+++ kiklib/src/kik_str.c 2014-04-24 14:07:43.530258598 +0900 | |
@@ -130,6 +130,11 @@ | |
return strcpy( dst , src) ; | |
} | |
+char *kik_str_alloca_dup(const char *src) | |
+{ | |
+ return __kik_str_copy(alloca(strlen(src) + 1), src); | |
+} |
This file contains 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
/* please refer better example: https://github.com/dvdhrm/docs/tree/master/drm-howto/ */ | |
#define _XOPEN_SOURCE 600 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <xf86drm.h> |
This file contains 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
#define _XOPEN_SOURCE 600 | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <linux/fb.h> | |
#include <stimg.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains 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
Pq"1;1;128;36 | |
#0!16~#1!16~#2!16~#3!16~#4!16~#5!16~#6!16~#7!16~$- | |
#0!16~#1!16~#2!16~#3!16~#4!16~#5!16~#6!16~#7!16~$- | |
#0!16~#1!16~#2!16~#3!16~#4!16~#5!16~#6!16~#7!16~$- | |
#8!16~#9!16~#10!16~#11!16~#12!16~#13!16~#14!16~#15!16~$- | |
#8!16~#9!16~#10!16~#11!16~#12!16~#13!16~#14!16~#15!16~$- | |
#8!16~#9!16~#10!16~#11!16~#12!16~#13!16~#14!16~#15!16~$- | |
\ |
OlderNewer