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...
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...
How to get the web address in google use Python
123456789101112131415161718192021222324252627282930313233import urllib import mechanize from bs4 import BeautifulSoup import re ...
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)...
本文主要讲述Jekyll变量 和 Jekyll模板语法教程相关内容:Jekyll变量和Jekyll模板语法,包括全局变量、Site变量、Page变量和需要注意的内容,其中变解释内容翻译自官方wiki。 *
Jekyll会遍历你的站点,来寻找需要处理的文件。任何具有 YAML 前置数据的文件都将会被处理,每一个这样的文件,Jekyll都会通过Liqu...
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...
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...
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...
Pragramming is like writing a book… except if you miss out a single comma, the whole thind make no drmn sense…
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...