Skip to content

Instantly share code, notes, and snippets.

View NicholasTD07's full-sized avatar

Nicholas T. NicholasTD07

  • Sydney, Australia
View GitHub Profile
@NicholasTD07
NicholasTD07 / i3status.conf
Created October 31, 2012 07:34
i3status config file
general {
colors = true
interval = 5
}
#order += "ipv6"
order += "load"
order += "ethernet eth0"
@NicholasTD07
NicholasTD07 / i3config
Created October 31, 2012 07:32
i3config file
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@NicholasTD07
NicholasTD07 / groupStaff
Created April 28, 2012 13:06
strangeProblemOfPython
def groupStaff(self, Id, grpNum) :
self.log("\t\t{}号员工分组(第{}组)操作:"\
.format(Id, grpNum))
# 1. 初始化局部变量
unGrpIDs = self.__unGrpIDs
groups = self.__groups
staff = self.__staffs[Id]
# 2. 检查员工是否处于 IDLE 状态
@NicholasTD07
NicholasTD07 / .vimrc
Created April 13, 2012 04:16 — forked from ninehills/.vimrc
VIMRC
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 一般设定
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 设定主题
colo evening
" 设定默认解码
set fenc=utf-8
set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936