2020年5月5日 星期二
2020年4月16日 星期四
wsl command
wsl.exe --export Ubuntu d:\ubuntu.tar
wsl.exe --import UbuntuD d:\wsl\UbuntuD d:\ubuntu.tar
wsl --unregister Ubuntu
wsl -d UbuntuD
wsl.exe --import UbuntuD d:\wsl\UbuntuD d:\ubuntu.tar
wsl --unregister Ubuntu
wsl -d UbuntuD
2020年3月25日 星期三
2020年1月8日 星期三
Excel
獲取目前選取的儲存格位置: =ADDRESS(ROW(),COLUMN()) or =CELL("address")
儲存格位移: =OFFSET(reference, rows, cols, [height], [width])
儲存格位移的值: =OFFSET(INDIRECT(CELL("address")),0,-1)
判斷值: =IF(OFFSET(INDIRECT(CELL("address")),0,-1) = "??", ?, ?)
資料驗證: =COUNTIF(A:A,A1)=1
小寫大寫大小寫: LOWER、UPPER、PROPER
資料驗證範例:
=IF(OFFSET(INDIRECT(CELL("address")),0,-1) = "??", COUNTIF(B:B,B1)=1,)
儲存格位移: =OFFSET(reference, rows, cols, [height], [width])
儲存格位移的值: =OFFSET(INDIRECT(CELL("address")),0,-1)
判斷值: =IF(OFFSET(INDIRECT(CELL("address")),0,-1) = "??", ?, ?)
資料驗證: =COUNTIF(A:A,A1)=1
小寫大寫大小寫: LOWER、UPPER、PROPER
資料驗證範例:
=IF(OFFSET(INDIRECT(CELL("address")),0,-1) = "??", COUNTIF(B:B,B1)=1,)
2017年7月24日 星期一
WinCE Eboot Boot-up Sequence
- F:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP\startup.s
StartUp[Start] -> PreInit -> Put CPU in SVC mode and disable IRQ, FIQ ->
Disable MMU, caches, write-buffer and flush -> RCSR_HARD_RESET(2.) ->
RCSR_GPIO_RESET(3.) -> Continue_StartUp(4.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\startup.s
OALStartUp -> Init_HexLEDs -> Copy the bootloader image from flash to RAM ->
jump to the RAM image -> Enable the MMU -> Jump to main.c(5.)
- F:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP\startup.s
RCSR_GPIO_RESET -> xlli_mem_init -> Continue_StartUp(4.)
- F:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP\startup.s
Continue_StartUp -> xlli_intr_init(15.) -> EnableClks -> xlli_mem_Tmax(15.) ->
xlli_mem_restart(15.) -> OALXScaleSetFrequencies(16.)->
xlli_mem_Topt(15.) -> xlli_mem_restart(15.) -> xlli_ost_init(15.) ->
xlli_pwrmgr_init(15.) -> xlli_IMpwr_init(15.) -> OALStartUp(2.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
main -> BootloaderMain(6.)
- F:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON\blcommon.c
BootloaderMain -> KernelRelocate -> OEMDebugInit(7.) -> OEMPlatformInit(9.) ->
OEMPreDownload(10.) -> BL_DOWNLOAD(11.) -> BL_JUMP(14.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMDebugInit -> FlashInit -> InitDebugSerial(8.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\COMMON\DBGSERIAL\dbgserial.c
InitDebugSerial -> Return
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMPlatformInit -> Create menu -> InitSpecifiedEthDevice(Download image) -> Return
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMPreDownload -> Return
- F:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON\blcommon.c
DownloadImage(BL_DOWNLOAD) -> OEMReadData(12.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\utils.c
OEMReadData -> EbootEtherReadData(13.)
- F:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\EBOOT\ebsimp.c
EbootEtherReadData -> OEMLaunch(14.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMLaunch[End]
- F:\WINCE500\PUBLIC\COMMON\OAK\CSP\ARM\INTEL\PXA27X\XLLP\SOURCE\
xlli_lowlev_init.s
xlli_intr_init; xlli_mem_Tmax; xlli_mem_restart; xlli_mem_Topt; xlli_mem_restart;
xlli_ost_init; xlli_pwrmgr_init; xlli_IMpwr_init; xlli_GPIO_init
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\COMMON\FREQ\freq.s
OALXScaleSetFrequencies -> xlli_GPIO_init -> xlli_GPIO_init(15.)
2017年1月10日 星期二
VirtualBox發生Start tag expected, '<' not found錯誤
無法開啟VirtualBox。
刪除
C:\Users\account\.VirtualBox\VirtualBox.xml
將
C:\Users\victorlin.TWNB15035\.VirtualBox\VirtualBox.xml-prev
更名為
C:\Users\account\.VirtualBox\VirtualBox.xml
2016年1月26日 星期二
2015年9月24日 星期四
升級成Windows 10
沒收到Windows 10升級通知 =.=
利用Windows 10安裝程式,直接下載Windows 10 ISO檔或直接升級。
https://www.microsoft.com/zh-tw/software-download/windows10
2015年8月18日 星期二
VirtualBox安裝Windows 10後,Office Powerpoint無法投影片放映
雖然使用上沒什麼問題,但是還是有蠻多bug的。
- 有些設定修改了卻無法儲存!!!
- Metro APP與傳統APP混在一起,不習慣 ><
- Metro APP目前沒分成桌面及平板版本,桌面上使用不習慣 =.=
- Metro APP只能在商店安裝,需微軟帳號,工作用電腦不方便使用。
- Windows自動更新無法簡單關閉 @@
- 需要備份系統,因為升級後如果掛掉,沒有Windows 10的序號,無法直接安裝 Orz
目前遇到最大的問題是Windows 10上的Powerpoint無法放映。天呀!!! 試過Office 2010及Office 2013都一樣 ...
原來是網路上教大家在VirtualBox上安裝Windows 10時,
都說要選3D Acceleration。
安裝完後,將這個選項關閉就可以啦 ^^
2015年7月16日 星期四
2014年5月26日 星期一
WinCE,不用hive-based,如何儲存registry
http://msdn.microsoft.com/en-us/library/ms891458.aspx
可以用RegCopyFile
This function saves a copy of the current Windows CE RAM–based registry to a specified file.
以及RegRestoreFile
This function places the operating system in a state in which the registry can be replaced by the supplied file on a warm boot.
2014年4月23日 星期三
WinCE disable DHCP fail window
可透過下面registry進行設定
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms]
DisableCachedLeaseDialog: REG_DWORD
或
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms ]
AutoCfg : REG_DWORD
參考下面網址
http://msdn.microsoft.com/en-us/library/ee494881.aspx
http://msdn.microsoft.com/en-us/library/aa922356.aspx
2014年3月5日 星期三
使用Virtual Machine Manager與KVM安裝Windows 7
但因為office與ie的關係又一定要執行
Windows 7~~~
Windows 7~~~
一切都是因為公司文件跟網路銀行與ATM都不能在Linux下用呀 ><
但Android開發又一定要Linux,又只配一台NB,又等級不高,搞死人呀!!!
換上KVM,雖然也是慢,
但是比virtualbox順多了
但是比virtualbox順多了
文字管理很麻煩,透過Virtual Machine Manager來管理方便多了
- 在軟體中心搜尋virt-manager安裝virt-manager (Virtual Machine Manager)
- 啟動後會自動安裝KVM套件
- 確認電腦是否可支援KVM
- 執行egrep -c '(vmx|svm)' /proc/cpuinfo
- 假設結果是0,代表doesn't support hardware virtualization。
- 假設結果大於等於1,表示有支援,記得確認BIOS是否有將這功能打開。
- 執行kvm-ok,確認是否能完整支援
- 接下來的操作就跟virtualbox很像,記得將virt type設為KVM
- 成功跑啟Windows 7囉
安裝Windows出現0x80300001錯誤
這是一個很瞎的錯誤
因為要安裝額外的driver將Windows光碟退出,放進driver光碟,
繼續安裝Windows時出現的錯誤 ><
只要將Windows安裝光碟放回去即可~~~
=.= 無言,這是叫誰猜得到呀 ... ...
因為要安裝額外的driver將Windows光碟退出,放進driver光碟,
繼續安裝Windows時出現的錯誤 ><
只要將Windows安裝光碟放回去即可~~~
=.= 無言,這是叫誰猜得到呀 ... ...
2014年2月19日 星期三
微軟OneDrive上路了
之前SkyDrive在Android上不能自動備份相片,好像在改為OneDrive後終於可以了~~~
那我的Windows RT也可以用了~~~
不過希望Linux上也能用 ><
OneDrive is Now Available
2014年2月18日 星期二
偷偷新增Windows 7 administrator帳號
新增一個administrator帳號進入修改就可以了
在Google上搜尋到很多相關的文章
- 透過其他的開機方式,0仔是簡單的做隻USB live linux,USB開機後進入Linux
- 進入C:\Windows\system32,將osk.exe或Magnify.exe更名備份
- 複製cmd.exe並命名為osk.exe或是Magnify.exe
- 重新開機進入Windows,登錄畫面可啟動osk.exe或是Magnify.exe即螢幕小鍵盤或放大鏡
- 因為已替換,會看到DOS視窗
- 使用下面指令新增一位administrator使用者
- net user username password /add (新增使用者)
- net localgroup administrators username /add (將使用者加入administrators)
- 使用此帳號登入即可使用
所以呢,還是用電腦上的加密晶片加密比較安全,不過很麻煩就是了
2014年1月10日 星期五
Windows網路設定
顯示電腦上的所有無線設定檔 netsh wlan show profiles
顯示安全性金鑰 netsh wlan show profile name=“ProfileName” key=clear
在優先順序清單中將網路上移 連線至新網路並選擇自動連線時,會將該網路置於清單頂端
停止自動連線至範圍內的網路 點選或按一下網路清單中的網路,然後按一下中斷連線
停止自動連線至範圍外的網路 netsh wlan set profileparameter name=”ProfileName” connectionmode=manual
訂閱:
文章 (Atom)

