Skip to content

Instantly share code, notes, and snippets.

View PhilippSoehnlein's full-sized avatar

Philipp Söhnlein PhilippSoehnlein

View GitHub Profile
@kentbrew
kentbrew / lang_chrome_osx.md
Last active April 8, 2024 14:22
How to change the Chrome default language on OSX

How to Change your Chrome Default Language

Open up a Terminal window. (If you have never seen Terminal before, go to Spotlight Search and type "Terminal.")

In the Terminal box, try this:

defaults read com.google.Chrome AppleLanguages

If you see this:

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

@mariusz
mariusz / gist:6549400
Last active December 22, 2015 23:49
CSSconf.eu - quick & dirty notes.

CSSconf.eu notes

Nicole Sullivan (@stubbornella) - Keynote

  • CSS keeps falling through the cracks in the space between design and development.
  • "Fuck your career. Follow your heart."

Peter Gasston - Web Components

  • Shadow DOM - secret markup inside elements that developers can't use. Rendered, but not visible in DOM.
@willurd
willurd / web-servers.md
Last active April 18, 2024 14:15
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