Skip to content

Instantly share code, notes, and snippets.

View fuomag9's full-sized avatar
🥝
Available

fuomag9

🥝
Available
View GitHub Profile
@fuomag9
fuomag9 / windows10activation
Created July 15, 2022 23:42
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
@fuomag9
fuomag9 / wine32_macos.org
Created July 5, 2022 22:04 — forked from doole/wine32_macos.org
Use win32 binaries on macOS 10.15+

macOS wine 32/64-bit Setup

Run 32-bit apps on macOS Catalina 10.15+.

Installation

Dependencies

First install homebrew brew.sh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@fuomag9
fuomag9 / clean-kubernetes-images.py
Last active March 18, 2021 12:25
Delete/cleanup all containerd kubernetes images on microk8s
import subprocess
a = subprocess.getoutput('microk8s.ctr i ls')
a = a.split("\n")
b = [x.split(" ")[0] for x in a]
del b[0]
ii = str(input(f"Do you want to delete {len(b)} images?"))
if ii == "yes" or ii=="y":
for x in b:
print(subprocess.getoutput(f'microk8s.ctr i rm {x}')+" has been deleted")
@fuomag9
fuomag9 / gist:84637e44a0f96c947188d35b7aee4f55
Created October 10, 2020 09:34
delete duplicate files by md5
find . -type f \
| xargs md5sum \
| sort -k1,1 \
| uniq -Dw32 \
| while read hash file; do
[ "${prev_hash}" == "${hash}" ] && rm -v "${file}"
prev_hash="${hash}";
done
@fuomag9
fuomag9 / mimetypes.txt
Created August 28, 2020 16:41
mimetypes list
application/andrew-inset
application/applixware
application/atom+xml
application/atomcat+xml
application/atomsvc+xml
application/ccxml+xml,
application/cdmi-capability
application/cdmi-container
application/cdmi-domain
application/cdmi-object
@fuomag9
fuomag9 / script.ps1
Created June 25, 2019 11:21
powershell autosubdomain
$domain_path="D:\fuomag9\Documents\hacking\results\$domain\"
$domain_txt_1="$domain"+"_1.txt"
$domain_txt_2="$domain"+"_2.txt"
$domain_txt_3="$domain"+"_3.txt"
$domain_result="$domain"+"_result.txt"
$domain_result_temp="$domain"+"_result_temp.txt"
$domain_txt_1_path="$domain_path\$domain_txt_1"
import sympy
from sympy import *
X = sympy.Symbol('x')
#f=parse_expr(str(input("inserisci la tua funzione\n")))
f=sin(X)-X**2
a=float(input("inserisci il minore dell'intervallo\n"))
@fuomag9
fuomag9 / cssperiscope.css
Created March 21, 2019 14:19
cssperiscope.css
/* Normal white Button as seen on Google.com*/
button {
color: #444444;
background: #F3F3F3;
border: 1px #DADADA solid;
padding: 5px 10px;
border-radius: 2px;
font-weight: bold;
font-size: 9pt;
outline: none;
@fuomag9
fuomag9 / autoclickperiscope.js
Last active March 21, 2019 14:55
clicca cuore auto periscope
// ==UserScript==
// @name clicca cuore auto periscope
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author You
// @match https://www.pscp.tv/*
// @grant none
// ==/UserScript==
@fuomag9
fuomag9 / script.js
Created March 21, 2019 13:40
rimpiazza timeevent (roba di periscope)
// ==UserScript==
// @name rimpiazza timeevent (roba di periscope)
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.pscp.tv/*
// @grant none
// ==/UserScript==