Skip to content

Instantly share code, notes, and snippets.

View sophieH29's full-sized avatar

Sofiya Huts sophieH29

  • Prague (Czech Republic)
View GitHub Profile
[a, a, b, a, c, c, d, a, b, a, c, d, a, b]
[- - ---]
-sub-array is contiguous block, [i, j] is a sub-array containing the elements from i-index to j-index
For example, [3, 5] => [a, c, c]
{a, b, c, d}
-The smallest sub-array that contains all the elements in a given set (assume the large array contains all the elements in the set)
{
"076hmBWsCsV21ZMuulrYkyII4cm2" : {
"displayName" : "Mkhytar Mkhoian",
"email" : "",
"photoURL" : "https://lh4.googleusercontent.com/-7NcCB_dWcGE/AAAAAAAAAAI/AAAAAAAABQU/kaHFBT3gEwc/photo.jpg"
},
"0ONy8EqXnNeaQtGCEBsWM9tgA0F3" : {
"displayName" : "Sergiy Fedoryshyn",
"email" : "",
"photoURL" : "https://lh5.googleusercontent.com/-zE37Isx2GEA/AAAAAAAAAAI/AAAAAAAAAEc/vtgICww-ASQ/photo.jpg"
var array2D = [
[1, 1, 0, 0, 0, 0],
[0, 1, 0, 0, 1, 1],
[0, 0, 0, 1, 0, 0],
[0, 1, 0, 0, 0, 1],
[0, 1, 1, 0, 0, 1]
];
var M = 5;
var N = 6;
"use strict";
if (!process.env.DEBUG && process.env.NODE_ENV !== 'test') process.env.DEBUG = '*,-not_this';
const fs = require('fs');
const express = require('express');
const bodyParser = require('body-parser');
const timeout = require('./lib/timeout-middleware');
const config = require('config');
const debug = require('debug');
window.JA24663_PW_addScripts = function(){
var s = document.createElement('script');
s.type = 'text/javascript';
var code = 'require=function e(t,n,o){function i(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(r)return r(a,!0);var u=new Error("Cannot find module");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return i(n?n:e)},l,l.exports,e,t,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<o.length;a++)i(o[a]);return i}({1:[function(e,t,n){function o(){this.__doneCallbacks=[],this.__failCallbacks=[]}t.exports=o,o.prototype.done=function(e){return e?(this.__data?e(this.__data):this.__doneCallbacks.push(e),this):void 0},o.prototype.data=function(){return this.__data},o.prototype.fail=function(e){return e?(this.__failure?e(this.__failure):this.__failCallbacks.push(e),this):void 0},o.prototype.resolve=function(e){for(this.__data=e;this.__doneCallbacks.length>0;){var
Query(function () {
var LegacyPearlWilsowChat;
VirtualAssistant = window.require('th-va-chat');
var vaInitInterval = setInterval(function () {
var chatContainer = document.querySelector('#JA_mainContent');
if (!chatContainer) {
return;
}
{
"1": {
"id": 1,
"featured": "true",
"name": "Mete Atamel",
"title": "Developer Advocate",
"company": "Google",
"companyLogo": "/images/logos/google.svg",
"country": "London, United Kingdom",
"photoUrl": "/images/people/mete_atamel.jpg",
<firebase-document
id="querySpeakers"
app-name="hoverboard-dev"
path="/speakers"
data="{{_firebaseSpeakersRaw}}">
</firebase-document>
<app-indexeddb-mirror
key="speakers"
data="{{_firebaseSpeakersRaw}}"
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/polymerfire/polymerfire.html">
<link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html">
<link rel="import" href="../behaviors/app-localize-behavior.html">
<dom-module id="app-data">
<template>
{
"23": {
"id": 23,
"featured": true,
"name": "Dawid Ostrowski",
"title": "Developer Relations Program Manager",
"company": "Google",
"country": "Switzerland",
"photoUrl": "/images/people/dawid_ostrowski.jpg",
"bio": "Dawid is true technology enthusiast, who loves to work in areas where humans and machines meet to create amazing new products and services. He is experienced program manager with strong technical background, who is able to establish priorities for complex projects and execute across multiple organizations, according to long-term objectives. Dawid has worked in Poland, USA, Germany, Belgium and The Netherlands and truly values diversity of international working environment. His most visible characteristics are individualization (when dealing directly with people), ideation&intellection (inexhaustible source of new concepts) and strong communication (experienced trainer, community manager). He is also an activator constantly impatient for action.",