自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(36)
  • 资源 (6)
  • 收藏
  • 关注

原创 APUE 20171211

read the code of Figure 11.11 using 2 mutexes. Still not get the mean.

2017-12-12 00:36:30 182 1

原创 learn plantuml in Windows

download plantuml.jar download dot.exeset the environment variable GRAPHVIZ_DOT as xxx`\graphviz-2.38\release\bin\dot.exetest the command: java -jar plantuml.jar -testdotlearn sequence diagram: htt

2017-11-27 12:34:53 263

原创 Recovery from failed upgrade from Ubuntu 14.10 to 15.10

Why upgrade failed?When the upgrade is ongoing, I plugged out the power and the network wire, then Ubuntu hanged and the upgrade stopped there without any response. We know there are several steps in

2016-04-15 23:16:42 658

原创 Linux system monitor

topvmstatarguments explanationr :表示运行队列,如果运行队列过大,表示你的CPU很繁忙,一般会造成CPU使用率很高b :表示阻塞的进程数swpd :虚拟内存已使用的大小,如果大于0,表示你的机器物理内存不足了,如果不是程序内存泄露的原因,那么你该升级内存了或者把耗内存的任务迁移到其他机器free :空闲的物理内存的大小buff : 系统占用的缓存大小cache

2016-03-26 18:07:20 2234

原创 分析system_call中断处理过程

In this blog, we will do the following tasks:使用gdb跟踪分析一个系统调用内核函数(您上周选择的那一个系统调用),系统调用列表参见http://codelab.shiyanlou.com/xref/linux-3.18.6/arch/x86/syscalls/syscall_32.tbl ,推荐在实验楼Linux虚拟机环境下完成实验。根据本周所学知识分析

2016-03-26 16:54:33 477

原创 SSL_connect Error when installing Jekyll in Windows

SSL_connect Error when installing Jekyll in WindowsAfter you installed Ruby on Windows, then you install Jekyll by the following commandgem install jekyllMaybe you will get this error Then I searche

2016-03-21 09:54:37 698

原创 System call using assembly language and C

使用库函数API和C代码中嵌入汇编代码两种方式使用同一个系统调用选择一个系统调用(13号系统调用time除外),系统调用列表参见http://codelab.shiyanlou.com/xref/linux-3.18.6/arch/x86/syscalls/syscall_32.tbl参考视频中的方式使用库函数API和C代码中嵌入汇编代码两种方式使用同一个系统调用根据本周所学知识分析系统调用的

2016-03-18 23:06:21 780

原创 Trace the process of the start of Linux

Trace the process of the start of Linux

2016-03-13 23:04:22 541

转载 iptables & route

iptables route

2016-03-13 22:35:00 1634

原创 一个简单的时间片轮转多道程序内核代码

Prepare the environment in Ubuntu 14.04install QEMUcreate a soft link for QEMUDownload linux kernelDownload patch from Githubxz -d linux-3.9.4.tar.xztar -xvf linux-3.9.4.tarcd linux-3.9.4patch -p1 < .

2016-03-06 22:29:18 545

转载 欢迎使用CSDN-markdown编辑器

欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl

2016-03-06 22:20:56 420

转载 Set IP automatically in Windows

Set IP automatically in Windows @ECHO off cls :start ECHO. ECHO 1. Change Connection1 Static IP ECHO 2. Obtain an IP address automatically ECHO 3. Exit set choice= set /p choice=Type the numb

2015-04-23 13:31:23 513

原创 SIP learning

CSEQ of ACK: the number in it should be the same with the related request.B2B handle the SIP messages. If the TO tag or the CSEQ is not right, the Finite Machine in B2B will be confused and ther

2015-01-09 00:43:18 362

原创 gitcafe: programming everyday

Apr, 20 2014安装并设置 Git 到您的电脑上1全局设置:git config --global user.name 'Michael He 'git config --global user.email '[email protected]'2接下来:• 在本地创建新的 Git 仓库mkdir theCprogramm

2014-04-20 23:01:05 542

原创 Why the new value is not usable after set PATH in cmd?

2013-09-26Step 0: Win + R -> cmd, run the cmdStep 1: Change the parameter PATH by command    set PATH="%PATH%;C:\Program Files\erl5.10.3"Step 2: run the erl command by commanderl The pro

2013-09-26 09:01:56 878

原创 Building Android develop environment in Ubuntu

Go to link http://developer.android.com/sdk/index.html and download the adt-bundle-linux-x86-20130917.zipunzip it.run eclipse in the eclipse directory, but it can not run.Install it as Ubuntu

2013-09-23 00:00:09 1341

原创 My weakness

有些拘谨,不能迅速的与同事打成一片。交际时不够主动。比如应该及时回复别人的邮件,虽然别人没有明确说要回复,思前想后,最后没有回复;而别人之后就过来问我有没有看到他的邮件。

2011-12-26 22:50:47 917

原创 Ninety-Nine Erlang Problems

Based on Ninety-Nine Prolog Problems and Ninety-Nine Lisp Problems.Problem 21Insert an element at a given position into a list.Example:* (insert-at 'alfa '(a b c d) 2)(A ALFA

2011-12-20 22:44:07 689

原创 程序员 如何得到 领导的 肯定

首先,第一条 ,你 要 把 领导交代 的 任务做的 比 别人 好 ,比 别人 认真 .如果你 发 现 的问題比 别人 多 ,说 明你 比 别人 对 任务的 完成 质量可 能 更 高 .第二条 ,你 要 在 领 导面前 表 现 你 自己 ,比如 和 同事讲你 发 现 的 问題,

2011-09-07 20:55:30 874 1

转载 configure

*********************************************************************                                                                  **

2011-07-22 11:15:53 1594

原创 Start OpenOffice.org using the command line

OpenOffice.org command line arguments Besides directly typing in the path of the executable file for each OpenOffice.org application, you c

2011-07-20 13:54:29 921

转载 线程的同步控制

typedef struct _Node{ struct _Node *next; int data;} Node;typedef struct _List{ Node *head; CRITICAL_SECTION critical_sec;} List;

2011-07-20 13:41:27 403

原创 error LNK2001: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *

查看 MSDN 上 ConvertBSTRToString 的页面(链接:http://msdn.microsoft.com/en-us/library/ewezf1f6(VS.90).aspx)知道了如何处理:// ConvertBSTRToString.cpp#include #include #pragma comment(lib, "comsuppw.lib")int mai

2011-06-22 14:34:00 2383

转载 VMware Tool 安装指南

<br />方法1<br />运行VMware虚拟机后,在菜单中,单击“虚拟机”->“安装 VMware Tools”<br />方法2<br />如果过了很长时间依然没有反应的话,请根据下面的步骤操作:<br />点击“虚拟机(M)”→“设置(S)…”→点选“硬件”选项卡下的“CD ROM”;在右侧窗口处点选“使用ISO镜像(I)”→点击“浏览(B)”,这时会弹出选择窗口对话框;如果你的虚拟机安装在了C盘,那么你就点选“C:/Program Files/VMware/VMware Workstation”

2011-05-04 13:54:00 561

转载 FOR in Dos cmd

For in DOS cmd

2011-04-12 16:36:00 679

原创 VBA

How to add order in a column of a table Sub Order() Dim Str As String For Each obj In ActiveDocument.Tables   oCell = obj.Cell(2, 1)   On Error GoTo errorhandler   oText1 = oCell.Text   If oText1 = Null Then     GoTo err

2011-04-02 14:25:00 379

原创 C# Knowledge

object & Object in C# object 类型在 .NET Framework 中是 Object 的别名。 在 C# 的统一类型系统中,所有类型(预定义类型、用户定义类型、引用类型和值类型)都是直接或间接从 Object 继承的。 可以将任何类型的值赋给 object 类型的变量。 将值类型的变量转换为对象的过程称为“装箱”。将对象类型的变量转换为值类型的过程称为“取消装箱”。 下面的示例演示了 object 类型的变量如何接受任何数据类型的值,以及 object 类型的变

2011-04-02 09:55:00 605 1

原创 Unix Shell

How to rename diretories that have the same name for i in `find -maxdepth 3 -name wntmsci12.pro` do mv -f $i `echo $i | sed 's/wntmsci12.pro/wntmsci12.pro--/g'` done

2011-04-02 09:47:00 610

原创 c# 的 Form 是如何封装 WndProc 方法的

类继承关系 System.Object  System.MarshalByRefObject   System.ComponentModel.Component    System.Windows.Forms.Control     System.Windows.Forms.ScrollableControl       System.Windows.Forms.ContainerControl   

2011-03-31 16:37:00 1540

转载 how to rename with for of cmd

FOR /F<br />Loop command: against a set of files - conditionally perform a command against each item.Syntax FOR /F ["options"] %%parameter IN (filenameset) DO command FOR /F ["options"] %%parameter IN ("Text string to process") D

2011-03-29 22:12:00 849

原创 OpenOffice Basic

How to find/replace with hyperlinks in Writer 怎样获取超链接 sub markHyperlink dim oParaEnum as object dim oPortEnum as object dim oPara as object dim oPort as object oParaEnum = thisComponent.text.createEnumeration() do while o

2011-03-29 15:51:00 957

原创 c# 的实现的一些简单功能

经常保持与服务器的联系,一旦联系中断立刻自动退出阅读器并提示 解决方案: NetworkChange 类通过引发 NetworkAddressChanged 事件来提供地址更改通知。 接口地址可能因许多原因而更改,如网线断开连接、移出了无线局域网的范围,或者硬件故障。 若要收到通知,必须确定应用程序的事件处理程序(每次引发事件时执行应用程序特定任务的一个或多个方法)。若要使 NetworkChange 对象在 NetworkAddressChanged 事件发生时调用事件处理方法,必须将

2011-03-28 12:39:00 810

原创 做程序员一年半的总结

<br />时间:<br />2009、6 -- 2010、11<br /> <br />采用的平台: <br />Windows + Visual Studio 2003/2008<br />cygwin + OpenOffice.org<br /> <br />涉及到的技术:<br />C++<br />ATL/COM<br />UNO<br /> <br />主要工作:<br />在 OpenOffice.org 的 OpenOffice 基础上开发<br /> <br />心得:解决问题时的心态很重

2010-11-17 21:23:00 522

原创 做了程序员了,每天很忙,但感觉收获不大,这是为什么呢?

 我现在做的是OOo的二次开发,感觉要会的东西很多,所以要学的东西就很多:OOo源码,COM,OOo宏编程等都要学。另外我非计算机科班,很多基础课程没有好好学。这么多知识要学,我都不知道从何学起了。 每天忙这写一个一个的函数,但是这些函数要么照搬同事的以前代码,要么依葫芦画瓢的模仿。很多都是不知道所以然的。这么忙下来,连我想看的书也没时间看了,真是苦恼啊。 总感觉自己在啥忙,是不是

2009-10-15 00:18:00 1117

原创 实习了两个月后原来我还是门外汉!

我今年11月开始实习的,公司安排我学习>.接着按照公司提供的一个演示程序做一个功能一样的程序.这样的学习进行了两个月.这个程序是关于.net的一些基本知识如做窗体,读写文件,解析XML,排序等,用VS2005编写代码.我基本上能理解>这本书,程序在参考别人的代码后也很快的完成.我现在的问题是,我现在还是不会做项目啊,还是不会写代码啊.我该如何是好呢?我现阶段能想到的解决办法是每天都要写一些代码,不

2008-12-30 19:19:00 812 1

原创 c语言中的指针

What is pointers to arrays?int ptr[5];    // ptr is a pointer to arrayPay attention to this statement:int* ap[15];  // array of 15 pointers to ints

2008-04-24 21:40:00 303

Introduction to Deep Learning with TensorFlow

Jian Tao [email protected] Spring 2020 HPRC Short Course 03/27/2020 ● Part I. Deep Learning ● Part II. Intro to TensorFlow

2022-12-18

计算机网络(谢希仁)第五版

计算机网络经典教材:《计算机网络》谢希仁,第五版。

2018-08-13

数据结构(C语言版).严蔚敏.清华大学出版社

数据结构(C语言版) 严蔚敏.清华大学出版社 扫描版 清晰

2018-02-14

C++ GUI Programming with Qt 4

Why Qt? Why do programmers like us choose Qt? Sure, there are the obvious answers: Qt’s single-source compatibility, its feature richness, its C++ perfor- mance, the availability of the source code, its documentation, the high-quality technical support, and all the other items mentioned in Trolltech’s glossy mar- keting materials. This is all very well, but it misses the most important point: Qt is successful because programmers like it.

2011-09-26

ATL Internals( 深入解析 ATL)

ATL Internals: Working with ATL 8, Second Edition By Christopher Tavares, Kirk Fertitta, Brent Rector, Chris Sells ............................................... Publisher: Addison Wesley Professional Pub Date: July 05, 2006 Print ISBN-10: 0-321-15962-4 Print ISBN-13: 978-0-321-15962-5 Pages: 888

2010-01-15

MFC windows 程序设计

Jeff Proise 著 2nd Edition 英文版chmb版 含源码

2009-09-13

空空如也

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

TA关注的人

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