Skip to content

Instantly share code, notes, and snippets.

@ichigotake
ichigotake / yancha_api_request_sample.pl
Created April 22, 2012 01:42
yancha api request sample
#!/usr/bin/env perl
#
## yanchaのAPIリクエストサンプル
##
## https://github.com/uzulla/yancha
##
use strict;
use warnings;
use utf8;
@ichigotake
ichigotake / term_colorpallet.sh
Created March 28, 2012 09:39
Print collorpallet for terminal.
#!/bin/sh
for i in {0..255} ; do
printf "\x1b[38;5;${i}mcolour%3d " "${i}"
if [ $(expr $i % 7) == 0 ]
then
echo
fi
done
@ichigotake
ichigotake / grow.pl
Created March 19, 2012 08:40
30秒ごとに経過時間をGrowlへ通知する
#!/usr/bin/env perl
use strict;
use warnings;
use Growl::GNTP;
my $interval = $ARGV[0] > 0 ? $ARGV[0]:30;
my $growl = Growl::GNTP->new(