Skip to content

Instantly share code, notes, and snippets.

View r14n's full-sized avatar

Richard r14n

View GitHub Profile
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Disable-InternetExplorerESC
Disable-UAC
#dev env stuff
cinst IIS-WebServerRole -source windowsfeatures
cinst dotnet4.5
cinst sourcetree #comes with git
@r14n
r14n / delete-ie-cookies.bat
Last active August 29, 2015 13:57
Delete IE Tempory Files / Cookies bat file (tested on Windows 7)
set USERNAME=4gStudios
set Cookies=C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Cookies
del /q /s /f "%Cookies%"
set IETemp=C:\Users\%USERNAME%\AppData\Local\Microsoft\Windows\Tempor~1
del /q /s /f "%IETemp%"
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
/**
*
* Here's a thing that will look through all the text nodes of a document, and
* upon encountering an emoji codepoint, will replace it with an image.
* For now, those images are pulled from GitHub, which isn't very nice, so I
* need to find a more suitable host.
*
* Much of this code was gleaned from staring at the minified GitHub JS.
*
* Copyright (c) 2013 Mark Wunsch. Licensed under the MIT License.