使い方メモ
Yahoo!謹製のWebサイトパフォーマンス分析ツール
FirefoxにはFirebugが必要
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
#coding:utf-8 | |
""" | |
unofficial Google Weather API | |
http://www.google.com/ig/api?weather=,,,35693692,139700260&hl=ja | |
レスポンスのエンコーディングは hl=jaの場合Shift-JIS hl=enの場合ASCII | |
<xml_api_reply version="1"> | |
<weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0"> | |
<forecast_information> |
require "open-uri" | |
[ | |
"http://pastebin.com/raw.php?i=Kc9ng18h", | |
"http://pastebin.com/raw.php?i=vCMndK2L", | |
"http://pastebin.com/raw.php?i=JdQkuYwG", | |
"http://pastebin.com/raw.php?i=fw43srjY" | |
].each do |url| | |
open(url).each_line do |line| | |
name, password = line.chomp.split(/:/) |
function toWareki(year,month,day) | |
{ | |
var wareki = ""; | |
year = Number (year); | |
if (year == 1868) | |
{ | |
/* 9月8日から明治元年 */ | |
/* 誕生日がここの人はいないだろうから細かくは気にしない */ | |
wareki = '明治元年'; | |
} |
// Convert numbers to words | |
// copyright 25th July 2006, by Stephen Chapman http://javascript.about.com | |
// permission to use this Javascript on your web page is granted | |
// provided that all of the code (including this copyright notice) is | |
// used exactly as shown (you can change the numbering system if you wish) | |
/* | |
Documentation: Usage | |
===================== | |
1. Import the javascript file: |
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using System.IO; | |
/// <summary> | |
// ScriptableObjectをプレハブとして出力する汎用スクリプト | |
/// </summary> | |
// <remarks> | |
// 指定したScriptableObjectをプレハブに変換する。 |
$ curl -L git.io/nodebrew | perl - setup
write this in your bashrc or zshrc.
https://devcenter.heroku.com/articles/getting-started-with-python | |
http://flask.pocoo.org/ | |
http://docs.python-requests.org/en/latest/ | |
https://github.com/msgpack/msgpack-python |