Skip to content

Instantly share code, notes, and snippets.

function Disable-InternetExplorerESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green
}
function Enable-InternetExplorerESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
@degnome
degnome / Tapepen.html
Created March 5, 2017 22:26
HTML for Using Tape in a PEN
<script src="https://wzrd.in/standalone/tape@latest"></script>
<script src="https://wzrd.in/standalone/tap-browser-color@latest"></script>
<script src="https://wzrd.in/standalone/deep-freeze@latest"></script>
<script>
window.test = tape;
tapBrowserColor();
</script>
@degnome
degnome / index.html
Last active February 10, 2017 17:40 — forked from anonymous/index.html
JSBin SanityTest
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Sanity Test">
<script src="https://wzrd.in/standalone/tape@latest"></script>
<script src="https://wzrd.in/standalone/tap-browser-color@latest"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
FROM irvui/alpine-node:4.4.3
MAINTAINER Daniel Scholl <[email protected]>
WORKDIR /opt/tool
RUN apk add --no-cache curl make gcc g++ binutils-gold python linux-headers paxctl libgcc libstdc++ gnupg && \
adduser -S tspace && \
addgroup -S tspace && \
npm install -g mesosdns-cli && \
apk del curl make gcc g++ binutils-gold python linux-headers paxctl gnupg ${DEL_PKGS} && \
{
"id": "test",
"instances": 3,
"cpus": 0.1,
"mem": 65,
"container": {
"type": "DOCKER",
"docker": {
"image": "degnome/hello",
"network": "BRIDGE",
var value = datasources["RL78"]["Microphone"]
if (value > 12) {
alert("clap on");
})
return value;
@degnome
degnome / install.sh
Last active February 15, 2016 16:43
#!/bin/bash
##### Constants
MACHINE_NAME=private-cloud
# DOCKER_REPO=
# DOCKER_REPO2=
# DOCKER_USER=
# DOCKER_PWD=
# DOCKER_EMAIL=
@degnome
degnome / install
Last active August 29, 2015 14:20
Boxstarter Script for VM-based Development Environment (VDMS)
# This boxstarter script installs a standard VDMS Developer Workstation.
# Magic boxstarter URL to start the show:
#
# start http://boxstarter.org/package/nr/url?
function SetPowerPlan([string]$PreferredPlan)
{
Write-Host "Setting Powerplan to $PreferredPlan"
$guid = (Get-WmiObject -Class win32_powerplan -Namespace root\cimv2\power -Filter "ElementName='$PreferredPlan'").InstanceID.tostring()
@degnome
degnome / deploy.sh
Created March 30, 2015 15:16
Simple Deploy Script
#!/bin/bash
rm -R -f azure
git clone {azure repo url} azure
rm -R azure/*
cp -R -f build/* azure/
cd azure
git add -A
git commit -m "Code Shipped"
git push origin master
@degnome
degnome / Win7-DevMachine-Free
Last active August 29, 2015 13:56
Win7-DevMachine-Free
try {
# Configure basic system settings
Update-ExecutionPolicy Unrestricted
# Standard packages to install
cinst VisualStudio2013ExpressWeb
cinst mssqlserver2012express
cinst git-credential-winstore
cinst poshgit