[iOS Developing Web Content for Safari][1]
在 htdocs 目录下放置:/apple-touch-icon.png
在 HTML 文档中设置
var FLYING_SPEED = -3; | |
var GRAVITATIONAL_ACCELERATION = 0.5; | |
// | |
// background | |
// | |
var backgrounds = [ | |
createSprite(World.width*0.5, World.height*0.5-28), | |
createSprite(World.width*1.5, World.height*0.5-28) |
#!/bin/bash | |
PATH="$(npm bin):$PATH" exec "$@" |
<?php | |
/** | |
* Creates an APS client and returns the handler. | |
* | |
* @param $spID string | |
* @param $spVer string | |
* @param $sender string | |
* @return The APS client handler on success or false on failure. | |
*/ |
\documentclass... | |
\usepackage {xeCJK} | |
\setmainfont{Optima} | |
\setsansfont{Optima} | |
\setmonofont{Menlo} | |
\setCJKmainfont[BoldFont={BiauKai}]{BiauKai} | |
\setCJKsansfont[BoldFont={BiauKai}]{BiauKai} | |
\setCJKmonofont{PMingLiU} | |
\XeTeXlinebreaklocale "zh" |
// | |
// $ gcc -std=c99 glowpz.c -o glowpz | |
// | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
const uint32_t ORIGIN = 0x0CCCC; // 0 1100 1100 1100 1100 | |
const uint32_t TARGET = 0x05A5A; // 0 0101 1010 0101 1010 |
still running from source
$ git clone git://github.com/ansible/ansible.git
$ cd ./ansible
$ virtualenv .virtualenv
$ source .virtualenv/bin/activate
$ pip install paramiko PyYAML jinja2
zone "twitter.com" IN { | |
type forward; | |
forward only; | |
forwarders { | |
74.207.241.5; | |
74.207.242.5; | |
}; | |
}; |
# bash_completion | |
complete -o bashdefault -o default -o nospace -c ve |
/* | |
put this script in the path like | |
assumed /tmp (cwd) | |
/tmp/dir1/dir2/path.go | |
/tmp/dir3 symlinked to /tmp/dir1/dir2 | |
and run with | |
gorun ../tmp/dir3/path.go | |
or build path.go and run with ../tmp/dir3/path |