- 博客(16)
- 资源 (7)
- 收藏
- 关注
原创 JavaScript学习笔记1--语法篇摘录
Here are the falsy values:falsenullundefinedthe empty string ''The number 0The number NaN/////////////////////////////////////////////////////////////////////////////////The break st
2015-04-17 17:47:59
445
转载 ubuntu vi
ubuntu vi vi编辑器是任何Unix及Linux系统下标准的编辑器,他的强大不逊色于任何 最新的文本编辑器,这里只是简单地介绍一下他的用法和一小部分指令。由于对Unix及Linux系统的任何版本,vi编辑器是完全相同的,因此您能够在其 他任何介绍vi的地方进一步了解他。Vi也是Linux中最基本的文本编辑器,学会他后,您将在Linux的世界里畅行无阻。 1、vi的基本
2012-02-23 10:29:39
1043
转载 Mercurial 从零开始
Mercurial 从零开始Mercurial 是一个 版本控制系统. 开发者可以用它来管理源代码. 它的主要有两大功能:它保留每个文件的所有变更/编辑历史它能够合并源码的改动, 这样你的队友可以各自编码, 然后合并他们的变更如果不用 Mercurial, 你就得很土的去保存 N 多份代码拷贝:这么做太土了, 占用了大量的硬盘空间, 而且混乱不堪. 使用版本控制会是更好的方
2012-02-23 10:27:57
2419
转载 Ubuntu下Samba服务器的搭建
Ubuntu下Samba服务器的搭建 Samba服务在Ubuntu服务器版本中默认并没有安装。1.Samba软件包的安装在Ubuntu的终端中输入一下命令:#sudo apt-get install samba#sudo apt-get install smbclient2.Samba服务器的启动与关闭启动Samba服务器只需执行如下命令:#
2012-02-23 10:19:21
1616
转载 ubuntu配置TortoiseHg的对比工具meld
ubuntu配置TortoiseHg的对比工具meld作者:联系我:colt.hawkins[at]gmail.com colt.hawkins@gmail.com">朦朧中的罪惡 发布于:2010-5-4 20:22 Tuesday 分类:Linux首先需要安装相关的工具,版本控制软件mercurial,对比工具meld,mercurial图形工具tortoisehgsudo a
2012-02-23 10:18:10
1652
转载 Xen虚拟机添加磁盘操作方法
Xen虚拟机添加磁盘操作方法需求:为bbs硬盘添加一块100G硬盘,挂载到相关目录下1、首先登陆宿主机 ,生成一块100G硬盘#dd if=/dev/zero of=/opt/vmware/images/bbs_extra.img bs=1M count=1024002、修改 /etc/xen/下的配置文件,添加第二块硬盘#vim bbsdisk = ["tap:aio
2012-02-23 10:17:36
1375
转载 Eclipse和PyDev搭建完美Python开发环境(Ubuntu篇)
Eclipse和PyDev搭建完美Python开发环境(Ubuntu篇)前两天在Windows下成功地搭好了一个Python开发环境,这次转战Ubuntu有了前面的经验,相对轻松多了还发现Ubuntu下的操作反而比Windows方便些。 安装环境Intel Core 7250(双核),操作系统Ubuntu 10.04.1 1.安装OpenJDK6
2012-02-23 10:13:28
500
转载 C#性能优化的分析,其实问题很简单,但是分析的比较透彻
昨天去一个外企去面试,面试官是公司的一个副总,技术出身,所以聊了我的一些经历之后问了一些C++方面的问题,不过还是static, 线程和进程等问题,回答得还可以,然后就说出一道编程题让我在小白板上做一下。题目是使用C#编程,实现一个函数,该函数将一个字符串List(任何一种List)中与给定字符串相同的字符串全部删去。题目倒不是很复杂,一会儿就写出来了,如下所示: public v
2009-08-27 14:16:00
1183
转载 c# 实现控件拖拽
using System;using System.Windows.Forms;using System.Drawing;namespace ImageTool{ /**//// /// ControlMove 的摘要说明。 /// public class ControlMove { #region
2009-08-19 13:35:00
5619
翻译 Cost
Introduction of a virtual table associated with Point2d to hold the address of each virtual function it declares. The size of this table in general is the number of virtual functions declared plus a
2008-11-03 18:48:00
609
原创 member initialization list (初始化队伍?)
You must use the member initialization list in the following cases in order for your program to compile:1. When initializing a reference member2. When initializing a const member3.
2008-10-31 18:25:00
535
翻译 memset / memcpy 函数
当类对象能按照BITWISE COPY,使用memset或者memcpy函数~~~例如class Point3d { public: Point3d( float x, float y, float z ); // ... private: float _x, _y, _z; };
2008-10-31 18:05:00
430
翻译 Inside the c++ object model - Copy Constructor Construction
Default constructors and copy constructors…are generated (by the compiler) where needed. There are three program instances in which a class object is initialized with another object of its
2008-10-31 09:28:00
394
转载 Dialog & Windows 使用技巧 (2)
21.控制对话框最大最小尺寸 (1) 对话框的属性的必须是resizing的 (2) 打开classwizard->class info标签页->message filter中选择window (3) 添加 WM_GETMINMAXINFO 消息映射 void CTest6Dlg::OnGetMinMaxInfo(MINMAXINFO *lpMMI)
2008-10-22 15:23:00
565
原创 Dialog & Windows 使用技巧 (1)
摘自:http://tb.blog.youkuaiyun.com/TrackBack.aspx?PostId=658248作者:lixiaosan日期:04/11/2006文章不断更新中,请访问这里注:以下代码以一个名为CTest6Dlg的对话框类为例1. 在任务栏隐藏对话框 ModifyStyleEx(WS_EX_APPWINDOW, WS_EX_TOOLWINDOW);2.
2008-10-22 15:22:00
601
转载 计算二进制int型中“1”的个数的算法
Parallel Count没看懂~~有时间研究下,路过的看懂的说明下~ A common problem asked in job interviews is to count the number of bits that are on in an unsigned integer. Here are seven solutions to this problem.
2008-10-07 14:15:00
2019
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人