さて、ちょっとしたことからタイトルのようなモジュールを書いて見ました。Iterator::GroupedRange モジュールは簡単に説明すると、リストまたは別の(複数行ずつ返す)イテレータから指定行数分まとめて列挙するというモジュールです。 0.01 で SYNOPSIS を思いっきり間違えてたので、正しいものをこちらに。*1 use Iterator::GroupedRange; my @ds = ( [ 1 .. 6 ], [ 7 .. 11 ], [ 11 .. 25 ], ); my $i1 = Iterator::GroupedRange->new( sub { shift @ds; }, 10 ); $i1->next; # [ 1 .. 10 ] $i1->next; # [ 11 .. 20 ] $i1->next; # [ 21 .. 25 ] my $i2 = Ite
Websites for you and your projects. Hosted directly from your GitHub repository. Just edit, push, and your changes are live. Pages Help Ready to get started? Build your own site from scratch or generate one for your project. You get one site per GitHub account and organization, and unlimited project sites. Let‘s get started. User or organization site Project site Create a repository Head over to G
expandを使う :echo expand("%") "# => カレントファイルの名前を出力 :echo expand("%:p") "# => カレントファイルのフルパスを出力 :echo expand("%:r") "# => カレントファイルの名前、拡張子抜きを出力 :echo expand("%:e") "# => カレントファイルの拡張子を出力 fnamemodifyを使う :let filepath = "C:/var/articles/code/io/file-path.html" :echo fnamemodify(filepath, ":t") "# => file-path.html :let filepath = "C:/var/articles/code/io/file-path.html" :echo fnamemodify(filepath, ":t:r")
ProductGitHub for Mac 1.2: Snow OctocatToday we are announcing GitHub for Mac 1.2, an update we have dubbed Snow Octocat. Just like its bigger-cat cousin Snow Leopard, the goal for this release was to increase… Today we are announcing GitHub for Mac 1.2, an update we have dubbed Snow Octocat. Just like its bigger-cat cousin Snow Leopard, the goal for this release was to increase the stability and
console 標準出力と標準エラー出力に対するブラウザライクなオブジェクトです。 console.log() 改行を伴って標準出力へプリントします。 この関数は printf() のように複数の引数を受け付けます。 console.log('count: %d', count); 第一引数は文字列で、0 個以上の プレースホルダ を含みます。 それぞれのプレースホルダは対応する引数を変換した値で置換されます。 サポートするプレースホルダは: %s - 文字列。%d - 数値 (整数と浮動小数点数の両方)。%j - JSON。 プレースホルダに対応する引数が無い場合は、undefined が使われます console.log('%s:%s', 'foo'); // 'foo:undefined' プレースホルダより多くの引数がある場合、余った引数は util.inspect() によって
だいぶ前にnode.jsで遊んでいて、そうだ mixi のAPIをnode.jsから叩いてみよう!と思って書いたライブラリを思い出したのでそれの紹介。 利用の流れ github https://github.com/hayaishi/mixi-graph-api-node.js READMEそのままだけど。 var api = require('./mixi/graphapi/client'); var client = api.createClient({ 'consumerKey' : 'your consumer key.', 'secret' : 'your consumer secret. ', 'redirectUri' : 'you setting redirect uri', 'device' : 'pc' }); // 認可画面のURLを取得する var authPage
探検ドリランドでレアカード複製技がバレて祭り勃発中wwwwww Tweet カテゴリ炎上お祭り 1 :名前:以下、名無しにかわりましてVIPがお送りします:2012/02/19(日) 04:10:41.09 ID:I6EpL6hE0 祭り中 【GREE】探検ドリランド無課金・軽課金分室 B143F http://anago.2ch.net/test/read.cgi/sns/1329562513/ 457 :友達の友達の名無しさん:2012/02/19(日) 02:19:00.55 ID:PSGgUIkcI これでいいかな?まあ間違ってても別にいーや 俺スーパーレア持ってないし カード増殖裏技 必要なもの 携帯もしくはPCを二台 gleeアカウント二つ 二台の機器でそれぞれのgleeアカウントでログインしてドリランド起動後お互いでトレードさせる トレード(受け取りはしない
gachinko.org このドメインを購入する。 2018 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く