Category: Uncategorised

  • Joining Active Directory on Debian

    Run it as a scriptbash <(curl -sL https://gist.githubusercontent.com/Misaka-12450/a057acf14de4c5143ca1abcd58564076/raw/afc80f119dcff57ec054195581f51f7ab2bb20d0/join-active-directory.sh) 1. Add PTR records to your AD DNS servers. 2. Make sure the DNS server on the Debian client points to the AD DC. 3. Install packages on the client. 4. Test that the client can reach the DC. 5. Join the domain. 6. Enable auto DNS…

  • PSA: Active Directory and 802.1x Wi-Fi

    Today I had the itch (you know, sometimes you just have to do something completely inconsequential right then and now) to add my laptop to my home Active Directory (AD). I joined it as I usually did, it had no problems until I rebooted and tried to sign in: …Huh? What are you talking about?…

  • Leetcode 504. Base 7 Solution in C

    Having just learnt how to convert decimal numbers to binary by hand a month or two ago, this was right up my alley. The methods I used were probably not the most concise or elegant, but they are fast and light on RAM, and I have the receipts to prove it! In order to use…

  • Setting Windows Chinese or other IME Keyboard to non-ANSI layout

    If you have a non-ANSI keyboard (e.g. UK keyboard) but want to use one of the Asian IMEs, you may encounter keyboard mapping issues. Unfortunately, Microsoft doesn’t allow you to select a keyboard layout for many of its IMEs (Chinese, for example). Fortunately, you can still change the keyboard layout. Press Win + R (run)…