Skip to content

Instantly share code, notes, and snippets.

Izumi Tsutsui tsutsui

Block or report user

Report or block tsutsui

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tsutsui
tsutsui / mikutter-osc2019kyoto-seminor-toots.html
Created Aug 9, 2019
OSC京都2019でのとしぁさんによる mikutterセミナー中に投稿された、関連しそうな(?)トゥートです
View mikutter-osc2019kyoto-seminor-toots.html
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<p><p>OSC京都2019でのとしぁさんによる <a href="https://www.ospn.jp/osc2019-kyoto/modules/eguide/event.php?eid=59">mikutterセミナー</a>中に投稿された、関連しそうな(?)トゥートです</p>
</p>
<iframe src="https://social.mikutter.hachune.net/@tsutsuii/102550775879719139/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><br>
<iframe src="https://social.mikutter.hachune.net/@toshi_a/102550778925971248/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><br>
@tsutsui
tsutsui / skcms.ii
Created Jul 18, 2019
-save-temps result for pkg/54383 (firefox 68.0 build fails on NetBSD/i386 8.1)
View skcms.ii
# 1 "/r/cvs/netbsd/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/skcms.cc"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/r/cvs/netbsd/pkgsrc/www/firefox/work.i386/firefox-68.0/config/gcc_hidden.h" 1
#pragma GCC visibility push(hidden)
@tsutsui
tsutsui / patch-gfx_skia_generate__mozbuild.py.diff
Created Jul 11, 2019
quick patches to build pkgsrc/www/filrefox 68.0 on NetBSD/i386 8.1 with gcc6 (to avoid internal compiler error)
View patch-gfx_skia_generate__mozbuild.py.diff
$NetBSD$
- avoid internal compiler error on NetBSD/i386 8.1:
/usr/obj.i386/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:640:13: internal compiler error: in convert_move, at expr.c:271
static void exec_ops(const Op* ops, const void** args,
^~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
View nanotodon.diff
diff --git a/Makefile b/Makefile
index ac1828f..9563b29 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
TARGET = nanotodon
OBJS_TARGET = nanotodon.o
+SRCS = nanotodon.c
-CFLAGS = -g
@tsutsui
tsutsui / pkgsrc-mikutter-3.9.0-alpha1.diff
Created Jun 16, 2019
necessary diffs for mikutter 3.9.0-alpha1 update
View pkgsrc-mikutter-3.9.0-alpha1.diff
? devel/ruby-delayer/work.i386
? devel/ruby-delayer-deferred/work.i386
? devel/ruby-diva/work.i386
? net/ruby-addressable/work.i386
? net/ruby-pluggaloid/work.i386
? net/ruby-twitter-text/work.i386
? net/mikutter/work.i386
Index: devel/ruby-delayer/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ruby-delayer/Makefile,v
@tsutsui
tsutsui / mikutter-uwm-hommage-3.9.diff
Created Jun 12, 2019
dumb diff against mikutter-uwm-hommage to support mikutter 3.9.0-develop
View mikutter-uwm-hommage-3.9.diff
diff --git a/postbox.rb b/postbox.rb
index f0854f3..4599c65 100644
--- a/postbox.rb
+++ b/postbox.rb
@@ -93,9 +93,9 @@ class Gtk::PostBox
end
# 投稿処理
- def uwm_post(text, mediaiolist)
+ def uwm_post(text, mediaiolist, world)
@tsutsui
tsutsui / firefox-pr54206.diff
Created May 24, 2019
testing a patch for PR pkg/54206
View firefox-pr54206.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox/Makefile,v
retrieving revision 1.375
diff -u -p -d -r1.375 Makefile
--- Makefile 22 May 2019 13:32:51 -0000 1.375
+++ Makefile 24 May 2019 14:03:10 -0000
@@ -3,6 +3,7 @@
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
MOZ_BRANCH= 67.0
@tsutsui
tsutsui / pkgsrc_cubeb_oss.c.diff
Created May 24, 2019
patched patch-media_libcubeb_src_cubeb__oss.c for PR pkg/54206
View pkgsrc_cubeb_oss.c.diff
$NetBSD: patch-media_libcubeb_src_cubeb__oss.c,v 1.12 2018/11/04 00:38:45 ryoon Exp $
* Restore OSS audio support code
* fix wrong latency values in stream_init (PR pkg/54206)
--- media/libcubeb/src/cubeb_oss.c.orig 2019-05-24 13:05:19.117086384 +0000
+++ media/libcubeb/src/cubeb_oss.c
@@ -0,0 +1,453 @@
+/*
+ * Copyright © 2014 Mozilla Foundation
@tsutsui
tsutsui / pkgsrc-multimedia-mpv.diff
Created May 14, 2019
Add ALSA audio output support for pkgsrc/multimedia/mpv
View pkgsrc-multimedia-mpv.diff
? patches/patch-audio_out_ao__alsa.c
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mpv/distinfo,v
retrieving revision 1.51
diff -u -p -d -r1.51 distinfo
--- distinfo 5 Feb 2019 12:07:57 -0000 1.51
+++ distinfo 14 May 2019 12:10:53 -0000
@@ -4,6 +4,7 @@ SHA1 (mpv-0.29.1.tar.gz) = 83f2bc0eb5a8b
RMD160 (mpv-0.29.1.tar.gz) = 72a4fda3a72ac4fd37ed04435833fa2cf378a012
@tsutsui
tsutsui / mec-evcnt-log.txt
Created May 12, 2019
packet mesuaments of NetBSD/sgimips 8.0 on O2 mec(4) Ethernet for PR/54194 http://mail-index.netbsd.org/netbsd-bugs/2019/05/11/msg062032.html
View mec-evcnt-log.txt
# vmstat -e | grep mec0 ; ping -n -s 4067 -c 1 192.168.20.1 ; vmstat -e | grep mec0
mec0 TX pkts queued total 154 0 misc
mec0 TX pkts padded in txdesc buf 8 0 misc
mec0 TX pkts copied to txdesc buf 123 0 misc
mec0 TX pkts using concat ptr1 21 0 misc
mec0 TX pkts w/ptr1 ~160bytes 13 0 misc
mec0 TX pkts w/ptr1 ~512bytes 1 0 misc
mec0 TX pkts w/ptr1 >1024bytes 7 0 misc
mec0 TX pkts using concat ptr1,2 2 0 misc
mec0 TX pkts w/ptr2 >1024bytes 2 0 misc
You can’t perform that action at this time.