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 May 20, 2024 09:12
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; // ¯\\_(ツ)_/¯
@cirippo
cirippo / ReadMe.md
Last active May 20, 2024 07:09
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 26, 2024 11:56
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 May 20, 2024 04:28
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active May 12, 2024 06:56
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 May 3, 2024 18:20
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 May 20, 2024 10: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