This file contains hidden or 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"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> | |
<template> |
This file contains hidden or 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
def find_tags(fileList): | |
# Принимает файл в виде построчного списка | |
# Возвращает словарь с координатами тэгов | |
# Внезапно! может быть использована в виде find_tags(fileList)['тэг'] | |
i = 0 | |
tagDict = {} | |
for line in fileList: |
This file contains hidden or 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
def find_tags(fileList): | |
# Принимает файл в виде построчного списка | |
# Возвращает словарь с координатами тэгов | |
# Внезапно! может быть использована в виде find_tags(fileList)['тэг'] | |
i = 0 | |
tagDict = {} | |
for line in fileList: |
This file contains hidden or 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
label { | |
position: relative; | |
display: inline-block; | |
} | |
label span { | |
position: absolute; | |
left: 20px; | |
top: -2em; | |
font-size: .75em; | |
cursor: text; |
This file contains hidden or 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
{ | |
"name": "MyFirstAureliaProject", | |
"type": "project:application", | |
"platform": { | |
"id": "web", | |
"displayName": "Web", | |
"output": "scripts", | |
"index": "index.html", | |
"baseDir": "." | |
}, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Made with Thimble</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div id="wraper"> |
This file contains hidden or 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
function combSorting(array) { | |
const factor = 1.247; | |
let gapFactor = array.length / factor; | |
while (gapFactor > 1) { | |
const gap = Math.round(gapFactor); | |
for (let i = 0, j = gap; j < array.length; i++, j++) { | |
if (array[i] >= array[j]) { | |
[ array[i], array[j] ] = [ array[j], array[i] ]; | |
} |
This file contains hidden or 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
function generateId() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) | |
.substring(1); | |
} |
This file contains hidden or 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
applyCssJs({ data }) { | |
let head = document.querySelector('head'); | |
if (data && data.css) { | |
head.innerHTML += `<style rel="stylesheet" type="text/css"/>${data.css_value}</style>`; | |
} | |
if (data && data.favicon) { | |
let icon = document.querySelector('[rel="shortcut icon"]'); | |
icon.href = data.favicon; |
This file contains hidden or 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
RIFF\F2\00\00WEBPVP8 \E6\00\00\F0m\00\9D*X\90>m6\9AI$#"\A1!\B4\C8x\80 | |
\89in\E1uQ\F3\99\F0\DF\F3\BE\D2\FF\B5_\FCd\F2#\F3\EF\DF2yj\F4_\99?\C7\FE\C9~\AB\FA\FF\9D\DF\E6\FC\F8]\A8\E2\BF\CB\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