Skip to content

Instantly share code, notes, and snippets.

View wildjcrt's full-sized avatar
🦀
have a nice day!

Jerry Lee wildjcrt

🦀
have a nice day!
View GitHub Profile
@wildjcrt
wildjcrt / gist:2246377
Created March 30, 2012 04:01 — forked from Truesun/html
test
<body style="color:#fff; font-family:Verdana, Geneva, sans-serif;">
<h3 style="font-weight:bold; font-size:13px; border-bottom:solid 1px #eee; padding:2px 0;">名稱:測試投票</h3>
<p style="margin-bottom:8px; padding:5px 0;">
宗旨:com'ono<br>
此次投票你可以投 <span id="remain-votes">2</span> 票。
</p>
<div class="grid">
<ul style="padding:0 0 0 5px; margin-bottom:8px;">
<li><input name="" value="" type="checkbox"> a</li>
<li><input name="" value="" type="checkbox"> bcd</li>
@wildjcrt
wildjcrt / hack.sh
Created April 11, 2012 06:52 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#

開源之道

Original transcript: http://allisonrandal.com/2012/04/15/open-source-enlightenment/

這幾年來,我慢慢覺得,我們參與開源社群,就像是在一條道路上並肩而行:這不僅讓我們成為更好的程式設計者,也讓我們通過與人合作,而成為更好的人。

您可以將它想成一條修行之道,讓身而為人的我們能夠不斷成長。接下來,我想談談我對開源世界的個人觀點,希望能與您分享。

首先,人是一切開源專案的核心。程式碼是很重要,但最核心的永遠是人。

iTerm2

TextMate

Welly

Dropbox

Cloud app

ClipMenu

YoruFukurou

Firefox

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<meta http-equiv="Content-Language" content="zh-tw">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!--utf-8-->
<title>My Jquery Test Page</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$(':input').bind("blur",function(){ //選取input,將input榜定成一個blur事件後,若input不在是焦點時,則觸發執行下一行
//console.log($(this).attr("size", "30"));
$(document).ready(function(){
$(':input').bind("blur",function(){ //選取input,將input榜定成一個blur事件後,若input不在是焦點時,則觸發執行下一行
$(this).css({"background-color": "green", "color": "white;"});
$(this).attr("style", "background-color:green;color:white;");
}); // .attr('name') 就是把你的#dis內容改成name
});
$(document).ready(function(){
$("#even_sideDiv").Scroll({
line:1,
speed:500,
timer:3000,
up:"but_up",
down:"but_down"
});
});
@wildjcrt
wildjcrt / gist:2794231
Created May 26, 2012 14:55
UI Cafe Notes

UI Cafe Notes

Leo

Three Levels

  • idea (鉛筆草圖)
  • mockup
  • Photoshop/FireWorks Design
# Home
桌子:IKEA GALANT http://www.ikea.com/tw/zh/catalog/products/S59885197/
電腦:iMac 27" i5 8G ram
鍵盤: Filco 茶軸
滑鼠:Magic Mouse
滑鼠墊:eZova
耳機: QC15
椅子: Aeron
@wildjcrt
wildjcrt / progress_indicators.rb
Created August 3, 2012 23:50 — forked from jpo/progress_indicators.rb
Ruby Progress Indicators
# Terminal Progress Indicators. Four examples are included: percentage,
# spinner, progress bar, and combined. This script has been tested on
# Mac OS X 10.8 with Ruby 1.8.7, 1.9.1, 1.9.2, and 1.9.3
class Spinner
include Enumerable
def each
loop do
yield '|'
yield '/'