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
// | |
// (プラグインファイル名).js | |
// | |
// LICENSE: {{{ | |
// | |
// This software distributable under the terms of an MIT-style license. | |
// | |
// Copyright (c) 2009 snaka<[email protected]> | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy |
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
// | |
// gist.js | |
// | |
// LICENSE: {{{ | |
// Copyright (c) 2009 snaka<[email protected]> | |
// | |
// Distributable under the terms of an MIT-style license. | |
// http://www.opensource.jp/licenses/mit-license.html | |
// }}} | |
// PLUGIN INFO: {{{ |
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
buffer.js | |
--- | |
/** | |
* Scrolls the buffer vertically <b>pages</b> pages. | |
* | |
* @param {number} pages The number of pages to scroll. | |
*/ | |
scrollPages: function (pages) | |
{ | |
let win = findScrollableWindow(); |
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
" 行末の空白を可視化 | |
set list | |
set listchars=trail:@,tab:¥ ¥ |
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
<html><head><title>JS Stack trace for IE</title> | |
<script type="text/javascript"> | |
// --- stack trace --- | |
function stackTrace() { | |
var caller = arguments.callee.caller; | |
var stack = funcName(caller) + '<br/>' + | |
walker(caller.arguments.callee.caller); | |
window.open().document.write(stack); | |
function walker(caller) { |
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
require 'net/http' | |
require 'kconv' | |
require 'rubygems' | |
require 'json' | |
require 'pit' | |
require 'ruby-growl' | |
max_count = ARGV.shift.to_i | |
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
# | |
# biff.rb | |
# | |
require 'net/pop' | |
require 'nkf' | |
require 'rubygems' | |
require 'ruby-growl' | |
require 'pit' | |
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
#!/usr/bin/ruby | |
# GNTP test program for ruby | |
# | |
require 'socket' | |
def send_and_recieve msg | |
msg.gsub!(/\n/, "\r\n") | |
print msg | |
sock = TCPSocket.open('localhost', 23053) |
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
#!/usr/bin/ruby | |
# | |
# Ruby library for GNTP/1.0 | |
# | |
# LICENSE:{{{ | |
# Copyright (c) 2009 snaka<[email protected]> | |
# | |
# The MIT License | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal |
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
#!/usr/bin/ruby | |
# | |
# Ruby/GNTP example : twitter notifier | |
# | |
require 'net/http' | |
require 'rubygems' | |
require 'json' | |
require 'pit' |