Skip to content

Instantly share code, notes, and snippets.

View Hazuki-san's full-sized avatar
🤔

Hazuki Onohara Hazuki-san

🤔
View GitHub Profile
@OrionReed
OrionReed / dom3d.js
Last active April 19, 2025 12:06
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@dbilanoski
dbilanoski / windows11-shell-folders-by-clsid.csv
Last active April 16, 2025 06:54
Complete List Of Windows 11 Shell Folders By CLSID GUIDs
Name Shell Command Shortcut
%UserProfile% explorer "shell:::{59031a47-3f72-44a7-89c5-5595fe6b30ee}"
%UserProfile%\Desktop explorer "shell:::{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"
%UserProfile%\Documents explorer "shell:::{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}"
%UserProfile%\Downloads explorer "shell:::{088e3905-0323-4b02-9826-5d99428e115f}"
%UserProfile%\Pictures explorer "shell:::{24ad3ad4-a569-4530-98e1-ab02f9417aa8}"
Add Network Location explorer "shell:::{D4480A50-BA28-11d1-8E75-00C04FA31A86}"
Additional Information explorer "shell:::{C58C4893-3BE0-4B45-ABB5-A63E4B8C8651}\resultPage"
Advanced Problem Reporting Settings explorer "shell:::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}\pageAdvSettings"
Advanced sharing settings explorer "shell:::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}\Advanced"
@cirippo
cirippo / ReadMe.md
Last active April 14, 2025 04:02
Download Google Drive protected PDF without TrustedScriptURL error at higher resolution

Easy step by step guide to download view only PDF from Google Drive - no TrustedScriptURL error and better quality


  1. Open the document in Google Docs
  2. Zoom in 2 times using Ctrl and + (VERY IMPORTANT!)
  3. Open Developer Tools
  4. Hit Ctrl + R to reload the document.
  5. Scroll to the bottom of the document to load all pages.
  6. To check if all pages are loaded, go to "Network" tab, type "img" in search bar. At the bottom bar you see "xx/yyy requests", "xx" must be equal to document's pages; if not scroll up to load missing pages
  7. Go to "Console" tab
  8. Paste the updated and improved script (download_pdf.js) that avoids TrustedScriptURL error and allows better file's quality
@thepwrtank18
thepwrtank18 / vista.md
Last active April 4, 2025 08:19
Download VMware Tools for Windows Vista (and Windows 7 RTM)

As of 12/11/2020, VMware no longer signs Tools for Windows Vista with SHA-1, so you need Windows 7 SP1 or later to use the latest version.

However, you can use an older version of VMware Tools, which is here: https://media.githubusercontent.com/media/thepwrtank18/thepwrtank18/master/VMware%20Tools%20for%20Windows%207%20RTM%20and%20Vista.iso

Link is dead. Instead, here's a full on guide.

Step 0: Foreword

This is an unsupported operating system, with unsupported drivers. Use this at your own risk.

@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active April 24, 2025 13:37
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active April 23, 2025 08:53
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@NoahCardoza
NoahCardoza / README.md
Last active March 27, 2025 22:12
Discord: Spotify Pause Blocker

Spotify Pause Blocker

Disclaimer

I love both of you Discord and Spotify, but this new 30 seccond rule gets pretty annoying when my music gets turned off while just talking "to much." I mean talking kind of is the whole point of Discord...

Reason

@brussell98
brussell98 / style.min.css
Last active May 12, 2022 02:59
Discord Theme
.theme-dark{--background-floating: #21262f}.theme-dark .appMount-3lHmkl .markup-2BOw-j a{color:#5294E2 !important}.theme-dark .guilds-1SWlCJ{background:#2a2f38}.theme-dark .guilds-1SWlCJ .unreadMentionsBar-1Bu1dC{background-color:#5294E2}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku{background:#2a2f38}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .guildSeparator-33mFX6{background:#333842}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .listItem-GuPuDH:not(:last-child) .blobContainer-pmnxKB{margin-bottom:-12px}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .listItem-GuPuDH:not(:last-child) .blobContainer-pmnxKB.selected-nT-gM3:before{border-radius:6px}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .wrapper-3Njo_c .expandedFolderBackground-1cujaW{background-color:#21262f}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .wrapper-3Njo_c>.collapsed-2ZrjoL+.listItem-GuPuDH{margin-bottom:-4px}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .wrapper-3Njo_c ul[role="group"]{height:auto !important}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 24, 2025 17:38
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example