Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name riaju
// @include http://*
// ==/UserScript==
document.body.innerHTML=document.body.innerHTML.replace(/リア充/g,'リア王');
// ==UserScript==
// @name city_hunter
// @include http://*
// ==/UserScript==
document.body.innerHTML=document.body.innerHTML.replace(/ほっこり/g,'もっこり');
#!/usr/bin/env ruby
require 'optparse'
require 'net/http'
Net::HTTP.version_1_2
class TwitterList
attr_accessor :user_name, :password, :list_name
#!/usr/bin/perl
use strict;
use warnings;
my $print_if_multiple_of = sub {
my ($str, $base) = @_;
return sub {
my $num = shift;
let PLUGIN_INFO =
<VimperatorPlugin>
<name>fms_switcher</name>
<description>This script allows you to switch FireMobileSimulator status with Vimp CLI.</description>
<version>1.0.1</version>
<author>zentooo</author>
<license>Creative Commons</license>
<detail><![CDATA[
== Subject ==
This script allows you to switch FireMobileSimulator status from Vimperator CLI.
def dir(name, dir = nil)
dir ||= name
task name do
sh "tmux new-window -n #{name}";
sh "tmux send-keys -t:#{name} 'cd #{dir}; clear' C-m";
end
end
def perl(name, dir = nil)
dir ||= name
use strict;
use warnings;
use YAML::XS;
use JSON::XS;
use Path::Class;
use Encode;
my $path = shift @ARGV;
my $obj = Load(decode('utf8', file($path)->slurp));
URxvt.geometry: 84x27
URxvt.font: xft:VLGothic:pixelsize=15
URxvt.imFont: -*-medium-r-*-15-*
URxvt.preeditType: OverTheSpot
URxvt.scrollBar: false
URxvt.foreground: white
URxvt.background: black
URxvt.tintColor: black
URxvt.cursorColor: white
URxvt.cursorColor2: #000000
var util = require('util'),
colors = require('colors'),
twitter = require('./node-twitter');
var twit = new twitter({
consumer_key: '',
consumer_secret: '',
access_token_key: '',
access_token_secret: ''
});
let PLUGIN_INFO =
<VimperatorPlugin>
<name>instant previews</name>
<description>This script allows you to use Instant Viewer feature of Google Search with Vimperator.</description>
<version>0.1.0</version>
<author>zentooo</author>
<license>Creative Commons</license>
<detail><![CDATA[
== Subject ==
This script allows you use Google's Instant Viewer with Vimperator.