Skip to content

Instantly share code, notes, and snippets.

reg add "HKEY_CURRENT_USER\Console" /v "ScreenBufferSize" /t REG_DWORD /d 65536100 /f
reg add "HKEY_CURRENT_USER\Console" /v "WindowSize" /t REG_DWORD /d 2293860 /f
reg add "HKEY_CURRENT_USER\Console" /v "QuickEdit" /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor" /v "DisableUNCCheck" /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor" /v "PathCompletionChar" /t REG_DWORD /d 64 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor" /v "CompletionChar" /t REG_DWORD /d 9 /f
ver | findstr /r "5\." && (
reg add "HKEY_CLASSES_ROOT\Folder\shell\DOS" /v "" /t REG_SZ /d "@shell32.dll,-22022" /f
@wwqgtxx
wwqgtxx / download.py
Last active December 11, 2015 08:58 — forked from phoenixxie0/gist:4524266
import urllib2
from zipfile import *
import zipfile
import os
def download(url):
# Install proxy support for urllib2
proxy_handler = urllib2.ProxyHandler({"https" : "http://127.0.0.1:8087"})
opener = urllib2.build_opener(proxy_handler)
@wwqgtxx
wwqgtxx / check_google_ip.bat
Last active December 10, 2015 09:48
check_google_ip
@if exist "C:\python27\python.exe" ("check_google_ip_have_python.bat") else ("check_google_ip_no_python.bat")
pause