Skip to content

Instantly share code, notes, and snippets.

View Rednexie's full-sized avatar
:electron:
I may be slow to respond.

Rednexie Rednexie

:electron:
I may be slow to respond.
View GitHub Profile
@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