BabySean

@BabySean

Joined on Dec 11, 2020

  • ![image](https://hackmd.io/_uploads/H1nmS5LLC.png =50x100) 台東所 - 台東縣台東市中興路四段2巷1號傳送門 image image 2,846.99 m² * 0.3025 = 861.2坪 花蓮所 - 花蓮縣花蓮市美工九街9號 傳送門 image 1,830.75 m² * 0.3025 = 553.8坪
     Like  Bookmark
  • 不錯的資料 你在幹麻阿? 阿!我就只是想要簡單的看看 gcc hello.c 編譯中在幹麻而已 :face_with_head_bandage: 編譯組成部份: 為什麼用gcc hello.c指令打下去,一個elf的執行檔a.out就噗通的跑出來了? 研究了一下, 主要分成4個步驟: Preprocessor
     Like  Bookmark
  • Steps for creating a debloat win10 vm, and uninstall windows defender Due to the machine (SP7 pro) with 8gb ram, I would I to have a light 10 vm for development and doesn't use lots of resources Preps: We'll need to create a get an image of win10 from microsoft Download Microsoft-Activation-Scripts from massgravel Download debloat script from CTT Download disable defender script from jeremybeaume
     Like  Bookmark
  • :::info kernel: 6.2.13-arch1-2-surface ::: You feel me? An idea came up that what if I can hear my self typing, it might sounds a bit awkward but I kind like the clattering, it makes me excited, and the more up-speed the more I get, dreaming like a hack or some other shhxt hah Issue The first thing I am facing is that the Interal mic would shown unplugin while 3.5mm earphone pluged-in on my Surface7), no matter how many time I tried.
     Like  Bookmark
  • Create qcow2 $ qemu-img create -f qcow2 Image.img 10G Installing $ qemu-system-x86_64 -cpu host -accel kvm -m 4G -hda Image.img -cdrom CD.iso Run with window $ qemu-system-x86_64 -cpu host -accel kvm -m 4G -hda Image.img Run headless(after u set up ssh you can do so) $ qemu-system-x86_64 -cpu host -accel kvm -m 4G -hda Image.img -nic user,hostfwd=tcp:127.0.0.1:2222-:22 -nographic & connect with ssh $ ssh -p 2222 user@localhost
     Like  Bookmark
  • 結論: $ pacman -S fcitx5-chewing fcitx5-configtool fcitx5-gtk $ echo "# Fcitx5 GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx SDL_IM_MODULE=fcitx GLFW_IM_MODULE=ibus" | sudo tee -a /etc/environment > /dev/null 2>&1
     Like 1 Bookmark
  • 舊的 因為滑鼠滾輪滑動一格就會跳一大段 讓眼睛很難對焦 所以進入about:config 好讓滑動速度慢一點 眼睛好對焦不會那麼累, 跟得上滑動的速度 以下是個人覺得舒服的參數: general.smoothScroll.currentVelocityWeighting 0.5 general.smoothScroll.lines.durationMinMS 0 general.smoothScroll.mouseWheel true general.smoothScroll.mouseWheel.durationMaxMS 1000 general.smoothScroll.mouseWheel.durationMinMS 500
     Like  Bookmark
  • 測驗題Link 測驗 α−1 #define xen_pfn_to_cr3(pfn) (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20)) #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) linux/arch/x86/include/asm/xen/interface_32.h 在這個檔案上發現 有兩個巨集 對32bit的unsigned 做 12 MSB 和 12 LSB 做交換的動作, 解決%cr3對4GB以上的頁目錄兼容問題
     Like  Bookmark
  • 聽說把資料寫下來就會記得的比較久 那麼就...開始吧 :] [TOC] Linux Interprocess Communications [x] 進程間通信(IPC)功能 提供了一種 使多個進程相互通信的方法。 [x] 這些功能在得到有效使用時,可為任何UNIX系統(包括Linux)上的客戶端/服務器開發提供可靠的框架。 无名管道 (Half-duplex UNIX pipes)
     Like 1 Bookmark
  • [TOC] 文件 可以通過這些函示進行 創建 打開 讀寫 光標: int open(const char *pathname, int flags); int open(const char *pathname, int flags, mode_t mode); int creat(const char *pathname, mode_t mode);
     Like  Bookmark