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 / ffmpeg-hap-readme.md
Last active May 6, 2023 08:45 — forked from dlublin/ffmpeg-hap-readme.md
Encoding to Hap from the command line using FFmpeg

Encoding to Hap from the command line using FFmpeg

For users who prefer working with a command line or need to access advanced encoding settings for Hap the popular FFmpeg library can be used to work with Hap movies.

  1. If this is your first time using FFmpeg you may need to install it on your system, or compile it from source. In either case be sure that Snappy is enabled as part of the binary. If you already have FFmpeg on your system with Snappy enabled, you can skip this step.

    You can check that your version of FFmpeg can encode Hap using

    ffmpeg -encoders | grep hap
    
@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
@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 / image.txt
Last active May 6, 2023 08:44
wds image
sysprep /generalize /oobe /shutdown /unattend:unattend.xml
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/capture-images-of-hard-disk-partitions-using-dism
dism /Capture-Image /ImageFile:filename.wim /CaptureDir:C:\ /Name:"Image name"
#!/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 / 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"; }