Skip to content

Instantly share code, notes, and snippets.

@kashiwasan
kashiwasan / openpneFastInstallTask.class.php
Created November 25, 2011 08:40 — forked from 77web/openpneFastInstallTask.class.php
(kashiwagi fixed) 1行コマンドでインストールができるopenpne:fast-installタスクの提案。
<?php
/**
* This file is part of the OpenPNE package.
* (c) OpenPNE Project (http://www.openpne.jp/)
*
* For the full copyright and license information, please view the LICENSE
* file and the NOTICE file that were distributed with this source code.
*/
@kashiwasan
kashiwasan / .htaccess
Created December 13, 2011 07:32 — forked from tejima/.htaccess
p.kslive.jp
RewriteEngine On
RewriteRule ([0-9]+)/([0-9A-Za-z]+\.(jpg|png)) ./index.php?src=http://dl.dropbox.com/u/20190621/p/$2&q=100&aoe=0&w=$1 [L]
RewriteRule ([0-9]+\.(jpg|png)) ./index.php?src=http://dl.dropbox.com/u/20190621/p/$1&q=100 [L]
@kashiwasan
kashiwasan / mosquito.php
Created December 8, 2012 15:39
モスキート音認証
<?php
// モスキート音認証
// バージョン 1.1
// 作者: 園田 裕大
//    柏木 祥太
// サイト: http://www.0319.jp/
// ライセンス: PHP License
// This product includes PHP, freely available from http://www.php.net/
/////////////// 定義 ////////////////
#!/bin/bash
# yum install firefox
wget "http://download.mozilla.org/?product=firefox-43.0-SSL&os=linux&lang=ja"
tar jxvf firefox-43.0.tar.bz2
cp -frp firefox /usr/local/firefox43
mv /usr/bin/firefox{,.bak}
ln -s /usr/local/firefox43/firefox /usr/bin/.