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
# modules | |
gulp = require 'gulp' | |
connect = require 'gulp-connect' | |
coffee = require 'gulp-coffee' | |
gutil = require 'gulp-util' | |
sourcemaps = require 'gulp-sourcemaps' | |
concat = require 'gulp-concat' | |
gulpif = require 'gulp-if' | |
uglify = require 'gulp-uglify' |
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
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import os.path | |
dir = './' | |
files = os.listdir(dir) | |
for file in files: | |
print '--' |
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
$ curl -o '#1.png' http://placehold.jp/888888/ffffff/40x40.png?text=[1-100] |
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
var page = require('webpage').create(); | |
var width = 1200; | |
var height = 768; | |
page.viewportSize = { | |
width: width, | |
height: height | |
}; | |
page.open('http://localhost:8000/', function () { |
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
$ phantomas --url http://google.com |
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
var exec=require('child_process').exec; | |
var arr=[ | |
'requests', | |
'httpsRequests', | |
'bodySize', | |
'contentLength', | |
'httpTrafficCompleted', | |
'timeToLastByte', |
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
<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> |
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 (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'); |
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
/* 游ゴシック体 */ | |
.sans-serif { | |
font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif; | |
} | |
/* 游明朝体 */ | |
.serif { | |
font-family: "游明朝体", "Yu Mincho", YuMincho, serif; | |
} |
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
https://cdnjs.cloudflare.com/ajax/libs/stats.js/r11/Stats.min.js |
OlderNewer