- gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
- ↓これをBookmarkに登録してこのページで実行してみよー!
worker_processes 2; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; |
# Steps for turning on squid monitoring (until I have an rpm) | |
cat > /etc/collectd.d/squid << EOF | |
LoadPlugin exec | |
<Plugin exec> | |
Exec deploy "/var/lib/releng/monitoring/squid" | |
</Plugin> | |
EOF | |
mkdir -p /var/lib/releng/monitoring |
// jQuery版に書き換えた | |
(function($){ | |
var queries = (function(){ | |
var s = location.search.replace("?", ""), | |
query = {}, | |
queries = search.split("&"), | |
i = 0; | |
if(!s) return null; | |
/* | |
* Copyright (c) 2013 Calvin Rien | |
* | |
* Based on the JSON parser by Patrick van Bergen | |
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html | |
* | |
* Simplified it so that it doesn't throw exceptions | |
* and can be used in Unity iPhone with maximum code stripping. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining |
using System; | |
using UnityEngine; | |
using System.Collections; | |
public class AssetBundleSample : MonoBehaviour { | |
public GUIText guitext; | |
// Use this for initialization | |
void Start () { |
#include "HelloWorldScene.h" | |
USING_NS_CC; | |
Scene *HelloWorld::createScene(){ | |
auto scene = Scene::create(); | |
auto layer = HelloWorld::create(); | |
scene->addChild(layer); | |
return scene; | |
} |
[public] | |
# コメント | |
comment = Public space | |
# 共有するディレクトリのパス | |
path = /var/www/hoge | |
# guestユーザのアクセスを許可するか | |
guest ok = no |
using UnityEngine; | |
using System.Collections; | |
/*===============================================================*/ | |
/** | |
* EaseInOutによる実装サンプル | |
* 2015年1月28日 Buravo | |
*/ | |
public class EaseInOutExample : MonoBehaviour | |
{ | |
#region メンバ変数 |