Skip to content

Instantly share code, notes, and snippets.

@jetfir3
jetfir3 / download_workstation.sh
Last active January 26, 2026 09:18
Download VMware Workstation for Linux without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Workstation for Linux
# Handles legacy versions (12.x - 17.6.3) from Cloudflare CDN cache and
# newer versions (17.6.4+) from Archive.org.
#
# Use '-k' to keep the CDN download file compressed, exiting after download. (Ignored for v17.6.4+)
# Use '-v <Version>' to specify desired version directly.
BASE_URL="https://softwareupdate-prod.broadcom.com/cds/vmw-desktop/"
@jetfir3
jetfir3 / download_workstation.ps1
Last active January 26, 2026 09:19
Download VMware Workstation for Windows without a Broadcom Account
<#
.SYNOPSIS
Download VMware Workstation Pro for Windows from Archive.org
.DESCRIPTION
This script downloads VMware Workstation installers directly from the archive.org VMware Workstation archive.
It allows for interactive menu selection or direct version specification.
.PARAMETER Version
Specifies the version of VMware Workstation to download (e.g., "17.6.3").
.PARAMETER Help
Displays the help information for the script and exits.
@nielsvanvelzen
nielsvanvelzen / jf-dev-auth.md
Last active January 24, 2026 16:41
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 multiple methods for transmitting authorization values, however, some are outdated and scheduled to be removed. It's recommend to use the Authorization header. If header auth isn't an option, the token may be sent through the ApiKey query parameter. Sending secure data in a query parameter is unsafe as the changes of it leaking (via logs, copy-paste actions or by other means) are high. Only use this method as a last resort.

@MeguminSama
MeguminSama / Discord Experiments.js
Last active January 27, 2026 05:12
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 January 14, 2026 06:50
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