2018年9月11日

02_brk/sbrk

摘要: 1 #include<stdio.h> 2 #include<unistd.h> 3 main() 4 { 5 //situation 1 6 //int *p = sbrk(4); // Here we allocate 1024(decides to the system) bytes of m 阅读全文

posted @ 2018-09-11 08:11 langjitianyadaolao 阅读(173) 评论(0) 推荐(0) 编辑

How to install qt5.9

摘要: wget http://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-linux-x64-5.9.2.runchmod +x qt-opensource-linux-x64-5.9.2.run./qt-opensource-linux-x64-5 阅读全文

posted @ 2018-09-11 04:36 langjitianyadaolao 阅读(146) 评论(0) 推荐(0) 编辑

2018年9月9日

026_pickle

摘要: #!/usr/bin/env python# Author:liujunimport pickledef sayHi(name): print("hello,",name)av_catalog = { "Am":{ "www.youporn.com": ["很多免费的,世界最大的","质量一般"], 阅读全文

posted @ 2018-09-09 22:55 langjitianyadaolao 阅读(133) 评论(0) 推荐(0) 编辑

024_iterator

摘要: #!/usr/bin/env python# Author:liujun# Decide if a type can iteratefrom collections import Iterableprint(isinstance([],Iterable))print(isinstance("abc" 阅读全文

posted @ 2018-09-09 22:54 langjitianyadaolao 阅读(78) 评论(0) 推荐(0) 编辑

022_generator

摘要: #!/usr/bin/env python# Author:liujun# List Comprehensions# A list comprehension generates all elements at once ,which consumes a lot of memory# versio 阅读全文

posted @ 2018-09-09 22:52 langjitianyadaolao 阅读(46) 评论(0) 推荐(0) 编辑

023_decorater

摘要: #!/usr/bin/env python# Author:liujun# The essence of decorator is function which is used to decorate another function.# The decorator is used to add s 阅读全文

posted @ 2018-09-09 09:36 langjitianyadaolao 阅读(137) 评论(0) 推荐(0) 编辑

PythonWrongNotes

摘要: 1. 2. 3. 4. 5. 6. 阅读全文

posted @ 2018-09-09 09:13 langjitianyadaolao 阅读(109) 评论(0) 推荐(0) 编辑

2018年9月6日

013_Configuration files of bash

摘要: 1. classfys according to the range in which configuration files take effect. 1.1 The global configuration file /etc/profile : /etc/profile.d/*.sh /etc 阅读全文

posted @ 2018-09-06 20:49 langjitianyadaolao 阅读(141) 评论(0) 推荐(0) 编辑

012_egrep

摘要: 1. Basic grammar egrep = grep -E egrep [OPTIONS] PATTERN [FILE...]2. Meta-charecter of extended regexp 2.1 Character match .: Matchs any single charac 阅读全文

posted @ 2018-09-06 20:48 langjitianyadaolao 阅读(100) 评论(0) 推荐(0) 编辑

011_grep

摘要: 1. grep : Global search Regular expression and Print out the line. 1.1. function:searches the given FILEs for lines containing a match to the given PA 阅读全文

posted @ 2018-09-06 20:47 langjitianyadaolao 阅读(116) 评论(0) 推荐(0) 编辑

导航