- 浏览: 77275 次
- 性别:
- 来自: 地球
最近访客 更多访客>>
最新评论
-
zhou1986lin:
[flash=200,200][b]引用[size=x-sma ...
新浪编辑器 -
vb2005xu:
晕 想不出来 为什么要实现 什么什么语言的 版本的好处
不都是 ...
新浪编辑器 -
minma_yuyang:
还不错,借鉴了。
Code style -
天机老人:
谢谢啊,这文章不错!
Sphinx -
suncanoe:
<iframe id="myEditor&qu ...
新浪编辑器
文章列表
var Application = {};
Application.uploadDialog = {
progressBarText:'Uploading:{0},{1}%finish',
statuBarText:'File Number:{0} ,Size:{1}',
fileQueued:function(file){
var obj=Application.uploadDialog;
var filetype=(file.type.substr(1)).toUpperCase();
// if(filetype=='JPG' | filetype ...
- 2009-05-14 11:55
- 浏览 1467
- 评论(0)
http://www.cnblogs.com/zhucl1006/archive/2008/09/04/1284630.html
http://extjs.com/deploy/dev/docs/
http://extjs.com/deploy/dev/examples/samples.html
http://www.v-sky.com/doc/swfupload/v2.1.0/Documentation.html#uploadComplete
flot and jquery jcrop
- 2009-05-14 11:53
- 浏览 709
- 评论(0)
http://toolmantim.com/articles/fixtureless_datas_with_machinist_and_sham
http://www.softiesonrails.com/2007/4/5/the-absolute-moron-s-guide-to-capistrano
http://please.dontrush.org/?page=6
http://jakescruggs.blogspot.com/search/label/RSpec
http://zhangpeihao.iteye.com/blog/248858
- 2009-05-14 11:49
- 浏览 10545
- 评论(0)
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
http://blog.xkoder.com/2008/08/13/git-tutorial-starting-with-git-using-just-10-commands/
http://www.linuxsir.org/main/doc/git/gittutorcn.htm
http://www.sqlteam.com/article/more-trees-hierarchies-in-sql
- 2009-05-14 11:30
- 浏览 710
- 评论(0)
1. install imageMagick
sudo apt-get install imageMagick
2. compress image file to thumbnail.
for i in `ls *.jpg`; do convert -thumbnail 120x80 $i thumbnail_$i; done
- 2009-05-14 11:13
- 浏览 893
- 评论(0)
1.
select time_trees.id,name,lft,rgt,parent_id,project_id,SUM(wEnd)-sum(wBegin) as wEnd from time_trees inner join work_items on work_items.project_id = time_trees.original_id and work_items.dayinfo_id = '00c60267c36301e4-05-00000000000065' group by work_items.project_id
2.
"select time_trees ...
- 2009-05-14 11:11
- 浏览 710
- 评论(0)
1.Find all ancestor node from child.
SELECT parent.name from time_trees as parent,time_trees as node where node.lft between parent.lft and parent.rgt and node.original_id='0036994d34de9862-03-00000000000324'
2.Find all children from parent.
select node.name from time_trees as node,time_trees as ...
- 2009-05-14 11:10
- 浏览 833
- 评论(0)
1. Create a public and private key on your computer (id_rsa, id_rsa.pub)
ssh-keygen -t rsa
2. Copy public key to the server
scp id_rsa.pub <username@host>:~/.ssh/
3. Login server
ssh username@host
4. Check to see if the .ssh directory and autho ...
- 2009-05-14 11:09
- 浏览 1106
- 评论(0)
1.push to server branch.
git branch harry
git checkout harry
--modify something
git push origin harry
2.pull from server branch
git clone git@10.0.1.1:projectname
fetch branch file
git fetch git@10.0.1.1:projectname harry
git pull origin harry
- 2009-05-14 11:08
- 浏览 1522
- 评论(0)
Go to you rails app folder and create a file named .gitignore
vim .gitignore
update the file:
nbproject
log/*.log
tmp/**/*
config/database.yml
db/schema.rb
db/*.sqlite3
public/javascripts/all.js
public/stylesheets/all.css
*.orig
# Other useful tidbits
.DS_Store
doc/api
doc/app
- 2009-05-14 11:08
- 浏览 1037
- 评论(0)
1.
git init
2.
If you want to ignore some folders and files,write them into .gitignore
vim .gitignore
for example,we use this gitignore file as default
nbproject
log/*.log
tmp/**/*
config/database.yml
db/schema.rb
db/*.sqlite3
public/javascripts/all.js
public/stylesheets/all.css
.*
*.orig
# Oth ...
- 2009-05-14 11:07
- 浏览 919
- 评论(0)
1。Create Git version from SVN on local directory.
git svn clone svn+ssh://yangkunlun@activeext.com/home/svn/repositories/1hydroplan
2。Create new git base on server。
git --bare init --shared
git push
3。Clone from server.
git clone yangkunlun@10.0.1.1:/home/yangkunlun/projects/hydroplan.com.au/ ...
- 2009-05-14 11:07
- 浏览 953
- 评论(0)
¶
1.Install nbgit on netbeans
2.Show difference
git diff
Show status
git status
Update code with information of “refs #<task number> <task name> short information"
git commit
3.On local directory,push code to server。
git push
4.View more on redmine。
- 2009-05-14 11:06
- 浏览 1085
- 评论(0)
Clone a svn base on local
If we use git,at first create svn base,so we can check log information。
git-svn clone -s svn+ssh://<svn_repository> <dir>
-s --- svn base have standard(trunk、branches、tags),if your svn base have self defined,you can choose -T、-b and -t to selete。
The command ...
- 2009-05-14 11:05
- 浏览 806
- 评论(0)