Skip to content

Instantly share code, notes, and snippets.

View GorlikItsMe's full-sized avatar

Gorlik GorlikItsMe

View GitHub Profile
@GorlikItsMe
GorlikItsMe / start-openfm.ps1
Created March 20, 2025 16:39
Play openfm radio like a normal human being, not animal with multiple scam ads
# Want to change radio station? -> Replace OFM10 with something else
# Where to find diffrent values? -> 1. open radio app in chrome 2. Go to network tab and search for `m3u8`
$response = Invoke-RestMethod "https://open.fm/api/user/token?fp=https://stream-cdn-1.open.fm/OFM10/ngrp:standard/playlist.m3u8"
$token = $response.url
Start-Process "C:\Program Files\VideoLAN\VLC\vlc.exe" -ArgumentList $token
Write-Host "Have a nice day!"
@GorlikItsMe
GorlikItsMe / Microsoft.PowerShell_profile.ps1
Last active February 12, 2025 11:37
My Powershell utils
# How to install:
# 1. open powershell
# 2. `notepad $profile`
# 3. Copy everything paste there and save
# 4. restart terminal
# https://stackoverflow.com/questions/72236557/how-do-i-read-a-env-file-from-a-ps1-script
function LoadEnvFile {
param (