Home

  • Xiaomi Xiaofang Dafang

    https://tisgoud.nl/2020/05/xiaomi-dafang-hack


  • TrueNAS: Only one Virtual CPU is allowed in this system

    I’m on TrueNAS SCALE 25.10.4 – Goldeye (Community Edition). First, we need to change the permission of /usr to read-write. If you do not do this, you cannot save the changes. Create a backup of the original file /usr/lib/python3/dist-packages/middlewared/plugins/vm/vms.py (optional). Edit /usr/lib/python3/dist-packages/middlewared/plugins/vm/vms.py (it should be around line 227, on my version it’s on line 248-256).…


  • Smartctl

    Get the disk info Show identity information for device Show all SMART information for device Show all information for device Run the test Short test Long test Abort the test Check the test result Check self-test log Show device SMART health status Check the errors Check error log


  • Xorg

    Generate config file: Test config file: If everything is fine, move to /etc/X11 Start X11 Make sure you are in video and render groups If not If you want to run something when the X start: REFERENCES:


  • Vim: Equal Sign

    Primarily used to indent But you can use it to “pipe” it to external command by setting the ‘equalprg’ or ‘ep’. Now we can pipe input from Vim to md5 and back to Vim. when we press “==” it will cut the word “hello” pipe “hello” to md5 and output the result back to vim


  • WordPress: HTTPS Redirect from Cloudflare