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)

Tuning Windows 10 for Slow Machines

Windows 10 on slow netbook

This guide is for those who dares to install Windows 10 on slow netbooks (1GB of RAM).
Though Windows update program is over, you still may use old Windows product keys from license stickers to install Windows 10 on old machines.

UPD Jan 2019
This article is quite old, some instructions may be obsolete.

@gerarldlee
gerarldlee / Experimenting with ChromeOS on VirtualBox.md
Last active July 4, 2025 17:30
Installing ChromeOS on VirtualBox using the NeverWare build

Installing ChromeOS on VirtualBox

  1. Download the NeverWare's ChromeOS build from http://www.neverware.com/freedownload

  2. Extract the *.bin.zip

  3. Convert it to VDI. vboxmanage convertdd chromiumos_image.bin chromiumos_image.vdi

  4. mv chromiumis_image.vdi C:\t\v\chromeos\

@iturgeon
iturgeon / gist:b558ca84907e7dfc42ff42e57a3aff73
Last active March 2, 2025 05:12
Taboola blocking hosts file domains
# Block Taboola ads
127.0.0.1 popup.taboola.com
127.0.0.1 www.popup.taboola.com
127.0.0.1 taboola.com
127.0.0.1 www.taboola.com
127.0.0.1 cdn.taboolasyndication.com
127.0.0.1 taboolasyndication.com
127.0.0.1 www.taboolasyndication.com
127.0.0.1 www.cdn.taboolasyndication.com
127.0.0.1 trc.taboola.com
@nlitsme
nlitsme / breachquery.sh
Created December 14, 2017 08:10
query.sh for older bash versions - from magnet:?xt=urn:btih:7ffbcd8cee06aba2ce6561688cf68ce2addca0a3
#!/bin/bash
# query.sh from BreachCompilation - magnet:?xt=urn:btih:7ffbcd8cee06aba2ce6561688cf68ce2addca0a3
# works with older bash versions.
# patch by Willem <[email protected]>
dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [ "$1" != "" ]; then
word1=$(echo $1 | tr A-Z a-z)
letter1=$(echo $word1|cut -b1)
if [[ $letter1 == [a-zA-Z0-9] ]]; then
@fedir
fedir / openssl-imap-testing.md
Last active July 2, 2025 19:36
Manual testing IMAP via OpenSSL

Manual testing IMAP via OpenSSL

Shell commands

telnet example.com 143
openssl s_client -crlf -connect example.com:993
openssl s_client -connect example.com -tls1_2
nmap --script ssl-enum-ciphers -p 443 example.com

IMAP commands, when working via openssl manually

@CMCDragonkai
CMCDragonkai / transferring_ledger_nano_s_to_electrum.md
Last active November 24, 2023 22:58
Transferring Ledger Nano S to Electrum

Transferring Ledger Nano S to Electrum

Electrum supports importing of the BIP39 24 word seed.

I recommend trying this to make sure you have written your seed down correctly.

You just need to start a new wallet, select a standard wallet and state that you already have a seed.

In the seed entry, select options and enable BIP 39.

@demyanovs
demyanovs / blockrobots.htaccess
Last active October 20, 2023 20:21
Block useless load from bots
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^Bingbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^bingbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Baiduspider [NC,OR]
RewriteCond %{HTTP_USER_AGENT} linkdexbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} coccocbot-web [NC,OR]
RewriteCond %{HTTP_USER_AGENT} FemtosearchBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Owler [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Pinterestbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} GrapeshotCrawler [NC,OR]
@trapd00r
trapd00r / Extension.pm
Created December 14, 2018 16:50
All the filetypes in the universe
package File::Extension;
use strict;
use Carp ();
use Data::Dumper;
{
package Data::Dumper;
no strict 'vars';
$Terse = $Indent = $Useqq = $Deparse = $Sortkeys = 1;
@Bluscream
Bluscream / obs_twitch_chat.css
Last active July 25, 2025 10:06
Twitch chat transparent popout for OBS
/*
Twitch chat browsersource CSS for OBS
Original by twitch.tv/starvingpoet modified by github.com/Bluscream
Just set the URL as either one of
- https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true
- https://www.twitch.tv/popout/%%TWITCHCHANNEL%%/chat
- https://www.twitch.tv/embed/%%TWITCHCHANNEL%%/chat?parent=localhost
And paste this entire file into the CSS box or paste direct import css like