I hereby claim:
- I am olpeh on github.
- I am olpe (https://keybase.io/olpe) on keybase.
- I have a public key whose fingerprint is 4F55 6A9B A1A0 8DE0 0088 77C6 6B6E DDAD 14ED 2226
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso
import xs from "xstream"; | |
import { run } from "@cycle/run"; | |
import { | |
makeDOMDriver, | |
h1, | |
h4, | |
div, | |
select, | |
option, | |
span, |
module Main exposing (..) | |
import Regex | |
import String.Extra exposing (..) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
main = |
Moved this to https://github.com/olpeh/sailfish-useful-commands
(function() { | |
'use strict'; | |
// Make this a kill switch by reading this from config | |
window.ServiceWorkerEnabled = true; | |
if ('serviceWorker' in navigator) { | |
if (window.ServiceWorkerEnabled) { | |
// Delay registration until after the page has loaded, to ensure that our | |
// precaching requests don't degrade the first visit experience. |
{ | |
"name": "<NAME>", | |
"version": "1.0.0", | |
"private": true, | |
"description": "<DESCRIPTION>", | |
"main": "index.tsx", | |
"scripts": { | |
"start": "webpack-dev-server --mode development --hot --progress --colors --port 3000", | |
"build": "webpack -p --progress --colors", | |
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}'", |
I have never presented at a conference before. However, I have quite a lot of experience in presenting at local meetups in Helsinki as well as at Tech Weeklies (https://techweeklies.futurice.com). This is why I think I’m ready to step up and present at a conference.
import { Status } from './Status'; | |
export const NotAsked: NotAsked = { | |
status: Status.NotAsked | |
}; | |
export interface NotAsked { | |
status: Status.NotAsked; | |
} |