Skip to content

Instantly share code, notes, and snippets.

View hacker1024's full-sized avatar
🎵
Working on my music app, Epimetheus.

hacker1024

🎵
Working on my music app, Epimetheus.
  • Melbourne, Australia
  • 12:48 (UTC +10:00)
View GitHub Profile
@hacker1024
hacker1024 / disableAAC.reg
Last active May 26, 2024 01:36
Disable AAC Bluetooth audio codec in Windows
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BthA2dp\Parameters]
"BluetoothAacEnable"=dword:00000000
@hacker1024
hacker1024 / SOLIDWORKS_CORE_ULTRA_ARC.reg
Created May 13, 2024 06:19
A registry entry to enable RealView Graphics in SOLIDWORKS 2024+ on Intel Core Ultra systems with integrated Arc graphics.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SolidWorks\AllowList\Gl2Shaders\Other\Intel(R) Arc(TM) Graphics]
"Workarounds"=dword:00032408
@hacker1024
hacker1024 / README.md
Last active May 12, 2024 00:23
My ideal Office configuration. Installs Word, PowerPoint, Excel, Publisher, OneNote with the preview channel, along with versions of Visio and Project that can be otained through Azure for Students.
  1. Download the Office Deployment Tool

    # winget install -e Microsoft.OfficeDeploymentTool
    # https://github.com/microsoft/winget-pkgs/pull/105205
  2. Install Office

& 'C:\Program Files\OfficeDeploymentTool\setup.exe' /configure office_configuration.xml

@hacker1024
hacker1024 / gitkraken_browserless_github_login.url
Created January 25, 2023 12:45
A URL to use to obtain a GitHub OAuth token for browserless logins on GitKraken.
https://api.gitkraken.com/oauth/github/login?action=login&in_app=true&needs_gk_permissions=false
@hacker1024
hacker1024 / solidworks_url_scraper.js
Last active February 4, 2024 07:55
Extract the URLs from SOLIDWORKS manual download pages.
copy(Array.from(document.getElementsByClassName('downloadfiles')[0].getElementsByTagName('a'), (a) => a.href).join('\n'))
@hacker1024
hacker1024 / nvidia-gpu-sensor.pl
Last active December 8, 2023 10:33
KDE KSysGuard NVIDIA GPU temperature/memory/utilization sensor, based on @frantic1048's script, but with units and total memory detection.
#!/usr/bin/perl -w
# act as a KSysGuard sensor
# provides NVIDIA GPU info via `nvidia-settings`
# Usage (e.g. add gpu temperature sensor)
# 1. save this file, make sure it has a exec permission
# 2. in KSysGuard's menu, open `File` -> `Monitor Remote Machine`
# 3.1 in new dialog, type `Host` whatever you want
# 3.2 set `Connection Type` to `Custom command`
@hacker1024
hacker1024 / mygov_totp_storage.md
Last active August 16, 2023 18:01
Information about TOTP token storage in the myGov Code Generator app, as well as token extraction instructions.

This gist contains information about TOTP token storage in the myGov Code Generator app, along with instructions on how to extract tokens.

App data

Structure

/data/user/0/au.gov.dhs.centrelink.mygovauthenticator:
├───files
│ myGov.ks
@hacker1024
hacker1024 / SOLIDWORKS_MX150.reg
Created March 7, 2023 22:45
A registry entry to enable RealView Graphics in SOLIDWORKS on an NVIDIA GeForce MX150. Make sure to update the version before installing.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SolidWorks\SOLIDWORKS 2022\Performance\Graphics\Hardware\Gl2Shaders\NV40\NVIDIA GeForce MX150/PCIe/SSE2]
"Workarounds"=dword:00031408
@hacker1024
hacker1024 / lockly_cloud_api_details.md
Last active October 5, 2022 03:11
Lockly cloud API details

Lockly cloud API details

This documentation has moved to a dedicated site.

@hacker1024
hacker1024 / allocate_plus_post_exam_fixer.js
Last active June 23, 2022 03:38
A script to fix the Monash University Allocate+ Planner if it's broken after exams.
// This script can be pasted into the browser console, or used as a userscript with an extension like Tampermonkey.
// ==UserScript==
// @name Allocate+ post-exam fixer
// @version 0.1
// @description Fixes the planner in Allocate+ if it's broken after exams.
// @author hacker1024
// @match https://my-timetable.monash.edu/even/student*
// @icon https://www.google.com/s2/favicons?sz=64&domain=monash.edu
// @grant none