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
(add-to-list 'load-path | |
"~/.emacs.d/packages/mikutter-mode") | |
(require 'mikutter) | |
(setq mikutter:dir (expand-file-name "~/mikutter/")) | |
;; mikutterパースペクティブ使うならこれもいる↓ | |
(require 'e2wm-mikutter) | |
(e2wm:add-keymap | |
e2wm:pst-minor-mode-keymap |
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
--- | |
slug: :strange_extractor | |
depends: | |
mikutter: 3.2.0 | |
plugin: [extract] | |
version: '1.0' | |
author: toshi_a | |
name: 'strange extractor' | |
description: 'add some strange extract conditions.' |
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
# twitpic | |
defimageopener('twitpic', %r<^http://twitpic\.com/[a-zA-Z0-9]+>) do |display_url| | |
connection = HTTPClient.new | |
page = connection.get_content(display_url) | |
next nil if page.empty? | |
doc = Nokogiri::HTML(page) | |
result = doc.css('img').lazy.find_all{ |dom| | |
%r<https?://.*?\.cloudfront\.net/photos/(?:large|full)/.*> =~ dom.attribute('src') | |
}.first | |
open(result.attribute('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
istream = Plugin.filtering(:openimg_raw_image_from_display_url, 'http://twitpic.com/d250g2/', nil).last | |
File.open(File.join(Environment::TMPDIR, 'd250g2.jpg'), 'w') do |ostream| | |
ostream.write(istream.read) | |
end | |
istream.close |
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
--- | |
event: quoted_tweet | |
created_at: Thu Jun 11 15:24:38 +0000 2015 | |
source: | |
id: 5885172 | |
id_str: '5885172' | |
name: SYUU BY ROCK! | |
screen_name: syuu1228 | |
location: "山梨県八王子市" | |
url: http://d.hatena.ne.jp/syuu1228/ |
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
# -*- coding: utf-8 | |
miquire :addon, 'addon' | |
miquire :core, 'environment' | |
miquire :addon, 'settings' | |
require 'net/http' | |
module Net | |
class <<HTTP | |
alias new_org new |
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
// ==UserScript== | |
// @name favstarfix | |
// @version 1.1 | |
// @namespace http://toshia.dip.jp/gm/favstarfix | |
// @description favstar display issue fix | |
// @include http://favstar.fm/* | |
// ==/UserScript | |
window.addEventListener('DOMContentLoaded', function(e){ | |
if( !document.body ) { return; } |
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
// ==UserScript== | |
// @name favstarfix | |
// @version 1.0 | |
// @namespace http://toshia.dip.jp/gm/favstarfix | |
// @description favstar display issue fix | |
// @include http://favstar.fm/* | |
// ==/UserScript | |
window.addEventListener('DOMContentLoaded', function(e){ | |
if( !document.body ) { return; } |
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
#name : ルイズコピペ | |
#ここからもらってきた http://azunyan.sitemix.jp/kunkakunka/kunkakunka.php | |
# -- | |
${1:ルイズ}!$1!$1!$1ぅぅうううわぁああああああああああああああああああああああん!!! | |
あぁああああ…ああ…あっあっー!あぁああああああ!!!$1$1$1ぅううぁわぁああああ!!! | |
あぁクンカクンカ!クンカクンカ!スーハースーハー!スーハースーハー!いい匂いだなぁ…くんくん | |
んはぁっ!${2:ルイズ・フランソワーズ}たんの${3:桃色ブロンド}の髪をクンカクンカしたいお!クンカクンカ!あぁあ!! | |
間違えた!モフモフしたいお!モフモフ!モフモフ!髪髪モフモフ!カリカリモフモフ…きゅんきゅんきゅい!! | |
${5:小説}${6:11巻}の$1たんかわいかったよぅ!!あぁぁああ…あああ…あっあぁああああ!!ふぁぁあああんんっ!! | |
${7:アニメ}${8:2期}決まって良かったね$1たん!あぁあああああ!かわいい!$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
# -*- coding: utf-8 -*- | |
miquire :addon, 'addon' | |
miquire :core, 'environment' | |
miquire :addon, 'settings' | |
Plugin::create(:set_view) do | |
settings("表示") do | |
settings('フォント') do | |
fontcolor 'デフォルトのフォント', :mumble_basic_font, :mumble_basic_color | |
fontcolor'リプライ元のフォント', :mumble_reply_font, :mumble_reply_color |