Skip to content

Instantly share code, notes, and snippets.

@jetfir3
jetfir3 / download_workstation.sh
Last active November 10, 2026 17:15
Download VMware Workstation for Linux without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Workstation Linux bundles from Internet Archive and GitHub.
# Requires Bash, curl, Python 3, and standard Unix tools. Does not install VMware.
set -euo pipefail
export LC_ALL=C
ARCHIVE_ITEM="vmwareworkstationarchive"
GITHUB_REPO="201853910/VMwareWorkstation"
DOWNLOAD_DIR="${HOME}/Downloads"
SOURCE="auto"
@jetfir3
jetfir3 / download_workstation.ps1
Last active November 10, 2026 09:30
Download VMware Workstation for Windows without a Broadcom Account
# Download VMware Workstation Windows installers from Internet Archive.
# Requires PowerShell 5.1 or newer and Windows' built-in curl.exe.
param(
[string]$Version,
[switch]$Latest,
[switch]$List,
[switch]$Url,
[Alias('Directory')][string]$OutDir,
[string]$ArchiveItem = 'vmwareworkstationarchive',
[switch]$Help
@nielsvanvelzen
nielsvanvelzen / jf-dev-auth.md
Last active September 28, 2026 21:55
Jellyfin API Authorization

Jellyfin API Authorization

To start using the Jellyfin API, authorization is probably the first thing you'll need to do. Jellyfin's authorization options can be a bit confusing because there are a lot of deprecated options.

Generally there are three ways to authenticate: no authorization, user authorization with an access token or authorization with an API key. The first way is easy, just do nothing. But most often you'll need to use either the access token or API key.

Sending authorization values

There are two methods to send authorization values to the server. The preferred method is by using the Authorization header with the custom MediaBrowser scheme. When a header value is not possible (e.g. URLs send to external applications or due to other constraints) the ApiKey query parameter can be used. The query parameter just takes an access token or API key. We strongly recommend to always use the Authorization hea

@MeguminSama
MeguminSama / Discord Experiments.js
Last active June 28, 2026 11:56
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
});
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";
@xPaw
xPaw / README.md
Last active November 9, 2025 16:42
Counter-Strike 2 Text Mod
@Prezens
Prezens / gist:f99fd28124b5557eb16816229391afee
Created April 2, 2019 07:40
Apache .htaccess settings for Vue, vue-router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active November 11, 2026 11:53
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@vinaydotblog
vinaydotblog / composer-install.sh
Last active April 17, 2023 11:08
Installing composer using curl
# Goto a directory you can write to:
cd ~
#get composer:
curl -s https://getcomposer.org/installer | php
# move composer into a bin directory you control:
sudo mv composer.phar /usr/local/bin/composer
# double check composer works
composer about