Skip to content

Instantly share code, notes, and snippets.

@h-sao
h-sao / gist:7655d3b019b25d3cd843
Created January 23, 2015 11:51
VirtualDOMのハンズオン:index.html(要素を追加&削除するサンプル)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="virtualdom.js"></script>
<title></title>
</head>
<body>
<div>
<input type="text" name="todo" />
<button name="add" type="button">add</button>
@h-sao
h-sao / gist:a656b55a9928a8678a84
Created January 23, 2015 11:29
VirtualDOMのハンズオン:index.html(要素を追加するサンプル)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="virtualdom.js"></script>
</head>
<body>
<div>
<input type="text" name="todo" />
<button name="add" type="button">add</button>
@h-sao
h-sao / gist:2af7d4d39a7222223868
Last active August 29, 2015 14:14
VirtualDOMのハンズオン:index.html(アラートが出る、bodyの下にdiv>divが出来る)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="virtualdom.js"></script>
</head>
<body>
<div>
<input type="text" name="todo" />
<button name="add" type="button">add</button>
// P.264 15.2.3章 add const例
template<template T>
struct addconst{
typedef T const type;
};
// remove const例
// 1
template<template T>
@h-sao
h-sao / MyScr.java
Created August 31, 2011 01:08
[iアプリ:Star1.3]スクラッチパッドへの読み書き
// "MyScr.java"
// Docomo iappli Star-1.3
// スクラッチパッド利用サンプル
// Last Change:01-Sep-2011.
// written by Sao Haruka
//==============================================================//
// パッケージ名
//==============================================================//
package SaoProj; // 自分のプロジェクト名
@h-sao
h-sao / Build2010.cmd
Created May 10, 2011 08:09
VMware vSphere Web Services SDK 4.1 for Visual Studio 2010(Windows7 64bit) from a command prompt
@setlocal
@echo off
@rem generates and compiles the .NET proxy classes and precompiled XmlSerializers
@rem and builds all the C# samples in debug mode.
@rem The name of the assemblies to generate. They should have a "2008" suffix
@rem if the samples are to be built automatically.
@rem
@set FILE_VIMSERVICE=VimService2008
@set FILE_VIM25SERVICE=Vim25Service2008