原创 windows下 eclipse + mingGW + Direct3D環境搭建

  ·         Links http://www.linuxidc.com/Linux/2011-09/42639p2.htm http://blog.csdn.net/jackers679/ar

原创 SUID、SGID、STICKY簡介

  轉自: http://molinux.blog.51cto.com/2536040/469523 SUID、SGID、STICKY簡介: 在瞭解特殊權限位前,先來了解一下安全上下文概念。安全上下文:

原创 使用xlwt寫excel文件例子--雜七雜八記一下

  使用xlwt寫excel文件例子 #!/usr/bin/python # this script can create a excel for the given data # create dat

原创 VBA 從一個excel讀取特定行,列到指定excel

Private Function splitExcelName(row, myFileName) As String 'This function will get task ID, subtask ID, task owner or s

原创 紋理過濾模式中的Bilinear、Trilinear以及Anistropic Filtering

 http://smartblack.iteye.com/blog/762948   1、 爲什麼在紋理採樣時需要texture filter(紋理過濾)。 我們的紋理是要貼到三維圖形表面的,而三維圖形上的pixel中心和紋理上的texe

原创 詳細介紹=====c++中的引用與指針的區別

  c++中的引用與指針的區別     ★ 相同點:     1. 都是地址的概念;     指針指向一塊內存,它的內容是所指內存的地址;引用是某塊內存的別名。     ★ 區別:     1. 指針是

原创 glViewport()函數和glOrtho()函數的理解(轉)

  在OpenGL中有兩個比較重要的投影變換函數,glViewport和glOrtho。 glOrtho是創建一個正交平行的視景體。 一般用於物體不會因爲離屏幕的遠近而產生大小的變換的情況。比如,常用的工

原创 Install python and PyQt4 on Windows with Eclipse

1.     Download and install package Ø  Eclipse download eclipse-jee-indigo-SR2-win32.zip http://www.eclipse.org/downlo

原创 如何添加TFS團隊成員權限

  【轉】如何添加TFS團隊成員權限 --http://hi.baidu.com/heiru/blog/item/9565f4033e5c2ff609fa93c0.html 首先要把現有開發人員添加到

原创 c語言中static 用法

 static在c裏面可以用來修飾變量,也可以用來修飾函數。 先看用來修飾變量的時候。變量在c裏面可分爲存在全局數據區、棧和堆裏。其實我們平時所說的堆棧是棧而不是堆,不要弄混。 int a ; int m

原创 How to build samba PDC and add client

Attention: below test environment all disabled selinux and stop iptables. You need change the PDC ip to your PDC ip

原创 How to build samba PDC with Openldap

PDC server:     OS: CentOS5.4     IP: 192.168.141.130 All characters after // mean a description, just for you to unde

原创 shell 下很適用的echo 封裝

  shell 下很適用的echo 封裝 =========================== #!/bin/sh #在要顯示的信息前面加一個綠色的INFO echo_info() {     echo