As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/sh | |
find . -name "*.h" -o -name "*.c" -o -name "*.cc" -o -name "*.cc" -o -name "*.cpp" > cscope.files | |
cscope -Rbkq -i cscope.files |
As configured in my dotfiles.
start new:
tmux
start new with session name:
这个列表原本首发在伯乐在线的一篇译文:http://blog.jobbole.com/49762/。2016年9月21日,该文章推送到微信公众号 程序员的那些事 (ID: iProgrammer ) 后,@BleethNie 留言建议把这 120+ 练手小项目统一放在一个地方,同时其他人可以把自己完成项目提交合并到一起,相互参考学习。于是我们在 GitHub 创建了这个项目。后续会以超链的形式合并大家提交的成果到这个列表。欢迎 fork & star,并扩散给更多人。
下面列出 120 多个项目构思,根据主题分成了 10 个分类。
import logging
logging.basicConfig(level=logging.INFO,format='%(asctime)s - %(name)s- %(levelname)s - %(message)s')
logger = logging.getLogger(__name__)
print(__name__)
__main__
print logger
logger.info('this is log info')
2018-07-11 21:34:07,966 - __main__- INFO - this is log info
Goal here is to document the steps I took in May 2012 to get Boost 1.49 packages backported and working on Lucid, Maverick, Natty, Oneiric, and Precise.
TODO: look into using ubuntu-dev-tools
and backportpackage -s [new_release] -d [old_release] -u [ppa] [package_name]
sudo apt-get install debhelper devscripts dput git-core python pgpgpg
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
/************************************************** | |
* Fair scheduling class load-balancing methods. | |
* | |
* BASICS | |
* | |
* The purpose of load-balancing is to achieve the same basic fairness the | |
* per-CPU scheduler provides, namely provide a proportional amount of compute | |
* time to each task. This is expressed in the following equation: | |
* | |
* W_i,n/P_i == W_j,n/P_j for all i,j (1) |