View CDN
https://cdnjs.cloudflare.com/ajax/libs/stats.js/r11/Stats.min.js |
View header.php
<!-- ここからOGP --> | |
<meta property="og:type" content="blog"> | |
<?php | |
if (is_single()){//単一記事ページの場合 | |
if(have_posts()): while(have_posts()): the_post(); | |
echo '<meta property="og:description" content="'.get_post_meta($post->ID, _aioseop_description, true).'">';echo "\n";//抜粋を表示 | |
endwhile; endif; | |
echo '<meta property="og:title" content="'; the_title(); echo '">';echo "\n";//単一記事タイトルを表示 | |
echo '<meta property="og:url" content="'; the_permalink(); echo '">';echo "\n";//単一記事URLを表示 | |
} else {//単一記事ページページ以外の場合(アーカイブページやホームなど) |
View sample.css
/* 游ゴシック体 */ | |
.sans-serif { | |
font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif; | |
} | |
/* 游明朝体 */ | |
.serif { | |
font-family: "游明朝体", "Yu Mincho", YuMincho, serif; | |
} |
View sample.js
(function (w, r) { | |
w['r'+r] = w['r'+r] || w['webkitR'+r] || w['mozR'+r] || w['msR'+r] || w['oR'+r] || function(c){ w.setTimeout(c, 1000 / 60); }; | |
})(window, 'equestAnimationFrame'); |
View index.html
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | |
<script> (window.jQuery || document .write('<script src="js/jquery-1.11.2.min.js"><\/script>')); </script> |
View main.js
var exec=require('child_process').exec; | |
var arr=[ | |
'requests', | |
'httpsRequests', | |
'bodySize', | |
'contentLength', | |
'httpTrafficCompleted', | |
'timeToLastByte', |
View main.sh
$ phantomas --url http://google.com |
View capture.js
var page = require('webpage').create(); | |
var width = 1200; | |
var height = 768; | |
page.viewportSize = { | |
width: width, | |
height: height | |
}; | |
page.open('http://localhost:8000/', function () { |
View main.sh
$ curl -o '#1.png' http://placehold.jp/888888/ffffff/40x40.png?text=[1-100] |
View main.py
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import os.path | |
dir = './' | |
files = os.listdir(dir) | |
for file in files: | |
print '--' |
NewerOlder