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
#!perl | |
use strict; | |
use warnings; | |
use Config::Pit; | |
use Getopt::Long; | |
use WWW::Mechanize; | |
use Perl6::Say; | |
my $conf = pit_get("vim.com", require => { | |
"username" => "your username on vim.org", # NOTE: do not edit this line |
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
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
#include <dirent.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
typedef struct entry { | |
char* path; |
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
//#!gcc -g -O0 -Wall | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
#include <dirent.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
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
# Blosxom Plugin: urlshorter | |
# Author(s): Kyo Nagashima <[email protected]>, http://hail2u.net/ | |
# Version: 2009-04-15 | |
# Documentation: See the bottom of this file or type: perldoc urlshorter | |
package urlshorter; | |
use strict; | |
use vars qw($link_element); |
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
mattn: pipe() は Perl の場合、win32 でもうごきますか? | |
動きます。 | |
----------------------------------------- | |
#!/usr/bin/perl -w | |
use IO::Handle; | |
pipe(PARENTREAD, PARENTWRITE); |
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
mattn: さいたまさいたまー? | |
いえ、ちがいます |
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
mattn: さいたまさいたまー? | |
いえ、ちがいます | |
ちがうのか | |
ぜんぜんちがいます。 | |
┌───┐ | |
| さ | |
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 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
// ==UserScript== | |
// @name gist: replace title with filename | |
// @namespace http://d.hatena.ne.jp/youpy/ | |
// @include http://gist.github.com/* | |
// @exclude http://gist.github.com/gists | |
// ==/UserScript== | |
(function() { | |
var $ = $ || unsafeWindow.$; | |
var username = $('#owner a').text() |
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 main | |
import "sort"; | |
type PeYon []string | |
func (p PeYon) Len() int { | |
return len(p); | |
} | |
func (p PeYon) Less(i, j int) bool { | |
return p[i] < p[j]; |
OlderNewer