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
// コード出典 | |
// ワリオランドシェイクみたいに HTML が崩壊するブックマークレット(とそのソースコード) | |
// http://d.hatena.ne.jp/nitoyon/20080929/warioland_shake | |
(function(){var d=document; var s=d.createElement("script"); s.charset="UTF-8"; s.src="http://tech.nitoyon.com/meltdown/meltdown.js?"+(new Date()).getTime(); d.body.appendChild(s)})(); |
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
alert("sample"); |
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
alert("cracked"); |
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
function tcoDecode($contentData){ | |
$strPattern = "http:\/\/t\.co\/.+"; | |
if(preg_match('/'.$strPattern.'/m', $contentData, $matches)>0) | |
{ | |
$headers = get_headers($matches[0]); | |
$contentData = preg_replace("/".$strPattern."/",$headers["Location"],$contentData); | |
} | |
return $contentData; | |
} |
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
学生「どうかしました?野比先生」 | |
のび太「ううん、何でもないよ。それより研磨は終わったかい?」 | |
学生「はい。これでもうバリはないはずです」 | |
のび太「本体側のインターロック回路も大丈夫?」 | |
学生「はい、動作確認済みです」 |
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 | |
// EOFはぐぐってみて | |
$return_xml = <<<EOF | |
<people> | |
<person name="Person 1"> | |
<child/> | |
<child/> | |
<child/> | |
</person> |
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
package{ | |
public class Sample{ | |
// 仮でつけた名前なのでなんでもいいですよ | |
// privateな変数名の一番最初にアンダースコアをつけるのは他の変数と区別するための慣習です | |
private _targetArray:Array; | |
public function Sample(){ | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"> | |
<title>Test iOS5 Private Mode Browsing</title> | |
<script src="private-mode-test.js"></script> | |
<style> | |
article, aside, dialog, figure, footer, header, |
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
IE9 - Build My Pinned Site | |
http://buildmypinnedsite.com/en | |
h5. favicon | |
{code} | |
<!-- Make sure the href of the link tag points to the icon you created --> | |
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" /> | |
<meta name="application-name" content="Build My Pinned Site" /> | |
<meta name="msapplication-starturl" content="http://buildmypinnedsite.com" /> | |
<meta name="msapplication-navbutton-color" content="#3480C0" /> |
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
/* | |
* mixi nodejs | |
* @author shinya.takimoto | |
*/ | |
// require | |
var http = require('http'); | |
var dispatcher = require('./dispatcher.js').create(); | |
var https = require('https'); | |
var querystring = require('querystring'); |