原创 adobe cs 徹底刪除

1.Adobe Install cleaner.這個應該就可以了。 http://www.adobe.com/support/contact/cscleanertool.html   2.   Windows Installer 清理實用

原创 ubuntu花屏解決辦法

1.安裝時花屏 在啓動時 按F4,或者Tab鍵,把 ro quite splash 改成  ro  ro single noacpi noapic nolapic radeon modeset=0 –-xforcevesa 2.啓動時花屏

原创 firefox4佔用內存過多

1.除默認主題外刪除所有的主題 2.disable所有的plugin 3.disable不必要的addone 4.Private(隱私)->history(歷史)->Never Rember History     參考: 1.http:

原创 The hell ascii 160

最近客戶抱怨字段中間的空格沒辦法查詢,但顯示的明明是空格. select ascii(substring(col,pos)); 一查原因ascii!=32,而是160. 用excel導入時經常空格被替換成ascii=160. 導致數據庫中

原创 firefox字體醜

公司的電腦中文好看,到了宿舍就不行了. 原來是在: 右擊桌面 ->屬性 ->外觀 ->效果 ->勾選“使用下列方式使屏幕字體的邊緣平滑”複選項 ->選擇 "清晰"  

原创 查找:二分查找(binary search)

對已經排好的數組進行折半查詢.   #include<stdio.h> int search(int arr[],int start,int end,int key) { int pos=(start+end)/2; //no suc

原创 mysql命令行導入數據庫

發現有時phpmyadmin導出的數據庫不可以通過命令導入,所以統一全部用命令行導入。1.導出;windows:  mysqldump -u root baogg --default-character-set=utf8mb4 --add

原创 extjs4自動選擇子節點。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equ

原创 圖片透明翻轉

主要是圖片或者flash 透明後 翻轉,jquery.cycle實現了圖片透明翻轉.而flash暫時用 wmode=transparent來實現透明,但沒有漸變效果     <!doctype html> <html> <head

原创 10 Best Open Source ERP Systems

  Enterprise Resource Planning is a software package that manages business functions. LinuxLinks.com provides 10 of the

原创 排序:查找數組中逆序對的個數

在一個數組A[1-n]中,如果i<j且A[i]>A[j];則(i,j)稱爲一個逆序對。 如數組{2,3,8,6,1}中,有五個逆序對。分別爲{1,5},{2,5},{3,5},{4,5},{3,4} 具體參考<算法導論>二版 2-4 中的

原创 排序:選擇排序(selection sort)

查詢數組中最小的元素,與A[1]交換.然後再查詢次最小的數,與A[2]交換.   #include<stdio.h> void selection_sort(int arr[],int cnt) { int init_pos,pos,i

原创 iframe 跨域自適應

有人做了,http://www.ccvita.com/376.html. 不過對ie高度有問題,改了一下    if (checkSys()=="IE") {             document.getElementById("i

原创 mysql workbench使用總結

1.新建relation時,如果自動生成的子表的列名不對,則在子表中改forienger key.2.

原创 ubuntu 安裝(install) pwntcha

一、安裝 1. sudo apt-get install libsdl1.2-dev libsdl1.2debian sudo apt-get install libsdl1.2-dev(比較大,10M左右) sudo apt-ge