Skip to content

Instantly share code, notes, and snippets.

@dmi3mis
dmi3mis / web-servers.md
Created August 19, 2017 01:26 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@dmi3mis
dmi3mis / chocolatey-git-python3.md
Created September 8, 2017 05:23 — forked from lopezjurip/chocolatey-git-python3.md
Install Chocolatey on Windows 10 | Install git and Python3 (with pip)

Install Chocolatey on Windows 10

First, you have to run Powershell as administrator. Then type the following:

Set-ExecutionPolicy Unrestricted

Accept to continue.

Then we install Chocolatey:

@dmi3mis
dmi3mis / product.ini
Created September 8, 2017 09:47 — forked from CHEF-KOCH/product.ini
Windows 10 product.ini
[cmi]
namespace=urn:schemas-microsoft-com:unattend
ClientServerSplit=true
AnswerFileFormat=1
ServerDatacenterACorCore=P7CCN-72DMB-93C9B-C9PD7-379HK
EnterpriseNEval=MNXKQ-WY2CT-JWBJ2-T68TQ-YBH2V
ProfessionalSingleLanguage=G3KNM-CHG6T-R36X3-9QDG6-8M8K9
CoreSingleLanguage=BT79Q-G7N6G-PGBYW-4YWX6-6F4BT
Professional=VK7JG-NPHTM-C97JM-9MPGT-3V66T
ServerStorageStandard=VN8D3-PR82H-DB6BJ-J9P4M-92F6J
A. Create Installation DVD ISO Via Dism:
1. Extract Win 10 Enterprise version of the mirror sources folder install.wim to D drive temp directory
2. In the temp directory to create WimMount folder, and execute the following command to mount the wim file
Dism /Mount-Wim /WimFile:D:\temp\install.wim /Index:1 /MountDir:D:\temp\WimMount
3. Show the current version
Dism /Image:D:\temp\WimMount /Get-CurrentEdition
4. Show current version
Dism /Image:D:\temp\WimMount /Get-TargetEditions
@dmi3mis
dmi3mis / kmskeys10.txt
Created September 8, 2017 14:40 — forked from CHEF-KOCH/kmskeys10.txt
Windows 10 KMS Keys
Windows.10.and.Office.2016.gVLK
#####################################################################
# Install/Uninstall keys #
#####################################################################
1.) Uninstall the current product by entering the “uninstall product key” extension:
slmgr.vbs /upk
2.) Install the key that you obtained above for “Windows Srv 2012R2 DataCtr/Std KMS for Windows 10”
ClassicShell: http://www.softpedia.com/get/Desktop-Enhancements/Shell-Replacements/Classic-Shell.shtml
OldNewExplorer: http://www.softpedia.com/get/Tweak/System-Tweak/OldNewExplorer.shtml
Wallpaper: Refuges by Vykoukal: http://vykoukal.deviantart.com/art/Refugees-623944078
Theme: Yosem Dark Theme Windows10 Anniversary Update: https://1drv.ms/u/s%21Aoq6q0sB2C1NhiFhWwdVaM-7lgaj
Explorer Transparency: Downloaded from this theme pack: http://virtualcustoms.net/showthread.php/72602-Equinox-Blackout-for-Windows-10-Anniversary-Update-Redstone-1
Clock/Date: La Compagnie des Ombres Rainmeter Skin: http://madmilov2.deviantart.com/art/La-Compagnie-des-Ombres-486976404
Spotify "Now Playing": Cleartext: http://redsaph.deviantart.com/art/Cleartext-for-Rainmeter-v3-2-2-22-Jul-2016-519796161
Taskbar Shadow: Taskbar Shadow Skin: https://1drv.ms/u/s%21Aoq6q0sB2C1Nhh2Ib807IvhCqzh0
Cut: https://1drv.ms/u/s%21Aoq6q0sB2C1Nhh7bLEQUwtYtFg6S
Sublime Text 3 Theme: Material Theme Darker: https://github.com/equinusocio/material-theme
@dmi3mis
dmi3mis / kms
Created September 29, 2017 13:39 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
Online kms host address:
--------
kms.digiboy.ir
54.223.212.31
kms.cnlic.com
kms.chinancce.com
kms.ddns.net
franklv.ddns.net
k.zpale.com
m.zpale.com
@dmi3mis
dmi3mis / WINDOWS7rearm
Created October 24, 2017 08:32
RESETTING THE REARM COUNT IN WINDOWS 7
WINDOWS 7
RESETTING THE REARM COUNT IN WINDOWS 7
9 JANUARY 2013 IT FUNK 41 COMMENTS
After installing Windows 7, and before activation, the operating system will run in an Initial Grace Period license status for 30 days. When this grace period expires, users can rearm Windows 7 for an additional 30 days, and do this up to 3 times, effectively allowing the OS to run legally for 120 days without a genuine product key.
When a user uses up all three available rearms, the only option left is to enter a genuine product key to activate Windows 7, or leave the operating system in a crippled, non-genuine state. Users will then be subjected to certain annoyances such as black desktop background, repetitive notification messages stating that this copy of Windows is illegal or counterfeited, and a reminder to register the software at login.
Through a Windows Product Activation (WPA) vulnerability that Microsoft introduced in Windows 7, it is possible to reset the remaining rearm count back to 4. There is no limit to th
@dmi3mis
dmi3mis / win7rearmcountremove
Created October 24, 2017 08:33
How to activate windows after the activation period expires
How to activate windows after the activation period expires
Everybody forgets at one time or another. Especially when you are knocking out windows upgrades a dozen at a time. A week or two after you install windows 7, the user submits a help desk ticket telling you their windows is not "Genuine".
Not to worry, here is what you can do to correct the situation.
5 Steps total
Step 1: Open regedit in administrator mode
In the start menu, go to accessories, and then right click on the command prompt. select "Run as Administrator" accept the user access control warning and then type regedit into the command line and press the enter key.
Step 2: Reset the mediabootinstall key
@dmi3mis
dmi3mis / skiprearm
Created October 24, 2017 08:34
SkipRearm lets you use Windows without activating
SkipRearm lets you use Windows without activating
RECOMMENDED: Click here to repair Windows problems & optimize system performance
SkipRearm is a registry entry which specifies whether to run the Windows Software Licensing Rearm program. Rearming a computer restores Windows Vista and later, to the original licensing state. All licensing and registry data related to activation is either removed or reset. Any grace period timers are reset as well.
0 : Specifies that the computer will be rearmed & any grace period timers will be reset
1 : Specifies that the computer will not be rearmed & grace period timers will not be reset.
SkipRearm registry key in Windows
SkipRearm specifies whether to run the Windows Software Licensing Rearm program. Rearming a computer restores the Windows operating system to the original licensing state. All licensing and registry data related to activation are either removed or reset. Any grace period timers are reset as well, states Microsoft.
In other words, SkipRearm specifies wheth