start new:
tmux
start new with session name:
tmux new -s myname
1. The original setting steps can be found https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ | |
2. Don't forget config your git user.email and user.name. (Optional) | |
> git config --global user.name "The one used in the GitHub" | |
> git config --global user.email "The one which is registred to the GitHub" | |
3. | |
3-1. Create a new repo@GitHub. Remember the URL. | |
Don't create the Readme or some other files. Add them later. | |
3-2. cd to your working repo | |
3-3. |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
#bar{ | |
width:200px; | |
height:25px; | |
border:1px solid black; | |
position:relative; |
Create the '''js/css''' files under '''static''' folder. You can organize them by your willing. | |
'''Static''' stands for '''no modification needed'''. In contrast, '''template''' may be variant | |
due to different '''models'''. | |
把不變動的的部分(js/css)放到 app/static/app/ | |
app/xxx.js | |
The target to add a subdirectory is to avoid the name collision. If the collision happens, | |
the latter one would overlap the formmer one. | |
- Wget ftp://ftp.gnu.org/pub/gnu/gettext/gettext...t-0.12.1.tar.gz
- Untar file as tar -zxvf gettext-0.12.1.tar.gz
cd
to the directory containing the package's source code and type./configure
to configure the package for your system. If you're usingcsh
on an old version of System V, you might need to typesh ./configure
instead to preventcsh
from trying to executeconfigure
itself.
Running
configure
takes awhile. While running, it prints some messages telling which features it is checking for.
- Type
make
to compile the package.- Optionally, type
make check
to run any self-tests that come with the package.- Type
make install
to install the programs and any data files and documentation.
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright (C) 2007 朱昱任 (Yuren Ju) <yurenju -AT- gmail.com> | |
# Copyright (C) 2007 洪任諭(PCMan) <pcman.tw -AT- gmail.com> | |
# Copyright (C) 2008 林哲瑋 Zhe-Wei Lin (bill3321,雨蒼) <bill3321 -AT- gmail.com> | |
# Last Midified : 19 Dec 2008 | |
# Install and config input method for one or more users. | |
# Released under GNU General Public License | |
import os |
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9
import json | |
import os | |
import time | |
import requests | |
from PIL import Image | |
from StringIO import StringIO | |
from requests.exceptions import ConnectionError | |
def go(query, path): | |
"""Download full size images from Google image search. |