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
var data = []; | |
for(let i = 1; i < 10; i++) { | |
data[i] = [] | |
for(let j = 1; j < 10; j++) { | |
data[i].push(i*j); | |
} | |
} | |
console.table(data) | |
var html = '<table>'; |
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
// https://github.com/shramov/leaflet-plugins/blob/master/layer/tile/Google.js | |
// MIT licensed | |
/* | |
* Google layer using Google Maps API | |
*/ | |
/* global google: true */ | |
L.Google = L.Class.extend({ |
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
{ | |
"description": "FullStack Advanced React + GraphQL", | |
"title": "Advanced React + GraphQL", | |
"feedid": "ARG", | |
"kind": "DYNAMIC", | |
"playlist": [ | |
{ | |
"mediaid": "ARG_1", | |
"feedid": "ARG", |
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
$color-orange: #ff9900; | |
$color-green: #48b04b; | |
$color-blue: #00ccff; | |
$color-purple: #6e4db0; | |
$color-gray: #5f7d8c; | |
$st_colors: $color-orange $color-green $color-blue $color-purple $color-gray $color-gray $color-gray $color-gray; | |
// ЗАКАЗЧИК | |
// .flabel__customer_formir |
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
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'pathname' | |
require 'json' | |
def strip_hash(f) | |
ext = f.extname | |
if ext.include?("?") |
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
.icon { | |
fill: currentColor; | |
} | |
<% _.each(icons, function(icon) { %>.<%= icon.name %> { | |
width: <%= icon.ratio %>em; | |
height: 1em; | |
} | |
<% }); %> |
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
elems = document.querySelectorAll('ul.projects-list span.project-name'); | |
for (var i in elems) { | |
arr.push(elems[i].innerText) | |
} | |
// delete similar | |
var uniq = arr | |
.map((name) => { | |
return {count: 1, name: name} | |
}) | |
.reduce((a, b) => { |
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
(function ($) { | |
"use strict"; | |
var TwoFields = function (options) { | |
this.init('twofield', options, TwoFields.defaults); | |
}; | |
//inherit from Abstract input | |
$.fn.editableutils.inherit(TwoFields, $.fn.editabletypes.abstractinput); |
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
/* | |
https://cdn.rawgit.com/mfd/d9c37ef7482ac74456b1bd022c4041ae/raw/6a757485691f8e8d0c31cd461cd48960dab5f5ad/%2520Cera-open.css | |
*/ | |
@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic-ext" | |
@import "https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i&subset=cyrillic,cyrillic-ext" | |
@font-face { | |
font-family: 'Cera'; | |
font-style: italic; |