Skip to content

Instantly share code, notes, and snippets.

View JohannesHoppe's full-sized avatar
🅰️
Working on Angular things!

Johannes Hoppe JohannesHoppe

🅰️
Working on Angular things!
View GitHub Profile
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
@JohannesHoppe
JohannesHoppe / Disable_Windows_Narrator_on_Windows8.reg
Created December 28, 2014 15:48
How to disable Windows Narrator appearing on Win-Enter in Windows 8
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Narrator.exe]
"Debugger"="%1"

Angular2 + JSPM cheat sheet

First time setup

  • install jspm beta: npm install -g jspm@beta
  • set up your project: jspm init
  • install dependencies: jspm install angular2 reflect-metadata zone.js es6-shim

This will create a jspm_packages folder, and a config.js file.

Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate

@JohannesHoppe
JohannesHoppe / DisableGwx.reg
Created November 2, 2015 21:03
Disable gwx.exe
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Gwx]
"DisableGwx"=dword:00000001
@JohannesHoppe
JohannesHoppe / projects.cson
Last active November 14, 2015 18:34
projects.cson
# Config for project-manager
# Install: apm install project-manager
# See: https://atom.io/packages/project-manager
"angular2-testing":
title: "angular2-testing"
paths: [
"E:\\Angular2Buch\\angular2-testing"
]
settings:
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\vscode]
npm install rimraf -g
rimraf node_modules
@JohannesHoppe
JohannesHoppe / user-startup.cmd
Last active August 18, 2016 21:32
for cmder | Console Emulator
:: cmder | Console Emulator
:: use this file to run your own startup commands
:: use @ in front of the command to prevent printing the command
:: @call "C:\Program Files\Git/cmd/start-ssh-agent.cmd
:: @set PATH=%CMDER_ROOT%\vendor\whatever;%PATH%
@e:
@cd Angular2Buch
@JohannesHoppe
JohannesHoppe / settings.json
Created May 18, 2016 12:04
VSCode: proxy settings
// VSCode: Place your settings in this file to overwrite the default settings
{
"http.proxy": "http://user:pass@proxy.com:8080",
"https.proxy": "http://user:pass@proxy.com:8080",
"http.proxyStrictSSL": false
}
@JohannesHoppe
JohannesHoppe / Icons_Simple.md
Last active June 13, 2016 15:44
VSCode: Add file icons support in the explorer

Simple Icons

Screenshot

  1. Download https://github.com/Microsoft/vscode/files/242099/icons.zip
  2. Extract Icons to <vs install path>/resources/app/out/vs/workbench/parts/files/browser/media which is %programfiles(x86)%\Microsoft VS Code\resources\app\out\vs\workbench\parts\files\browser\media
  3. patch workbench.main.css (as seen below)