This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Code comment style */ | |
.mtk3 { | |
font-family: 'Monaspace Radon', monospace !important; | |
color: #008c7d !important; | |
} | |
.line-numbers { | |
position: relative !important; | |
width: 35px !important; | |
font-size: 16px !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('DOMContentLoaded', function() { | |
const checkElement = setInterval(() => { | |
const commandDialog = document.querySelector(".quick-input-widget"); | |
if (commandDialog) { | |
// Apply the blur effect immediately if the command dialog is visible | |
if (commandDialog.style.display !== "none") { | |
runMyScript(); | |
} | |
// Create an DOM observer to 'listen' for changes in element's attribute. | |
const observer = new MutationObserver((mutations) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1="\[\033[1;37m\]┌---\[\033[1;37m\][\[\033[1;31m\]$(whoami)\[\033[1;37m\]@\[\033[1;31m\]$(hostname)\[\033[1;37m\]]-\[\033[1;37m\][\[\033[0;31m\]$(pwd)\[\033[1;37m\]]:\n|\n└---\[\033[1;32m\]$ \[\033[1;36m\]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
function prompt{ | |
$user = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name -replace '\\', '@' | |
$path = $(Get-Location) -replace '\\', '/' | |
Write-Host "[$user]" -ForegroundColor Red | |
return "$path$ " | |
} | |
# Outputs: | |
# [DESKTOP-L7RJCOV@Rednexie] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function prompt{ | |
$user = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name -replace '\\', '@' | |
$path = $(Get-Location) -replace '\\', '/' | |
Write-Host "[$user]" -ForegroundColor Red | |
return "$path$ " | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Rednexie/pastecord |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { MongoClient, ServerApiVersion } = require("mongodb") | |
const client = new MongoClient(uri, { | |
serverApi: { | |
version: ServerApiVersion.v1, | |
strict: true, | |
deprecationErrors: true, | |
} | |
}); | |
async function main(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TesseractSharder = require("tesseract-sharder") | |
const shard = new TesseractSharder() | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Rednexie/guilded-template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Rednexie/discord-template |