發表文章

目前顯示的是 11月, 2020的文章

Microsoft surface pro 4 core i5-6300U Type Cover 失去效用

請先將Windows 系統與 surface pro firmware更新至最新,再依照下列BIOS步驟取消, 1.重開後,再enable  Surface Pro 4 Type cover失效 (第5頁) - Mobile01 下載適用於 Surface 的驅動程式和韌體 - Office 支援 (microsoft.com) Surface Pro4 鍵盤突然不能使用 - Microsoft Community 2.把電全部放完,再做重開,主機與鍵盤皆要放盡 3.按下power與音量鍵+常按不放,至少15秒以上 4. 在C:\Windows\System32\drivers分別放入SurfaceTypeCover.sys與SurfaceTypeCoverV3Integration.sys

AI GAN for face

 https://thispersondoesnotexist.com/  https://make.girls.moe/#/   https://s3-us-west-2.amazonaws.com/kinesis-helpers/selfie.html   AI Meme for fun  https://imgflip.com/ai-meme

Windows 重置 SID

大量映像檔複製系統可能會出現SID重複問題,故需重新啟用 1. search -> cmd.exe -> run as administrator 2. C:\Windows\System32\Sysprep\sysprep.exe or sysprep /generalize /oobe   p.s. Windows 10的clone會自動重新產生新SID reference https://www.mobile01.com/topicdetail.php?f=300&t=5456981 https://docs.microsoft.com/zh-tw/troubleshoot/windows-server/identity/security-identifiers-in-windows  

macOS add shortcut

1. press option + command 2. click app icon and drag to your own position. reference https://support.apple.com/en-us/HT201236 https://www.laptopmag.com/articles/macos-desktop-shortcuts

Closing SIP(System Integrity Protection) on macOS

圖片
1. open console 2. type instruction: csrutil status 3. reboot macOS and press command + R after first beep 4. choose utility -> terminal / console 5. type instruction: csrutil disable

Executing windows app on macOS

 1. installing wine and winebottler wine https://wiki.winehq.org/MacOS winebottler https://winebottler.kronenberg.org/downloads

locate file on macOS

1. sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist 2.  sudo /usr/libexec/locate.updatedb 3. locate [filename] or mdfind -name [filename] references https://apple.stackexchange.com/questions/350610/macos-mojave-locate-not-working https://stackoverflow.com/questions/38373920/locate-linux-command-alternative-for-mac-osx

Create Httpd service with Python

圖片
@Python3 -3.6.8  python3 -m http.serve python3 -m http.server 8080 --bind 127.0.0.1 @Python2  python -m simpleHTTPServer references https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server  https://docs.python.org/3/library/http.server.html