Skip to content

Instantly share code, notes, and snippets.

View baaamn's full-sized avatar
🎯
Focusing

BAAAMN baaamn

🎯
Focusing
  • Pacific Northwest
  • 00:39 (UTC -08:00)
View GitHub Profile
# Install Scoop App
# scoop alias add i 'scoop install $args[0]' 'Install scoop app'
scoop alias add i 'foreach ($_ in $args) {scoop install $_ -su}' 'Install apps'
# Uninstall Scoop App
scoop alias add rm 'scoop uninstall $args[0]' 'Uninstall a scoop app'
# List Scoop Apps
scoop alias add ls 'scoop list' 'List installed scoop apps'
@baaamn
baaamn / google-generative
Created January 4, 2025 15:36
Google commands and stuff
pip install -q -U google-generativeai
@baaamn
baaamn / Scoop-Install.ps1
Last active September 29, 2025 11:27
Scoop Installation Script
Write-Output "Installing scoop..."
# Execution Policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Install Scoop
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
# Install Scoop as Admin
# iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
# Powershell One-Liner that downloads the latest Python-Version for Windows and asks if it should install it right away. It even opens an elevated sessions with admin rights.
if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command `"$url = (Invoke-WebRequest -Uri 'https://www.python.org/downloads/windows/').Content | Select-String -Pattern 'https://www.python.org/ftp/python/\d+\.\d+\.\d+/python-\d+\.\d+\.\d+-amd64\.exe' -AllMatches | % { `$_.Matches[0].Value }; $path = `$env:USERPROFILE\Downloads\ + (`$url -split '/')[-1]; Invoke-WebRequest -Uri `$url -OutFile $path; if ((Read-Host 'Install? (Y/N)') -ieq 'y') { Start-Process -FilePath $path -Wait }`"" -Verb RunAs } else { $url = (Invoke-WebRequest -Uri 'https://www.python.org/downloads/windows/').Content | Select-String -Pattern 'https://www.python.org/ftp/python/\d+
@baaamn
baaamn / css-only-shimmering-neon-text.markdown
Created May 2, 2023 21:04
CSS-only shimmering neon text

CSS-only shimmering neon text

This is so not what a neon sign looks like, but I stumbled on the effect on accident and thought it looked cool. So.

Select the text and type whatever you want.

A Pen by Giana on CodePen.

License.