Time of Update: 2018-12-05
一. Samba的安裝:# sudo apt-get insall samba# sudo apt-get install smbfs二. 建立共用目錄:# mkdir /home/willis/share# sodu chmod 777 /home/willis/share三. 建立Samba設定檔:1. 儲存現有的設定檔# sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bak2. 建立新的Samba設定檔# sodu vim
Time of Update: 2018-12-05
1.下載StarDict:可在http://sourceforge.net/projects/stardict/files/stardict/3.0.1/stardict_3.0.1-1_i386.deb/download下載 2.下載完直接雙擊安裝,(
Time of Update: 2018-12-05
from: xumeng_1987的日誌 查看驅動目錄發現ubuntu10.04已經內建了Sis的驅動,wendy@wendy:~/案頭$ ls /usr/lib/xorg/modules/drivers/sis*/usr/lib/xorg/modules/drivers/sis_drv.so/usr/lib/xorg/modules/drivers/sisusb_drv.so 我的 /etc/X11/xorg.conf代碼:section "Device"Identifier
Time of Update: 2018-12-05
參考10.04的方式安裝失敗,按如下方式安裝pass了。 【已成功】Ubuntu 10.10下安裝TFTP的步驟 tftp-hpa版本【背景】由於想要在tq2440板子上用tftp下載kernel,所以要在自己的PC機的Ubuntu 10.10上安裝tftp服務。所以就去網上找了些教程,但是很悲劇,按照那些教程去操作,結果還都是無法正常運行tftp服務,最後還是從一個外國人的文章中,最後解決了此問題的。現在記錄一下所瞭解到內容。截至目前2011-04-04,我用的Ubuntu 10
Time of Update: 2018-12-05
FLEX中使用itemRenderer調用父頁面的方法使用關鍵字outerDocument調用的父頁面方法必須是PUBLIC聲明的方法 <?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" layout="absolute" >
Time of Update: 2018-12-05
BrowserUtils.javaimport java.util.regex.Matcher;import java.util.regex.Pattern;import javax.servlet.http.HttpServletRequest;public class BrowserUtils {// 判斷是否是IEpublic static boolean isIE(HttpServletRequest request) {return
Time of Update: 2018-12-05
下面是一個在datagrid中設定超連結的一個小例子: DataGridLink.mxml<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" preinitialize="preinit();" creationComplete="creationComplete();"
Time of Update: 2018-12-05
import flash.geom.Rectangle;var left:Number=sudutiao.x;var top:Number=sudutiao.y;var right:Number=sudutiao.width-sudukuai.width;var
Time of Update: 2018-12-05
新的 for each … in 除了遍曆XML,同樣可以用來遍曆數組和對象。建立“百萬雄兵”:var testArr:Array = new Array();for(var i:Number = 0; i < 1000000; i++){ testArr.push(i);} 以前的 for 和 for … in 以及新的 for each … in 迴圈://for 260毫秒var len:Number = testArr.length;for(var j:Number
Time of Update: 2018-12-05
本文用到兩個檔案:dashLine.mxml 和 MyDashLine.asdashLine.mxml調用MyDashLine.as1、dashLine.mxml<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
Time of Update: 2018-12-05
package util.Socketion{import flash.events.Event;import flash.events.ProgressEvent;import flash.net.Socket;import mx.controls.Alert;public class ConnectSocket{public function ConnectSocket(){}//串連伺服器public static var mysock:Socket;public static
Time of Update: 2018-12-05
1、arraycollection轉化為xml,代碼如下: //動態產生樹形結構 public static function flatArrayToXML(arr:Object,rootname:String=null,nodename:String=null, outputString:Boolean=false):Object{ if (arr is Array){ }else if ( arr is
Time of Update: 2018-12-05
這是下載註冊機地址:http://files.cnblogs.com/tintown/flashbuiler4keygen.rar但是註冊序號第一次使用後,第二次開啟時,會去adobe的官網驗證序號的有效性,所以,經常導致第二次開啟FB時,會到期無效。所以我們可以讓adobe不去官網驗證即可,方法如下:在C:/WINDOWS/system32/drivers/etc/hosts檔案中加入一條:127.0.0.1
Time of Update: 2018-12-05
FilterControl.as package{ import mx.collections.ArrayCollection; import mx.core.Application; import mx.controls.TextInput; import mx.controls.Button; import mx.controls.ComboBox; public class FilterControl extends Application {
Time of Update: 2018-12-05
在php.ini 中的檔案注釋掉就可以了,列如下面的: ;[eaccelerator];zend_extension_ts="E:/APMServ5.2.6/zend/eAccelerator/eaccelerator.dll";eaccelerator.shm_size="32";eaccelerator.cache_dir="E:/APMServ5.2.6/tmp/eaccelerator/";eaccelerator.enable="1";eaccelerator.optimizer="
Time of Update: 2018-12-05
本次flex教程說的是記憶體使用量的一些相關的問題:記憶體問題向來是程式員十分關注的一個方面,也是體現程式健壯性與否.對於C/C++等類C語言來說,編程人員要對程式使用的記憶體進行比較謹慎的處理,否則很容易導致記憶體泄露而使得程式運行緩慢甚至失效.而對於Java等物件導向語言來說,由於採用了一種叫做garbage
Time of Update: 2018-12-05
package com.tianren.util;import java.util.Random; /** * RandomString.java * utils class * @author jinxx * @version 1.0 2009-6-10 * */ public class RandomString { /**返回大寫隨機字母字串*/ public static String
Time of Update: 2018-12-05
我的環境:ubuntu 10.04 codeblocks:10.05 首先:在命令列下打:codeblocks 的出錯資訊: version WXU_2.8.5 not defined in file libwx_baseu-2.8.so.0 with link time reference 問題:主要是ubuntu中包的版本比較低 解決方式:請到這裡http://apt.wxwidgets.org/dists/etch-wx/main/binary-i386/
Time of Update: 2018-12-05
方式1 : 使用NAT共用IP的方式。使用這種方式什麼都不用設定就可以在ubuntu中上網衝浪了。方式2:使用橋接方式。這裡即為ubuntu配置一個靜態IP。 以下有出現的IP地址,子網路遮罩,網關,DNS需要根據自己所在的區域網路設定。1、Windows下設定。vmWare安裝完以後,網路連接裡會預設多出兩個網卡,如下所示。 在本地串連裡,選中 VMware Bridge
Time of Update: 2018-12-05
文章出處: https://help.ubuntu.com/community/FixVideoResolutionHowto點擊翻譯: English • 中文 目錄[隱藏]1 簡介2 重新運行自動檢測指令碼3 未能識別的顯示器類型4 Intel圖形驅動 (i810)不能使用高解析度5 錯誤的預設色深設定6 ATI –