Author Archives : techstruggles


Bootstrap repo with bazel

Useful commands: Generate deps.bzl (which contains all the go_repository) bazel run //:gazelle — update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies -build_file_proto_mode=disable Automatically create build files bazel run //:gazelle update — -repo_root . Need following comment in WORKSPACE file so external go_repositories (in deps.bzl) are visible: gazelle:go_visibility public


iPhone Bypass MDM (ios 14)

Essentially this: https://www.youtube.com/watch?v=MDliXMFl3wA Make sure block iphone from accessing internet initially (eero’s app can help) Use 3utools “Erase all data”. Also make sure to activate the phone on iPhone, click through and give it wifi (which can’t connect from step 1 above. alternatively, you could tell it to not use wifi…but in my case it […]


No donation for xmrig (monero mining)

Prebuilt xmrig requires 1% donation. To get rid of this: git clone xmrig’s repo. Change src/donation.h to: constexpr const int kDefaultDonateLevel = 0;constexpr const int kMinimumDonateLevel = 0; Now need to build it. Follow instructions here: https://xmrig.com/docs/miner/build/windows But customs stuff I did: Create folder c:\xmrig-deps Download the most recent version of prebuilt dependencies  by using the green Code button and Download […]


USB Installer for Windows 7 caveats

Windows 7 is so old that its drivers does not support USB 3.0, among other things. So even if you use rufus and a genuine windows 7 iso to create a bootable usb windows 7 installer, it may not work on newer motherboard/hardware.    During the install you may run into issue of it asking […]