Skip to content

Instantly share code, notes, and snippets.

@Wingysam
Wingysam / git-archive.user.js
Last active June 4, 2025 13:50
Git Archive
// ==UserScript==
// @name Git Archive
// @namespace http://wingysam.xyz/
// @version 2.4
// @description Mirror every git repo you look at to gitea
// @author Wingy <git@wingysam.xyz>
// @include *
// @grant GM_xmlhttpRequest
// @grant GM_notification
// @grant GM_openInTab
import SwiftUI
extension View where Self: Shape {
func glow(
fill: some ShapeStyle,
lineWidth: Double,
blurRadius: Double = 8.0,
lineCap: CGLineCap = .round
) -> some View {
self
@sebnyberg
sebnyberg / nixsetup.md
Last active June 4, 2025 13:45
Nix Setup for MacOS + ZScaler

Nix Setup for MacOS + ZScaler

These are my personal notes for estting up Nix with ZScaler.

Export certs as cert bundle

ZScaler eavesdrops on all communication, which is indistinguishable from a MITM attack.

Trust the cert in the KeyChain cert store. Then export the bundle to /etc/ssl/certs/ca-certificates.crt:

@aravindanve
aravindanve / bypass-disable-devtool.md
Last active June 4, 2025 13:42
Bypass disable-devtool

(Working as of 2025-02-09)

There are websites that use disable-devtool to prevent you from opening or using devtools. They typically prevent you from right clicking or using the keyboard shortcut to open devtools. Even if you successfully do so, they detect it and redirect you elsewhere. You can bypass this by using one of the following ways.

Opening devtools

If the shortcut F12 on Windows or Option + ⌘ + I on Mac do not work. Press the three vertically aligned dots in the top right corner of your Google Chrome or Microsoft Edge window. Under the section "More Tools", you'll see the option to select "Developer Tools" which opens the toolkit in your window.

@miry
miry / Gemfile
Last active June 4, 2025 13:39
Sidekiq gracefull startup and shutdown in Kubernetes
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem "sidekiq"
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active June 4, 2025 13:39
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@coulterpeterson
coulterpeterson / readme.md
Last active June 4, 2025 13:39
How To Import a Bedrock WordPress Project Into LocalWP

How To Import a Bedrock WordPress Project Into LocalWP

  1. Per the official doc from Bedrock, start by creating a new site in Local.
  2. Use the "open site folder" or "open site shell" option, delete the public folder in \Local Sites\YOURSITE\app\
  3. While in \Local Sites\YOURSITE\app, clone your project down into this folder.
  4. Open the .env file in app\YOURREPO\src and ensure:
    • DB_NAME=local
    • DB_USER=root
    • DB_PASSWORD=root
  • WP_HOME='https://YOURSITE.local'
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active June 4, 2025 13:38
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@silverhadch
silverhadch / arch-zfs-root-install.md
Last active June 4, 2025 13:37
✅ Arch Linux ZFS Root Install with systemd-boot + UKI (using LTS ISO)

✅ Arch Linux ZFS Root Install with systemd-boot + UKI (using LTS ISO)


Prerequisites

  • Boot Mode: UEFI
  • Bootloader: systemd-boot
@moorehousew
moorehousew / vs_buildtools_dl_list.md
Created June 4, 2025 13:36 — forked from Mr-Precise/vs_buildtools_dl_list.md
MSVC / VS / Buildtools download link collection list