Skip to content

Instantly share code, notes, and snippets.

View baaamn's full-sized avatar
🎯
Focusing

BAAAMN baaamn

🎯
Focusing
  • Pacific Northwest
  • 13:12 (UTC -07:00)
View GitHub Profile
@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
Created January 4, 2025 14:55
Scoop Installation Script
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
scoop install sudo
scoop install aria2
scoop config aria2-warning-enabled false
scoop install python ruby
sudo scoop install 7zip git --global
# 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.