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
--- nucleus/plugins/NP_ImpExp.php.org 2010-09-11 13:22:20.939423749 +0900 | |
+++ nucleus/plugins/NP_ImpExp.php 2010-09-10 20:52:50.000000000 +0900 | |
@@ -107,6 +107,29 @@ | |
); | |
} | |
+ // mrmt | |
+ function unfold($source){ | |
+ $in_pre = 0; | |
+ $buf = ''; |
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 | |
# Excel列名変換問題で第2回社内プログラミングコンテストを開催してみた | |
# (前編) - ITは芸術だ | |
# http://d.hatena.ne.jp/JunichiIto/20111102/1320253815 | |
# | |
# from 15:23 | |
# step 1 15:51 | |
# step 2 16:35 | |
use strict; |
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 | |
use feature 'say'; | |
use warnings; | |
use strict; | |
usage() unless scalar(@ARGV) == 1; | |
our $max_value = $ARGV[0]; | |
usage() unless $max_value > 0; | |
for my $i (1 .. $max_value){ |
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
/*This makes the item header blue*/ | |
.entry-title-link { | |
color:#2244BB !important; | |
} | |
a.entry-title-link { | |
color:#2244BB !important; | |
} | |
.entry-title { | |
color:#2244BB !important; | |
} |
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
#!/bin/sh | |
echo " / ̄ ̄ ̄ ̄ ̄ミ" | |
echo " / ,――――-ミ" | |
echo " / / / \ |" | |
echo " | / ,(・) (・)|" | |
echo "(6 つ 。|" | |
echo " | ___ | / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ " | |
echo " | /__/ / < $*なんてねぇだろ! " | |
echo "/| /\ \__________ " |
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 | |
# | |
# Copyright (C) 1993-2001 Ken'ichi Fukamachi | |
# All rights reserved. | |
# 1993-1996 fukachan@phys.titech.ac.jp | |
# 1996-2001 fukachan@sapporo.iij.ad.jp | |
# | |
# FML is free software; you can redistribute it and/or modify | |
# it under the terms of GNU General Public License. | |
# See the file COPYING for more details. |
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
From: Mixcloud <noreply@mixcloud.com> | |
Subject: How to reclaim your Mixcloud account. | |
To: XXXXXXXXXXXXXXXXXXXX | |
You're receiving this e-mail because you have de-authorized Mixcloud from | |
your Facebook account, | |
and we are sad to see you leave. | |
If you want to claim your Mixcloud account, please go to the following page | |
and choose a password, |
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
;; -*-emacs-lisp-*- | |
;; converting wiki notation from wiliki to souceforge.jp | |
(defun sf () | |
"converting wiki notation from wiliki to souceforge.jp" | |
(interactive) | |
(save-excursion | |
;; heading | |
(goto-char (point-min)) |
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 | |
# get consumer keys and access token from http://dev.twitter.com/apps/new | |
use utf8; | |
use strict; | |
use warnings; | |
use Net::Twitter; | |
use YAML::Tiny; | |
use Data::Dumper; | |
sub usage{ |
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 | |
# rename mail file within Maildir to seen status | |
use strict; | |
use warnings; | |
my $file = shift; | |
die unless -r $file; | |
die unless -f $file; |
OlderNewer