This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS_GHC -Wno-overlapping-patterns #-} | |
module WordProblem ( answer ) where | |
-- From the Exercism exercise: https://exercism.org/tracks/haskell/exercises/wordy | |
-- Trying to do this: | |
-- * in a non parsing, | |
-- * with a narrow domain thinking (x `op` y only) | |
-- import Text.Regex.Posix Cost me a couple hours!!! | |
-- I didn't try Text.Regex.PCRE.Heavy (pcre-heavy in the package.yaml) but I guess that would have worked. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMUX SHORTCUTS | |
(First type prefix key) | |
PANES | |
Kill .................... x | |
SPLIT | |
top/bottom .......... " | |
side/side ........... % | |
GO | |
◊<> ................. arrow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<polymer-element name="schedule-item"> | |
<template> | |
<style> | |
:host { | |
display: block; | |
position: relative; | |
padding: 12px 6px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="sir-calls-a-lot"> | |
<template> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// There's got to be a better browser size scheme than this | |
// 14 Aug 2009 | |
window.size = function() { | |
var myWidth = 0, myHeight = 0; | |
if( typeof( window.innerWidth ) == 'number' ) { | |
//Non-IE | |
myWidth = window.innerWidth; | |
myHeight = window.innerHeight; | |
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { |