- Plack::Middleware::Compile
- coffee, sass, less等をcompileするけど、自分で設定をごりごり書く
- concatはしてくれない
- Plack::Middleware::StaticShared
- 一番良い感じ
- versioningとcacheにも対応
- URLが独特で気持ち悪い
./shared.js:v1:/js/foolib.js,/js/barlib.js
- URLでconcatするファイルを指定できるので、複数のパターンでconcatすることもできる
- concatはurlから自動で行う
- minifyは自分でfilterを設定する必要あり
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
# RTMPEのtype9 handshakeに対応している必要があるのでRTMPDump v2.4必須 | |
# CentOS5 32bitのさくらVPS、OSX Lionで動作確認。(OSX LionではRTMPDumpを32bitでビルド) | |
# ラジオ第1 | |
rtmpdump --rtmp "rtmpe://netradio-r1-flash.nhk.jp" \ | |
--playpath 'NetRadio_R1_flash@63346' \ | |
--app "live" \ | |
-W http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf \ | |
--live \ | |
-o r1.m4a |
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
#!/usr/bin/perl | |
# "pflog" enhancement for parsing maillog of postfix 2.3 or higher version. | |
# "pflog" see: http://www.tmtm.org/ruby/pflog/pflog-0.3 | |
use strict; | |
use warnings; | |
use Time::Local; | |
use Getopt::Long; | |
#use Data::Dumper; |
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
#!/bin/sh | |
# Original1: https://gist.github.com/875864 saiten / rec_radiko.sh | |
# Original2: http://backslash.ddo.jp/wordpress/archives/1020 http://backslash.ddo.jp/tools/rec_radiko2.txt | |
# Install: wget swftools rtmpdump ffmpeg http://d.hatena.ne.jp/zariganitosh/20130120/radiko_recoding_again | |
PATH=$PATH:/usr/local/bin | |
VERSION=3.0.0.01 | |
# 使い方 |
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
#!/usr/bin/env bash | |
# shellcheck disable=SC2016 | |
# | |
# plenvsetup http://is.gd/plenvsetup | |
# Tue Jan 7 17:29:22 JST 2020 v0.06 by ytnobody | |
# | |
set -e | |
die () { |
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
use strict; | |
use warnings; | |
use feature 'say'; | |
use AE; | |
use AnyEvent::IRC::Server; | |
use AnyEvent::IRC::Util; | |
use Getopt::Long; | |
use Yancha::Client; | |
use LWP::UserAgent; | |
use AnyEvent::IRC::Client; |
![ytnobody][http://ytnobody.net/impress/hachiojipm-26/img/ytnobody_char.png]
hachioji.pm #26 - ytnobody
#WindowsでPHP開発すると生きるのがつらいのを軽減する方法 Web PIと WebMatrix を使いましょう。ApacheはやめてIISにしましょう。
つらみが解決されるか?というと、そんなことはないでしょうね。 そのたびに、「××がやりたいだけなのにできない○○なんて糞」と大声で言えば、多量のノイズと少量の有益な情報が速やかに集まるので、それはそれでいいんじゃないのかと思います。ストレス解消にもなるし、DIS上等ですよね。
(こっちにも追記) こんな日本語ドキュメントがあるんだから、MSには金あるよねー。PHP on Windows ガイドライン
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
#!/bin/sh | |
# Modified by Stan Schwertly to download locally rather than to send to Posterous. | |
# Github: http://github.com/Stantheman/Twitpic-Backup | |
# Copyright 2010 Tim "burndive" of http://burndive.blogspot.com/ | |
# This software is licensed under the Creative Commons GNU GPL version 2.0 or later. | |
# License informattion: http://creativecommons.org/licenses/GPL/2.0/ | |
# This script is a derivative of the original, obtained from here: |
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
/* Developed by Daniel Park (github.com/sudocode). | |
* | |
* Free for personal or commercial use, with or without modification. | |
* No warranty is expressed or implied. | |
*/ | |
var App = Application.currentApplication(), | |
Evernote = Application('Evernote'), | |
Notes = Application('Notes') | |
OlderNewer