View a.md

Chrome ExtensionのLive HTTP Headersを調査した。Firefox用のものではない。Firefox用のものではない。

11/7追記

English version: https://translate.google.com/translate?sl=ja&tl=en&js=y&prev=_t&hl=ja&ie=UTF-8&u=https%3A%2F%2Fgist.github.com%2Fmala%2Fe87973df5029d96c9269d9431fcef5cb&edit-text=&act=url

Summary in english.

View gist:6a07b0991b66dc1c0622ca05d02d6052
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 指数関数と対数関数"
]
},
{
View s3upload_signature_v2.rb
#
# POST with signature v2
#
require "base64"
require "openssl"
require "digest/sha1"
aws_secret_key = ENV["AWS_SECRET_ACCESS_KEY"]
aws_access_key_id = ENV["AWS_ACCESS_KEY_ID"]
s3_bucket = "mybucket"
View s3upload_signature_v4.rb
#
# POST with signature v4
#
require "base64"
require "openssl"
require "digest/sha1"
require "time"
aws_access_key_id = ENV["AWS_ACCESS_KEY_ID"]
aws_secret_key = ENV["AWS_SECRET_ACCESS_KEY"]
View zundoko.l
%option noyywrap
%{
int zun = 0;
%}
%state ZUN
%state FILLED
%%
<INITIAL>ズン { ECHO; BEGIN ZUN; zun = 1; }
<ZUN>ズン {
ECHO;
View shiiba.js
/*
フォームの入力内容を元にAPIに問い合わせ
*/
$("#form").on("submit", function(e) {
$("#btn-submit").prop("disabled", true);
var user_id = $("#user_id").val()
$.ajax({
type: "GET",
url: "http://qiita.com/api/v2/users/" + user_id + "/items?page=1&per_page=100",
success: onSucceed
View siiba.js
/*
フォームの入力内容を元にAPIに問い合わせ
*/
$("#form").on("submit", function(e) {
$("#btn-submit").prop("disabled", true);
var user_id = $("#user_id").val()
$.ajax({
type: "GET",
url: "http://qiita.com/api/v2/users/" + user_id + "/items?page=1&per_page=100",
success: onSucceed
View sample.cs
GameObject obj3d; // 3Dオブジェクト
GameObject obj2d; // 2Dオブジェクト
Camera perspCamera; // 3Dオブジェクトを写すカメラ
Camera orthoCamera; // 2Dオブジェクトを写すカメラ
// 3Dオブジェクトのワールド座標から、Perspective カメラのビューポート座標を求める
var viewPortPos = perspCamera.WorldToViewPortPoint(obj3d.transform.position);
// 上記ビューポート座標を Orthographic カメラのワールド座標に逆変換する
View AppConfig.cs
public class AppConfig<T> where T: IConvertible {
string key;
T defaultValue;
public AppConfig(string key, T defaultValue) {
this.key = key;
this.defaultValue = defaultValue;
if (!typeof(T).Equals (typeof(Int32)) &&
View file0.txt
// change shader
var defaultShader = Shader.Find ("Sprites/Default");
var renderers = ((GameObject)instance).GetComponentsInChildren<SpriteRenderer>();
foreach (var r in renderers) {
r.material.shader = defaultShader;
}