内容の是非はともかく、文章が羅列してあるだけではっきり言って読みづらいです。
せっかくQiitaはMarkdownが使えるのでMarkdownで読みやすくリファクタリングしてみました。
下記は原文にMarkdown表記を追加したり改行や空白を入れただけで、それ以外は1文字も変更していません
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="Content-Language" content="en-us"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Twitter / Maintenance</title> | |
<link href="//abs.twimg.com/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon"> | |
<link rel="stylesheet" href="//abs.twimg.com/errors/fullscreen_errors.css"> | |
</head> |
内容の是非はともかく、文章が羅列してあるだけではっきり言って読みづらいです。
せっかくQiitaはMarkdownが使えるのでMarkdownで読みやすくリファクタリングしてみました。
下記は原文にMarkdown表記を追加したり改行や空白を入れただけで、それ以外は1文字も変更していません
// http://qiita.com/mpyw/items/b7192d3aadf90d55ad49 | |
(function (root) { | |
"use strict"; | |
// 単純に constructor を外に出してみた。こっちの方が好み。 | |
function Retmise(options) { | |
if (this.constructor !== Retmise) { | |
return new Retmise(options); | |
} |
eval$s=%w~ | |
a=->(b,c, d,e,f){%`#{(c)?"re quire'zlib';":' | |
'}g=Marshal.load(#{ (c)?'Z lib::Inflate.infl | |
ate(':''}'#{b}'. unpack('m')[0]#{(c)?')': | |
''});h= 'eval$s =%w'<<126<<($s*#{d} );i=' | |
';j=- 1; #{ e*f}.times{|k|i<< (g[ | |
k]== 1? h[j+=1]:32);i<<10i f | |
(k% #{e} ==#{e-1})};i[-7,6] | |
=' ' < <126<< '.join';puts(i)#`}; | |
$*[ 0]? ( require' RMagick';include(Ma |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Config::Pit; | |
use Data::Dumper; | |
use Furl; | |
use HTTP::Request::Common; | |
use JSON::XS 'decode_json'; | |
use OAuth::Lite::Consumer; |
-------------sortingUa.php------------- | |
<?php | |
/** | |
* スマートフォンかどうかを振り分ける簡易的なクラスです。 | |
* | |
* @package sortingUa | |
* @author shobotch | |
* @sinse PHP 5.3.8 | |
* @version 1.0.0 | |
*/ |
var _ = GaoFunctional(); | |
var input = "114514"; | |
var res = input[_.count](); | |
console.log(res); // 6 | |
var input2 = [1,1,4,5,1,4]; | |
var res2 = input2[_.count]((x)=>x===1); | |
console.log(res2); // 3 |
<?php | |
$screen_names = array(); // 検索したいスクリーンネームをarrayのかたちで入れてください | |
for ($i=0 ; $i<10; $i++){ | |
$screen_names[] = "hogepiyo".$i; | |
} | |
$tas = new TwitterAccountSearch(); | |
$tas->Set($screen_names); | |
$tas->Search(); |
# encoding: utf-8 | |
# require "pp" | |
# require "pry" | |
require "RMagick" | |
include Magick | |
module ImageAnalize | |
class MagickItem | |
attr_reader :img |
<?php | |
declare(encoding='UTF-8'); | |
/* あ */ |