Run the following command from
-
The root directory of Django project
-
The root directory of Django app
$ django-admin.py makemessages
or
$ django-admin.py makemessages -l fr # to update message file
Modify /etc/sudoers | |
Defaults env_reset | |
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
java -Djava.library.path=/mnt/liting/jdk1.6.0_38/lib/ -jar minions.jar 9001 jedi004 9001 5 |
'use strict' | |
// The helper | |
(function(self) { | |
//helper guts goes here :) | |
//data store for holding objects | |
var localStore = {}; |
git里ignore文件有四种方式
vim .git/info/exclude
find ./ -name "*.launch" -exec git update-index --[no-]skip-worktree '{}' ;
There are 4 ways to ignore git files: | |
1. The most basic, add to .gitignore | |
2. Not yet tracked file, and don't want to add to .gitignore, can add to .git/info/exclude | |
This will just ignore files locally and the settings will not be shared with others | |
3. Already tracked files, and has already been modified locally, want to ignore local changes | |
git update-index --[no-]skip-worktree FILE_NAME // works for one file |
git config --global credential.helper wincred | |
git config credential.helper 'cache --timeout=3600' |
#!/usr/bin/python | |
# This is a start up list for python | |
# It will be used to quickly review the basic syntaxes and operations of python | |
# Code summerized from "简明 Python 教程" : http://woodpecker.org.cn/abyteofpython_cn/chinese/index.html | |
# Usually, python command options begin with two -- , e.g. --version --help | |
# Python Use True & False for boolean values |
import java.util.Date; | |
import java.text.SimpleDateFormat; | |
import java.sql.Timestamp; | |
import java.lang.StringBuffer; | |
public class DateOperation{ | |
private Date date; | |
public DateOperation(){ |