- buzzwordっぽい
- Backbone.js Angular.js Knockout.js Ember.js とか
- 使ってますか?
- はてなでも一部本番運用/社内向けツールではよくみる
- クライアントサイドMVCフレームワークを利用するとMVCによる設計方針を簡単に使うことができるようになる
This file contains hidden or 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
0 |
This file contains hidden or 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
function h { | |
cd ~/work/hatena/$1 | |
} | |
function _h { | |
local allfiles | |
local -a _projects _others | |
allfiles=`find ~/work/hatena/* -type d -maxdepth 0 -exec basename '{}' ';'` |
This file contains hidden or 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
.PHONY: all build archive testflight | |
PROJECT ?= BKUMA.xcodeproj | |
SCHEME ?= B!KUMA Girls | |
SIGN ?= iPhone Developer: Yohei Fushii (123456789) | |
MOBILEPROVISION ?= provisionings/$(SCHEME).mobileprovision | |
DISTRIBUTION_LIST ?= B!KUMA Testers | |
NOTIFY ?= False | |
all: archive |
This file contains hidden or 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
use strict; | |
use warnings; | |
use utf8; | |
binmode STDOUT => 'utf8'; | |
use WebService::SyoboiCalendar; | |
use Config::Pit qw(pit_get); | |
use YAML; | |
use Perl6::Say; |
This file contains hidden or 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
use strict; | |
use warnings; | |
use Net::DNS::Nameserver; | |
sub reply_handler { | |
my ($qname, $qclass, $qtype, $peerhost,$query,$conn) = @_; | |
my ($rcode, @ans, @auth, @add); | |
warn $qtype; |
This file contains hidden or 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
use strict; | |
use warnings; | |
use AnyEvent; | |
use AnyEvent::HTTPD; | |
use AnyEvent::Util qw(run_cmd); | |
use Cwd; | |
my $httpd = AnyEvent::HTTPD->new (port => 9090); | |
my $last_pid = undef; |
This file contains hidden or 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
hello |
This file contains hidden or 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
use strict; | |
use warnings; | |
sub circular_ref { | |
my $left = { | |
}; | |
my $right = { | |
}; | |
$left->{right} = $right; |
This file contains hidden or 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
sys = require('sys') | |
crypto = require('crypto') | |
key = (values) -> | |
sha1 = crypto.createHash('sha1') | |
sha1.update values.join('-') | |
sha1.digest('hex') | |
memoize = (f, memo = {} ) -> (args...) -> memo[k = key(args)] or memo[k] = f args... |