あけましておめでとうございます。 Zend Framework 日めくり Calendar 2012の1日目としてお送りします。 この日めくりカレンダー、前月に流行ったAdventカレンダーの、アイデアフォーク(パクリ)となっております。 記事書いていただける方を募集中です。ぜひatndへのリンク先からご登録ください。
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
:+1: | |
:-1: | |
:airplane: | |
:art: | |
:bear: | |
:beer: | |
:bike: | |
:bomb: | |
:book: | |
:bulb: |
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
[iyatomi@localhost msgpack]$ diff _msgpack.js msgpack.js | |
63c63 | |
< // @return Mix/undefined/null: | |
--- | |
> // @return Mix/undefined: | |
65d64 | |
< // null means buffer exhausted | |
69,75c68,69 | |
< if (data != null) { | |
< _buf = typeof data === "string" ? toByteArray(data) : data; |
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
Coding Style Guide Survey | |
========================= | |
Summary | |
------- | |
- Indent Type: 4 spaces (13/19) | |
- Line Length Limit (Soft): 85 or less (11/17) | |
- Line Length Limit (Hard): 120 or more (10/17) | |
- Class Names: Studly (16/18) |
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
<?php | |
/* vim: set expandtab tabstop=4 shiftwidth=4: */ | |
/** | |
* PHP version 5.3 | |
* | |
* Copyright (c) 2012 GOTO Hidenori <[email protected]>, | |
* 2012 KUBO Atsuhiro <[email protected]>, | |
* All rights reserved. | |
* |
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
<?php | |
/** | |
* Generated by PHPUnit_SkeletonGenerator on 2012-05-29 at 16:47:11. | |
*/ | |
class RecentText extends PHPUnit_Framework_TestCase | |
{ | |
/** | |
* @var Recent | |
*/ | |
protected $object; |
MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
PHP 5.5 でコルーチンが実装されましたが、全く使っていなかったので使ってみました。
コルーチンとは何なのかというと・・・Wikipedia によると次の通りです。
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
# Fix agent forwarding | |
# https://gist.github.com/martijnvermaat/8070533 | |
# http://techblog.appnexus.com/2011/managing-ssh-sockets-in-gnu-screen/ | |
# See .ssh/rc for socket linking | |
unsetenv SSH_AUTH_SOCK | |
setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock.$HOSTNAME |
OlderNewer