自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(116)
  • 收藏
  • 关注

转载 《参禅与悟道》——浅谈人生

思考一下这个问题,知识层面:从小学到初中,再到高中、大学、硕士、博士、院士、诺贝尔奖获得者。财富层面:从乞丐到……,到全球首富。权力层面:从小组长到……,到联合国秘书长。为什么都不乏乐观|悲观,积极|消极,自认为日子过的快乐|不快乐的人呢?《参禅与悟道》——浅谈人生①效法自然《鱼和海的故事》→人和禅(人生的道理)《小浪和大浪的故事》→各种各样

2017-12-13 11:54:59 684

转载 struct tm *gmtime_r(time_t *timep, struct tm *result)

Home »c »time »gmtime_rstruct tm *gmtime_r(time_t *timep, struct tm *result)The gmtime_r() is similar to gmtime(), but stores data in user supplied struct.Examplescurrent time around the w

2016-04-01 11:02:17 1281

转载 armhf sig bus error

(gdb) runStarting program: /htslib-1.2.1/test/sam test/ce.fa[Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".Program rece

2016-01-29 16:21:59 762

转载 [Linux]管道命令 ”|“

[Linux]管道命令2014-01-10     0 个评论   来源:Zhu_Julian's Notes (朱显杰的技术博客)   收藏  我要投稿Linux的管道命令是'|',通过它可以对数据进行连续处理,其示意图如下:注意:1)管道命令仅为处理标准输出(即正确的输出),对于标准错误输出,将忽略2)管理命令的后一个命令必须能将前一个命令的标准输出变为它的标准

2016-01-04 11:03:48 735

转载 【转】gdb调试动态链接库

【转】gdb调试动态链接库【原文地址】http://www.microsuncn.com/index.php?title=%E7%94%A8gdb%E8%B0%83%E8%AF%95%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93在 Linux 可以用 gdb 来调试应用程序,当然前提是用 gcc 编译程序时要加上 -g 参数。我这篇文章里将讨

2015-12-28 17:58:44 455

转载 浅析GTK 输入法模块 GTK IMContext

浅析GTK 输入法模块 GTK IMContext标签: gtk输入法callback通讯imfilter2009-02-24 15:43 5544人阅读 评论(1)收藏 举报 分类: 50.输入法(1) 版权声明:本文为博主原创文章,未经博主允许不得转载。目录(?)[+] 作者:刘旭晖 Raymond转

2015-12-28 17:57:41 725

转载 linux系统编程之进程(八):守护进程详解及创建,daemon()使用

linux系统编程之进程(八):守护进程详解及创建,daemon()使用一,守护进程概述Linux Daemon(守护进程)是运行在后台的一种特殊进程。它独立于控制终端并且周期性地执行某种任务或等待处理某些发生的事件。它不需要用户输入就能运行而且提供某种服务,不是对整个系统就是对某个用户程序提供服务。Linux系统的大多数服务器就是通过守护进程实现的。常见的守护进程包括系统日志进程sy

2015-12-28 17:56:55 292

转载 Samba Server Configuration in OpenSuSe 13.1

https://www.howtoforge.com/opensuse-13.1-samba-server1 Preliminary NoteI have fresh installed Opensuse 13.1 server, on which I am going to install the samba server. Off-course you need to

2015-12-18 16:28:49 583

转载 Copy + Paste (Clipboard) Issues / Not Working?

This is an old problem.  It has been around since pre2004, and microsoft is well aware of it.  The cause is tied to MS Office as well as the OS.  It usually occurs during Remote desktop sessions, and

2015-09-06 16:32:30 606

转载 incompletetype.c:6: error: dereferencing pointer to incomplete type.

http://stackoverflow.com/questions/2700646/dereferencing-pointer-to-incomplete-type6 down voteWhat do you mean, the error only shows up when you assign? For example on GCC, w

2015-08-13 09:52:05 593

转载 HOWTO check status of a service Solaris 10

HOWTO check status of a service Solaris 10Example of svcs command and output. # svcs \*nisplus\* STATE STIME FMRI online Sep_01 svc:/network/rpc/nisplus:defaultExample of svcs -l command and

2015-07-31 16:09:53 469

转载 Setting Up An NFS Server And Client On OpenSUSE 11.3

Setting Up An NFS Server And Client On OpenSUSE 11.3Version 1.0 Author: Falko Timme Follow me on TwitterLast edited 09/14/2010This guide explains how to set up an NFS server and an NFS c

2015-07-13 12:54:47 705

转载 int mount(const char *source, const char *target, const char *filesystemtype, unsigned lo

mount() - Unix, Linux System CallAdvertisementsNAMEmount, umount - mount and unmount filesystemsSYNOPSIS#include int mount(const char *source, const char *target,

2015-07-06 10:04:42 1263

转载 Remote Procedure Call

Remote Procedure CallA very general mechanism for client-server applications is provided byRPC, the Remote Procedure Call package. RPC was developed by SunMicrsystems, and is a collection of tools

2015-06-29 17:20:01 662

转载 Samba Server Configuration in OpenSuSe 13.1

It will install samba with Version 4.1.6-3.18.1-3208-SUSE-oS13.1-x86_64Now to configure samba edit the file /etc/samba/smb.cnfbefore making changes I will make the backup of original file as 

2015-06-29 13:01:49 388

转载 Enabling and configuring SAMBA as shipped with Solaris 10

Sun ships SAMBA with Solaris 9 & Solaris 10 and it is supported as part of the Operating System. I recently completed a project withSymantec Enterprise Vault andSun StorageTek Storage Archive Ma

2015-06-17 15:46:06 473

转载 CGP - Common Gateway Protocol && SSL - Secure Sockets Layer

SSL - Secure Sockets LayerIn the Internet Protocol Suite, TLS and SSL encrypt the data of network connections in the application layer. In OSI model equivalences, TLS/SSL is initialized

2015-06-15 16:56:42 532

转载 How to take screenshots on your Samsung Galaxy Tab 10.1

\How to take screenshots on your Samsung Galaxy Tab 10.1The Samsung Galaxy Tab 10.1 lacks a native screenshot app. If you don't want to root your Android Honeycomb tablet but still want to take

2015-06-12 17:26:42 1822

转载 Fix: No hostname when using DHCP in Sun Solaris 8/9/10

If you are using DHCP to receive IP Address for your Sun Solaris system, you may end up with no hostname assigned to the system. This can be confirmed when there is no hostname at the prompt or if the

2015-06-10 16:41:54 1377

转载 VDA FunctionalLevel too low for Catalog

http://discussions.citrix.com/topic/333618-registration-issues-using-mcd-and-two-different-resource-pools/Registration issues using MCD and two different resource poolsSt

2015-06-03 13:06:03 678

转载 freopen Standard Streams Variable: FILE * stdout

freopenFILE * freopen ( const char * filename, const char * mode, FILE * stream );Reopen stream with different file or modeReuses stream to either open the file specified by filename or to c

2015-05-21 12:53:27 507

转载 wprintf, fork, fwide, get FILE* from a file descriptor

How to get a FILE pointer from a file descriptor?'m playing around with mkstemp(), which provides a file descriptor, but I want to generate formatted output via fprintf(). Is there an easy way to tr

2015-05-21 10:24:54 352

转载 printf and wprintf in single C code

I have a problem when using printf an wprintf functions together in code. If the regular string is printed first, thenwprintf doesn't work. If I use wprintf first then printf doesn't work.#inclu

2015-05-20 18:16:49 586

转载 Ubuntu: can't find ndbm.h

1 down vote favorite I need to compile an old apache version, 1.3 and compilation process fails because:mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not foundwhere i

2015-05-19 17:38:47 1128

转载 In POSIX systems, you don't find -r parameter for grep and your grep -rn "stuff" . won't run

find . -type f -exec grep -ni "MAX_BR_FORMATTED_ADDRESS" {} \; -print12 down voteIn POSIX systems, you don't find -r parameter for grep and yourgrep -rn "stuff" . won't

2015-05-19 13:38:14 385

转载 .bashrc java_home classpath

export JAVA_HOME=/opt/j2sdk1.4.2_19export CLASSPATH=.:/opt/j2sdk1.4.2_19/lib/dt.jar:/opt/j2sdk1.4.2_19/lib/tools.jarexport PATH=/opt/j2sdk1.4.2_19/bin:${PATH}

2015-05-12 10:17:21 681

转载 /usr/ucb/cc: language optional software package not installed

0 down vote favoriteI tried to compile some C code to get object file from a shell prompt:$cc a.c But this gives me the following error:/usr/ucb/cc: language optional software package not installedHow

2015-05-11 10:46:17 1049

转载 How do I get the “Command Buffer” in Solaris 10?

4 down voteThe default shell in Solaris has command history, but you can also use Bash instead, it's more user friendly. Just type 'bash' (no quotes) at the command line. You can also edit /

2015-05-06 15:19:48 402

转载 connect to host localhost port 22: Connection refused

connect to host localhost port 22: Connection refusedREMOVE SSHcommand: sudo apt-get remove openssh-client openssh-server2.ADD SSH AGAINcommand: sudo apt-get install openssh-client o

2015-04-17 09:56:33 680

转载 virtualbox ubuntu14.04 bridged adapter not working

first try internal net work -> sudo /etc/init.d/networking  restart then try bridged net work ->  sudo /etc/init.d/networking  restart it works and i do not know why it fixes this issue

2015-04-16 16:51:09 632

转载 Screen Resolution Problem with Ubuntu 14.04 and VirtualBox

cannot change screen size from 640x480 after 14.04 installation on VirtualBox OSX [duplicate]up vote83 down vote favorite37This question already has an answer her

2015-04-16 16:20:20 744

转载 用Xlib库进行基本图形编程

http://sarlmolapple.is-programmer.com/posts/12850.html用Xlib库进行基本图形编程陈着 posted @ 5 年前 in GTK+ , 2172 阅读 用Xlib库进行基本图形编程,从中大bbs的精华版找到-------------------------------------------------

2015-03-26 10:53:48 1308

转载 Xlib 学习笔记

Xlib 学习笔记分类: XWindow 2011-06-07 09:42 2053人阅读 评论(0)收藏 举报protocolsserver图形deletebuffer网络Xlib学习笔记第一章1.2X Window System概念display:由键盘,鼠标和一个或多个屏幕组成的一个工作站screen:一个display可以有多

2015-03-26 10:50:59 1600

转载 文件的Access\Modify\Change时间

分类: LINUXAccess\Modify\Change的初始时间记录都是文件被创建的时间。这三种行为与文件的三个权限rwx虽然有某些类似,但不是完全对应的,不可以混淆。# stat foo  File: “foo”  Size: 55              Blocks: 8          IO Block: 4096   普通文件Device: 301h/76

2015-03-23 14:27:48 617

转载 有名管道后 && gtk_window_set_opacity

http://www.cnblogs.com/hicjiajia/archive/2011/01/20/1940154.html方式一:mkfifo("myfifo","rw");  方式二:mknod myfifo p  生成了有名管道后,就可以使用一般的文件I/O函数如open、close、read、write等来对它进行操作。下面即是一个简单的例子,假设我们已经创建了一个

2015-03-19 17:34:55 692

转载 Gtk透明窗口全攻略

How do you find out which version of GTK+ is installed on Ubuntu?dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'Gtk透明窗口全攻略 博客分类:GTKUbuntuCC++C#Blog 引用自:http://xy

2015-03-18 14:33:52 1357

转载 ubuntu中KDE与GNOM界面的相互切换 2012-01-09 21:27:57

ubuntu中KDE与GNOM界面的相互切换2012-01-09 21:27:57 分类: LINUX1.安装KDE桌面命令sudo apt-get install kubuntu-desktop安装好后,按Ctrl+Alt+Backspace 注销,在登陆窗的“会话”中选择KDE,登陆后就是变成KDE了。(如果想回到ubuntu的话,可以在“会话”中改成gnome)

2015-03-06 10:13:34 879

转载 在ubuntu下安装KDE以及完全卸载KDE

在ubuntu下安装KDE以及完全卸载KDE自由转载 ^_^   同时请注明原文出处:http://www.cnblogs.com/wangvsa/archive/2012/07/22/2603626.html 这是一篇翻译,很多不必要的东西就没翻译。原文共有6篇,1篇是安装KDE,5篇是在不同版本(12.04;11.10;11.04;10.10;10.04)下卸载KDE,

2015-03-06 10:13:13 1767

转载 Writing Japanese with Ubuntu 14.04 Trusty Tahr

Writing Japanese with Ubuntu 14.04 Trusty TahrThis is a follow-up of the former articles "Writing japanese with Ubuntu 12.04 Precise Pangolin" and "Writing japanese with Ubuntu 10.04 Lucid Lynx"

2015-03-05 14:22:13 836

转载 汉字to unicode && mbstowcs编辑

12345678#include #include  int main(){        wchar_t h[]=L"你好";        printf("%X%X\n", h[0], h[1]);}执行$ ./a.out 4F60597D

2015-03-02 11:06:23 648

空空如也

空空如也

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

TA关注的人

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