JavaScript bind click event
in IE
use JavaScript move CSS position
- uploader : Upload file
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
# General configuration. | |
# $ tmux show-options -g | |
set -g base-index 1 | |
set -g display-time 5000 | |
set -g repeat-time 1000 | |
set -g status-keys vi | |
set -g status-utf8 on | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-justify left |
[ | |
{ | |
"keys": ["ctrl+w"], | |
"command": "run_multiple", | |
"args": { | |
"commands": [ | |
{"command": "find_under_expand", "args": null, "context": "window"}, | |
{"command": "show_panel", "args": {"panel": "find"}, "context": "window"} | |
] | |
} |
filetype on | |
if &diff | |
filetype plugin off | |
else | |
filetype plugin on | |
endif | |
set bs=2 | |
set cindent | |
set history=50 |
util.htmlspecialchars = function (str) { | |
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """); | |
}; | |
util.htmlspecialchars_decode = function (str) { | |
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\""); | |
}; | |
util.nl2br = function (str) { | |
return str.replace(/\n/g, "<br>"); | |
}; |
amCharts | |
// 建立取資料的物件 | |
var chart = new AmCharts.AmSerialChart(); | |
chart.dataProvider = chartData; | |
// 圓餅圖 | |
var chart = new AmCharts.AmPieChart(); | |
chart.dataProvider = chartData; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
<title>Img_width&height</title> | |
<style> | |
img { | |
width: 200px; !important; |
tedshd@Tedshd-mba [12:28:50] [~/Develop/keyboard_test_page] [master] | |
-> % git checkout --orphan gh-pages | |
Switched to a new branch 'gh-pages' | |
tedshd@Tedshd-mba [12:29:22] [~/Develop/keyboard_test_page] [gh-pages *] | |
-> % git st | |
# On branch gh-pages | |
# | |
# Initial commit | |
# | |
# Changes to be committed: |
/** | |
* Spec : http://produce.corp.miiicasa.com/spec/miiiCloud_V2/?Page=Page_1-3_p_message_board_attach_files_done1 | |
* Mockup : http://produce.corp.miiicasa.com/ued/visual_center/mockup/miiicloud_v2/page_1_3_p_message_board_attach_files_done1.png | |
* | |
* @authors Ted Shiu | |
* @date 2013-06-10 16:32:25 | |
* | |
*/ | |
$(function () { |