Skip to content

Instantly share code, notes, and snippets.

@soh335
soh335 / run
Created December 25, 2011 10:59
#!/usr/bin/env perl
use strict;
use warnings;
use FindBin;
use IPC::Cmd qw/run_forked/;
use Cocoa::Growl ':all';
use Filesys::Notify::Simple;
" {{{
" for tex
function! s:subsitute_interpunction()
silent execute "try | %s/。/./g | catch | endtry"
silent execute "try | %s/、/,/g | catch | endtry"
endfunction
autocmd! BufWrite *.tex call s:subsitute_interpunction()
" }}}
x0y240t342v1n3
-----------
35.310059 ~ 35.321045
139.482422 ~ 139.504395
2010-12-31T23:59:10 ~ 2011-01-01T00:16:14
x0y240t342v1
-----------
35.288086 ~ 35.332031
use strict;
use warnings;
use Amon2::Lite;
my %actions = (
"start" => qq(tell application "Keynote" \nstart\n end tell),
"stop" => qq(tell application "Keynote" \nstop slideshow\n end tell),
"next" => qq(tell application "Keynote" \nshow next\n end tell),
"back" => qq(tell application "Keynote" \nshow previous\n end tell),
require 'mechanize';
agent = Mechanize.new;
page = agent.get("http://ekikara.jp/newdata/state/station/13-01.htm");
page.search("span.textBold").each do |a|
puts a.inner_text
end
sub hoge{}
sub hoge {}
"FOSS4G 2011 Tokyo コア・デイ"
"FOSS4G 2011 Tokyo ハンズオン+コミュニティ・デイ"
"空間情報(技術|科学)と社会との関係を捉えるフレームワークについて"
"GISの再構築を考える"
"ジオを基軸とするコンピューティングを妄想する"
"Google Earth を使った地形探索入門"
"バス路線図を考える"
"「緑の党」報道を踏まえて「アースダイバー」をどう乗り越えるか"
"学校教育へのGIS導入の困難さについて"
"神社の立地の歴史的な意味と津波について"
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
public class Hoge {
public static void main(String[] args) {
// final List<String> list = new ArrayList<String>();
final List<String> list = new CopyOnWriteArrayList<String>();
list.add("a");
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use AnyEvent::Twitter::Stream;
use Config::Pit;
use Net::Twitter::Lite;
use AnyEvent::WebService::ImKayac;
use YAML::Tiny;