Skip to content

Instantly share code, notes, and snippets.

@samyok
samyok / selfbot.js
Created June 14, 2020 05:41 — forked from rigwild/selfbot.js
A simple Discord Self-bot using console
'use strict'
/**
* Discord Console Self bot
*
* Open chrome console on Discord using Ctrl+shift+i
* Go to the network tab, send a message and copy the 'Authorize' header sent by the app.
* Paste it in authHeader below.
*
* Paste the entire script in the console.
@fnky
fnky / ANSI.md
Last active June 3, 2025 12:17
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@timothywarner
timothywarner / install-chrome.ps1
Created February 22, 2018 14:23
Install Chrome browser with a PowerShell one-liner
$Path = $env:TEMP; $Installer = 'chrome_installer.exe'; Invoke-WebRequest -Uri 'http://dl.google.com/chrome/install/375.126/chrome_installer.exe' -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args '/silent /install' -Verb RunAs -Wait; Remove-Item -Path $Path\$Installer
# Thank you, nicolaigj!
@citrusui
citrusui / dropdown.md
Last active June 2, 2025 16:35
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.