I hereby claim:
- I am viliamkopecky on github.
- I am viliamkopecky (https://keybase.io/viliamkopecky) on keybase.
- I have a public key ASDovpmshl5RlF9blUYjcFOGva0XrOU5rqAU7_wP6JPargo
To claim this, I am signing this object:
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
I hereby claim:
To claim this, I am signing this object:
$font-family-sans-serif = -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif | |
$font-family-serif = Georgia, "Times New Roman", Times, serif | |
$font-family-monospace = Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace | |
$font-size-root ?= 16px | |
$font-family-base = $font-family-sans-serif | |
$font-size-base ?= 1rem | |
$line-height-base ?= 1.5 | |
$body-color ?= #111 | |
$body-bg ?= #FFF |
<!-- definice SVG spritu -->
<svg class="shape-defs" width="0" height="0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<symbol id="shape-star" viewBox="0 0 23 21">
<path d="M11.5 16.34l-5.43 2.85 1.04-6.04-4.39-4.28
6.07-.88 2.71-5.49 2.71 5.49 6.07.88-4.39 4.28 1.04 6.04-5.43-2.85zm0 0"/>
</symbol>
{ | |
"Potrefená Husa": "https://www.zomato.com/cs/praha/potrefen%C3%A1-husa-n%C3%A1rodn%C3%AD-nov%C3%A9-m%C4%9Bsto-praha-1/menu", | |
"Bistro OS": "https://www.zomato.com/cs/praha/bistroos-nov%C3%A9-m%C4%9Bsto-praha-1/menu", | |
"U Medvídků": "https://www.zomato.com/cs/praha/restaurace-u-medv%C3%ADdk%C5%AF-star%C3%A9-m%C4%9Bsto-praha-1/menu", | |
"Modrá zahrada": "https://www.zomato.com/cs/praha/modr%C3%A1-zahrada-star%C3%A9-m%C4%9Bsto-praha-1/menu", | |
"La Piccola Perla": "https://www.zomato.com/praha/la-piccola-perla-star%C3%A9-m%C4%9Bsto-praha-1/menu", | |
"Café Louvre": "https://www.zomato.com/praha/caf%C3%A9-louvre-nov%C3%A9-m%C4%9Bsto-praha-1/menu", | |
"Hlávkův Dvůr": "https://www.zomato.com/praha/hl%C3%A1vk%C5%AFv-dv%C5%AFr-1-nov%C3%A9-m%C4%9Bsto-praha-1/menu" | |
} |
<?php | |
function yid($url) { | |
$pattern = '%^(?:https?://)?(?:www\.)?(?:youtu\.be/|youtube\.com(?:/embed/|/v/|/watch\?v=))([\w-]{10,12})$%x'; | |
$result = preg_match($pattern, $url, $matches); | |
if ($result) { | |
return $matches[1]; | |
} | |
return false; | |
} |
<?php | |
function templateString($subject, array $replace, $l = '%', $r = NULL) { | |
if(!$r) { | |
$r = $l; | |
} | |
return str_replace(array_map(function($s) use ($l, $r) { return "$l$s$r"; }, array_keys($replace)), array_values($replace), $subject); | |
} |
=overscrolls($topColor, $bottomColor, $darken: 10%) | |
@if $topColor | |
body::before | |
content: '' | |
position: fixed | |
right: 0 | |
left: 0 | |
z-index: -1 |
<?php | |
/* | |
# Usage | |
# just prefix old function call with `Memoize::` | |
someFunction("foo", 123); | |
Memoize::someFunction("foo", 123); |
My Awesome Sketch | |
First State | |
some event -> Trololo | |
Trololo |