Skip to content

Instantly share code, notes, and snippets.

@SeidChr
SeidChr / Set-SlackStatus.ps1
Last active October 24, 2023 11:48
Set Slack Status via Powershell
param($token, $statusText, $emojiCode)
$baseUri = 'https://slack.com/api/users.profile.set'
$json = '{"status_text":"'+$statusText+'","status_emoji":"'+$emojiCode+'","status_expiration":0}'
$jsonEncoded = [uri]::EscapeDataString($json)
$uri = $baseUri + "?token=$token&profile=$jsonEncoded"
Invoke-WebRequest -Method Post -Uri $uri | Out-Null
param($statusText, $emojiCode)
$baseUri = 'https://slack.com/api/users.profile.set'
@webketje
webketje / README.md
Last active May 10, 2024 18:09
Soundcloud Downloader Clean - Tampermonkey userscript OR bookmarklet

Tampermonkey userscript - Soundcloud Downloader Clean

An ad-less, multilingual, clean Soundcloud downloader with robust code. Adds a 'Download' button to all single track views.

Features

  • No third-party embeds, redirects or ads, directly uses the Soundcloud API.