跳至主要内容

These days

I'm very happy The Great Firewall had been gotten my Blog in my motherland, and now it's still out of the there and still be contraled.
做了些SHELL联系,然后呢昨天K了3个小时的歌,非常非常的无聊。汇报完毕,继续工作,当然了,还有些没写。 稍后添加关于SHELL的笔记。

忘了补一句,很感谢林SAN的支持,让我有这么个好机会,可是由于一点阻力,最终无法成行,还是十分感谢他对我能力的肯定,到底还是要请他吃顿饭,结果大家AA了。由于广告嫌疑,这个地方就不说是哪里了,看地图吧,味道整体来说还不错,上菜的速度也很快,价格也实惠。物美价廉啊

晚上练习SHELL,在echo过程中一个很难得问题也可以说很简单" "或者' '这样都可以显示echo后面的,但是如何显示shell固有的命令呢,查了很久试了很久其实很简单``这个就是tab上面的那个键位,这样可以显示,但是itpub上有一位大哥说还是比较现实用$()这个会更好,但是呢现在来看似乎$()不是很成功

评论

此博客中的热门博文

Python学习笔记20100117

映射list   Dictionary 是用{}. list 是一那个[]. turple是用() 当你定义过dictionary后,你可以使用d.keys(), d.values(),d.items()将定义后的时候分别显示出来 当然可以将list里的值加减乘除,也可以如一般的定义直接重新复制这个list. 链接与分割字符串的 li=";", join(li) 则显示的就是 分隔符为;的数 如果使用li=li.split(";")则将刚刚;的分隔符删除,而split里也可定义域,如li.split(";",1)   自省 <---这是啥 之前在使用的时候发觉有些书本上的模块不能调用,很多是py脚本定义过的函数。 下载该脚本s,然后上传至指定位置。 >>>import sys >>>sys.path >>>sys.path.append("绝对位置")然后就能调用这些脚本和参数了。 删除 >>>sys.path.pop() 定义一个参数是 def info(test, test1=10.test2=12): info是函数名,test是必备参数,因为没有定义值,test1和test2是可选参数,定义了初始值   以上是外部函数的调用,下面转到内部函数 内部函数有type,str,dir及其他   ---type 返回任意字符的类型,模块也可以。types模块 >>> type(1) <type 'int'> >>> li=[] >>> type(li) <type 'list'> >>> import odbchelper >>> type(odbchelper) <type 'module'> >>> type(sys) <type 'module'> >>> import types ...

4 steps to delete account in Gerrit DB

4 steps to delete account in DB. Delete from accounts where preferred_email=’’; delete from account_ssh_keys where account_id=''; delete from account_external_ids where external_id='gerrit:*’; delete from account_external_ids where external_id='username:*’; whatever it was in H2 database and postgres db . H2: ssh -p 24198 localhost gerrit gsql Postgres: psql