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
| def tag_user_id_link(body) | |
| tag = body.buffer.create_tag('_user_id_link', | |
| 'foreground' => 'blue', | |
| "underline" => Pango::UNDERLINE_SINGLE) | |
| tag.signal_connect('event'){ |this, textview, event, iter| | |
| result = false | |
| if(event.is_a?(Gdk::EventButton)) and | |
| (event.event_type == Gdk::Event::BUTTON_RELEASE) and | |
| not(textview.buffer.selection_bounds[2]) | |
| if (event.button == 1) |
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
| * IMPORTANT: 1 news items need reading for repository 'gentoo_prefix'. | |
| * Use eselect news to read news items. | |
| These are the packages that would be merged, in reverse order: | |
| Calculating dependencies ... done! | |
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
| scanelfを入れるために | |
| $emerge app-misc/pax-utils | |
| すると以下のエラー: | |
| [32;01m * [39;49;00mPackage: app-misc/pax-utils-0.2.1 | |
| [32;01m * [39;49;00mRepository: gentoo_prefix | |
| [32;01m * [39;49;00mMaintainer: solar@gentoo.org vapier@gentoo.org | |
| [32;01m * [39;49;00mUSE: elibc_glibc kernel_linux prefix userland_GNU x86 | |
| [32;01m * [39;49;00mFEATURES: preserve-libs | |
| >>> Unpacking source... | |
| >>> Unpacking pax-utils-0.2.1.tar.bz2 to /home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/work |
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
| --- build.sh 2011-10-26 18:55:09.000000000 +0900 | |
| +++ build_.sh 2011-11-04 07:47:41.410828740 +0900 | |
| @@ -4,7 +4,7 @@ | |
| # mikutter environment builder for developer (debian & ubuntu) | |
| #************************************************************** | |
| -RUBY_SERVER='http://ftp.ruby-lang.org/pub/ruby' | |
| +RUBY_SERVER='http://ftp.ruby-lang.org/pub/ruby/1.9' | |
| INSTALL_DIR='/opt/miku' | |
| SRC_DIR="${INSTALL_DIR}/src" |
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
| emerge --info =dev-lang/perl-5.12.3-r1 | |
| Portage 2.2.01.19572-prefix (prefix/linux/x86, gcc-4.4.5, unavailable, 2.6.41-custom-fornewercore2 i686) | |
| ================================================================= | |
| System Settings | |
| ================================================================= | |
| System uname: Linux-2.6.41-custom-fornewercore2-i686-Intel-R-_Core-TM-_i3_CPU_560_@_3.33GHz-with-debian-squeeze-sid | |
| Timestamp of tree: Sat, 19 Nov 2011 16:10:28 +0000 | |
| app-shells/bash: 4.2_p10 | |
| sys-devel/binutils: 2.21.53.0.2 | |
| sys-devel/gcc-config: 1.4.1-r00.2 |
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
| ls /usr/lib/libm* | |
| /usr/lib/libm17n-core.so.0 | |
| /usr/lib/libm17n-core.so.0.4.0 | |
| /usr/lib/libm17n-flt.so.0 | |
| /usr/lib/libm17n-flt.so.0.4.0 | |
| /usr/lib/libm17n-gui.so.0 | |
| /usr/lib/libm17n-gui.so.0.4.0 | |
| /usr/lib/libm17n.so.0 | |
| /usr/lib/libm17n.so.0.4.0 | |
| /usr/lib/libmad.a |
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
| [32;01m * [39;49;00mPackage: dev-lang/perl-5.12.3-r1 | |
| [32;01m * [39;49;00mRepository: gentoo_prefix | |
| [32;01m * [39;49;00mUSE: elibc_glibc kernel_linux prefix userland_GNU x86 | |
| [32;01m * [39;49;00mFEATURES: preserve-libs | |
| >>> Unpacking source... | |
| >>> Unpacking perl-5.12.3.tar.bz2 to /home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/work | |
| >>> Unpacking perl-5.12.3-4.tar.bz2 to /home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/work | |
| >>> Source unpacked in /home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/work | |
| >>> Preparing source in /home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/work/perl-5.12.3 ... | |
| [32;01m*[0m Applying various patches (bugfixes/updates) ... |
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
| # /home/cosmo/gentoo/etc/env.d/00basic | |
| # Do not edit this file | |
| # in prefix we have sbin variants in user path! | |
| PATH="/home/cosmo/gentoo/opt/bin:/home/cosmo/gentoo/usr/sbin:/home/cosmo/gentoo/sbin" | |
| ROOTPATH="/home/cosmo/gentoo/opt/bin" | |
| LDPATH="/home/cosmo/gentoo/usr/local/lib:/lib/i386-linux-gnu" | |
| MANPATH="/home/cosmo/gentoo/usr/share/man" | |
| INFOPATH="/home/cosmo/gentoo/usr/share/info" | |
| CVS_RSH="ssh" |
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
| # -*- coding: utf-8 -*- | |
| Plugin.create(:myfilter) do | |
| exclude_client = ["twittbot.net"] | |
| filter_show_filter do |msgs| | |
| msgs = msgs.select{ |m| not exclude_client.any?{ |word| m.to_s.include?(m[:source]) } } | |
| [msgs] | |
| end | |
| end |
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
| # -*- coding: utf-8 -*- | |
| # SDLでゲームパッド!! | |
| require 'sdl' | |
| Module.new do | |
| SDL.init(SDL::INIT_JOYSTICK) | |
| SDL::Joystick.num.times do |i| | |
| p SDL::Joystick.index_name(i) #joystickの認識に失敗するとmikutterがピャアアアアアアア | |
| end |
OlderNewer