This file contains hidden or 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
しゅうせい地獄 | |
作詞:mgng | |
作曲:mgng | |
唄:mgng | |
今日もいつものしゅうせい地獄 | |
アタマがいたくなっちゃうよ | |
未知のエラー あたらしいバグ | |
サーバーは今日も元気だね |
This file contains hidden or 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
ここで申し上げる話ではありません | |
今日は大変いい天気です |
This file contains hidden or 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
これはペンです。 |
This file contains hidden or 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 | |
/** | |
* GD だけで png のリサイズしようとしたけどダメぽ | |
* | |
* @param string $in | |
* @param string $out | |
* @param int $per | |
*/ | |
function resizePng($in, $out, $per) { | |
$size = getimagesize($in); |
This file contains hidden or 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 | |
/** | |
* @param string $in | |
* @param string $out | |
* @param int $per | |
*/ | |
function resizePng($in, $out, $per) { | |
$size = getimagesize($in); | |
if ($size === false || $size['mime'] !== 'image/png') { | |
return false; |
This file contains hidden or 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
(function(){ | |
function f(u){ | |
var a=document.createElement('a'),p=document.createElement('p'); | |
a.href=a.innerHTML=u; | |
a.target='blank'; | |
p.appendChild(a); | |
return p; | |
} | |
function l(u){ | |
var t=u.split('/'),f=t[9].split('_'),r=[],i=1,l=4; |
This file contains hidden or 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 | |
/** | |
* エセ画像類似度判定的なもの | |
*/ | |
/** 画像情報をかえす */ | |
function getImageInfo($file_path) | |
{ | |
$info = getimagesize($file_path); | |
if ($info === false) { |
This file contains hidden or 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
rem -------------------------------------------------------- | |
rem Echofon for Firefox の sqlite をお掃除するバッチ | |
rem -------------------------------------------------------- | |
@echo off | |
echo *** 実行するよー | |
pause | |
setlocal |
This file contains hidden or 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 | |
// inagawaさんの会談抜き出すやつ | |
$url = 'http://twitter.com/statuses/user_timeline/83834401.json?count=200'; | |
$src = @file_get_contents($url); | |
if ($src === false) { | |
exit("{$url} read error"); | |
} |
This file contains hidden or 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 | |
$id = 'あなたのID'; | |
$pass = 'あなたのパスワード'; | |
$message = 'おっぱいペロペロ(^ω^)'; | |
$result = file_get_contents( | |
'http://twitter.com/statuses/update.json?status='.rawurlencode($message), | |
false, | |
stream_context_create(array( | |
'http' => array( | |
'method' => 'POST', |