Skip to content

Instantly share code, notes, and snippets.

Yoshihiro Ohsuka oh-sky

Block or report user

Report or block oh-sky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tondol
tondol / nicovideo_rtmpe.md
Last active Jun 9, 2018
ニコニコ公式アニメポータルのrtmpeプロトコル動画をダウンロードする覚え書き
View nicovideo_rtmpe.md

はじめに

http://www.nicovideo.jp/watch/1380872606

上記の動画を例にDL方法を解説する。

パラメータの取得

@slywalker
slywalker / Base64Email.php
Created Mar 16, 2012
メールの文字化けが怖いあなたに
View Base64Email.php
<?php
App::uses('CakeEmail', 'Network/Email');
class Base64Email extends CakeEmail {
protected function _renderTemplates($content) {
$rendered = parent::_renderTemplates($content);
array_walk($rendered, function(&$val, $key) {
$val = base64_encode($val);
});
You can’t perform that action at this time.