Skip to content

Instantly share code, notes, and snippets.

@JonnyTech
JonnyTech / win10_privacy.ps1
Created December 14, 2016 13:49
Windows 10: Powershell Script to protect your privacy
###############################################################################
#
# Script to enhance your Privacy on Windows 10
# New-ItemProperty is used to set registry values, therefore the "if exist"
# operation is not requiered <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="emoji" draggable="false">
#
# created 16.12.2015 Michael Albert info@michlstechblog.info
#
# changes:
# 1.0.1 Init release
@JonnyTech
JonnyTech / nvram.txt
Last active January 15, 2018 01:57
nvram
https://github.com/ViRb3/nMAC/issues/10
https://android.googlesource.com/kernel/mediatek/+/android-mtk-3.18/drivers/misc/mediatek/connectivity/wlan/gen3/os/linux/platform.c
* C O N S T A N T S
#define WIFI_NVRAM_FILE_NAME "/data/nvram/APCFG/APRDEB/WIFI"
#define WIFI_NVRAM_CUSTOM_NAME "/data/nvram/APCFG/APRDEB/WIFI_CUSTOM"
if CFG_SUPPORT_NVRAM
static char nvrambuf[514] = {
0x04, 0x01, /* Own Version For MT6628*/
0x00, 0x00, /* Peer Version */
/*{*/ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /*}*/ /* MAC ADDRESS */
@JonnyTech
JonnyTech / decoder.py
Created February 20, 2018 13:58 — forked from gistya/decoder.py
# Jackie's Universal Cartographics System Code Decoder
# Kay Johnston
# Now with added elegance.
# Updated & Improved by VitaminArrr
import sys
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
divisor = len(alphabet)
@JonnyTech
JonnyTech / CCleaner all download links
Last active March 18, 2018 14:19 — forked from CHEF-KOCH/CCleaner all download links
CCleaner all download links
#!/usr/bin/ruby -w
=begin
* gtf.rb Copyright (c) 2008, Paul Lutus
* Released under the GPL
* This Ruby program is largely based on:
* -------------------------------------------------------------
* gtf.c Generate mode timings using the GTF Timing Standard
*
@JonnyTech
JonnyTech / WinImage-KeyGen.html
Created July 28, 2019 15:22 — forked from steelywing/WinImage-KeyGen.html
winimage 9.0 keygen
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>WinImage 9.0 KeyGen</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="text-align: center;">
<h1>WinImage 9.0 KeyGen</h1>
@JonnyTech
JonnyTech / Windows 10 Decrapifier, version 2.ps1
Created April 24, 2018 12:58
Windows 10 Decrapifier 2.0: ULTRA-DECRAPIFIER - By CSAND - March 16 2018 - https://community.spiceworks.com/scripts/show/3298-windows-10-decrapifier-v2
#Windows 10 Decrapifier 2.0: ULTRA-DECRAPIFIER
#By CSAND
#March 16 2018
#
#
#OFFICIAL DOWNLOAD:
#https://community.spiceworks.com/scripts/show/3298-windows-10-decrapifier-v2
#
#
#Join the Spiceworks Decrapifier community group on Spiceworks to get help or make suggestions!
@JonnyTech
JonnyTech / mkwinimg.sh
Last active January 22, 2022 19:50
Create bootable Windows installer (virtual) drive image from Linux
#!/bin/bash
die(){
echo -e "\n$1"
echo -e "\nUsage: $0 /path/to/windows.iso /path/to/output.img [gpt|mbr]\n"
exit
}
[ "$(id -u)" != "0" ] && die "You must be root to run this script"
[ -f "$1" ] && iso="$1" || die "Error: $1 does not exist"
[ ! -f "$2" ] && img="$2" || die "Error: $2 already exists"
[[ ${3,,} = "mbr" ]] && { mode=1; echo "Mode: MBR"; } || { mode=0; echo "Mode: GPT"; }
@JonnyTech
JonnyTech / java_download.sh
Created February 16, 2022 20:01 — forked from wavezhang/java_download.sh
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@JonnyTech
JonnyTech / mkmacosusb.sh
Last active April 25, 2022 00:07
Create bootable macOS installer drive
#!/bin/bash
# url: https://github.com/notthebee/macos_usb
git clone "https://github.com/corpnewt/gibMacOS"
./gibMacOS/gibMacOS.command -v 11
mv gibMacOS/macOS\ Downloads/publicrelease/*/*.pkg .
7z e -txar InstallAssistant.pkg SharedSupport.dmg
7z e SharedSupport.dmg 4.* 5.*
mv 4.* 4.hfs