Skip to content

Instantly share code, notes, and snippets.

@xvitaly
xvitaly / remove_crw.cmd
Last active July 12, 2025 09:00
Remove telemetry updates for Windows 7 and 8.1
@echo off
echo Uninstalling KB3075249 (telemetry for Win7/8.1)
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart
echo Uninstalling KB3080149 (telemetry for Win7/8.1)
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart
echo Uninstalling KB3021917 (telemetry for Win7)
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart
echo Uninstalling KB3022345 (telemetry)
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart
echo Uninstalling KB3068708 (telemetry)
@sbonfert
sbonfert / root-ro
Last active December 24, 2024 06:19 — forked from niun/root-ro
Read-only Root-FS with overlayfs for Raspian
#!/bin/sh
#
# Read-only Root-FS for Raspian
#
# Modified 2016 by Stefan Bonfert to make it compatible with Raspbian
# Jessie (vanilla).
#
# Modified 2015 by Pascal Rosin to work on raspian-ua-netinst with
# overlayfs integrated in Linux Kernel >= 3.18.
#
@yutsuku
yutsuku / straight.google.user.js
Last active August 8, 2018 07:15 — forked from ql-owo-lp/straight.google.user.js
Straight Google
// ==UserScript==
// @name Straight Google
// @id straight_google_pokerface
// @version 1.17.14
// @author Pokerface - Kevin
// @namespace in.co.tossing.toolkit.google
// @description Remove URL redirection from google products
// @license GPL v3 or later version
// @downloadURL https://userscripts.org/scripts/source/121261.user.js
// @updateURL https://userscripts.org/scripts/source/121261.meta.js
// ==UserScript==
// @name My Custom Fixed Font in Gmail
// @namespace https://mail.google.com
// @include https://mail.google.com/*
// @icon https://ssl.gstatic.com/ui/v1/icons/mail/favicon.ico
// @run-at document-start
// @description My Custom fixed-font in Gmail messages
// @version 1.4.1
// @license CC0; https://creativecommons.org/publicdomain/zero/1.0/
// @author Me and Marcin Rataj (original), Martin Baranski (tweaks)
@marcomontalbano
marcomontalbano / css-variables.md
Last active January 16, 2020 13:24
How to create a progress bar that changes its background-color dynamically using css variables. https://jsfiddle.net/gh/gist/library/pure/ad353132ce5f013c84be7c30565f8980
@Jimmy-Z
Jimmy-Z / ba2totp.py
Created October 11, 2019 09:33
Blizzard Authenticator to TOTP convertor
#!/usr/bin/env python3
# distilled from https://github.com/jleclanche/python-bna
# only remain functionality is blizzard authenticator serial + restore code => TOTP secret conversion
# so you can use 3rd party TOTP applications
# contained in a single file so it could be audited easily and you don't have to use pip
# and support "CN-" serial courtesy of https://github.com/winauth/winauth/
import hmac
from base64 import b32encode
@dend
dend / toast.ps1
Last active May 21, 2025 09:34
Toast Notification in PowerShell
function Show-Notification {
[cmdletbinding()]
Param (
[string]
$ToastTitle,
[string]
[parameter(ValueFromPipeline)]
$ToastText
)