通過跟蹤代碼修改 internals/core.create_dir_structure.php 對照修改
//fix my template dir structure by zero array_splice($_dir_parts,0,count(explode(DIRECTORY_SEPARATOR,realpath($smarty->template_dir)))-1,$smarty->template_dir); $_new_dir=''; /* all paths use "/" only from here */ foreach ($_dir_parts as $_dir_part) {
新版博客用docusaurus重構已經有些日子了,根據docusaurus的文檔上也申請了Algolia,想一勞永逸的解決博客的搜索問題。但是流水有意,落花無情。 algolia總是不給我回復,我只能對着algolia的申請頁面仰天長嘆。
Oracle的內存結構包括兩個部分:System Global Area(SGA)和Program Global Area(PGA)。 SGA:當一個實例啓動的時候分配(allocated),是一個實例的基本組成部分。 PGA:當一個
一、直銷的定義 「直銷」是一個被廣泛討論,但是常被誤解的主題。有些人會把直銷和直效行銷(Direct Marketing)混淆,更有些人把直銷和老鼠會相提並論。雖然直銷可說是人類最早的商業配銷方式,但是直銷並沒有被人好好的瞭解。在行銷
個人看法,如有雷同,純屬巧合!!! SetWindowLong:The SetWindowLong function changes an attribute of the specified window. The function a
struct ifnet { void *if_softc; /* pointer to driver state 指向設備驅動控制體*/ char *if_name; /* na
SAP CONTROL是通過SAP Control Framework來實現的,SAP系統允許通過ABAP OBJECTS來創建custom control。Application server是Automation client,用來在
Oracle: check the structure of a table named test_table, just using the follwoing command: describe test_table; th
DOCINFO docInfo; ZeroMemory(&docInfo, sizeof(docInfo)); docInfo.cbSize = sizeof(docInfo); docInfo.lpszDocName = "Gdiplu
今天在代碼中看到下面一個函數: CString CConnectManager::newGUID(){ CString buf; GUID guid; if (S_OK == ::CoCreateGuid(&guid))
這個程序比較小,在TC2下運行,實現的功能是多種進制間轉換,看了看文件修改日期是03年2月大概是我初學C語言時候寫的,記得同一個時期還寫了個大數加法的C程序有點意思,等找到了也貼出來讓大家笑笑。 PS:程序裏一些調試代碼我也帖出來了,時間
#include <stdio.h>typedef unsigned int UINT32;typedef int INT32;typedef unsigned short UINT16;typedef short INT16;
在剛開始寫Linux設備驅動程序的時候,很多時候都是利用mknod命令手動創建設備節點,實際上Linux內核爲我們提供了一組函數,可以用來在模塊加載的時候自動在/dev目錄下創建相應設備節點,並在卸載模塊時刪除該節點,當然前提條件是用戶
T take - v. to put a hand or hands around something and hold it, often to move it to another place; to carry somethin
Network Working Group J. Palme Request for Comments: 2557
在學習Linux驅動的過程中,遇到一個宏叫做container_of。 該宏定義在include/linux/kernel.h中,首先來貼出它的代碼: /** * container_of - cast a member of a st