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
  • 13:44 (UTC +10:00)
View GitHub Profile
@hacker1024
hacker1024 / DisableDisplayModeChangeAnimation.reg
Created June 15, 2024 09:41
Disable the display mode change animation on Windows 11 24H2+
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm]
"ForceDisableModeChangeAnimation"=dword:00000001
@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 / 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 / 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 / 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 / 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 / disableAAC.reg
Last active June 18, 2024 05:11
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 / 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
@hacker1024
hacker1024 / proquest_ebook_central_ripper.md
Last active March 28, 2022 00:49
A method to download restricted eBooks from ProQuest Ebook Central.

Step 1: Load in all the page elements.

let eBookPageCount = /* Set this. */
function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}
async function load() {
  for (i = 1; i < eBookPageCount; ++i) {
    let pageContainer = document.getElementById('mainPageContainer_' + i)
    pageContainer.scrollIntoView()