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 <sys/types.h> | |
#include <stdio.h> // perror | |
#include <string.h> // strlen | |
#include <unistd.h> // pipe2, dup, dup2, fork, read, close | |
#include <fcntl.h> // O_CLOEXEC flag | |
#include <signal.h> // kill | |
#include <iostream> | |
#include <string> | |
using namespace std; |
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
# パラメータは"f.hatena.ne.jp/hogehoge"の"hogehoge"の部分 | |
Param( | |
[parameter(Mandatory=$true)] | |
[string]$hatenaId | |
) | |
# 実行 | |
main -hatenaId $hatenaId | |
function main($hatenaId) { |
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
// vim: set noexpandtab: | |
(function($, jn){ | |
var _fn_janetterThumbnail = $.fn.janetterThumbnail; | |
$.fn.janetterThumbnail = function(content, from_expandurl){ | |
// サムネイル展開しない設定の場合は即リターン | |
if(jn.conf.disp_thumbnail === 'none'){ | |
return this; | |
} |
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
// 通知しないアカウントリスト | |
var ignored_accounts = [ | |
//'screen_name1', | |
'mizukiaikatubot', // 神崎美月が助けを求めるBOT | |
'himuro_RL_bot', // 氷室聖会長が興奮するbot(非公式) | |
'kouzimihama_bot', // 神浜コウジが歌い出すbot(非公式) | |
'Lycheeaikatubot', // 星宮らいちからの着信bot(非公式) | |
'returnhomemion', // 高峰みおんが家に帰るbot(非公式) | |
'Rizumu_maet_bot', // お肉大好き天宮りずむBOT(非公式) | |
'show_ShutUp_bot', // ショウ「黙れユンス!」bot (非公式) |