Time of Update: 2018-12-04
原文地址:http://www.slac.stanford.edu/BFROOT/www/Computing/Environment/Tools/Batch/exitcode.html————————————————————————————————————————————————————Job crashes and exit codesThis webpage is a collection of information about job crashes and exit codes,
Time of Update: 2018-12-04
原文連結『或許不是最原始』:現有p2p協議分類與簡介 (一) 常用p2p協議 一、napster:世界上第一個大型的p2p應用網路;中央集中式,倒閉了。napster,這是當時很火的一種共用服務,主要用於尋找mp3,它有一個伺服器用於儲存mp3檔案的連結位置並提供檢索,而真正的mp3檔案則存放在千千萬萬的個人電腦上,搜尋到的檔案通過p2p方式直接在個人電腦間傳播共用。這種方式的缺點就是需要一台伺服器,在mp3檔案著作權之爭火熱的年代,napster很快就成為眾矢之的,被眾多唱片公司訴訟侵犯著作
Time of Update: 2018-12-04
【部落格只是做個記錄,技術性不強,能給遊客提供協助,最好不過。錯誤或模稜兩可的地方,還望不吝斧正。——寫在前面】 記錄的資訊,不一定只適用於MP4容器,僅僅是修複該類型容器的檔案時,查到的一些資訊。 1. FOURCC : "avc1" "H264" "h264" ……有什麼不同呢?來自於:http://msdn.microsoft.com/en-us/library/dd757808(v=vs.85).aspx(建議直接看原文)The following media subtypes are
Time of Update: 2018-12-04
原文地址:http://tnrc.ncku.edu.tw/course/93/fedora_core2/page7/p7.htm一、什麼是 tar在Linux上,為了便於檔案以及目錄的交流、儲存以及傳輸,我們通常把一大堆檔案以及目錄「打包」為一個單一檔案。這個打包工具就是tar,而打包好的檔案就稱為tar ball(xxx.tar)。順帶一提的是,tar本身並沒有壓縮檔案,而我們經常看到的xxx.tar.gz(.tgz)是tar ball再經gzip壓縮,而xxx.tar.Z則是tar
Time of Update: 2018-12-04
一下三個函數都是MessagePart的建構函式,現在分析一下其中的不同MessagePart(byte[] contents,String mimeType,String contentId,String contentLocation,String enc)此函數是把資源數組 完全的放在MessagePart中理論上最數組的大小限制是 不到與10K (roughly less than 10K),但是經過嘗試 在個別手機上這個限制是要遠大於10K的, MessagPart(byte[]
Time of Update: 2018-12-04
/** * 看過網友 一滴蔚藍色的 j2me低級介面文字分行顯示解決方案後, * 網址:http://www.j2megame.org/index.php/content/view/1864/125.html 很受啟發 * 但是仔細研究後,發現有一些缺陷 現把經過改良後的方法寫出來 */public void paint(Graphics g) {Font font = Font.getFont(Font.FACE_SYSTEM,
Time of Update: 2018-12-04
1. fdk-aachttp://sourceforge.net/projects/opencore-amr/files/fdk-aac/github上有對應msvs版本:https://github.com/nu774/fdkaac『小記錄:用intel
Time of Update: 2018-12-04
今天學會了用unyaffs解開img檔案和mkyaffs2image打包img檔案 高興啊 一步一步學習 。我裝的雨林木風linux 要用root使用者登入了。重新給檔案打包當修改完了system目錄下的檔案後,我們就可以重建一個新的system.img檔案了。這時,要使用命令mkyaffs2image。這個命令也要自己編譯的。首先去http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/下載全部來源程式此頁面有“Download GNU
Time of Update: 2018-12-04
【有誤之處請指正,勤能補拙】1. #!/bin/sh指定該指令碼的執行程式2.set -eEvery script you write should include set -e at the top. This tells bash that it should exit the script if any statement returns a non-true return value. For more set, find here :
Time of Update: 2018-12-04
“Y”表示明亮度(Luminance、Luma),“U”和“V”則是色度、濃度(Chrominance、Chroma)緊縮格式(packed formats):將Y、U、V值儲存成Macro Pixels陣列,和RGB的存放方式類似。平面格式(planar formats):將Y、U、V的三個份量分別存放在不同的矩陣中。YV12 : 亮度(行×列) + U(行×列/4) + V(行×列/4)I420 : 亮度(行×列) + V(行×列/4) + U(行×列/4)yuv420p:yyyyyyyy
Time of Update: 2018-12-04
This page comes from URL:https://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/Introduction/Introduction.html【有誤之處請指正,勤能補拙】若您對如下有興趣:1. 向iPhone, iPod touch, iPad, or Apple TV裝置輸流2.
Time of Update: 2018-12-04
原文地址:C++代碼中回調JS方法前段時間開發了一個COM組件配合web前端使用,遇到了C++中調用JS代碼的問題,在網上查了很多資料,現總結一下,留作以後察看。C++中調用JS代碼主要有兩種情況:1. IE線程中調用;2. 其他線程調用1. IE線程中調用:這種情況網上已經有很多資料,下面列出示列代碼:STDMETHODIMP CJsInvoker::InvokeJsFunc(LONG para1, LONG para2, VARIANT jsFunction, LONG* retValue)
Time of Update: 2018-12-04
支援多種普片格式的載入,可選用SDL_Image庫(依賴於SDL和一些其他第三方)。#include "SDL.h"int _tmain(int argc, _TCHAR* argv[]){SDL_Window *myWindow = NULL;SDL_Renderer *myRenderer = NULL;SDL_Texture *myTexture = NULL, *hisTexture = NULL;SDL_Surface* picture;int nRenderDrivers;if (
Time of Update: 2018-12-04
原文連結:boost安裝及使用的記錄 其他參考:windows下boost怎樣安裝與使用說明?http://www.cnblogs.com/finallyliuyu/archive/2010/08/23/1806811.htmlhttp://www.boostpro.com/download/安裝ubuntu: 1) 在新立得(Synaptic)裡搜尋boost安裝即可。2) 編譯時間候需要如果使用boost的lib檔案,則需要用-l指明。 windows: 1)
Time of Update: 2018-12-04
1. 開啟終端:ctrl + alt + t,如果常用,則可以右擊將其鎖定在側邊欄上。2. 設定解析度:System Settings — Displays — ...3. 在linux下使用source insight:有兩種選擇,4. Ubuntu下安裝SDL(simple directmedia layer):sudo apt-get install libsdl1.2-dev5. linux定時執行任務命令:at 和 crontabhttp://os.51cto.com/art/2010
Time of Update: 2018-12-04
package cyber.config;import javax.microedition.lcdui.List;import javax.microedition.lcdui.Command;import javax.microedition.lcdui.Ticker;import javax.microedition.lcdui.Image;import javax.microedition.lcdui.Form;import
Time of Update: 2018-12-04
在原來基礎上稍加改動 看上去不那麼囉嗦了 代碼如下:public void paint(Graphics g) {Font font = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_BOLD,Font.SIZE_MEDIUM);g.setColor(125, 125, 125);g.fillRect(0, getHeight() / 2, getWidth(), getHeight());g.setFont(font);g.setColor(0, 0, 0
Time of Update: 2018-12-04
1. 安裝與使用可參考:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta content="text/html; charset=utf-8
Time of Update: 2018-12-04
private Image handle(Image img){int imgWidth = img.getWidth();int imgHeight = img.getHeight();int[] rgbImage = new int[imgWidth*imgHeight];//把像素資料存入指定數組img.getRGB(rgbImage, 0, imgWidth, 0, 0, imgWidth, imgHeight);for(int i = 0;i<rgbImage.length;i+
Time of Update: 2018-12-04
維基百科:有限狀態機器有趣的狀態畫圖:Finite State Machine