Skip to content

Instantly share code, notes, and snippets.

@fbion
fbion / get-vmwarefusion.sh
Created December 28, 2025 02:58 — forked from johnvilsack/get-vmwarefusion.sh
Direct Download VMWare Fusion - Download, Install, and Update VMWare Fusion Automatically.
#!/usr/bin/env bash
# VMware Fusion Latest Version Downloader, Installer, and Updater
# This script automatically finds, downloads, and optionally installs the highest version available
#
# Inspired by this gist: https://gist.github.com/jetfir3/6b28fd279bbcadbae70980bd711a844f
#
# Usage: $0 [-y] [-i] [-d] [-f] [-t <dmg_path>]
# -y: Skip download confirmation prompt
# -i: Automatically install after download (implies -y)
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 28, 2025 08:53
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@sunmeat
sunmeat / Program.cs
Created October 8, 2025 10:56
відбір елементів колекції за допомогою лямбд 2
using System.Text;
class Program
{
// делегат для умов фільтрації
delegate bool FilterCondition(Person person);
static void Main()
{
Console.OutputEncoding = Encoding.UTF8;
@sunmeat
sunmeat / Program.cs
Created October 8, 2025 10:53
відбір елементів колекції за допомогою лямбд
using System.Text;
class Program
{
// делегат для умов фільтрації
delegate bool FilterCondition(int number);
static void Main()
{
Console.OutputEncoding = Encoding.UTF8;
@mstevenson
mstevenson / Fps.cs
Last active December 28, 2025 08:43
An accurate FPS counter for Unity. Works in builds.
using UnityEngine;
using System.Collections;
public class Fps : MonoBehaviour
{
private float count;
private IEnumerator Start()
{
GUI.depth = 2;
@oddmario
oddmario / tune_go_http_server.md
Last active December 28, 2025 08:39
Tuning a Golang (Go) HTTP server

Tune a Go http.Server

by adjusting its default buffer sizes


In some situations, you may need to adjust the default buffer sizes of a Golang HTTP server.

Adjusting the default buffer sizes allows you to benefit from higher throughput and improve the performance of your HTTP servers overall.

For the cherry on the top,

@ivanfioravanti
ivanfioravanti / mlx_memory.sh
Created January 4, 2025 16:42
Script to set MLX memory limits
#!/usr/bin/env bash
# Default values for percentages
DEFAULT_WIRED_LIMIT_PERCENT=85
DEFAULT_WIRED_LWM_PERCENT=75
# Read input parameters or use default values
WIRED_LIMIT_PERCENT=${1:-$DEFAULT_WIRED_LIMIT_PERCENT}
WIRED_LWM_PERCENT=${2:-$DEFAULT_WIRED_LWM_PERCENT}
@akirill0v
akirill0v / static_code.md
Created August 14, 2018 19:09
This is a collection of static analysis tools and code quality checkers

Static program analysis is the analysis of computer software that is performed without actually executing programs — Wikipedia

This is a collection of static analysis tools and code quality checkers. Pull requests are very welcome!
Note: ©️ stands for proprietary software. All other tools are Open Source.

Table of Contents