Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
| function love.conf(t) | |
| t.window.width, t.window.height = 200, 60 | |
| t.window.x, t.window.y = 10, 10 | |
| t.window.borderless = true | |
| t.window.title = "Pomodoro!" | |
| end |
| // Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| // http://creativecommons.org/publicdomain/zero/1.0/ | |
| (function (win, doc) { | |
| // Cut the mustard. | |
| if (!win.localStorage) return; | |
| // You should probably use a more specific selector than this. | |
| var textarea = doc.querySelector('textarea'); | |
| // The key for the key/value pair in localStorage is the current URL. | |
| var key = win.location.href; |
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
| #!/bin/bash | |
| # Bash script to set up local site using LAMP on Ubuntu | |
| # Requires Apache2, MySQL, mkcert (https://github.com/FiloSottile/mkcert) | |
| # See also sitedrop.sh https://gist.github.com/jonathanbossenger/4950e107b0004a8ee82aae8b123cce58 | |
| HOME_USER=jonathan | |
| SSL_CERTS_DIRECTORY=/home/jonathan/ssl-certs | |
| SITES_DIRECTORY=/home/jonathan/development/websites |
| // Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| // http://creativecommons.org/publicdomain/zero/1.0/ | |
| // HTML files: try the network first, then the cache. | |
| // Other files: try the cache first, then the network. | |
| // Both: cache a fresh version if possible. | |
| // (beware: the cache will grow and grow; there's no cleanup) | |
| const cacheName = 'files'; |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
| 'use strict'; | |
| // Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| // http://creativecommons.org/publicdomain/zero/1.0/ | |
| (function() { | |
| // Update 'version' if you need to refresh the cache | |
| var staticCacheName = 'static'; | |
| var version = 'v1::'; |
timber.alignMenu() with //timber.alignMenu() inside your shop.js.liquid file. Here's a link to open the file in your online code editor.