自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ThinkHY的专栏

Software give me a passion for soul

  • 博客(322)
  • 资源 (4)
  • 收藏
  • 关注

原创 天下之至拙何以能胜天下之至巧

刚工作时读过《曾国藩家书》,记住了里边有一句话:“唯天下之至真能胜天下之至伪,唯天下之至拙能胜天下之至巧”。近几年在工作生活中接触的客户与协作方较多,回想过往种种,亲身体会这句话的深刻含意。晚上突然想起需要找个地方记下这句话,自勉!

2023-06-20 00:14:17 131

原创 自励

为山者,基于一篑之土,以成千丈之峭;凿井者,起于三寸之坎,以就万仞之深。

2020-10-31 23:23:40 245

原创 写在2019年

起了一个很大的标题,因为好久没来过csdn博客了。今天收到一封有意思的邮件:看了你的博客,感觉还不错。是否有兴趣聊聊?阿里巴巴杭州这边有非常合适你的岗位。没想到这个博客还有人会看。后边有空会常来分享一下心情与想法。...

2019-10-19 22:39:47 333

原创 纪念谷安创始人李华先生

昨晚听到一个非常遗憾的消息,谷安创始人李华先生逝世了。想起两年前(2016年)我经朋友推荐有幸去谷安面试,没能想到李华先生亲自接待了我。记得当时与李先生聊得很愉快,从安全技术、产品、培训一直聊到区块链、量子物理,期间也了解到李先生师出名门,清华毕业之后,在天融信工作过,后与同事伙伴一起创立了谷安,一路发展成为国内安全行业的翘楚。 面试完,李华夫妇非常热情地在办公楼下请客吃饭,饭后又亲自驾车将我送回...

2018-08-10 16:07:24 1725

原创 [读书笔记]Docker与容器安全

Docker能否大规模用于生产环境,尤其是公有云环境,就在于Docker是否能提供安全的环境。本文将总结《Docker容器与容器云》一书3.9节『Docker与容器安全』的主要内容,包括Docker现有安全机制、存在的安全问题以及Docker安全增强三个方面。

2016-03-28 10:07:02 4699

原创 UCB CS162: Get sarted, create a docker container for UCB CS162 online course

UCB CS162是加州大学伯克利分校提供的一门操作系统课程,这篇文章介绍怎么使用Docker 容器来安装配置CS162的课程实验环境。

2015-06-01 13:08:50 3313

转载 Way to avoid ssh connection timeout & freezing of terminal tab

Hit a problem on CentOS7.0 that ssh connection timeout & freezing of terminal tab after several seconds, following is the solution.1) It's most likely the shell which is timing out. Disable the

2015-03-03 14:12:10 1993

原创 我得开始写博客了

去年(14年)忙了一整年,博客都没怎么写过。而且近几年在外企用英文写得比较多,中文写作能力退化严重,是时候重拾键盘(笔杆)了,我应该还能写的吧,这段时间会陆续写一些感想和总结与大家分享。

2015-02-03 23:49:01 1929

原创 试听朴树的新作品

最近有一首歌”平凡之路“很热,是朴树的作品。边听边回忆着:还记得中学时和姐姐坐在一张书桌旁边听“白桦林”,那时的理想有一台奔腾电脑装上Win98;大学时在操场上散步听的j “生如夏花”,期待着奔赴远方赴一面之约,向往着未来的colorful days;再后来,只在芒果台一档综艺节目见过朴树。

2014-07-23 22:10:02 2352

原创 聆听大师---Perl发明人及开源软件先锋Larry Perl

学习和使用#Perl#多年,今天终于有幸在Perl Workshop见到了Perl的发明人Larry Wall。Larry对50年代到现今各种编程语言的设计哲学信手捻来,其中有吐槽有爆料,会场里笑声迭起;还娓娓道来开源社区的协作方式:不做dictator,讲究empathy; 在Q&A和demo环节也感受了Larry对于Perl6的期许与passion。 另外,在Q&A环节中,有之前在线提出三

2014-04-07 22:21:39 3214

转载 V2R1新功能介绍:Shell终端的超时退出

11/15/2013 Update====================转一篇我上周在Developerworks上写的文章。原文链接: https://www.ibm.com/developerworks/community/blogs/IBMzOS/entry/20131101?lang=en适宜读者

2013-11-15 18:02:13 3859

原创 Note for Openstack Introduction 131020

EventIntroductionDetailsWhen: Sunday, October 20, 2013 from 10:00 AM to 6:00 PM (CST)Who: myselfLocation 北京市海淀区海淀西大街70号,海淀图书城南侧籍海楼对面NotesLast week, I found the activity on Sina

2013-10-21 21:43:09 2432

原创 今日总结

今天折腾了半天,终于把半年前学习CS162的资料都上传到Github: https://github.com/thinkhy/CS162/wikiCS162的课程进度在半天之后,终于有了新的进展,晚上弄明白怎么实现 Project1-Task1.顺便说一下,Github新出品的Windows客户端实在是好用,界面美观使用便捷。

2013-08-19 00:20:50 2245 2

原创 Handy Notes for 2013 Beijing Perl Workshop

Yesterday I joined Beijing Perl Workshop and met lots of friends again, Joe, Roger, Qiang ....  Below are my casual notes for yesterday's sessions. Just put it at here for memory.---------------

2013-08-11 11:16:04 3085

转载 Calling fork from Multiple Thread Environment

Threads and Process Management  On a Pthreads-compliant system, calls that manipulate processes, like fork and exec, still behave in the way they always hav

2013-06-10 10:49:44 2717

原创 Use Perl to Kill Lotus Notes Processes on Windows

# Recently, I experienced Notes crash problems several times. # It wasted me a lot of time to terminate Notes completely and then restart it, # so I wrote this Perl script to save myself. Also hope it

2013-05-03 17:53:18 2431

原创 A handy Perl script to calculate duration in seconds

#!/usr/bin/perluse strict;use warnings;use DateTime;my $dt2 = DateTime->new(                       year   => 2013,                       month  => 8,                       day    =>

2013-03-08 17:24:02 2288

转载 [转载]The TTY demystified

The TTY demystifiedReal teletypes in the 1940s.The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is di

2013-03-04 21:57:32 3701

原创 书摘---个人效率提升秘诀

新一期的益得书摘推荐了2012年一本新书《个人效率提升秘诀》"Personal Productivity Secrets",作者是 莫拉.内维尔.托马斯。 这本书的要点如下: 个人生产效率的提高,依赖于“注意力管理”,而不是时间管理。关注点将决定生产效率。如果感到时间紧迫,我们往往会试图同时操作多项任务,而这会使效率更低,更缺乏成效。停止分散精力的闲聊,并清理那些分散注意力

2013-02-15 18:09:04 2922 2

原创 Three ways to use Perl to open a temporary file

Here I'll summarize three ways to open a temporary file using Perl. The first way is to create the new object via module IO::File to get a read/write file handle as below.        my $temp_fh = IO:

2013-01-04 23:37:42 2568

原创 Exercise for Chapter 7 of "Intermediate Perl"

########################################################################## Brief: Exercise for Chapter 7 of "Intermediate Perl"# File: ch7_exam.pl# Creator: thinkhy# Date: 12/23/2012##############

2012-12-23 12:31:32 2474

原创 Convert transcript from Youtube format to SRT format

Recently I have been learning an operating system online course, UCBerkley CS 162.  I read lecture on Youtube, but it's stuck sometimes, so I tried to download it directly. However,  firstly it seem

2012-11-17 17:10:36 2708

原创 Two things need to note for unpack in Perl

In item 116 of the book  "Effective Perl", author demonstrates how to use unpack to process fix-width columnar data. I tried to write a toy code for practice,  and found two things need to note.Fi

2012-10-28 09:47:49 2339

原创 2012北京 PyCon (Python大会)参会记录

我只是个Perl爱好者,对Python了解不多,但耐不住同事的再三邀请,去感受了今天的Python大会, 现在再回想一下,也有一些感受,记录如下。 一大早赶到位于雍和宫附近的方家胡同。 胡同里有一处原北京机床厂留下的车间, 大会就在车间里举行。来到会场外,老远便看一些WEB公司的宣传海报。签到进场之后就见到Python社区的“社区大妈”,上一次见到他,还是在吴军老师签名售书的Open

2012-10-20 19:04:01 3236

原创 Comparing POSIX Multithreading to z/OS Multitasking

Although the z/OS operating system has the ability to dispatch multiple threads of execution, it is different from the POSIX definition. To compare the two, you must first understand the meaning of

2012-10-14 23:05:53 1395

转载 一首好歌- Love Minus Zero/No Limit

My love she speaks like silence, Without ideals or violence, She doesn't have to say she's faithful, Yet she's true, like ice, like fire. People carry roses, Make promises by the hours, My

2012-09-15 23:25:42 1991

原创 What's the difference between “local” and “my” in Perl

There are two kinds of variable scopes in Perl:Global variables: They reside in the current package, can be accessed from the outside and can have "local" values. The name can be used as a key

2012-08-30 12:55:13 1721

原创 How can convert character “%xx” in html using Perl

Submitted a question on StackOverflow just now. I intended to extract content from a web page which contains many unicode characters represented in the form of "%xx". As I used Perl module LWP to

2012-08-27 23:20:51 1538

转载 Why Explore Space?(我们为什么要探索宇宙)

Why Explore Space?http://www.lettersofnote.com/2012/08/why-explore-space.htmlIn 1970, a Zambia-based nun named Sister Mary Jucunda wrote to Dr. Ernst Stuhlinger, then-associate dir

2012-08-12 01:14:34 9441

原创 An easy way to track state of network connection using Perl

Tonight,  just paste some code here. I'll comment these code when I'm free.https://gist.github.com/33050558/11/2012 UpdateBackgroundUnix Shell can be timed out after setting a enviro

2012-08-09 23:17:49 1011

原创 看对话节目有感

“在那一年,他是当时中国最年轻的一位教授; 在那一年,他主动地放弃了政府机关的工作;在那一年他背负了巨额的债务,成为了一个在当时并不被人看好的个体户;在那一年,他放弃了大学老师的工作,成为了工厂的一位工人。”上边是这期对话节目的开场辞。 今晚的对话节目,推出了以”民营企业的生长动力“为主题的讨论。其中请来了四位成功的民营企业家,分别是来自新奥集团董事局主席王玉锁、东软集团董事长刘积仁、三一重工

2012-07-01 23:40:31 1834

原创 A DEMO script on how to use CPAN module HTML::LinkExtor

Last week I got a large book "Perl Cookbook".  It mentions an useful module HTML::LinkExtor in the book, seems handy to use. Right now, I just wanted to crawl some docs from MVS-OE archive webpage, so

2012-06-23 12:32:26 827

转载 Do you still program in Perl?

Notice a great post on reddit, the author listed some useful modules in it. I am excited for that Perl community always appears to be full of vitality and innovation that surprise us.Below content i

2012-06-17 16:02:39 722

原创 A fix on CPAN module MVS::JESFTP

Last week, I tried to do some work through MVS::JESFTP.  Actually, I knew this module for a long time,  just had  an idea to automate the process of submitting JCL job and fetching joblog, so I deci

2012-06-09 21:10:08 937

原创 用Perl解决一道高中数学题

背景:在微博上见到一道简单的数学题 ,最近一直在学Perl编程,用Perl实现之,在代码中应用了几个高级技巧,加深了对Perl数组的理解。问题: 一个将字符串“ABCDEFG”变成字符串“CDABFGE”的置换定义为一次运算, 则从字符 “一行白鹭上青天”开始, 经过 2011 次运算后得到的字符串为 A) 一行白鹭上青天 B) 白鹭一行天上青 C) 一

2012-05-26 23:40:33 1602

原创 大觉寺-阳台山穿越记

今天和刘涛老师一起完成了大觉寺-阳台山的穿越,写此文以记之。 上午10点半搭乘公交在周家巷下车,11点左右走到大觉寺,在寺院后山的防火道上山,半路中改走山道。起初半小时,山道还算有路,行进顺利。 后爬到山腰,仿佛已进入深山,山路变得极其崎岖,树枝交错,只得小心探路。 这样走了一个小时,终来到一个小山包的山顶,朝远处望去,望京塔也只隔了一个山头。再朝另一边看去,对面山头一行人正在倚石休整,那地方正是

2012-04-29 23:09:00 5421 2

原创 Reading note for z/OS USS Implementation

#+DATE: 05/06/2012 Sun * ********************************************************* gist: https://gist.github.com/gists/2301530* Book: z/OS UNIX System Services Implementation* [[www.redbooks.ibm.com/r

2012-04-04 22:16:18 3604

原创 Hunan Cuisine

As a speaker in Toastmaster in team, I talked about Hunan cuisine. Here is the slide. http://www.slideshare.net/thinkhy/hunan-cuisineHunan cuisineView more presentations from Think hy Hope

2012-04-01 17:24:08 755

原创 在文件中查找文本的Perl脚本

Windows里没有grep工具,不方便对文件的内容进行查找,随手写了一个Perl脚本,脚本写得不是很简洁,但能工作。Github: https://gist.github.com/2273079#!/usr/bin/perl -w#############################################################

2012-04-01 15:57:51 2983

原创 用‘生活大爆炸’磨耳朵

最近找到一个有意思的网站, 美剧口语联盟,知道了一批有梦想的同学正在推广看美剧学英语的方法, 他们的梦想详见:          http://www.mjenglish.org/thread-481-1-1.html?bsh_bid=75313165   正巧我自去年10月以来,一直在跟The Big Ban Theory这部片子,自然也想利用它来练英语。 于是我来到论坛,

2012-03-18 13:29:42 1216

语义网基础教程PPT

语义网经典教程《语义网基础教程》(英文名The Semantic Web Primer)附带的PPT演示文件。

2011-05-19

DB2 Express-C快速入门-IBM官方

这本书的英文版出自IBM本家,中文版虽然也可以从官方网站下载,但是IBM组织几个在校学生翻译的”山寨“版,序里面就出现了错误。

2009-04-24

snippetsEmu

在VIM中实现类似textmate的snippet功能,不知道具体是什么玩意儿的,可以新建个c文件测试下,输入for,按tab,再按tab。。。再按tab。。。。。你发现了什么??很爽吧~~~ 内置的snippet还比较少,不过可以修改$VIMRUNPATH/after/ftplugin/下的shippet文件添加。谁如果有自己写的snippets也可以发出来共享下~~ 安装时同时下载snippy_plugin.vba和snippy_bundles.vba文件,在vim中:so snippy_plugin.vba完成安装过程。

2009-01-03

VIM中文手册 7.2版

VIM中文手册7.2版 学习和使用VIM非常好的东东,不仅仅是本手册,其中有不少讲述VIM文化的文章。

2008-11-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除