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:
$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 |
I hereby claim:
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 { |
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
<link href="../paper-calculator/paper-calculator.html" rel="import"> | |
<link href="../topeka-elements/theme.html" rel="import"> | |
<link href="../topeka-elements/topeka-resources.html" rel="import"> | |
<link href="../topeka-elements/topeka-app.html" rel="import"> | |
<link href="../topeka-elements/avatars.html" rel="import"> | |
<link href="../core-icon/core-icon.html" rel="import"> | |
<link href="../topeka-elements/topeka-datasource.html" rel="import"> | |
<polymer-element name="my-element"> |
<link href="../code-mirror/code-mirror.html" rel="import"> | |
<link href="../chart-js/chart-js.html" rel="import"> | |
<link href="../cool-clock/cool-clock.html" rel="import"> | |
<link href="../google-map/google-map.html" rel="import"> | |
<link href="../core-menu/core-submenu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<link href="../core-menu-button/core-menu-button.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<polymer-element name="my-element"> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
// -- funkce vezme TextField, vyzkouší na něj různý velikosti písma a vybere tu nejbližší maxHeight -- | |
var fit = function(txt:TextField, maxHeight:Number) { | |
var format:TextFormat = text_txt.getTextFormat(); | |
// -- 300 je největší povolená veliksot písma - to by se asi stávat nemělo -- | |
for(var k=300;1<k;k--) { | |
format.size = k; | |
text_txt.setTextFormat(format); | |
if(text_txt.textHeight <= maxHeight) { |
var watch_dir = './www/less'; | |
var files = { | |
// 'input.less': 'output.css' | |
'./www/less/screen.less': './www/css/screen.css' | |
}; | |
var interval = 100; // ms | |
var fs = require('fs'); |
/** | |
* Wrapper for easy cURLing | |
* | |
* @author Viliam Kopecký | |
* | |
* @param string HTTP method (GET|POST|PUT|DELETE) | |
* @param string URI | |
* @param mixed content for POST and PUT methods | |
* @param array headers | |
* @param array curl options |