Skip to content

Instantly share code, notes, and snippets.

/* 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;
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) => {
@Rednexie
Rednexie / .bashrc
Last active November 11, 2024 14:18
My Linux Terminal Bash Read Command (.bashrc) Configuration
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\]"
@Rednexie
Rednexie / Microsoft.PowerShell_profile.ps1
Last active November 11, 2024 14:19
My Windows Powershell Profile configuration(.bashrc equivalent of linux)
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]
@Rednexie
Rednexie / Microsoft.PowerShell_profile.ps1
Last active November 11, 2024 14:22
My Windows Powershell Profile configuration(.bashrc equivalent of Windows)
function prompt{
$user = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name -replace '\\', '@'
$path = $(Get-Location) -replace '\\', '/'
Write-Host "[$user]" -ForegroundColor Red
return "$path$ "
}
git clone https://github.com/Rednexie/pastecord
const { MongoClient, ServerApiVersion } = require("mongodb")
const client = new MongoClient(uri, {
serverApi: {
version: ServerApiVersion.v1,
strict: true,
deprecationErrors: true,
}
});
async function main(){
const TesseractSharder = require("tesseract-sharder")
const shard = new TesseractSharder()
git clone https://github.com/Rednexie/guilded-template
git clone https://github.com/Rednexie/discord-template