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 -*- | |
# ruby timer.rb 12:00 1 2 3 4 5 6 7 8 9 10 15 30 1m 2m 3m 4m 5m 10m 15m 20m 30m 45m 1h 1h30m 2h | |
require 'time' | |
require 'timers' | |
def usage | |
STDERR.puts "Usage: ruby timer end_time timing [timing..]" | |
STDERR.puts " example: ruby timer 12:00 1 2 3 5m 30m 1h" | |
exit |
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
package com.cybozu; | |
import java.io.File; | |
import java.sql.SQLException; | |
import java.text.DateFormat; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; |
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
/home/ubuntu/git/qron/webfront/log/production.log { | |
daily | |
missingok | |
nocreate | |
compress | |
delaycompress | |
copytruncate | |
rotate 30 | |
} |
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
VERSION BUILD=8601111 RECORDER=FX | |
TAB T=1 | |
URL GOTO=about:newtab | |
URL GOTO=http://www.ipdl.inpit.go.jp/Syouhyou/syouhyou.htm | |
TAG POS=1 TYPE=A ATTR=TXT:商標出願・登録情報 | |
PROMPT "Please enter name" !VAR1 | |
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:FORM1 ATTR=NAME:key01 CONTENT={{!VAR1}} | |
TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:FORM1 ATTR=* | |
SET !TIMEOUT 10 | |
TAG POS=1 TYPE=INPUT:BUTTON FORM=ACTION:/syutsugan/TM_LIST_A.cgi ATTR=* |
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
- ー | |
~ 〜 | |
. 。 | |
, 、 | |
z/ ・ | |
z. … | |
z, ‥ | |
zh ← | |
zj ↓ | |
zk ↑ |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<!-- | |
Designed by | |
_|_|_| _|_| _|_|_|_| _|_| _| _|_| |
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
#!/usr/bin/perl | |
sub replace{ | |
my $url = shift; | |
$url =~ s|.*RD_PARM1=||; | |
$url =~ s|%25(..)|chr(hex($1))|ge; | |
$url =~ s|\?.*||; | |
return '\"' . $url . '?uo=4&at=10l4yZ' . '\"'; | |
} | |
while(<>){ |
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
#!/usr/bin/perl | |
# from http://d.hatena.ne.jp/amachang/20090603/1244025898 | |
use utf8; | |
use strict; | |
use warnings; | |
use CGI; | |
use Net::Delicious; | |
use Config::Pit; | |
use constant { |
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
#!/usr/bin/perl | |
# 宛名職人V17でContactXML 1.1, utf-8で出力 | |
use Data::Dumper; | |
{ | |
package Data::Dumper; | |
sub qquote { return shift; } | |
} | |
$Data::Dumper::Useperl = 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
<!-- | |
Copyright (c) 2006-2007 Apple Inc. All rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |