Tony Tan tonytan748.github.io
1.

Jekyll Quick Start

How to create github blog, how to install jekyll-bootstrap,run jekyll locally, create a post,create a page,publish,customize Host on GitHub in 3 minutesMake sure to input your G...
2.

Karrigell Tutorial

This tutorial will explain step by step how to get started with Karrigell, a simple yet full-featured, 100% Python web framework This tutorial will explain step by step how to g...
3.

Search Google with Python Tutorial

How to get the web address in google use Python 123456789101112131415161718192021222324252627282930313233import urllib import mechanize from bs4 import BeautifulSoup import re ...
4.

Socket client and server in Python

A sample example for connection server and client use socket in Python Client.py import socket s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(('localhost',8081)...
5.

Jekyll variable and jekyll template grammar

本文主要讲述Jekyll变量 和 Jekyll模板语法教程相关内容:Jekyll变量和Jekyll模板语法,包括全局变量、Site变量、Page变量和需要注意的内容,其中变解释内容翻译自官方wiki。 * Jekyll会遍历你的站点,来寻找需要处理的文件。任何具有 YAML 前置数据的文件都将会被处理,每一个这样的文件,Jekyll都会通过Liqu...
6.

Python sqlite3 get table column name

Get the column name use inquiry result: import sqlite3 db=sqlite3.connect('data.db') cur=db.cursor() cur.execute('SELECT * FROM table') col_name_list=[i[0] for i in cur.descri...
7.

How to automatically run a script when logging into Ubuntu Desktop

There are circumstances where you wish to have a script run automatically when you log in to Ubuntu Desktop. Such a script can configure various user-specific or system-wide se...
8.

Set Samba in Ubuntu

Install Samba: sudo apt-get install samba sudo apt-get install smbfs Setup cd / sudo mkdir data chmod 777 data Open file: /etc/samba/smb.conf, search “; security = user”, cha...
9.

Progremming is like writing a book

Pragramming is like writing a book… except if you miss out a single comma, the whole thind make no drmn sense…
10.

First Post Ever

This is my first blog, I’m not sure whether is better or not. but this is for my best now… I’m very like Python and Linux, but I also wish get a chance to do it in workingenvert...