Skip to content

Instantly share code, notes, and snippets.

View vimagick's full-sized avatar
🐰
🐰🐰🐰🐰🐰🐰🐰🐰🐰

K̶e̶v̶i̶n̶ vimagick

🐰
🐰🐰🐰🐰🐰🐰🐰🐰🐰
View GitHub Profile
@vimagick
vimagick / README.md
Last active October 6, 2026 01:00
Build outline-ss-server with audit log
@jetfir3
jetfir3 / download_fusion.sh
Last active November 4, 2026 17:44
Download VMware Fusion Pro Without a Broadcom Account
#!/bin/bash
# Download VMware Fusion DMGs from a third-party Internet Archive collection.
# Compatible with macOS's Bash 3.2. No Homebrew, jq, or Python required.
set -euo pipefail
export LC_ALL=C
ARCHIVE_ITEM="vmwareworkstationarchive"
DOWNLOAD_DIR="${HOME}/Downloads"
VERSION=""
MODE=""
@lsr00ter
lsr00ter / EdgeRouter-IPv6-CONFIG.sh
Created April 6, 2024 06:35
config ipv6 enable on eth0, switch0 for EdgeRouter er-x/er-x sfp
configure
# Configure the PPPoE for IPv6(eth0):
set interfaces ethernet eth0 pppoe 0 ipv6 enable
set interfaces ethernet eth0 pppoe 0 ipv6 address autoconf
set interfaces ethernet eth0 pppoe 0 ipv6 dup-addr-detect-transmits 1
set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 prefix-length /60
set interfaces ethernet eth0 pppoe 0 dhcpv6-pd rapid-commit enable
set interfaces ethernet eth0 pppoe 0 dhcpv6-pd prefix-only
# Enable IPv6 SLAAC on the LAN(switch0):
set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 interface switch0 host-address ::1
@vimagick
vimagick / blescan.sh
Last active February 6, 2024 03:35
hcitool lescan (with 30 sec window)
#!/bin/bash
set -euo pipefail
BLE_DEV=hci0
DEDUP_WINDOW=30
MQTT_BROKER=broker.hivemq.com
MQTT_PORT=8883
MQTT_QOS=2
MQTT_TOPIC=blescan
@itsmikita
itsmikita / macos-iso.md
Last active October 15, 2026 07:44
Extract ISO image from macOS Somona installer
@abhagatbb
abhagatbb / instal-windows-terminal.ps1
Last active September 7, 2026 04:21
Install Windows Terminal without the Store
<#
*** Install Windows Terminal without the Store ***
If the Store app is not available on the system, the only option is to download the package from GitHub and install it using PowerShell. This does not require elevated privileges because the MSIX package is set up separately for each user.
There are always multiple versions of Windows Terminal available on GitHub. As a rule, you will opt for Latest, i.e., the current GA release. There, you select the file
Microsoft.WindowsTerminal Win10 <Version> 8wekyb3d8bbwe.msixbundle.
The packages with "PreinstallKit.zip" in their names are intended for offline integration into a Windows image.
#>
@acarril
acarril / bootable-win-on-mac.md
Created November 18, 2022 17:49
Create a bootable Windows USB using macOS

For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.

1. Download a Windows disc image (i.e. ISO file)

You can download Windows 10 or Windows 11 directly from Microsoft.

2. Identify your USB drive

After plugging the drive to your machine, identify the name of the USB device using diskutil list, which should return an output like the one below. In my case, the correct disk name is disk2.

@pbai-dev
pbai-dev / make-rir-delegated-latest.py
Created November 27, 2020 06:12 — forked from nickfox-taterli/make-rir-delegated-latest.py
make afrinic/apnic/arin/ripe/lacnic delegated-latest ipv4 and ipv6 list script
#!/usr/bin/env python
# vim:fileencoding=utf-8
""" [NAME] script or package easy description
[DESCRIPTION] script or package description
"""
from datetime import datetime
from argparse import ArgumentParser
import pprint
@martinsam16
martinsam16 / docker-wsl2.md
Last active November 2, 2026 09:00
How to install wsl2 ubuntu + docker + docker-compose

Activate wsl2

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2

Install and Configure Ubuntu