- Add a toggle switch that lets the user dark mode on/off
- Background Color: #1A2029
- Font Color: #FFFFFF
- Background Color: #FFFFFF
- Font Color: #333333
This table lists the commands and variables you can use to create your own custom commands via Nightbot, StreamLabs, and StreamElements.
| Command Description | Nightbot | StreamLabs | StreamLabs Cloudbot | StreamElements |
|---|---|---|---|---|
| Add Command | !commands add !command_name your_text_goes_here | !command add !command_name your_text_goes_here | ||
| Edit Command | !commands edit !command_name your_text_goes_here | !editcommand !command_name your_text_goes_here | !command edit !command_name your_text_goes_here | |
| Delete Command | !commands delete !command_name | |||
| Last Game Played | ${game ${1}} |
| # Prevents errors from showing in the console | |
| $ErrorActionPreference = 'Stop' | |
| $CPUInfo = Get-WmiObject Win32_Processor #Get CPU Information | |
| $OSInfo = Get-WmiObject Win32_OperatingSystem #Get OS Information | |
| $PhysicalMemory = Get-WmiObject CIM_PhysicalMemory | Measure-Object -Property capacity -Sum | % {[math]::round(($_.sum / 1GB),2)} | |
| $TotalStorage = "C - " + ( [math]::Round( ( ( Get-Volume -DriveLetter C ).Size ) / 1GB, 1 ) ).ToString() + " GB" | |
| $serverName = $CPUInfo.SystemName | |
| if ( $CPUInfo.SystemName -is [array] ) { |
Rasberry Pi 4's 4GB model - $55/each
15 Sandisk SanDisk Ultra 128GB SDXC UHS-I Memory Card - $21/each
Subtotal ( does not include a power adapter, network switch, or a way to mount the Pi's ) - $1,140
Cost per 5 Raspberry Pi's (including SD Cards) - $380
Ads, they're the bane of everyone's existance nowadays. It's hard to browse the internet without seeing a add somewhere on the page. Even if you're not using a desktop or laptop you can find ads everywhere, from mobile apps to your Smart TV. Today I'm going to talk about how we can potentially fix that. "How?" you may ask, well we're going to do it with some small cheap tech called a Raspberry Pi and about thirty minutes of your time.
| select column1, count( column2 ) | |
| from table | |
| where column2 is not null | |
| having count ( column2 ) > 1 | |
| group by column2 |
| client.on( 'presenceUpdate', ( oldPresence, newPresence ) => { | |
| if ( ( helper.isEmpty( newPresence ) || helper.isEmpty( newPresence.activities ) ) && !helper.isEmpty( oldPresence ) ) { | |
| if ( oldPresence.member.roles.cache.some( role => role.name === helper.default_streaming_role ) ) { | |
| const roleToRemove = oldPresence.guild.roles.find( role => role.name === helper.default_streaming_role ); | |
| oldPresence.member.roles.remove( roleToRemove ); | |
| logger.log( 'debug', `Removed ${roleToRemove.name} from ${oldPresence.user.tag} in ${oldPresence.guild.name} by oldPresence` ); | |
| // TODO: Convert these to embed logs for the guild | |
| // logger.log( 'debug', `${userToUpdate.tag} has stopped streaming` ); | |
| } |
This list was provided by TechnoTim and his video called 20 Ways to Use a Virtual Machine (and other ideas for your homelab). Go checko out his video here.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Example</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| </body> |