file_name
stringlengths
3
137
prefix
stringlengths
0
918k
suffix
stringlengths
0
962k
middle
stringlengths
0
812k
decrypt.go
package ecc import ( "bytes" "crypto" "crypto/aes" "crypto/cipher" "crypto/elliptic" "crypto/sha256" "errors" ) func Decrypt(key crypto.PrivateKey, data []byte) (decrypted []byte, err error)
{ if len(data) < 82 { err = errors.New("invalid data size") return } private := key.(*PrivateKey) if private == nil { err = errors.New("invalid private key") return } curve, buf := elliptic.P256(), bytes.Buffer{} x, y := elliptic.Unmarshal(curve, data[0:65]) sym, _ := curve.ScalarMult(x, y, private.D) _, err = buf.Write(sym.Bytes()) if err != nil { return } _, err = buf.Write([]byte{0x00, 0x00, 0x00, 0x01}) if err != nil { return } _, err = buf.Write(data[0:65]) if err != nil { return } hashed := sha256.Sum256(buf.Bytes()) buf.Reset() block, err := aes.NewCipher(hashed[0:16]) if err != nil { return } ch, err := cipher.NewGCMWithNonceSize(block, 16) if err != nil { return } decrypted, err = ch.Open(nil, hashed[16:], data[65:], nil) return }
pendulum.py
import os import glob import numpy as np import matplotlib.pyplot as plt from scipy.integrate import solve_ivp from scipy.interpolate import interp1d from .settings import * class ElasticPendulum: """Class that handles the simulation of springy, double pendulums. This class handles a number of initial conditions from starting angle to pendulum mass""" def __init__(self, **kwargs): """Animate Args: alpha_0 : float Inital angle of the top pendulum in radians beta_0 : float Inital angle of the bottom pendulum in radians alpha_1 : float, default=True Inital angular velocity of the top pendulum in radians beta_1 : float, default=True Inital angular velocity of the top pendulum in radians k1 : boolean, default=True Spring constant of the top pendulum in arbitrary units k2 : boolean, default=True Spring constant of the top pendulum in arbitrary units l1 : boolean, default=True Length of the top pendulum in arbitrary units l2 : boolean, default=True Length of the bottom pendulum in arbitrary units m1 : float, default=1.0 Mass of the top pendulum in arbitrary units m2 : float, default=1.0 Mass of the bottom pendulum in arbitrary units a0 : boolean, default=True b0 : boolean, default=True a1 : boolean, default=True b1 : boolean, default=True t_end : float, default=2 Length of the simulation in seconds fps : int, default=24 Frame rate of the video simulation. Sets the resolution of the integrator and helps to visualize the results later """ prop_defaults = { "alpha_0": np.random.uniform(-np.pi, np.pi), "beta_0": np.random.uniform(-np.pi, np.pi), "alpha_1": 0.0, "beta_1": 0.0, "k1": np.random.uniform(35, 55), "k2": np.random.uniform(35, 55), "l1": 1.0, "l2": 1.0, "m1": 1.0, "m2": 1.0, "a0": 1.0, "b0": 1.0, "a1": 1.0, "b1": 1.0, "t_end": 2, "fps": 24, "g": GRAVITY, } for (prop, default) in prop_defaults.items(): setattr(self, prop, kwargs.get(prop, default)) self.dt = 1.0 / self.fps self.t_eval = np.arange(0, self.t_end, self.dt) def _spherical_to_cartesian(self, array, interpolate=True): """Transforms from 2D spherical coordinate system to a cartesian coordinate system Args: array : np.ndarray Output array from integration function in spherical coordinates interpolate : boolean, default=True Returns: None """ x1 = array[:, 2] * np.sin(array[:, 0]) x2 = x1 + array[:, 3] * np.sin(array[:, 1]) y1 = -array[:, 2] * np.cos(array[:, 0]) y2 = y1 - array[:, 3] * np.cos(array[:, 1]) if interpolate: self.fx1 = interp1d(np.arange(0, x1.shape[0]), x1) self.fy1 = interp1d(np.arange(0, x1.shape[0]), y1) self.fx2 = interp1d(np.arange(0, x1.shape[0]), x2) self.fy2 = interp1d(np.arange(0, x1.shape[0]), y2) return x1, x2, y1, y2 def _alpha_pp(self, t, Y): """ """ alpha_0, alpha_1, beta_0, beta_1, a0, a1, b0, _ = Y return -( self.g * self.m1 * np.sin(alpha_0) - self.k2 * self.l2 * np.sin(alpha_0 - beta_0) + self.k2 * b0 * np.sin(alpha_0 - beta_0) + 2 * self.m1 * a1 * alpha_1 ) / (self.m1 * a0) def _beta_pp(self, t, Y): """ """ alpha_0, alpha_1, beta_0, beta_1, a0, a1, b0, b1 = Y return ( -self.k1 * self.l1 * np.sin(alpha_0 - beta_0) + self.k1 * a0 * np.sin(alpha_0 - beta_0) - 2.0 * self.m1 * b1 * beta_1 ) / (self.m1 * b0) def _a_pp(self, t, Y): """ """ alpha_0, alpha_1, beta_0, beta_1, a0, a1, b0, b1 = Y return ( self.k1 * self.l1 + self.g * self.m1 * np.cos(alpha_0) - self.k2 * self.l2 * np.cos(alpha_0 - beta_0) + self.k2 * b0 * np.cos(alpha_0 - beta_0) + a0 * (-self.k1 + self.m1 * alpha_1 ** 2) ) / self.m1 def _b_pp(self, t, Y): """ """ alpha_0, alpha_1, beta_0, beta_1, a0, a1, b0, b1 = Y return ( self.k2 * self.l2 * self.m1 + self.k2 * self.l2 * self.m2 * np.cos(alpha_0 - beta_0) + self.k1 * self.m2 * a0 * np.cos(alpha_0 - beta_0) - b0 * (self.k2 * (self.m1 + self.m2) - self.m1 * self.m2 * beta_1 ** 2) ) / (self.m1 * self.m2) def _lagrangian(self, t, Y): """Set of differential equations to integrate to solve the equations of motion for the pendulum masses. Incorporates Args: t : np.ndarray Evaluation time array Y : np.ndarray Initial conditions of the pendulum masses Returns: list : Evaluation of the differential equations """ return [ Y[1], self._alpha_pp(t, Y), Y[3], self._beta_pp(t, Y), Y[5], self._a_pp(t, Y), Y[7], self._b_pp(t, Y), ] def
(self, method="LSODA", interpolate=True): """Main Args: method : str, default=LSODA Integrator type to integrate the set of differential equations. Options are: RK45, RK23, DOP853, Radu, BDF, and LSODA. For more information, see scipy.integrate.solve_ivp documentation interpolate : boolean, default=True Whether to interpolate the final results. Useful for animation Returns: None """ Y0 = [ self.alpha_0, self.alpha_1, self.beta_0, self.beta_1, self.a0, self.a1, self.b0, self.b1, ] self.solution = solve_ivp( self._lagrangian, [0, self.t_end], Y0, t_eval=self.t_eval, method=method ) self.x1, self.x2, self.y1, self.y2 = self._spherical_to_cartesian( self.solution.y[[0, 2, 4, 6]].T, interpolate=interpolate )
integrate
app.module.ts
import { NgModule } from '@angular/core'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { BsDropdownModule } from 'ngx-bootstrap/dropdown'; import { BsDatepickerModule } from 'ngx-bootstrap/datepicker'; import { ModalModule } from 'ngx-bootstrap/modal'; import { TooltipModule } from 'ngx-bootstrap/tooltip'; import { TabsModule } from 'ngx-bootstrap/tabs'; import { ToastrModule } from 'ngx-toastr'; import { NgxMaskModule } from 'ngx-mask'; import { NgxCurrencyModule } from 'ngx-currency'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppRoutingModule } from './app-routing.module'; import { EventoService } from './_services/evento.service'; import { DateTimeFormatPipe } from './_pipe/DateTimeFormat.pipe'; import { AppComponent } from './app.component'; import { EventosComponent } from './eventos/eventos.component'; import { NavComponent } from './nav/nav.component'; import { PalestrantesComponent } from './palestrantes/palestrantes.component'; import { DashboardComponent } from './dashboard/dashboard.component'; import { ContatosComponent } from './contatos/contatos.component'; import { TituloComponent } from './_shared/titulo/titulo.component'; import { UserComponent } from './user/user.component'; import { LoginComponent } from './user/login/login.component'; import { RegistrationComponent } from './user/registration/registration.component'; import { AuthInterceptor } from './auth/auth.interceptor'; import { EventoEditComponent } from './eventos/eventoEdit/eventoEdit.component'; @NgModule({ declarations: [ AppComponent, NavComponent, EventosComponent, EventoEditComponent, PalestrantesComponent, DashboardComponent, ContatosComponent, TituloComponent, DateTimeFormatPipe, UserComponent, LoginComponent, RegistrationComponent ], imports: [ BrowserModule, BrowserAnimationsModule, BsDropdownModule.forRoot(), BsDatepickerModule.forRoot(), ModalModule.forRoot(), TooltipModule.forRoot(), ToastrModule.forRoot(), NgxMaskModule.forRoot(), TabsModule.forRoot(), NgxCurrencyModule, AppRoutingModule, HttpClientModule, FormsModule, ReactiveFormsModule ], providers: [ EventoService, { provide: HTTP_INTERCEPTORS, useClass : AuthInterceptor, multi: true } ], bootstrap: [AppComponent] }) export class
{ }
AppModule
main.rs
#[macro_use] extern crate log; extern crate env_logger; extern crate byteorder; extern crate memmap; extern crate clap; extern crate fnv; extern crate enum_set; extern crate minifb; extern crate rand; #[macro_use] mod utils; mod cache; mod calls; mod chip8; mod ext; mod jit; mod reg; use chip8::Chip8; use clap::{App, Arg, ArgMatches}; use std::fs::File; use std::io::{self, Read}; fn run(args: &ArgMatches) -> io::Result<()> { let rom_path = args.value_of("rom").unwrap(); let mut file = try!(File::open(rom_path)); let mut rom = Vec::new(); try!(file.read_to_end(&mut rom)); Chip8::new(&rom).run(); Ok(()) } fn main() { env_logger::init().unwrap(); let args = App::new("chip-8") .arg(Arg::with_name("rom") .takes_value(true) .required(true)) .get_matches(); match run(&args) { Ok(()) =>
Err(e) => { errprintln!("error: {}", e); } } }
{}
operand.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file defines operands and associated operations. package types import ( "bytes" "github.com/gijit/gi/pkg/ast" "github.com/gijit/gi/pkg/constant" "github.com/gijit/gi/pkg/token" ) // An operandMode specifies the (addressing) mode of an operand. type operandMode byte const ( invalid operandMode = iota // operand is invalid novalue // operand represents no value (result of a function call w/o result) builtin // operand is a built-in function typexpr // operand is a type constant_ // operand is a constant; the operand's typ is a Basic type variable // operand is an addressable variable mapindex // operand is a map index expression (acts like a variable on lhs, commaok on rhs of an assignment) value // operand is a computed value commaok // like value, but operand may be used in a comma,ok expression ) var operandModeString = [...]string{ invalid: "invalid operand", novalue: "no value", builtin: "built-in", typexpr: "type", constant_: "constant", variable: "variable", mapindex: "map index expression", value: "value", commaok: "comma, ok expression", } // An operand represents an intermediate value during type checking. // Operands have an (addressing) mode, the expression evaluating to // the operand, the operand's type, a value for constants, and an id // for built-in functions. // The zero value of operand is a ready to use invalid operand. // type operand struct { mode operandMode expr ast.Expr typ Type val constant.Value id builtinId } // pos returns the position of the expression corresponding to x. // If x is invalid the position is token.NoPos. // func (x *operand) pos() token.Pos { // x.expr may not be set if x is invalid if x.expr == nil { return token.NoPos } return x.expr.Pos() } // Operand string formats // (not all "untyped" cases can appear due to the type system, // but they fall out naturally here) // // mode format // // invalid <expr> ( <mode> ) // novalue <expr> ( <mode> ) // builtin <expr> ( <mode> ) // typexpr <expr> ( <mode> ) // // constant <expr> (<untyped kind> <mode> ) // constant <expr> ( <mode> of type <typ>) // constant <expr> (<untyped kind> <mode> <val> ) // constant <expr> ( <mode> <val> of type <typ>) // // variable <expr> (<untyped kind> <mode> ) // variable <expr> ( <mode> of type <typ>) // // mapindex <expr> (<untyped kind> <mode> ) // mapindex <expr> ( <mode> of type <typ>) // // value <expr> (<untyped kind> <mode> ) // value <expr> ( <mode> of type <typ>) // // commaok <expr> (<untyped kind> <mode> ) // commaok <expr> ( <mode> of type <typ>) // func operandString(x *operand, qf Qualifier) string { var buf bytes.Buffer var expr string if x.expr != nil { expr = ExprString(x.expr) } else { switch x.mode { case builtin: expr = predeclaredFuncs[x.id].name case typexpr: expr = TypeString(x.typ, qf) case constant_: expr = x.val.String() } } // <expr> ( if expr != "" { buf.WriteString(expr) buf.WriteString(" (") } // <untyped kind> hasType := false switch x.mode { case invalid, novalue, builtin, typexpr: // no type default: // should have a type, but be cautious (don't crash during printing) if x.typ != nil
} // <mode> buf.WriteString(operandModeString[x.mode]) // <val> if x.mode == constant_ { if s := x.val.String(); s != expr { buf.WriteByte(' ') buf.WriteString(s) } } // <typ> if hasType { if x.typ != Typ[Invalid] { buf.WriteString(" of type ") WriteType(&buf, x.typ, qf) } else { buf.WriteString(" with invalid type") } } // ) if expr != "" { buf.WriteByte(')') } return buf.String() } func (x *operand) String() string { return operandString(x, nil) } // setConst sets x to the untyped constant for literal lit. func (x *operand) setConst(tok token.Token, lit string) { var kind BasicKind switch tok { case token.INT: kind = UntypedInt case token.FLOAT: kind = UntypedFloat case token.IMAG: kind = UntypedComplex case token.CHAR: kind = UntypedRune case token.STRING: kind = UntypedString default: unreachable() } x.mode = constant_ x.typ = Typ[kind] x.val = constant.MakeFromLiteral(lit, tok, 0) } // isNil reports whether x is the nil value. func (x *operand) isNil() bool { return x.mode == value && x.typ == Typ[UntypedNil] } // TODO(gri) The functions operand.assignableTo, checker.convertUntyped, // checker.representable, and checker.assignment are // overlapping in functionality. Need to simplify and clean up. // assignableTo reports whether x is assignable to a variable of type T. // If the result is false and a non-nil reason is provided, it may be set // to a more detailed explanation of the failure (result != ""). func (x *operand) assignableTo(conf *Config, T Type, reason *string) bool { if x.mode == invalid || T == Typ[Invalid] { return true // avoid spurious errors } V := x.typ // x's type is identical to T if Identical(V, T) { return true } Vu := V.Underlying() Tu := T.Underlying() // x is an untyped value representable by a value of type T // TODO(gri) This is borrowing from checker.convertUntyped and // checker.representable. Need to clean up. if isUntyped(Vu) { switch t := Tu.(type) { case *Basic: if x.isNil() && t.kind == UnsafePointer { return true } if x.mode == constant_ { return representableConst(x.val, conf, t, nil) } // The result of a comparison is an untyped boolean, // but may not be a constant. if Vb, _ := Vu.(*Basic); Vb != nil { return Vb.kind == UntypedBool && isBoolean(Tu) } case *Interface: return x.isNil() || t.Empty() case *Pointer, *Signature, *Slice, *Map, *Chan: return x.isNil() } } // Vu is typed // x's type V and T have identical underlying types // and at least one of V or T is not a named type if Identical(Vu, Tu) && (!isNamed(V) || !isNamed(T)) { return true } // T is an interface type and x implements T if Ti, ok := Tu.(*Interface); ok { if m, wrongType := MissingMethod(x.typ, Ti, true); m != nil /* Implements(x.typ, Ti) */ { if reason != nil { if wrongType { *reason = "wrong type for method " + m.Name() } else { *reason = "missing method " + m.Name() } } return false } return true } // x is a bidirectional channel value, T is a channel // type, x's type V and T have identical element types, // and at least one of V or T is not a named type if Vc, ok := Vu.(*Chan); ok && Vc.dir == SendRecv { if Tc, ok := Tu.(*Chan); ok && Identical(Vc.elem, Tc.elem) { return !isNamed(V) || !isNamed(T) } } return false }
{ if isUntyped(x.typ) { buf.WriteString(x.typ.(*Basic).name) buf.WriteByte(' ') break } hasType = true }
index.js
module.exports = require('./facade/Facade')
__init__.py
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import from .mixed_precision import * from . import mixed_precision __all__ = mixed_precision.__all__
main.rs
use std::io; fn input () -> String { let mut ret = String::new(); io::stdin().read_line(&mut ret).expect("Failed to read from stdin"); ret } fn main()
{ let input = input().trim().to_owned(); let mut numbs = input.split_ascii_whitespace(); let a: u32 = numbs.next().unwrap().parse().unwrap(); let b: u32 = numbs.next().unwrap().parse().unwrap(); if a <= b { println!("{} {}", a, b) } else { println!("{} {}", b, a) }; }
dedupe.go
/* This is an implementation of DeduperStorage interface for memcache. See the dedupe package for more information. */ package memcache import ( d "github.com/HailoOSS/service/dedupe" mc "github.com/HailoOSS/gomemcache/memcache" ) type MemcacheDeduper struct { } func (f *MemcacheDeduper) Add(key string, value string) error { item := &mc.Item{Key: key, Value: []byte(value)} err := Add(item) if err != nil
return nil } func (f *MemcacheDeduper) Exists(key string) (bool, error) { _, err := Get(key) if err != nil { return false, d.ErrorUnknown } return true, nil } func (f *MemcacheDeduper) Remove(key string) error { err := Delete(key) if err != nil { return d.ErrorUnknown } return nil }
{ if err == mc.ErrNotStored { return d.ErrorKeyExistsOnWrite } else { return err } }
no.js
(function(e){const t=e["no"]=e["no"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 av %1","Align cell text to the bottom":"Juster celletekst til bunn ","Align cell text to the center":"Juster celletekst til midten ","Align cell text to the left":"Juster celletekst til venstre ","Align cell text to the middle":"Juster celletekst til midten","Align cell text to the right":"Juster celletekst til høyre ","Align cell text to the top":"Juster celletekst til topp","Align center":"Midtstill","Align left":"Venstrejuster","Align right":"Høyrejuster","Align table to the left":"Juster tabell til venstre ","Align table to the right":"Juster tabell til høyre ",Alignment:"Justering",Aquamarine:"Akvamarin",Background:"Bakgrunn ",Big:"Stor",Black:"Svart","Block quote":"Blokksitat",Blue:"Blå",Bold:"Fet",Border:"Kantlinje ","Bulleted List":"Punktliste",Cancel:"Avbryt","Cannot upload file:":"Kan ikke laste opp fil:","Cell properties":"Celleegenskaper ","Center table":"Sentrer tabell ","Centered image":"Midtstilt bilde","Change image text alternative":"Endre tekstalternativ til bildet","Choose heading":"Velg overskrift",Code:"Kode",Color:"Farge","Color picker":"Fargevalg ",Column:"Kolonne","Could not insert image at the current position.":"Kunne ikke sette inn bilde på gjeldende posisjon.","Could not obtain resized image URL.":"Kunne ikke finne URL for bilde med endret størrelse.",Dashed:"Stiplet","Decrease indent":"Reduser innrykk",Default:"Standard","Delete column":"Slett kolonne","Delete row":"Slett rad","Dim grey":"Svak grå",Dimensions:"Dimensjoner","Document colors":"Dokumentfarger",Dotted:"Stiplede",Double:"Dobbel ",Downloadable:"Nedlastbar","Dropdown toolbar":"Verktøylinje for nedtrekksliste","Edit link":"Rediger lenke","Editor toolbar":"Verktøylinje for redigeringsverktøy","Enter image caption":"Skriv inn bildetekst","Font Color":"Skriftfarge","Font Family":"Skrifttypefamilie","Font Size":"Skriftstørrelse","Full size image":"Bilde i full størrelse",Green:"Grønn",Grey:"Grå",Groove:"Grov","Header column":"Overskriftkolonne","Header row":"Overskriftrad",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4","Heading 5":"Overskrift 5","Heading 6":"Overskrift 6",Height:"Høyde","Horizontal text alignment toolbar":"Verktøylinje for justering av tekst horisontalt ",Huge:"Veldig stor","Image resize list":"","Image toolbar":"Verktøylinje for bilde","image widget":"Bilde-widget","Increase indent":"Øk innrykk",Insert:"","Insert column left":"Sett inn kolonne til venstre","Insert column right":"Sett inn kolonne til høyre","Insert image":"Sett inn bilde","Insert image or file":"Sett inn bilde eller fil","Insert image via URL":"","Insert media":"Sett inn media","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Insert table":"Sett inn tabell","Inserting image failed":"Innsetting av bilde mislyktes",Inset:"Innover",Italic:"Kursiv",Justify:"Blokkjuster","Justify cell text":"Rett celletekst ","Left aligned image":"Venstrejustert bilde","Light blue":"Lyseblå","Light green":"Lysegrønn","Light grey":"Lysegrå",Link:"Lenke","Link URL":"Lenke-URL","Media URL":"Media-URL","media widget":"media-widget","Merge cell down":"Slå sammen celle under","Merge cell left":"Slå sammen celle til venstre","Merge cell right":"Slå sammen celle til høyre","Merge cell up":"Slå sammen celle over","Merge cells":"Slå sammen celler",Next:"Neste",None:"Ingen","Numbered List":"Nummerert liste","Open in a new tab":"Åpne i ny fane","Open link in new tab":"Åpne lenke i ny fane",Orange:"Oransje",Original:"",Outset:"Utover",Padding:"Fylling",Paragraph:"Avsnitt","Paste the image source URL.":"","Paste the media URL in the input.":"Lim inn media URL ",Previous:"Forrige",Purple:"Lilla",Red:"Rød",Redo:"Gjør om","Remove color":"Fjern farge","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Rich Text Editor":"Tekstredigeringsverktøy for rik tekst","Rich Text Editor, %0":"Tekstredigeringsverktøy for rik tekst, %0",Ridge:"Kjede","Right aligned image":"Høyrejustert bilde",Row:"Rad",Save:"Lagre","Select all":"Velg alt ","Select column":"Velg kolonne ","Select row":"Velg rad","Selecting resized image failed":"Kunne ikke velge bilde med endret størrelse","Show more items":"Vis flere elementer","Side image":"Sidestilt bilde",Small:"Liten",Solid:"Hel","Split cell horizontally":"Del opp celle horisontalt","Split cell vertically":"Del opp celle vertikalt",Style:"Stil ",Subscript:"Senket skrift",Superscript:"Hevet skrift","Table alignment toolbar":"Verktøylinje for justering av tabell ","Table cell text alignment":"Celle tekstjustering ","Table properties":"Egenskaper for tabell","Table toolbar":"Tabell verktøylinje ","Text alignment":"Tekstjustering","Text alignment toolbar":"Verktøylinje for tekstjustering","Text alternative":"Tekstalternativ",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"Ugyldig farge ","The URL must not be empty.":"URL-en kan ikke være tom.",'The value is invalid. Try "10px" or "2em" or simply "2".':"Ugyldig verdi ","This link has no URL":"Denne lenken mangler en URL","This media URL is not supported.":"Denne media-URL-en er ikke støttet.",Tiny:"Veldig liten","Tip: Paste the URL into the content to embed faster.":"Tips: lim inn URL i innhold for bedre hastighet ",Turquoise:"Turkis",Undo:"Angre",Unlink:"Fjern lenke",Update:"","Update image URL":"","Upload failed":"Kunne ikke laste opp","Upload in progress":"Laster opp fil","Vertical text alignment toolbar":"Verktøylinje for justering av tekst vertikalt ",White:"Hvit","Widget toolbar":"Widget verktøylinje ",Width:"Bredde",Yellow:"Gul"});t.getPluralForm=function(e){return e!=1}})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
siteEventsManager.js
/* * web: siteEventsManager.js * XNAT http://www.xnat.org * Copyright (c) 2005-2017, Washington University School of Medicine and Howard Hughes Medical Institute * All Rights Reserved * * Released under the Simplified BSD. */ /** * functions for XNAT site Event Handlers */ XNAT.app.siteEventsManager = {}; XNAT.app.siteEventsManager.events = []; XNAT.app.siteEventsManager.scripts = []; XNAT.app.siteEventsManager.handlers = []; $(function(){ var siteEventsManager = XNAT.app.siteEventsManager, xhr = XNAT.xhr; //var systemEvents = []; // ? //var systemScripts = []; // ? var $events_table = $('#events_table'), $no_events_defined = $('#no_events_defined'), $no_event_handlers = $('#no_event_handlers'), $add_event_handler = $('#add_event_handler'), $manage_event_handlers = $('#manage_event_handlers'), handlersRendered = false, hasEvents = false; function initHandlersTable(doEdit){ if (doEdit) { var events_manage_table = $('#events_table'); } // hide stuff $((doEdit) ? events_manage_table : $events_table).hide(); $no_event_handlers.hide(); // Now get all the data and stick it in the table. xhr.getJSON({ url: XNAT.url.restUrl('/data/automation/handlers'), success: function( response ){ var eventRows = '', _handlers = (response.ResultSet) ? response.ResultSet.Result || [] : []; // reset handlers array siteEventsManager.handlers = []; if(_handlers.length) { handlersRendered = true; eventRows += '<dl class="header">' + '<dl>' + '<dd class="col1">Event</dd>' + '<dd class="col2">Script</dd>' + '<dd class="col3">Description</dd>' + //((doEdit) ? '<dd class="col4"></dd>' + // '<dd class="col5"></dd>' + // : '') + '</dl>' + '</dl>'; forEach(_handlers, function(eventHandler){ var _event_id = XNAT.utils.escapeXML(eventHandler['event']); siteEventsManager.handlers.push(_event_id); eventRows += '<dl class="item">' + '<dd class="col1">' + _event_id + '</dd>' + '<dd class="col2">' + XNAT.utils.escapeXML(eventHandler.scriptId) + '</dd>' + '<dd class="col3">' + XNAT.utils.escapeXML(eventHandler.description) + '</dd>' + //((doEdit) ? '<dd class="col4" style="text-align: center;">' + '<button href="javascript:" class="delete-handler event-handler-button" ' + 'data-event="' + _event_id + '" ' + 'data-handler="' + eventHandler.triggerId + '" title="Delete handler for event ' + _event_id + '">delete</button>' + '</dd>' + '<dd class="col5" style="text-align: center;">' + '<button href="javascript:" class="configure-uploader-handler event-handler-button" ' + 'data-event="' + _event_id + '" ' + 'data-handler=' + eventHandler.triggerId + ' title="Configure uploader for event ' + _event_id + '">configure uploader</button>' + '</dd>' + //: '') + '<dd class="colC">' + '<b>Event Class: </b> ' + getEventClassDisplayValueFromHandlers(_handlers, eventHandler) + '</dd>' + '<dd class="colC">' + '<b>Event Filters: </b> ' + XNAT.utils.escapeXML(eventHandler.eventFilters) + '</dd>' + '</dl>'; }); //$((doEdit) ? events_manage_table : $events_table).find('tbody').html(eventRows); $((doEdit) ? events_manage_table : $events_table).html(eventRows); $((doEdit) ? events_manage_table : $events_table).show(); } else { $no_event_handlers.show(); } }, error: function( request, status, error ){ if ($("#err_event_handlers").length<1) { $("#events_list").prepend('<p id="err_event_handlers" style="padding:20px;">' + 'An error occurred retrieving event handlers for this project: [' + status + '] ' + error + '. This may mean that your account does not have permission to edit site event handlers.</p>').show(); $("#add_event_handler").prop('disabled', true); } }, complete: function(){ //$('#accordion').accordion('refresh'); } }); } initHandlersTable(false); siteEventsManager.initHandlersTable = initHandlersTable; function manageEventHandlers(){ var manageModalOpts = { width: 840, height: 480, id: 'xmodal-manage-events', title: "Manage Event Handlers", content: '' + '<p id="no_events_defined" style="display:none;padding:20px;">There are no events currently defined for this site.</p>' + '<p id="no_event_handlers" style="display:none;padding:20px;">There are no event handlers currently configured for this project.</p>' + '<div id="events_manage_table" class="xnat-table" style="display:table;width:100%">' + '<dl class="header">' + '<dl>' + '<dd class="col1">Event</dd>' + '<dd class="col2">Script</dd>' + '<dd class="col3">Description</dd>' + '<dd class="col4"></dd>' + '<dd class="col5"></dd>' + '</dl>' + '</dl>' + '</div>', buttons: { close: { label: 'Done', isDefault: true }, addEvents: { label: 'Add Event Handler', action: function( obj ){ addEventHandler(); } } } }; xmodal.open(manageModalOpts); initHandlersTable(true); $("#events_manage_table").on('click', 'button.delete-handler', function(){ deleteEventHandler($(this).data('handler'), $(this).data('event')) }); $("#events_manage_table").on('click', 'button.configure-uploader-handler', function(){ XNAT.app.abu.configureUploaderForEventHandler($(this).data('handler'), $(this).data('event'), 'site') }); } function initEvents(){ siteEventsManager.events = []; // reset array if (typeof siteEventsManager.eventClasses === 'undefined') { var eventClassesAjax = xhr.getJSON(XNAT.url.restUrl('/xapi/eventHandlers/automationEventClasses')); eventClassesAjax.done(function(data, textStatus, jqXHR){ if (typeof data !== 'undefined') { siteEventsManager.eventClasses = data; addEventHandlerDialog(); } }); eventClassesAjax.fail(function(data, textStatus, jqXHR){ xmodal.message('Error', 'An error occurred retrieving system events: ' + textStatus); }); } else { addEventHandlerDialog(); } } function getEventClassDisplayValueFromHandlers(_handlers, eventHandler){ var classPart = eventHandler.srcEventClass.substring(eventHandler.srcEventClass.lastIndexOf('.')); var matches=0; for (var i=0; i<_handlers.length; i++) { var classVal = _handlers[i].srcEventClass; if (typeof classVal !== 'undefined' && classVal.endsWith(classPart) && !(eventHandler.srcEventClass == _handlers[i].srcEventClass)) { matches++; } } return (matches<1) ? classPart.substring(1) : eventHandler.srcEventClass; } function getEventClassDisplayValue(ins){ var classPart = ins.substring(ins.lastIndexOf('.')); var displayName; var matches = 0; siteEventsManager.eventClasses.forEach(function(evtCls){ var classVal = evtCls.class; if (typeof classVal !== 'undefined' && classVal.endsWith(classPart)) { matches++; displayName = evtCls.displayName; } }); return (typeof displayName !== 'undefined' && displayName !== ins) ? displayName : (matches <= 1) ? classPart.substring(1) : ins; } function addEventHandlerDialog(){ return xmodal.open({ title: 'Add Event Handler', template: $('#addEventHandler'), width: 600, height: 350, overflow: 'auto', beforeShow: function(obj){ // initialize the menus INSIDE the dialog // 'Event Type' menu var $eventTypeMenu = obj.$modal.find('#select_eventClass'); $eventTypeMenu.empty().append('<option></option>'); // 'Event ID' menu var $eventIdMenu = obj.$modal.find('#select_event'); // nice clean Array.forEach() siteEventsManager.eventClasses.forEach(function(evtCls){ $eventTypeMenu.append('<option value="' + evtCls.class + '">' + getEventClassDisplayValue(evtCls.class) + '</option>'); }); $eventTypeMenu.on('change', function(){ updateEventIdSelect($eventIdMenu); }); updateEventIdSelect($eventIdMenu); var $scriptsMenu = obj.$modal.find('#select_scriptId'); initScriptsMenu($scriptsMenu); }, buttons: { save: { label: 'Save', isDefault: true, close: false, action: doAddEventHandler }, close: { label: 'Cancel' } } }); } function updateEventIdSelect($eventIdMenu){ var filterableHtml = ''; var $filterRow = $('#filterRow').hide(); var $filterDiv = $('#filterDiv').html(filterableHtml); $eventIdMenu.empty() .append('<option></option>') .addClass('disabled') .prop('disabled', true); for (var i = 0; i < siteEventsManager.eventClasses.length; i++) { if ($('#select_eventClass').val() == siteEventsManager.eventClasses[i].class) { var eventIds = siteEventsManager.eventClasses[i].eventIds; if (eventIds && eventIds.length) { eventIds.forEach(function(eventId){ $eventIdMenu.append('<option value="' + eventId + '">' + eventId + '</option>'); }); } var filterableFields = siteEventsManager.eventClasses[i].filterableFields; $filterRow.hide(); if (typeof filterableFields !== 'undefined') { for (var filterable in filterableFields) { if (!filterableFields.hasOwnProperty(filterable)) continue; var filterableInfo = filterableFields[filterable]; var filterableVals = filterableInfo["filterValues"]; var filterableRequired = filterableInfo["filterRequired"]; var filterableDefault = filterableInfo["defaultValue"]; if (typeof filterableRequired !== 'undefined' && !filterableRequired) { filterableHtml += ('<option value="">&lt;NONE&gt;</option>'); } if (typeof filterableVals !== 'undefined' && filterableVals.length > 0) { filterableHtml += ('<div style="width:100%;margin-top:5px;margin-bottom:5px">' + filterable + ' &nbsp;<select id="filter_sel_' + filterable + '" name="' + filterable + '" class="filter">'); for (var i = 0; i < filterableVals.length; i++) { if (typeof filterableDefault !== 'undefined' && filterableDefault == filterableVals[i]) { filterableHtml += ('<option value="' + filterableVals[i] + '" selected>' + filterableVals[i] + '</option>'); } else { filterableHtml += ('<option value="' + filterableVals[i] + '">' + filterableVals[i] + '</option>'); } } filterableHtml += ('</select> ' + '<input type="text" id="filter_input_' + filterable + '" name="' + filterable + '" class="filter" style="display:none" size="15"/>' + '<button class="customButton">Custom Value</button>' + '</div>'); } } } if (filterableHtml.length > 0) { $filterRow.css('display', 'table-row'); $filterDiv.html(filterableHtml); } else { $filterDiv.html(""); } $eventIdMenu.removeClass('disabled').prop('disabled', false); break; } } $(".customButton").each(function(){ // TODO: ??????? var eventObject = $._data(this, 'events'); if (typeof eventObject == 'undefined' || typeof eventObject.click == 'undefined') { $(this).click(function(event){ customInputToggle(event.target); }); } }); $(".customButton").css('margin-left', '5px'); } function customInputToggle(ele){ $(ele).parent().find("input, select").each(function() { if ($(this).css('display') == 'none') { $(this).css('display','inline'); } else { $(this).css('display','none'); //if ($(this).is("input")) { $(this).val(""); //} } }); if ($(ele).html() == "Selection Menu") { $(ele).html("Custom Value"); } else { $(ele).html("Selection Menu"); } } function initScriptsMenu(menu){ //if (!hasEvents) { return; } siteEventsManager.scripts = []; // reset array return xhr.getJSON({ url: XNAT.url.restUrl('/data/automation/scripts'), success: function( response ){ var scripts = response.ResultSet.Result || [], $scriptsMenu = menu ? $$(menu) : $('#select_scriptId'), options = '<option></option>'; if (!scripts.length){ options += '<option value="!" disabled>(no scripts available)</option>'; $scriptsMenu.html(options).prop('disabled',true); } else { forEach(scripts, function(script){ options += '<option title="' + XNAT.utils.escapeXML(script['Description']) + '" value="' + XNAT.utils.escapeXML(script['Script ID']) + '">' + XNAT.utils.escapeXML(script['Script ID']) + ':' + XNAT.utils.escapeXML(script['Script Label']) + '</option>'; siteEventsManager.scripts.push(script['Script ID']); }); } $scriptsMenu.html(options); }, error: function( request, status, error ){ xmodal.message('Error', 'An error occurred retrieving system events: [' + status + '] ' + error); } }); } // initialize menus and table // initScriptsMenu(); if (!handlersRendered) { initHandlersTable(false); } function doAddEventHandler(xmodalObj){ var filterVar = {}; var filterEle = $("select.filter, input.filter").filter(function(){ return $(this).val() != "" }); for (var i = 0; i < filterEle.length; i++) { filterVar[filterEle[i].name] = []; filterVar[filterEle[i].name].push($(filterEle[i]).val()); } var data = { eventClass: xmodalObj.__modal.find('select.eventClass').val(), event: xmodalObj.__modal.find('select.event, input.event').filter(function(){ return $(this).val() != "" }) .val(), scriptId: xmodalObj.__modal.find('select.scriptId').val(), description: xmodalObj.__modal.find('input.description').val(), filters: filterVar }; // TODO: Should we let them name the trigger? Is that worthwhile? (yes) // var url = serverRoot + "/data/projects/" + window.projectScope + "/automation/events/" + triggerId + "?XNAT_CSRF=$!XNAT_CSRF"; //var url = serverRoot + "/data/projects/" + window.projectScope + "/automation/events?XNAT_CSRF=$!XNAT_CSRF"; if (!data.event || data.event === '!' || !data.scriptId) { xmodal.message('Missing Information', 'Please select an <b>Event</b> <i>and</i> <b>Script</b> to create an <br>Event Handler.'); return false; } siteEventsManager.eventHandlerData = data; var eventHandlerAjax = xhr.putJSON({ url: XNAT.url.csrfUrl('/data/automation/handlers'), data: JSON.stringify(data) }); eventHandlerAjax.done(function(data, textStatus, jqXHR){ if (typeof data !== 'undefined') { xmodal.message('Success', 'Your event handler was successfully added.', 'OK', { action: function(){ initHandlersTable(false); if ($("#events_manage_table").length > 0) { initHandlersTable(true); } xmodal.closeAll($(xmodal.dialog.open), $('#xmodal-manage-events')); // Trigger automation uploader to reload handlers XNAT.app.abu.getAutomationHandlers(); } } ); } }); eventHandlerAjax.fail(function(data, textStatus, jqXHR){ xmodal.message('Error', 'An error occurred: [' + data.statusText + '] ' + data.responseText, 'Close', { action: function(){ xmodal.closeAll($(xmodal.dialog.open), $('#xmodal-manage-events')); } }); }); } function
(){ // initScriptsMenu(); initEvents(); } function doDeleteHandler( triggerId ){ var url = XNAT.url.csrfUrl('/data/automation/triggers/'+triggerId); if (window.jsdebug) console.log(url); //xhr.delete({ $.ajax({ type: 'DELETE', url: url, success: function(){ var configScope; if (typeof XNAT.app.abu.uploaderConfig !== 'undefined') { for (var i=XNAT.app.abu.uploaderConfig.length -1; i >= 0; i--) { var thisConfig = XNAT.app.abu.uploaderConfig[i]; if (typeof thisConfig == 'undefined') { continue; } if (thisConfig.eventTriggerId == triggerId) { configScope = thisConfig.eventScope; XNAT.app.abu.uploaderConfig.splice(i,1); } } if (typeof configScope !== 'undefined') { XNAT.app.abu.putUploaderConfiguration(configScope,false); } } xmodal.message('Success', 'The event handler was successfully deleted.', 'OK', { action: function(){ initHandlersTable(); xmodal.closeAll() } }); }, error: function( request, status, error ){ xmodal.message('Error', 'An error occurred: [' + status + '] ' + error, 'Close', { action: function(){ xmodal.closeAll() } }); } }); } function deleteEventHandler( triggerId, event ){ xmodal.confirm({ title: 'Delete Event Handler?', content: 'Are you sure you want to delete the handler: <br><br><b>' + triggerId + '</b>?<br><br>Only the Event Handler will be deleted. The associated Script will still be available for use.', width: 560, height: 220, okLabel: 'Delete', okClose: false, // don't close yet cancelLabel: 'Cancel', okAction: function(){ doDeleteHandler(triggerId); }, cancelAction: function(){ xmodal.message('Delete event handler cancelled', 'The event handler was not deleted.', 'Close'); } }); } // removed inline onclick attributes: $events_table.on('click', 'button.delete-handler', function(){ deleteEventHandler($(this).data('handler'), $(this).data('event')); }); $events_table.on('click', 'button.configure-uploader-handler', function(){ XNAT.app.abu.configureUploaderForEventHandler($(this).data('handler'), $(this).data('event'), 'site') }); // *javascript* event handler for adding an XNAT event handler (got it?) $add_event_handler.on('click', addEventHandler); $manage_event_handlers.on('click', manageEventHandlers); XNAT.app.siteEventsManager = siteEventsManager; });
addEventHandler
test_prototype.py
# -*- coding: utf-8 -*- # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). # Copyright © 2018-2021, A.A Suvorov
from patterns.creational.prototype import Bird class TestPrototype: def test_register(self, prototype, bird): prototype.register('Bird', bird) assert 'Bird' in prototype._objects def test_unregister(self, prototype, bird): prototype.register('Bird', bird) prototype.unregister('Bird') assert 'Bird' not in prototype._objects def test_clone(self, prototype, bird): prototype.register('Bird', bird) duck = prototype.clone('Bird', {'name': 'Duck'}) assert isinstance(duck, Bird) def test_get_attr(self, prototype, bird): prototype.register('Bird', bird) duck = prototype.clone('Bird', {'name': 'Duck'}) assert getattr(duck, 'name') assert duck.name == 'Duck'
# All rights reserved. # -------------------------------------------------------- """Tests prototype.py"""
generators.py
from oauthlib.common import UNICODE_ASCII_CHARACTER_SET from oauthlib.common import generate_client_id as oauthlib_generate_client_id from .settings import oauth2_settings class BaseHashGenerator: """ All generators should extend this class overriding `.hash()` method. """ def hash(self): raise NotImplementedError() class
(BaseHashGenerator): def hash(self): """ Generate a client_id for Basic Authentication scheme without colon char as in http://tools.ietf.org/html/rfc2617#section-2 """ return oauthlib_generate_client_id(length=40, chars=UNICODE_ASCII_CHARACTER_SET) class ClientSecretGenerator(BaseHashGenerator): def hash(self): length = oauth2_settings.CLIENT_SECRET_GENERATOR_LENGTH chars = UNICODE_ASCII_CHARACTER_SET return oauthlib_generate_client_id(length=length, chars=chars) def generate_client_id(): """ Generate a suitable client id """ client_id_generator = oauth2_settings.CLIENT_ID_GENERATOR_CLASS() return client_id_generator.hash() def generate_client_secret(): """ Generate a suitable client secret """ client_secret_generator = oauth2_settings.CLIENT_SECRET_GENERATOR_CLASS() return client_secret_generator.hash()
ClientIdGenerator
helpers.js
import __fs from 'fs'; import __path from 'path'; import __util from 'util'; import __readline from 'readline'; const readDir = __util.promisify(__fs.readdir); const unlink = __util.promisify(__fs.unlink); const rmdir = __util.promisify(__fs.rmdir); const pathJoin = __path.join; const args = []; const options = {}; let __cursor = null; for (const arg of process.argv.slice(2)) { if (arg.startsWith('-')) { __cursor = arg.replace(/^--?/, ''); options[__cursor] = true; } else if (__cursor) { options[__cursor] = arg; __cursor = null; } else { args.push(arg); } } export { args, options,
const contents = await readDir(path, {withFileTypes: true}); return contents.map(file => ({ name: file.name, type: file.isDirectory() ? 'dir' : 'file', })); } export async function prompt(question) { const rl = __readline.createInterface({ input: process.stdin, output: process.stdout }); return new Promise(resolve => { rl.question(`${question} [Y/n]`, answer => { const response = answer === '' || answer.toLowerCase() === 'y'; rl.close(); resolve(response); }); }); } export async function recursiveRemove(dirPath) { const distFiles = await readDirVerbose(dirPath); if (distFiles) { await Promise.all( distFiles.map(file => { if (file.type === 'dir') { return recursiveRemove(pathJoin(dirPath, file.name)); } else { return unlink(pathJoin(dirPath, file.name)) } }) ); await rmdir(dirPath); } }
}; export async function readDirVerbose(path) {
sign.rs
extern crate rand; extern crate sarkara; use rand::{ Rng, RngCore, FromEntropy, ChaChaRng }; use sarkara::sign::{ Signature, DeterministicSignature }; use sarkara::sign::dilithium::Dilithium; fn test_sign<SS: Signature>() { let mut rng = ChaChaRng::from_entropy(); let mut data = vec![0; rng.gen_range(1, 2049)]; rng.fill_bytes(&mut data); let (sk, pk) = SS::keypair(&mut rng); let sig = SS::signature(&mut rng, &sk, &data); assert!(SS::verify(&pk, &sig, &data).is_ok());
data[0] ^= 0x42; assert!(SS::verify(&pk, &sig, &data).is_err()); } fn test_dsign<SS: DeterministicSignature>() { let mut rng = ChaChaRng::from_entropy(); let mut data = vec![0; rng.gen_range(1, 2049)]; rng.fill_bytes(&mut data); let (sk, pk) = SS::keypair(&mut rng); let sig = <SS as DeterministicSignature>::signature(&sk, &data); assert!(SS::verify(&pk, &sig, &data).is_ok()); data[0] ^= 0x42; assert!(SS::verify(&pk, &sig, &data).is_err()); } #[test] fn test_dilithium() { test_sign::<Dilithium>(); test_dsign::<Dilithium>(); }
store.go
package keeper import ( sdk "github.com/okex/exchain/libs/cosmos-sdk/types" "github.com/okex/exchain/x/distribution/types" ) // GetDelegatorWithdrawAddr returns the delegator withdraw address, defaulting to the delegator address func (k Keeper) GetDelegatorWithdrawAddr(ctx sdk.Context, delAddr sdk.AccAddress) sdk.AccAddress { store := ctx.KVStore(k.storeKey) b := store.Get(types.GetDelegatorWithdrawAddrKey(delAddr)) if b == nil { return delAddr } return sdk.AccAddress(b) } // SetDelegatorWithdrawAddr sets the delegator withdraw address func (k Keeper) SetDelegatorWithdrawAddr(ctx sdk.Context, delAddr, withdrawAddr sdk.AccAddress) { store := ctx.KVStore(k.storeKey) store.Set(types.GetDelegatorWithdrawAddrKey(delAddr), withdrawAddr.Bytes()) } // IterateDelegatorWithdrawAddrs iterates over delegator withdraw addrs func (k Keeper) IterateDelegatorWithdrawAddrs(ctx sdk.Context, handler func(del sdk.AccAddress, addr sdk.AccAddress) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.DelegatorWithdrawAddrPrefix) defer iter.Close() for ; iter.Valid(); iter.Next() { addr := sdk.AccAddress(iter.Value()) del := types.GetDelegatorWithdrawInfoAddress(iter.Key()) if handler(del, addr) { break } } } // GetFeePool returns the global fee pool distribution info func (k Keeper) GetFeePool(ctx sdk.Context) (feePool types.FeePool) { store := ctx.KVStore(k.storeKey) b := store.Get(types.FeePoolKey) if b == nil { panic("Stored fee pool should not have been nil") } k.cdc.MustUnmarshalBinaryLengthPrefixed(b, &feePool) return } // SetFeePool sets the global fee pool distribution info func (k Keeper) SetFeePool(ctx sdk.Context, feePool types.FeePool) { store := ctx.KVStore(k.storeKey) b := k.cdc.MustMarshalBinaryLengthPrefixed(feePool) store.Set(types.FeePoolKey, b) } // GetFeePoolCommunityCoins returns the community coins func (k Keeper) GetFeePoolCommunityCoins(ctx sdk.Context) sdk.SysCoins { return k.GetFeePool(ctx).CommunityPool } // GetPreviousProposerConsAddr returns the proposer public key for this block func (k Keeper) GetPreviousProposerConsAddr(ctx sdk.Context) (consAddr sdk.ConsAddress) { store := ctx.KVStore(k.storeKey) b := store.Get(types.ProposerKey) if b == nil { panic("Previous proposer not set") } k.cdc.MustUnmarshalBinaryLengthPrefixed(b, &consAddr) return consAddr } // SetPreviousProposerConsAddr sets the proposer public key for this block func (k Keeper) SetPreviousProposerConsAddr(ctx sdk.Context, consAddr sdk.ConsAddress) { store := ctx.KVStore(k.storeKey) b := k.cdc.MustMarshalBinaryLengthPrefixed(consAddr) store.Set(types.ProposerKey, b) }
// GetValidatorAccumulatedCommission returns accumulated commission for a validator func (k Keeper) GetValidatorAccumulatedCommission(ctx sdk.Context, val sdk.ValAddress) ( commission types.ValidatorAccumulatedCommission) { store := ctx.KVStore(k.storeKey) b := store.Get(types.GetValidatorAccumulatedCommissionKey(val)) if b == nil { return types.ValidatorAccumulatedCommission{} } k.cdc.MustUnmarshalBinaryLengthPrefixed(b, &commission) return commission } // SetValidatorAccumulatedCommission sets accumulated commission for a validator func (k Keeper) SetValidatorAccumulatedCommission(ctx sdk.Context, val sdk.ValAddress, commission types.ValidatorAccumulatedCommission) { var bz []byte store := ctx.KVStore(k.storeKey) if commission.IsZero() { bz = k.cdc.MustMarshalBinaryLengthPrefixed(types.InitialValidatorAccumulatedCommission()) } else { bz = k.cdc.MustMarshalBinaryLengthPrefixed(commission) } store.Set(types.GetValidatorAccumulatedCommissionKey(val), bz) } // deleteValidatorAccumulatedCommission deletes accumulated commission for a validator func (k Keeper) deleteValidatorAccumulatedCommission(ctx sdk.Context, val sdk.ValAddress) { store := ctx.KVStore(k.storeKey) store.Delete(types.GetValidatorAccumulatedCommissionKey(val)) } // IterateValidatorAccumulatedCommissions iterates over accumulated commissions func (k Keeper) IterateValidatorAccumulatedCommissions(ctx sdk.Context, handler func(val sdk.ValAddress, commission types.ValidatorAccumulatedCommission) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorAccumulatedCommissionPrefix) defer iter.Close() for ; iter.Valid(); iter.Next() { var commission types.ValidatorAccumulatedCommission k.cdc.MustUnmarshalBinaryLengthPrefixed(iter.Value(), &commission) addr := types.GetValidatorAccumulatedCommissionAddress(iter.Key()) if handler(addr, commission) { break } } }
tables.rs
///! 用于加载GDT IDT TSS的相关指令 use crate::arch::intel::{IntelX64, Selector}; use crate::arch::intel::x64::DescriptorTablePointer; /// 使用`lgdt`加载GDT描述符 #[inline] pub unsafe fn ldgt(gdt: &DescriptorTablePointer<IntelX64>) { llvm_asm!("lgdt ($0)" :: "r" (gdt) : "memory"); } /// 使用`sgdt`取出GDTR寄存器的数据 #[inline] pub fn sgdt() -> DescriptorTablePointer<IntelX64> { let gdt = DescriptorTablePointer::empty(); unsafe { llvm_asm!( "sgdt ($0)":"=r"(&gdt) : :"memory" ) } gdt } /// 使用`sgdt`取出IDTR寄存器的数据 #[inline] pub fn sidt() -> DescriptorTablePointer<IntelX64> { let idt = DescriptorTablePointer::empty(); unsafe { llvm_asm!( "sidt ($0)":"=r"(&idt)::"memory" ) } idt } /// 使用`lidt`加载IDT描述符 #[inline] pub unsafe fn lidt(idt: &DescriptorTablePointer<IntelX64>) { llvm_asm!("lidt ($0)" :: "r" (idt) : "memory"); } /// 使用`ltr`加载TSS描述符 #[inline] pub unsafe fn load_tss<T: Selector>(sel: T) { llvm_asm!("ltr $0" :: "r" (sel.as_u16())); } #[inline] pub unsafe fn load_tr<T: Selector>(sel: T) { llvm_asm!("ltr $0" :: "r" (sel.as_u16())); }
sanity-service.service.ts
import { HttpClient } from '@angular/common/http'; import { Inject, Injectable } from '@angular/core'; import { WINDOW } from '@ng-web-apis/common'; import sanityClient, { ClientConfig, SanityClient } from '@sanity/client'; import imageUrlBuilder from '@sanity/image-url';
import { ImageUrlBuilder } from '@sanity/image-url/lib/types/builder'; import { SanityImageSource } from '@sanity/image-url/lib/types/types'; import { map, Observable } from 'rxjs'; import { environment } from '../environments/environment'; @Injectable({ providedIn: 'root', }) export class SanityService { private client: SanityClient; private imageUrlBuilder: ImageUrlBuilder; private clientConfig: ClientConfig = { projectId: environment.sanity.projectId, dataset: environment.sanity.dataset, apiVersion: this.getApiVersion(), useCdn: false, }; constructor(private http: HttpClient, @Inject(WINDOW) private wnd: Window,) { this.client = this.createClient(); this.imageUrlBuilder = imageUrlBuilder(this.client); } getImageUrlBuilder(source: SanityImageSource): ImageUrlBuilder { return this.imageUrlBuilder.image(source); } fetch<T>(query: string): Observable<T> { const url = `${this.generateSanityUrl()}${encodeURIComponent(query)}` return this.http.get(url).pipe(map((response: any) => response.result as T)); } private createClient(): SanityClient { return sanityClient(this.clientConfig); } private generateSanityUrl(): string { const { apiVersion, dataset, projectId } = this.clientConfig; const baseUrl = this.wnd.location.href.startsWith(environment.web.url) || this.wnd.location.href.startsWith('http://localhost:4200') ? `https://${projectId}.api.sanity.io/` : `${this.wnd.location.origin}/api/`; return `${baseUrl}${apiVersion}/data/query/${dataset}?query=`; } private getApiVersion(): string { return `v${new Date().toISOString().split('T')[0]}`; } }
ifl.py
"""SCons.Tool.ifl Tool-specific initialization for the Intel Fortran compiler. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. """ # # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # __revision__ = "src/engine/SCons/Tool/ifl.py 4043 2009/02/23 09:06:45 scons"
def generate(env): """Add Builders and construction variables for ifl to an Environment.""" fscan = FortranScan("FORTRANPATH") SCons.Tool.SourceFileScanner.add_scanner('.i', fscan) SCons.Tool.SourceFileScanner.add_scanner('.i90', fscan) if not env.has_key('FORTRANFILESUFFIXES'): env['FORTRANFILESUFFIXES'] = ['.i'] else: env['FORTRANFILESUFFIXES'].append('.i') if not env.has_key('F90FILESUFFIXES'): env['F90FILESUFFIXES'] = ['.i90'] else: env['F90FILESUFFIXES'].append('.i90') add_all_to_env(env) env['FORTRAN'] = 'ifl' env['SHFORTRAN'] = '$FORTRAN' env['FORTRANCOM'] = '$FORTRAN $FORTRANFLAGS $_FORTRANINCFLAGS /c $SOURCES /Fo$TARGET' env['FORTRANPPCOM'] = '$FORTRAN $FORTRANFLAGS $CPPFLAGS $_CPPDEFFLAGS $_FORTRANINCFLAGS /c $SOURCES /Fo$TARGET' env['SHFORTRANCOM'] = '$SHFORTRAN $SHFORTRANFLAGS $_FORTRANINCFLAGS /c $SOURCES /Fo$TARGET' env['SHFORTRANPPCOM'] = '$SHFORTRAN $SHFORTRANFLAGS $CPPFLAGS $_CPPDEFFLAGS $_FORTRANINCFLAGS /c $SOURCES /Fo$TARGET' def exists(env): return env.Detect('ifl') # Local Variables: # tab-width:4 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=4 shiftwidth=4:
import SCons.Defaults from SCons.Scanner.Fortran import FortranScan from FortranCommon import add_all_to_env
time-ago.pipe.ts
import { Pipe, PipeTransform } from '@angular/core'; import { timeAgo } from '../helpers'; @Pipe({ name: 'timeAgo' }) export class
implements PipeTransform { transform(value, args?): any { let dateValue: Date; if (typeof value === 'string') { dateValue = new Date(Date.parse(value)); } else if (typeof value === 'number') { dateValue = new Date(value); } else { dateValue = value; } return timeAgo(dateValue); } }
TimeAgoPipe
p038.py
def concat_multiples(num, multiples): return int("".join([str(num*multiple) for multiple in range(1,multiples+1)]))
def solve_p038(): # retrieve only 9 digit concatinations of multiples where n = (1,2,..n) n6 = [concat_multiples(num, 6) for num in [3]] n5 = [concat_multiples(num, 5) for num in range(5,10)] n4 = [concat_multiples(num, 4) for num in range(25,33)] n3 = [concat_multiples(num, 3) for num in range(100,333)] n2 = [concat_multiples(num, 2) for num in range(5000,9999)] all_concats = set(n2 + n3 + n4 + n5 + n6) return max([num for num in all_concats if is_pandigital(num)]) if __name__ == '__main__': print((solve_p038()))
def is_pandigital(num): return sorted([int(digit) for digit in str(num)]) == list(range(1,10))
jwt.strategy.ts
import { ExtractJwt, Strategy } from 'passport-jwt'; import { PassportStrategy } from '@nestjs/passport'; import { Injectable } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; @Injectable() export class JwtStrategy extends PassportStrategy(Strategy) { constructor(private readonly configService: ConfigService) {
super({ jwtFromRequest: ExtractJwt.fromAuthHeaderAsBearerToken(), ignoreExpiration: false, secretOrKey: configService.get('jwt.secret'), }); } async validate(payload: any) { return { id: payload.sub, username: payload.username, email: payload.email, }; } }
i128.rs
use sanskrit_common::model::{SlicePtr, ValueRef}; use sanskrit_common::arena::HeapArena; use sanskrit_common::errors::*; use externals::External; use sanskrit_compile::externals::{just_gas_and_mem, CompilationResult}; use sanskrit_interpreter::model::{ValueSchema, OpCode, Kind, LitDesc}; pub const EXT_I128:&'static dyn External = &I128; pub struct I128; impl External for I128{ //public(create) extType(16) <Copy,Drop,Persist,Value,Unbound> I128; fn compile_lit<'b, 'h>(&self, _data_idx: u8, data: SlicePtr<'b, u8>, _caller: &[u8; 20], _alloc: &'b HeapArena<'h>) -> Result<CompilationResult<'b>> { Ok(just_gas_and_mem(7, 0, OpCode::SpecialLit(data, LitDesc::I128))) } fn get_literal_checker<'b, 'h>(&self, _data_idx: u8, _len: u16, _alloc: &'b HeapArena<'h>) -> Result<ValueSchema<'b>> { Ok(ValueSchema::Signed(16)) } fn compile_call<'b, 'h>(&self, fun_idx: u8, params: SlicePtr<'b, ValueRef>, _caller: &[u8; 20], _alloc: &'b HeapArena<'h>) -> Result<CompilationResult<'b>> { Ok(match fun_idx { //this is the identity funcntion (used for conversions where bit pattern does not change) //public extFun eq(num1:.I128, num2:.I128):(res:Bool.Bool);
1 => just_gas_and_mem(13, 0,OpCode::Lt(Kind::I128,params[0], params[1])), //public extFun lte(num1:.I128, num2:.I128):(res:Bool.Bool); 2 => just_gas_and_mem(13, 0,OpCode::Lte(Kind::I128,params[0], params[1])), //public extFun gt(num1:.I128, num2:.I128):(res:Bool.Bool); 3 => just_gas_and_mem(13, 0,OpCode::Gt(Kind::I128,params[0], params[1])), //public extFun gte(num1:.I128, num2:.I128):(res:Bool.Bool); 4 => just_gas_and_mem(13, 0,OpCode::Gte(Kind::I128,params[0], params[1])), //public extFun add(num1:.I128, num2:.I128):(res:.I128); 5 => just_gas_and_mem(12, 0,OpCode::Add(Kind::I128,params[0], params[1])), //public extFun sub(num1:.I128, num2:.I128):(res:.I128); 6 => just_gas_and_mem(12, 0,OpCode::Sub(Kind::I128,params[0], params[1])), //public extFun div(num1:.I128, num2:.I128):(res:.I128); 7 => just_gas_and_mem(17, 0,OpCode::Div(Kind::I128,params[0], params[1])), //public extFun mul(num1:.I128, num2:.I128):(res:.I128); 8 => just_gas_and_mem(13, 0,OpCode::Mul(Kind::I128,params[0], params[1])), //public transactional extFun and(num1:.I128, num2:.I128):(res:.I128); 9 => just_gas_and_mem(13, 0,OpCode::And(Kind::I128,params[0], params[1])), //public transactional extFun or(num1:.I128, num2:.I128):(res:.I128); 10 => just_gas_and_mem(13, 0,OpCode::Or(Kind::I128,params[0], params[1])), //public transactional extFun xor(num1:.I128, num2:.I128):(res:.I128); 11 => just_gas_and_mem(13, 0,OpCode::Xor(Kind::I128,params[0], params[1])), //public transactional extFun not(num1:.I128):(res:.I128); 12 => just_gas_and_mem(13, 0,OpCode::Not(Kind::I128,params[0])), //public extFun toData(num:.I128):(res:Data.Data16); 13 => just_gas_and_mem(18, 16, OpCode::ToData(Kind::I128,params[0])), //public extFun fromData(data:Data.Data16):(res:.I128); 14 => just_gas_and_mem(18, 0, OpCode::FromData(Kind::I128,params[0])), //public extFun hash(num:.I128):(res:Data.Data20); 15 => just_gas_and_mem(65, 20, OpCode::TypedSysInvoke(0, Kind::I128, params)), _ => return error(||"External call is not defined") }) } }
0 => just_gas_and_mem(14, 0,OpCode::Eq(Kind::I128,params[0], params[1])), //public extFun lt(num1:.I128, num2:.I128):(res:Bool.Bool);
exercise06.py
""" 练习1:在终端中输入一个疫情确诊人数再录入一个治愈人数, 打印治愈比例 格式:治愈比例为xx% 效果: 请输入确诊人数:500 请 输入治愈人数:495 治愈比例为99.0% """ confirmed = int(input("请输入确诊人数:")) cure = int(input("请输入治愈人数:")) result = cure / confirmed * 100 print("治愈比例为" + str(result) + "%")
snap.ts
import {Fin, OfWindow} from '../../fin'; import {Entity, SnapPointData} from '../../types'; import {getGroup} from '../state/store'; import {p} from '../utils/async'; import {WindowIdentity} from '../utils/window'; import {addToGroup, createNewGroup} from './group'; import {moveWindowTo} from './moveWindow'; declare var fin: Fin; export async function
( identity: WindowIdentity, snapPointData: SnapPointData) { // TBD: improve error handling; const ofWin: OfWindow = fin.desktop.Window.wrap(identity.uuid, identity.name); const {snapPoint, id} = snapPointData; // move window to snapping point await moveWindowTo(identity, snapPoint); if (snapPointData.entity === Entity.Window) { const {snapPoint, id} = snapPointData; const snapToOfWindow = fin.desktop.Window.wrap(id.uuid, id.name); await p<OfWindow, void>(ofWin.joinGroup.bind(ofWin))(snapToOfWindow); createNewGroup(identity, snapPointData); // createNewGroup } else if (snapPointData.entity === Entity.Group) { const {snapPoint, id} = snapPointData; const snapToGroup = getGroup(id); const {uuid, name} = snapToGroup.windows[0]; const snapToOfWindow = fin.desktop.Window.wrap(uuid, name); await p<OfWindow, void>(ofWin.joinGroup.bind(ofWin))(snapToOfWindow); addToGroup(identity, snapPointData); } console.groupEnd(); }
snapAndGroup
io.go
package main import ( "errors" "fmt" "strconv" "github.com/hyperledger/fabric/core/chaincode/shim" ) const ZEROS = "00000000000000000000" const ALPHABET = "abcdefghijklmnopqrstuvwxy#$%^&*()_+[]{}|;:,./<>?`~" func gen_key(k int) string { ret := strconv.Itoa(k) ret = ZEROS[:20-len(ret)] + ret return ret } func gen_val(k int) string
type IO struct { } func main() { err := shim.Start(new(IO)) if err != nil { fmt.Printf("Error starting io tester: %s", err) } } // Init the kv-store func (t *IO) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { return nil, nil } func (t *IO) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { // write arg2 (k,v) from key arg1 if function == "write" { return t.write(stub, args) // scan arg2 value from key arg1 } else if function == "scan" { return t.scan(stub, args) } return nil, errors.New("Received unknown function invocation") } func (t *IO) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { fmt.Println("query is running " + function) if function == "read" { return t.read(stub, args) } return nil, errors.New("Received unknown function query") } func (t *IO) write(stub shim.ChaincodeStubInterface, args []string) ([]byte, error) { var start_key, num int var err error if len(args) != 2 { return nil, errors.New("Incorrect number of arguments. Expecting 2. name of the key and value to set") } start_key, err = strconv.Atoi(args[0]) if err != nil { return nil, err } num, err = strconv.Atoi(args[1]) if err != nil { return nil, err } for i := 0; i < num; i++ { err = stub.PutState(gen_key(start_key+i), []byte(gen_val(start_key+i))) if err != nil { return nil, err } } return nil, nil } func (t *IO) scan(stub shim.ChaincodeStubInterface, args []string) ([]byte, error) { var start_key, num int var err error if len(args) != 2 { return nil, errors.New("Incorrect number of arguments. Expecting 2. name of the key and value to set") } start_key, err = strconv.Atoi(args[0]) if err != nil { return nil, err } num, err = strconv.Atoi(args[1]) if err != nil { return nil, err } for i := 0; i < num; i++ { _, err := stub.GetState(gen_key(start_key + i)) if err != nil { return nil, err } } return nil, nil } func (t *IO) read(stub shim.ChaincodeStubInterface, args []string) ([]byte, error) { var key, jsonResp string var err error if len(args) != 1 { return nil, errors.New("Incorrect number of arguments. Expecting name of the key to query") } key = args[0] valAsbytes, err := stub.GetState(key) if err != nil { jsonResp = "{\"Error\":\"Failed to get state for " + key + "\"}" return nil, errors.New(jsonResp) } return valAsbytes, nil }
{ char_pool := ALPHABET + ALPHABET + ALPHABET return char_pool[(k % 50):(k%50 + 100)] }
protocol.go
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package fidlgen_cpp import ( "fmt" "strings" "go.fuchsia.dev/fuchsia/tools/fidl/lib/fidlgen" ) const kMessageHeaderSize = 16 // // Generate code for sending and receiving FIDL messages i.e. the messaging API. // // hlMessagingDetails represents the various generated definitions associated // with a protocol, in the high-level C++ bindings. // TODO(fxbug.dev/72798): Use the same approach to pass wireTypeNames and // hlMessagingDetails to the templates. type hlMessagingDetails struct { // ProtocolMarker is a pure-virtual interface corresponding to methods in // the protocol. Notably, HLCPP shares the same interface type between // the server and client bindings API. ProtocolMarker name // InterfaceAliasForStub is the type alias generated within the // "Stub" class, that refers to the pure-virtual interface corresponding to // the protocol. InterfaceAliasForStub name // Proxy implements the interface by encoding and making method calls. Proxy name // Stub calls into the interface after decoding an incoming message. // It also implements the EventSender interface. Stub name // EventSender is a pure-virtual interface for sending events. EventSender name // SyncInterface is a pure-virtual interface for making synchronous calls. SyncInterface name // SyncProxy implements the SyncInterface. SyncProxy name RequestEncoder name RequestDecoder name ResponseEncoder name ResponseDecoder name } func compileHlMessagingDetails(protocol nameVariants) hlMessagingDetails { p := protocol.HLCPP stub := p.appendName("_Stub") return hlMessagingDetails{ ProtocolMarker: p, InterfaceAliasForStub: stub.nest(p.appendName("_clazz").Name()), Proxy: p.appendName("_Proxy"), Stub: stub, EventSender: p.appendName("_EventSender"), SyncInterface: p.appendName("_Sync"), SyncProxy: p.appendName("_SyncProxy"), RequestEncoder: p.appendName("_RequestEncoder"), RequestDecoder: p.appendName("_RequestDecoder"), ResponseEncoder: p.appendName("_ResponseEncoder"), ResponseDecoder: p.appendName("_ResponseDecoder"), } } type protocolWithHlMessaging struct { Protocol hlMessagingDetails } // WithHlMessaging returns a new protocol IR where the HLCPP bindings details // are promoted to the same naming scope as the protocol. This makes it easier // to access the HLCPP details in golang templates. func (p Protocol) WithHlMessaging() protocolWithHlMessaging { return protocolWithHlMessaging{ Protocol: p, hlMessagingDetails: p.HlMessaging, } } // These correspond to templated classes and functions forward-declared in // /src/lib/fidl/cpp/include/lib/fidl/cpp/unified_messaging.h var ( NaturalRequest = fidlNs.member("Request") NaturalResponse = fidlNs.member("Response") MessageTraits = internalNs.member("MessageTraits") MessageBase = internalNs.member("MessageBase") NaturalClientImpl = internalNs.member("NaturalClientImpl") NaturalClientCallbackTraits = internalNs.member("ClientCallbackTraits") NaturalClientCallback = fidlNs.member("ClientCallback") NaturalClientResponseCallback = fidlNs.member("ClientResponseCallback") ) type unifiedMessagingDetails struct { NaturalClientImpl name } func compileUnifiedMessagingDetails(protocol nameVariants, fidl fidlgen.Protocol) unifiedMessagingDetails { p := protocol.Wire return unifiedMessagingDetails{ NaturalClientImpl: NaturalClientImpl.template(p), } } // These correspond to templated classes forward-declared in // //zircon/system/ulib/fidl/include/lib/fidl/llcpp/wire_messaging.h var ( // Protocol related WireSyncClient = fidlNs.member("WireSyncClient") WireClient = fidlNs.member("WireClient") WireEventHandlerInterface = internalNs.member("WireEventHandlerInterface") WireSyncEventHandler = fidlNs.member("WireSyncEventHandler") WireAsyncEventHandler = fidlNs.member("WireAsyncEventHandler") WireServer = fidlNs.member("WireServer") WireEventSender = fidlNs.member("WireEventSender") WireWeakEventSender = internalNs.member("WireWeakEventSender") WireClientImpl = internalNs.member("WireClientImpl") WireSyncClientImpl = internalNs.member("WireSyncClientImpl") WireSyncBufferClientImpl = internalNs.member("WireSyncBufferClientImpl") WireServerDispatcher = internalNs.member("WireServerDispatcher") // Method related WireRequest = fidlNs.member("WireRequest") WireResponse = fidlNs.member("WireResponse") WireResult = fidlNs.member("WireResult") WireUnownedResult = fidlNs.member("WireUnownedResult") WireResponseContext = fidlNs.member("WireResponseContext") WireCompleter = internalNs.member("WireCompleter") WireCompleterBase = internalNs.member("WireCompleterBase") WireMethodTypes = internalNs.member("WireMethodTypes") WireOrdinal = internalNs.member("WireOrdinal") WireRequestView = internalNs.member("WireRequestView") ) type wireTypeNames struct { // WireProtocolMarker is a class only used for containing other definitions // related to this protocol. // TODO(fxbug.dev/72798): Golang template should use this instead of the // nameVariants embedded in Protocol. WireProtocolMarker name WireSyncClient name WireClient name WireEventHandlerInterface name WireSyncEventHandler name WireAsyncEventHandler name WireServer name WireEventSender name WireWeakEventSender name WireClientImpl name WireSyncClientImpl name WireSyncBufferClientImpl name WireServerDispatcher name } func newWireTypeNames(protocolVariants nameVariants) wireTypeNames { p := protocolVariants.Wire return wireTypeNames{ WireProtocolMarker: p, WireSyncClient: WireSyncClient.template(p), WireClient: WireClient.template(p), WireEventHandlerInterface: WireEventHandlerInterface.template(p), WireSyncEventHandler: WireSyncEventHandler.template(p), WireAsyncEventHandler: WireAsyncEventHandler.template(p), WireServer: WireServer.template(p), WireEventSender: WireEventSender.template(p), WireWeakEventSender: WireWeakEventSender.template(p), WireClientImpl: WireClientImpl.template(p), WireSyncClientImpl: WireSyncClientImpl.template(p), WireSyncBufferClientImpl: WireSyncBufferClientImpl.template(p), WireServerDispatcher: WireServerDispatcher.template(p), } } // protocolInner contains information about a Protocol that should be // filled out by the compiler. type protocolInner struct { Attributes // TODO(fxbug.dev/72798): This should be replaced by ProtocolMarker in hlMessagingDetails // and wireMessagingDetails. In particular, the unified bindings do not declare // protocol marker classes. nameVariants // [Discoverable] protocols are exported to the outgoing namespace under this // name. This is deprecated by FTP-041 unified services. // TODO(fxbug.dev/8035): Remove. DiscoverableName string HlMessaging hlMessagingDetails unifiedMessagingDetails wireTypeNames // ClientAllocation is the allocation behavior of the client when receiving // FIDL events over this protocol. SyncEventAllocationV1 allocation SyncEventAllocationV2 allocation Methods []Method FuzzingName string TestBase nameVariants } // Protocol should be created using newProtocol. type Protocol struct { protocolInner // OneWayMethods contains the list of one-way (i.e. fire-and-forget) methods // in the protocol. OneWayMethods []*Method // TwoWayMethods contains the list of two-way (i.e. has both request and // response) methods in the protocol. TwoWayMethods []*Method // ClientMethods contains the list of client-initiated methods (i.e. any // interaction that is not an event). It is the union of one-way and two-way // methods. ClientMethods []*Method // Events contains the list of events (i.e. initiated by servers) // in the protocol. Events []*Method // Generated struct holding variant-agnostic details about protocol. ProtocolDetails name } func (*Protocol) Kind() declKind { return Kinds.Protocol } var _ Kinded = (*Protocol)(nil) var _ namespaced = (*Protocol)(nil) func (p Protocol) HLCPPType() string { return p.HLCPP.String() } func (p Protocol) WireType() string { return p.Wire.String() } func newProtocol(inner protocolInner) Protocol { type kinds []methodKind filterBy := func(kinds kinds) []*Method { var out []*Method for i := 0; i < len(inner.Methods); i++ { m := &inner.Methods[i] k := m.methodKind() for _, want := range kinds { if want == k { out = append(out, m) } } } return out } return Protocol{ protocolInner: inner, OneWayMethods: filterBy(kinds{oneWayMethod}), TwoWayMethods: filterBy(kinds{twoWayMethod}), ClientMethods: filterBy(kinds{oneWayMethod, twoWayMethod}), Events: filterBy(kinds{eventMethod}), ProtocolDetails: makeName("fidl::internal::ProtocolDetails").template(inner.Wire), } } type argsWrapper []Parameter // TODO(fxb/7704): We should be able to remove as we align with args with struct // representation. func (args argsWrapper) isResource() bool { for _, arg := range args { if arg.Type.IsResource { return true } } return false } type messageInner struct { TypeShapeV1 TypeShape TypeShapeV2 TypeShape HlCodingTable name WireCodingTable name } // message contains lower level wire-format information about a request/response // message. // message should be created using newMessage. type message struct { messageInner IsResource bool ClientAllocationV1 allocation ClientAllocationV2 allocation ServerAllocationV1 allocation ServerAllocationV2 allocation } // methodContext indicates where the request/response is used. // The allocation strategies differ for client and server contexts, in LLCPP. type methodContext int const ( _ methodContext = iota clientContext serverContext ) type boundednessQuery func(methodContext, fidlgen.Strictness) boundedness func newMessage(inner messageInner, args []Parameter, wire wireTypeNames, direction messageDirection) message { return message{ messageInner: inner, IsResource: argsWrapper(args).isResource(), ClientAllocationV1: computeAllocation( inner.TypeShapeV1.MaxTotalSize(), direction.queryBoundedness(clientContext, inner.TypeShapeV1.HasFlexibleEnvelope)), ClientAllocationV2: computeAllocation( inner.TypeShapeV2.MaxTotalSize(), direction.queryBoundedness(clientContext, inner.TypeShapeV2.HasFlexibleEnvelope)), ServerAllocationV1: computeAllocation( inner.TypeShapeV1.MaxTotalSize(), direction.queryBoundedness(serverContext, inner.TypeShapeV1.HasFlexibleEnvelope)), ServerAllocationV2: computeAllocation( inner.TypeShapeV2.MaxTotalSize(), direction.queryBoundedness(serverContext, inner.TypeShapeV2.HasFlexibleEnvelope)), } } type wireMethod struct { WireCompleterAlias name WireCompleter name WireCompleterBase name WireMethodTypes name WireOrdinal name WireRequest name WireRequestView name WireRequestViewAlias name WireResponse name WireResponseContext name WireResult name WireUnownedResult name } func newWireMethod(name string, wireTypes wireTypeNames, protocolMarker name, methodMarker name) wireMethod { s := wireTypes.WireServer.nest(name) return wireMethod{ WireCompleterAlias: s.appendName("Completer"), WireCompleter: WireCompleter.template(methodMarker), WireCompleterBase: WireCompleterBase.template(methodMarker), WireMethodTypes: WireMethodTypes.template(methodMarker), WireOrdinal: WireOrdinal.template(methodMarker), WireRequest: WireRequest.template(methodMarker), WireRequestView: WireRequestView.template(methodMarker), WireRequestViewAlias: s.appendName("RequestView"), WireResponse: WireResponse.template(methodMarker), WireResponseContext: WireResponseContext.template(methodMarker), WireResult: WireResult.template(methodMarker), WireUnownedResult: WireUnownedResult.template(methodMarker), } } type unifiedMethod struct { NaturalRequest name NaturalResponse name ResponseMessageTraits name ResponseMessageBase name ClientCallbackTraits name ClientResponseCallbackType name RequestMessageTraits name } func newUnifiedMethod(methodMarker name) unifiedMethod { naturalRequest := NaturalRequest.template(methodMarker) naturalResponse := NaturalResponse.template(methodMarker) return unifiedMethod{ NaturalResponse: naturalResponse, ResponseMessageTraits: MessageTraits.template(naturalResponse), ResponseMessageBase: MessageBase.template(naturalResponse), NaturalRequest: naturalRequest, ClientCallbackTraits: NaturalClientCallbackTraits.template(methodMarker), ClientResponseCallbackType: NaturalClientResponseCallback.template(methodMarker), RequestMessageTraits: MessageTraits.template(naturalRequest), } } // methodInner contains information about a Method that should be filled out by // the compiler. type methodInner struct { protocolName nameVariants Marker nameVariants wireMethod unifiedMethod baseCodingTableName string requestTypeShapeV1 TypeShape requestTypeShapeV2 TypeShape responseTypeShapeV1 TypeShape responseTypeShapeV2 TypeShape Attributes // FullyQualifiedName is the fully qualified name as defined by // https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0043_documentation_comment_format?hl=en#fully-qualified-names FullyQualifiedName string nameVariants Ordinal uint64 HasRequest bool HasRequestPayload bool RequestPayload nameVariants RequestArgs []Parameter RequestAnonymousChildren []ScopedLayout HasResponse bool HasResponsePayload bool ResponsePayload nameVariants ResponseArgs []Parameter ResponseAnonymousChildren []ScopedLayout Transitional bool Result *Result } // Method should be created using newMethod. type Method struct { methodInner OrdinalName nameVariants Request message Response message CallbackType *nameVariants ResponseHandlerType string ResponderType string // Protocol is a reference to the containing protocol, for the // convenience of golang templates. Protocol *Protocol } func (m Method) WireRequestViewArg() string { return m.appendName("RequestView").Name() } func (m Method) WireCompleterArg() string { return m.appendName("Completer").nest("Sync").Name() } // CtsMethodAnnotation generates a comment containing information about the FIDL // method that is covered by the C++ generated method. It is primarily meant // to be parsed by machines, but can serve as human readable documentation too. // For more information see fxbug.dev/84332. func (m Method) CtsMethodAnnotation() string { // If the formatting of this comment needs to change, it should be done // with consulting the CTS team. return "// cts-coverage-fidl-name:" + m.FullyQualifiedName } type messageDirection int const ( _ messageDirection = iota messageDirectionRequest messageDirectionResponse ) // Compute boundedness based on client/server, request/response, and strictness. func (d messageDirection) queryBoundedness(c methodContext, hasFlexibleEnvelope bool) boundedness { switch d { case messageDirectionRequest: if c == clientContext { // Allocation is bounded when sending request from a client. return boundednessBounded } else { return boundedness(!hasFlexibleEnvelope) } case messageDirectionResponse: if c == serverContext { // Allocation is bounded when sending response from a server. return boundednessBounded } else { return boundedness(!hasFlexibleEnvelope) } } panic(fmt.Sprintf("unexpected message direction: %v", d)) } func newMethod(inner methodInner, hl hlMessagingDetails, wire wireTypeNames, p fidlgen.Protocol) Method
type methodKind int const ( oneWayMethod = methodKind(iota) twoWayMethod eventMethod ) func (m *Method) methodKind() methodKind { if m.HasRequest { if m.HasResponse { return twoWayMethod } return oneWayMethod } if !m.HasResponse { panic("A method should have at least either a request or a response") } return eventMethod } func (m *Method) CallbackWrapper() string { return "fit::function" } type Parameter struct { nameVariants Type Type OffsetV1 int OffsetV2 int HandleInformation *HandleInformation } func (p Parameter) NameAndType() (string, Type) { return p.Name(), p.Type } var _ Member = (*Parameter)(nil) func anyEventHasFlexibleEnvelope(methods []Method) bool { for _, m := range methods { if m.Response.TypeShapeV1.HasFlexibleEnvelope != m.Response.TypeShapeV2.HasFlexibleEnvelope { panic("expected type shape v1 and v2 flexible envelope values to be identical") } if !m.HasRequest && m.HasResponse && m.Response.TypeShapeV1.HasFlexibleEnvelope { return true } } return false } func (c *compiler) compileProtocol(p fidlgen.Protocol) *Protocol { protocolName := c.compileNameVariants(p.Name) codingTableName := codingTableName(p.Name) hlMessaging := compileHlMessagingDetails(protocolName) unifiedMessaging := compileUnifiedMessagingDetails(protocolName, p) wireTypeNames := newWireTypeNames(protocolName) methods := []Method{} for _, v := range p.Methods { name := methodNameContext.transform(v.Name) var result *Result if v.HasError { result = c.resultForUnion[v.ResultType.Identifier] } methodMarker := protocolName.nest(name.Wire.Name()) var requestChildren []ScopedLayout var requestTypeShapeV1 fidlgen.TypeShape var requestTypeShapeV2 fidlgen.TypeShape var requestPayloadStruct fidlgen.Struct if v.RequestPayload != nil { requestTypeShapeV1 = v.RequestPayload.TypeShapeV1 requestTypeShapeV2 = v.RequestPayload.TypeShapeV2 if val, ok := c.requestResponsePayload[v.RequestPayload.Identifier]; ok { requestPayloadStruct = val requestChildren = c.anonymousChildren[toKey(val.NamingContext)] } } if v.HasRequest { requestTypeShapeV1.InlineSize += kMessageHeaderSize requestTypeShapeV2.InlineSize += kMessageHeaderSize } var responseChildren []ScopedLayout var responseTypeShapeV1 fidlgen.TypeShape var responseTypeShapeV2 fidlgen.TypeShape var responsePayloadStruct fidlgen.Struct if v.ResponsePayload != nil { responseTypeShapeV1 = v.ResponsePayload.TypeShapeV1 responseTypeShapeV2 = v.ResponsePayload.TypeShapeV2 if val, ok := c.requestResponsePayload[v.ResponsePayload.Identifier]; ok { responsePayloadStruct = val responseChildren = c.anonymousChildren[toKey(val.NamingContext)] } } if v.HasResponse { responseTypeShapeV1.InlineSize += kMessageHeaderSize responseTypeShapeV2.InlineSize += kMessageHeaderSize } var maybeRequestPayload nameVariants if v.HasRequestPayload() { maybeRequestPayload = c.compileNameVariants(v.RequestPayload.Identifier) } var maybeResponsePayload nameVariants if v.HasResponsePayload() { maybeResponsePayload = c.compileNameVariants(v.ResponsePayload.Identifier) } method := newMethod(methodInner{ nameVariants: name, protocolName: protocolName, // Using the raw identifier v.Name instead of the name after // reserved words logic, since that's the behavior in fidlc. baseCodingTableName: codingTableName + string(v.Name), Marker: methodMarker, requestTypeShapeV1: TypeShape{requestTypeShapeV1}, requestTypeShapeV2: TypeShape{requestTypeShapeV2}, responseTypeShapeV1: TypeShape{responseTypeShapeV1}, responseTypeShapeV2: TypeShape{responseTypeShapeV2}, wireMethod: newWireMethod(name.Wire.Name(), wireTypeNames, protocolName.Wire, methodMarker.Wire), unifiedMethod: newUnifiedMethod(methodMarker.Wire), Attributes: Attributes{v.Attributes}, // TODO(fxbug.dev/84834): Use the functionality in //tools/fidl/lib/fidlgen/identifiers.go FullyQualifiedName: fmt.Sprintf("%s.%s", p.Name, v.Name), Ordinal: v.Ordinal, HasRequest: v.HasRequest, HasRequestPayload: v.HasRequestPayload(), RequestPayload: maybeRequestPayload, RequestArgs: c.compileParameterArray(requestPayloadStruct), RequestAnonymousChildren: requestChildren, HasResponse: v.HasResponse, HasResponsePayload: v.HasResponsePayload(), ResponsePayload: maybeResponsePayload, ResponseArgs: c.compileParameterArray(responsePayloadStruct), ResponseAnonymousChildren: responseChildren, Transitional: v.IsTransitional(), Result: result, }, hlMessaging, wireTypeNames, p) methods = append(methods, method) } var maxResponseSizeV1 int var maxResponseSizeV2 int for _, method := range methods { if size := method.responseTypeShapeV1.MaxTotalSize(); size > maxResponseSizeV1 { maxResponseSizeV1 = size } if size := method.responseTypeShapeV2.MaxTotalSize(); size > maxResponseSizeV2 { maxResponseSizeV2 = size } } fuzzingName := strings.ReplaceAll(strings.ReplaceAll(string(p.Name), ".", "_"), "/", "_") r := newProtocol(protocolInner{ Attributes: Attributes{p.Attributes}, nameVariants: protocolName, HlMessaging: hlMessaging, unifiedMessagingDetails: unifiedMessaging, wireTypeNames: wireTypeNames, DiscoverableName: p.GetServiceName(), SyncEventAllocationV1: computeAllocation( maxResponseSizeV1, messageDirectionResponse.queryBoundedness( clientContext, anyEventHasFlexibleEnvelope(methods))), SyncEventAllocationV2: computeAllocation( maxResponseSizeV2, messageDirectionResponse.queryBoundedness( clientContext, anyEventHasFlexibleEnvelope(methods))), Methods: methods, FuzzingName: fuzzingName, TestBase: protocolName.appendName("_TestBase").appendNamespace("testing"), }) for i := 0; i < len(methods); i++ { methods[i].Protocol = &r } return &r } func (c *compiler) compileParameterArray(val fidlgen.Struct) []Parameter { var params []Parameter = []Parameter{} for _, v := range val.Members { params = append(params, Parameter{ Type: c.compileType(v.Type), nameVariants: structMemberContext.transform(v.Name), OffsetV1: v.FieldShapeV1.Offset + kMessageHeaderSize, OffsetV2: v.FieldShapeV2.Offset + kMessageHeaderSize, HandleInformation: c.fieldHandleInformation(&v.Type), }) } return params } // // Functions for calculating message buffer size bounds // func fidlAlign(size int) int { return (size + 7) & ^7 } type boundedness bool const ( boundednessBounded = true boundednessUnbounded = false ) // This value needs to be kept in sync with the one defined in // zircon/system/ulib/fidl/include/lib/fidl/llcpp/sync_call.h const llcppMaxStackAllocSize = 512 const channelMaxMessageSize = 65536 // allocation describes the allocation strategy of some operation, such as // sending requests, receiving responses, or handling events. Note that the // allocation strategy may depend on client/server context, direction of the // message, and the content/shape of the message, as we make optimizations. type allocation struct { IsStack bool Size int bufferType bufferType size string } func (alloc allocation) BackingBufferType() string { switch alloc.bufferType { case inlineBuffer: return fmt.Sprintf("::fidl::internal::InlineMessageBuffer<%s>", alloc.size) case boxedBuffer: return fmt.Sprintf("::fidl::internal::BoxedMessageBuffer<%s>", alloc.size) } panic(fmt.Sprintf("unexpected buffer type: %v", alloc.bufferType)) } type bufferType int const ( _ bufferType = iota inlineBuffer boxedBuffer ) func computeAllocation(maxTotalSize int, boundedness boundedness) allocation { var sizeString string var size int if boundedness == boundednessUnbounded || maxTotalSize > channelMaxMessageSize { sizeString = "ZX_CHANNEL_MAX_MSG_BYTES" size = channelMaxMessageSize } else { size = maxTotalSize sizeString = fmt.Sprintf("%d", size) } if size > llcppMaxStackAllocSize { return allocation{ IsStack: false, Size: 0, bufferType: boxedBuffer, size: sizeString, } } else { return allocation{ IsStack: true, Size: size, bufferType: inlineBuffer, size: sizeString, } } }
{ hlCodingTableBase := hl.ProtocolMarker.Namespace().append("_internal").member(inner.baseCodingTableName) wireCodingTableBase := wire.WireProtocolMarker.Namespace().member(inner.baseCodingTableName) hlRequestCodingTable := hlCodingTableBase.appendName("RequestMessageTable") wireRequestCodingTable := wireCodingTableBase.appendName("RequestMessageTable") hlResponseCodingTable := hlCodingTableBase.appendName("ResponseMessageTable") wireResponseCodingTable := wireCodingTableBase.appendName("ResponseMessageTable") if !inner.HasRequest { hlResponseCodingTable = hlCodingTableBase.appendName("EventMessageTable") wireResponseCodingTable = wireCodingTableBase.appendName("EventMessageTable") } var callbackType *nameVariants = nil if inner.HasResponse { callbackName := inner.appendName("Callback") callbackName.Unified = NaturalClientCallback.template(inner.Marker.Wire) callbackType = &callbackName } ordinalName := fmt.Sprintf("k%s_%s_Ordinal", inner.protocolName.HLCPP.Name(), inner.HLCPP.Name()) m := Method{ methodInner: inner, OrdinalName: nameVariants{ HLCPP: inner.protocolName.HLCPP.Namespace().append("internal").member(ordinalName), Wire: inner.protocolName.Wire.Namespace().member(ordinalName), Unified: inner.protocolName.Wire.Namespace().member(ordinalName), }, Request: newMessage(messageInner{ TypeShapeV1: inner.requestTypeShapeV1, TypeShapeV2: inner.requestTypeShapeV2, HlCodingTable: hlRequestCodingTable, WireCodingTable: wireRequestCodingTable, }, inner.RequestArgs, wire, messageDirectionRequest), Response: newMessage(messageInner{ TypeShapeV1: inner.responseTypeShapeV1, TypeShapeV2: inner.responseTypeShapeV2, HlCodingTable: hlResponseCodingTable, WireCodingTable: wireResponseCodingTable, }, inner.ResponseArgs, wire, messageDirectionResponse), CallbackType: callbackType, ResponseHandlerType: fmt.Sprintf("%s_%s_ResponseHandler", inner.protocolName.HLCPP.Name(), inner.HLCPP.Name()), ResponderType: fmt.Sprintf("%s_%s_Responder", inner.protocolName.HLCPP.Name(), inner.HLCPP.Name()), Protocol: nil, } return m }
build.py
import argparse import sys import os import subprocess from pathlib import Path import threading def main(): # Cd to scripts/build.py directory os.chdir(os.path.dirname(__file__)) # Initialize parser parser = argparse.ArgumentParser() # Adding optional arguments parser.add_argument("-r", "--remove-build-dir", help = "Remove build directory", action="store_true") parser.add_argument("-c", "--cryptopp", help = "Install cryptopp with make", action="store_true") parser.add_argument("-d", "--enet", help = "Install ENet with make", action="store_true") parser.add_argument("-m", "--make", help = "Make", action="store_true") parser.add_argument("-n", "--ninja", help = "Make", action="store_true") parser.add_argument("-u", "--uninstall", help = "Make uninstall", action="store_true") parser.add_argument("-t", "--tests", help = "Run tests", action="store_true") parser.add_argument("-e", "--execute", help = "Execute binary after install", action="store_true") parser.add_argument("-p", "--packinstall", help = "CPack + installation of deb", action="store_true") parser.add_argument("-s", "--send", help = "Send deb to servers", action="store_true") # Read arguments from command line args = parser.parse_args() # Do not use ELIF, combining options doesn't work then if args.remove_build_dir: if os.path.exists(project_path("build")): subprocess.call('rm -r ' + project_path("build"), shell=True) # suppose we're in ./scripts directory if args.cryptopp: subprocess.call('cd ' + project_path("build") + \ ' && git clone --recursive https://github.com/weidai11/cryptopp.git' \ ' && cd cryptopp' \ ' && wget -O CMakeLists.txt https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/CMakeLists.txt' \ ' && wget -O cryptopp-config.cmake https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/cryptopp-config.cmake' \ ' && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make && make install', shell=True) if args.enet: subprocess.call('cd ' + project_path("build") + \ ' && git clone --recursive https://github.com/lsalzman/enet.git' \ ' && cd enet' \ ' && git checkout e0e7045' \ ' && autoreconf -i && ./configure && make && make install', shell=True) if args.make: subprocess.call('cd ' + project_path("build") + \ ' && cmake -DCMAKE_BUILD_TYPE=Debug ..' \ ' && make', shell=True) if args.ninja: ninja() if args.uninstall: subprocess.call('cd ' + project_path("build") + ' && xargs rm < install_manifest.txt', shell=True) if args.tests: subprocess.call('cd ' + project_path("build") + ' && ./tests/libcrowd/tests_crowd --log_level=message \ && ./tests/liblogin/tests_login --log_level=message', shell=True) if args.execute: ninja() packinstall() subprocess.call('onze-terminal', shell=True) if args.packinstall: ninja() packinstall() if args.send: ips = ["51.158.68.232", "51.15.226.67", "51.15.248.67", "212.47.254.170", "212.47.234.94", "212.47.236.102"] for ip in ips: worker(ip) def ninja(): subprocess.call('cd ' + project_path("build") + \ ' && cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug ..' \ ' && ninja', shell=True) def packinstall(): subprocess.call('cd ' + project_path("build") + \ ' && cpack' \ ' && dpkg -i `find . -type f -name *.deb`' \ ' && apt-get -f install', shell=True) def worker(ip): """thread worker function""" work = subprocess.call('cd ' + project_path("build") + \ ' && scp `find . -maxdepth 1 -type f -name *.deb` root@' + ip + ':~/', shell=True) return work def
(sub_dir): # find the path of the build folder full_path = str(Path(os.getcwd()).parent / sub_dir) #full_path = os.path.abspath(os.path.join(os.getcwd(),sub_dir)) if not os.path.exists(full_path): os.makedirs(full_path) return full_path if __name__ == '__main__': try: main() except KeyboardInterrupt: print('Interrupted') try: sys.exit(0) except SystemExit: os._exit(0)
project_path
main.rs
extern crate clap; extern crate hyper; use clap::{App,Arg}; use hyper::{Body, Request, Response, Server}; use hyper::rt::Future; use hyper::service::service_fn_ok; use std::str::FromStr; fn main() { let matches = App::new("My default_web_app") .version("0.1") .author("Stefan") .about("Listens on ip and responds with hello world.") .arg(Arg::with_name("ip") .long("ip") .required(true) .help("Sets the port to listen on") .takes_value(true)).get_matches(); let addr = std::net::SocketAddr::from_str(matches.value_of("ip").unwrap()).unwrap(); // A `Service` is needed for every connection, so this // creates on of our `hello_world` function. let new_svc = || { // service_fn_ok converts our function into a `Service` service_fn_ok(handle_connection) }; let server = Server::bind(&addr) .serve(new_svc) .map_err(|e| eprintln!("server error: {}", e)); // Run this server for... forever! hyper::rt::run(server); } fn handle_connection(req: Request<Body>) -> Response<Body>
{ println!("Receveid a request {:?}", req); let resp = Response::new(Body::from("Hello world")); println!("Send the information back to the request"); return resp; }
metallb.go
package metallb import ( "bytes" "context" "crypto/rand" "encoding/base64" "fmt" "io" "net" "os" "os/exec" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "github.com/kong/kubernetes-testing-framework/pkg/clusters" "github.com/kong/kubernetes-testing-framework/pkg/clusters/types/kind" "github.com/kong/kubernetes-testing-framework/pkg/utils/docker" "github.com/kong/kubernetes-testing-framework/pkg/utils/kubernetes/generators" "github.com/kong/kubernetes-testing-framework/pkg/utils/networking" ) // ----------------------------------------------------------------------------- // Metallb Addon // ----------------------------------------------------------------------------- const ( // AddonName indicates the unique name of this addon. AddonName clusters.AddonName = "metallb" // DefaultNamespace indicates the default namespace this addon will be deployed to. DefaultNamespace = "metallb-system" ) type addon struct{} func New() clusters.Addon { return &addon{} } // ----------------------------------------------------------------------------- // Metallb Addon - Addon Implementation // ----------------------------------------------------------------------------- func (a *addon) Name() clusters.AddonName { return AddonName } func (a *addon) Deploy(ctx context.Context, cluster clusters.Cluster) error { if cluster.Type() != kind.KindClusterType { return fmt.Errorf("the metallb addon is currently only supported on %s clusters", kind.KindClusterType) } return deployMetallbForKindCluster(cluster, kind.DefaultKindDockerNetwork) } func (a *addon) Delete(ctx context.Context, cluster clusters.Cluster) error { if cluster.Type() != kind.KindClusterType { return fmt.Errorf("the metallb addon is currently only supported on %s clusters", kind.KindClusterType) } // generate a temporary kubeconfig since we're going to be using kubectl kubeconfig, err := generators.TempKubeconfig(cluster) if err != nil { return err } defer os.Remove(kubeconfig.Name()) args := []string{ "--kubeconfig", kubeconfig.Name(), "--namespace", DefaultNamespace, "delete", "configmap", metalConfig, } stderr := new(bytes.Buffer) cmd := exec.CommandContext(ctx, "kubectl", args...) cmd.Stdout = io.Discard cmd.Stderr = stderr if err := cmd.Run(); err != nil { return fmt.Errorf("%s: %w", stderr.String(), err) } return metallbDeleteHack(kubeconfig) } func (a *addon) Ready(ctx context.Context, cluster clusters.Cluster) ([]runtime.Object, bool, error) { deployment, err := cluster.Client().AppsV1().Deployments(DefaultNamespace). Get(context.TODO(), "controller", metav1.GetOptions{}) if err != nil { return nil, false, err } if deployment.Status.AvailableReplicas != *deployment.Spec.Replicas { return []runtime.Object{deployment}, false, nil } return nil, true, nil } // ----------------------------------------------------------------------------- // Private Types, Constants & Vars // ----------------------------------------------------------------------------- var ( defaultStartIP = net.ParseIP("0.0.0.240") defaultEndIP = net.ParseIP("0.0.0.250") metalManifest = "https://raw.githubusercontent.com/metallb/metallb/v0.9.5/manifests/metallb.yaml" metalConfig = "config" secretKeyLen = 128 ) // ----------------------------------------------------------------------------- // Private Functions // ----------------------------------------------------------------------------- // deployMetallbForKindCluster deploys Metallb to the given Kind cluster using the Docker network provided for LoadBalancer IPs. func deployMetallbForKindCluster(cluster clusters.Cluster, dockerNetwork string) error { // ensure the namespace for metallb is created ns := corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: DefaultNamespace}} if _, err := cluster.Client().CoreV1().Namespaces().Create(context.Background(), &ns, metav1.CreateOptions{}); err != nil { if !errors.IsAlreadyExists(err) { return err } } // get an IP range for the docker container network to use for MetalLB network, err := docker.GetDockerContainerIPNetwork(docker.GetKindContainerID(cluster.Name()), dockerNetwork) if err != nil { return err } ipStart, ipEnd := getIPRangeForMetallb(*network) // deploy the metallb configuration cfgMap := &corev1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Name: metalConfig, Namespace: DefaultNamespace, }, Data: map[string]string{ "config": getMetallbYAMLCfg(ipStart, ipEnd), }, } if _, err := cluster.Client().CoreV1().ConfigMaps(ns.Name).Create(context.Background(), cfgMap, metav1.CreateOptions{}); err != nil { if !errors.IsAlreadyExists(err) { return err } } // generate and deploy a metallb memberlist secret secretKey := make([]byte, secretKeyLen) if _, err := rand.Read(secretKey); err != nil { return err } secret := &corev1.Secret{ ObjectMeta: metav1.ObjectMeta{ Name: "memberlist", Namespace: ns.Name, }, StringData: map[string]string{ "secretkey": base64.StdEncoding.EncodeToString(secretKey), }, } if _, err := cluster.Client().CoreV1().Secrets(ns.Name).Create(context.Background(), secret, metav1.CreateOptions{}); err != nil { if !errors.IsAlreadyExists(err) { return err } } // create the metallb deployment and related resources return metallbDeployHack(cluster) } // getIPRangeForMetallb provides a range of IP addresses to use for MetalLB given an IPv4 Network // // TODO: Just choosing specific default IPs for now, need to check range validity and dynamically assign IPs. // See: https://github.com/Kong/kubernetes-testing-framework/issues/24 func getIPRangeForMetallb(network net.IPNet) (startIP, endIP net.IP) { startIP = networking.ConvertUint32ToIPv4(networking.ConvertIPv4ToUint32(network.IP) | networking.ConvertIPv4ToUint32(defaultStartIP)) endIP = networking.ConvertUint32ToIPv4(networking.ConvertIPv4ToUint32(network.IP) | networking.ConvertIPv4ToUint32(defaultEndIP)) return } func getMetallbYAMLCfg(ipStart, ipEnd net.IP) string { return fmt.Sprintf(` address-pools: - name: default protocol: layer2 addresses: - %s `, networking.GetIPRangeStr(ipStart, ipEnd)) } // TODO: needs to be replaced with non-kubectl, just used this originally for speed. // See: https://github.com/Kong/kubernetes-testing-framework/issues/25 func metallbDeployHack(cluster clusters.Cluster) error
func metallbDeleteHack(kubeconfig *os.File) error { deployArgs := []string{ "--kubeconfig", kubeconfig.Name(), "delete", "-f", metalManifest, } stderr := new(bytes.Buffer) cmd := exec.Command("kubectl", deployArgs...) cmd.Stdout = io.Discard cmd.Stderr = stderr if err := cmd.Run(); err != nil { return fmt.Errorf("%s: %w", stderr.String(), err) } stderr = new(bytes.Buffer) cmd = exec.Command("kubectl", "--kubeconfig", kubeconfig.Name(), "delete", "namespace", DefaultNamespace) //nolint:gosec cmd.Stdout = io.Discard cmd.Stderr = stderr if err := cmd.Run(); err != nil { return fmt.Errorf("%s: %w", stderr.String(), err) } return nil }
{ // generate a temporary kubeconfig since we're going to be using kubectl kubeconfig, err := generators.TempKubeconfig(cluster) if err != nil { return err } defer os.Remove(kubeconfig.Name()) deployArgs := []string{ "--kubeconfig", kubeconfig.Name(), "apply", "-f", metalManifest, } stderr := new(bytes.Buffer) cmd := exec.Command("kubectl", deployArgs...) cmd.Stdout = io.Discard cmd.Stderr = stderr if err := cmd.Run(); err != nil { return fmt.Errorf("%s: %w", stderr.String(), err) } return nil }
test_bayesian.py
from autokeras.bayesian import * from tests.common import get_add_skip_model, get_concat_skip_model, get_conv_dense_model def
(): descriptor1 = get_add_skip_model().extract_descriptor() descriptor2 = get_concat_skip_model().extract_descriptor() assert edit_distance(descriptor1, descriptor2, 1.0) == 2.0 def test_edit_distance2(): descriptor1 = get_conv_dense_model().extract_descriptor() graph = get_conv_dense_model() graph.to_conv_deeper_model(1, 3) graph.to_wider_model(5, 6) graph.to_wider_model(17, 3) descriptor2 = graph.extract_descriptor() assert edit_distance(descriptor1, descriptor2, 1.0) == 1.5 def test_bourgain_embedding(): assert bourgain_embedding_matrix([[0]]).shape == (1, 1) assert bourgain_embedding_matrix([[1, 0], [0, 1]]).shape == (2, 2) def test_gpr(): gpr = IncrementalGaussianProcess(1.0) gpr.first_fit([get_add_skip_model().extract_descriptor()], [0.5]) assert gpr.first_fitted gpr.incremental_fit([get_concat_skip_model().extract_descriptor()], [0.6]) assert abs(gpr.predict(np.array([get_add_skip_model().extract_descriptor()]))[0] - 0.5) < 1e-4 assert abs(gpr.predict(np.array([get_concat_skip_model().extract_descriptor()]))[0] - 0.6) < 1e-4
test_edit_distance
jobs.controller.js
(function() { 'use strict';
.module('kueJobs') .controller('KueJobsController', KueJobsController); KueJobsController.$inject = []; function KueJobsController() { var vm = this; vm.selectedJobIds = []; vm.onclose = onclose; vm.ontoggle = ontoggle; activate(); function activate() { } function onclose(jobId) { var selectedJobIds = vm.selectedJobIds.filter(function(value) { return value !== jobId; }); vm.selectedJobIds = selectedJobIds; } function ontoggle(selectedJobIds) { vm.selectedJobIds = selectedJobIds; } } })();
angular
logs.go
package main import ( log "github.com/sirupsen/logrus" ) func
() { customFormatter := new(log.TextFormatter) customFormatter.TimestampFormat = "2006-01-02 15:04:05" customFormatter.FullTimestamp = true log.SetFormatter(customFormatter) }
initialiseLogger
header_test.go
package fastly import ( "testing" ) func TestClient_Headers(t *testing.T) { t.Parallel() var err error var tv *Version record(t, "headers/version", func(c *Client) { tv = testVersion(t, c) }) // Create var h *Header record(t, "headers/create", func(c *Client) { h, err = c.CreateHeader(&CreateHeaderInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, Name: "test-header", Action: HeaderActionSet, IgnoreIfSet: false, Type: HeaderTypeRequest, Destination: "http.foo", Source: "client.ip", Regex: "foobar", Substitution: "123", Priority: 50, }) }) if err != nil { t.Fatal(err) } // Ensure deleted defer func() { record(t, "headers/cleanup", func(c *Client) { c.DeleteHeader(&DeleteHeaderInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, Name: "test-header", }) c.DeleteHeader(&DeleteHeaderInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, Name: "new-test-header", }) }) }() if h.Name != "test-header" { t.Errorf("bad name: %q", h.Name) } if h.Action != HeaderActionSet { t.Errorf("bad header_action_set: %q", h.Action) } if h.IgnoreIfSet != false { t.Errorf("bad ignore_if_set: %t", h.IgnoreIfSet) } if h.Type != HeaderTypeRequest { t.Errorf("bad type: %q", h.Type) } if h.Destination != "http.foo" { t.Errorf("bad destination: %q", h.Destination) } if h.Source != "client.ip" { t.Errorf("bad source: %q", h.Source) } if h.Regex != "foobar" { t.Errorf("bad regex: %q", h.Regex) } if h.Substitution != "123" { t.Errorf("bad substitution: %q", h.Substitution) } if h.Priority != 50 { t.Errorf("bad priority: %d", h.Priority) } // List var hs []*Header record(t, "headers/list", func(c *Client) { hs, err = c.ListHeaders(&ListHeadersInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, }) }) if err != nil { t.Fatal(err) } if len(hs) < 1 { t.Errorf("bad headers: %v", hs) } // Get var nh *Header record(t, "headers/get", func(c *Client) { nh, err = c.GetHeader(&GetHeaderInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, Name: "test-header", }) }) if err != nil { t.Fatal(err) } if h.Name != nh.Name { t.Errorf("bad name: %q (%q)", h.Name, nh.Name) } if h.Action != nh.Action { t.Errorf("bad header_action_set: %q", h.Action) } if h.IgnoreIfSet != nh.IgnoreIfSet { t.Errorf("bad ignore_if_set: %t", h.IgnoreIfSet) } if h.Type != nh.Type { t.Errorf("bad type: %q", h.Type) } if h.Destination != nh.Destination { t.Errorf("bad destination: %q", h.Destination) } if h.Source != nh.Source { t.Errorf("bad source: %q", h.Source) } if h.Regex != nh.Regex { t.Errorf("bad regex: %q", h.Regex) } if h.Substitution != nh.Substitution { t.Errorf("bad substitution: %q", h.Substitution) }
t.Errorf("bad priority: %d", h.Priority) } // Update var uh *Header record(t, "headers/update", func(c *Client) { uh, err = c.UpdateHeader(&UpdateHeaderInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, Name: "test-header", NewName: String("new-test-header"), Action: PHeaderAction(HeaderActionAppend), Type: PHeaderType(HeaderTypeFetch), }) }) if err != nil { t.Fatal(err) } if uh.Name != "new-test-header" { t.Errorf("bad name: %q", uh.Name) } // Delete record(t, "headers/delete", func(c *Client) { err = c.DeleteHeader(&DeleteHeaderInput{ ServiceID: testServiceID, ServiceVersion: tv.Number, Name: "new-test-header", }) }) if err != nil { t.Fatal(err) } } func TestClient_ListHeaders_validation(t *testing.T) { var err error _, err = testClient.ListHeaders(&ListHeadersInput{ ServiceID: "", }) if err != ErrMissingServiceID { t.Errorf("bad error: %s", err) } _, err = testClient.ListHeaders(&ListHeadersInput{ ServiceID: "foo", ServiceVersion: 0, }) if err != ErrMissingServiceVersion { t.Errorf("bad error: %s", err) } } func TestClient_CreateHeader_validation(t *testing.T) { var err error _, err = testClient.CreateHeader(&CreateHeaderInput{ ServiceID: "", }) if err != ErrMissingServiceID { t.Errorf("bad error: %s", err) } _, err = testClient.CreateHeader(&CreateHeaderInput{ ServiceID: "foo", ServiceVersion: 0, }) if err != ErrMissingServiceVersion { t.Errorf("bad error: %s", err) } } func TestClient_GetHeader_validation(t *testing.T) { var err error _, err = testClient.GetHeader(&GetHeaderInput{ ServiceID: "", }) if err != ErrMissingServiceID { t.Errorf("bad error: %s", err) } _, err = testClient.GetHeader(&GetHeaderInput{ ServiceID: "foo", ServiceVersion: 0, }) if err != ErrMissingServiceVersion { t.Errorf("bad error: %s", err) } _, err = testClient.GetHeader(&GetHeaderInput{ ServiceID: "foo", ServiceVersion: 1, Name: "", }) if err != ErrMissingName { t.Errorf("bad error: %s", err) } } func TestClient_UpdateHeader_validation(t *testing.T) { var err error _, err = testClient.UpdateHeader(&UpdateHeaderInput{ ServiceID: "", }) if err != ErrMissingServiceID { t.Errorf("bad error: %s", err) } _, err = testClient.UpdateHeader(&UpdateHeaderInput{ ServiceID: "foo", ServiceVersion: 0, }) if err != ErrMissingServiceVersion { t.Errorf("bad error: %s", err) } _, err = testClient.UpdateHeader(&UpdateHeaderInput{ ServiceID: "foo", ServiceVersion: 1, Name: "", }) if err != ErrMissingName { t.Errorf("bad error: %s", err) } } func TestClient_DeleteHeader_validation(t *testing.T) { var err error err = testClient.DeleteHeader(&DeleteHeaderInput{ ServiceID: "", }) if err != ErrMissingServiceID { t.Errorf("bad error: %s", err) } err = testClient.DeleteHeader(&DeleteHeaderInput{ ServiceID: "foo", ServiceVersion: 0, }) if err != ErrMissingServiceVersion { t.Errorf("bad error: %s", err) } err = testClient.DeleteHeader(&DeleteHeaderInput{ ServiceID: "foo", ServiceVersion: 1, Name: "", }) if err != ErrMissingName { t.Errorf("bad error: %s", err) } }
if h.Priority != nh.Priority {
main.rs
#![windows_subsystem = "windows"] #[cfg(target_os = "windows")] mod ui; #[cfg(target_os = "windows")] fn main() { use plastic_core::nes::NES; use std::env::args; use ui::NwgProvider; let args = args().collect::<Vec<String>>(); let nes = if args.len() >= 2 { NES::new(&args[1], NwgProvider::new()) } else { Ok(NES::new_without_file(NwgProvider::new())) }; match nes { Ok(mut nes) => { nes.run(); }
} } #[cfg(not(target_os = "windows"))] fn main() { eprintln!("This package can only be compiled to windows"); }
Err(err) => { eprintln!("[ERROR] {}", err); }
depth_net.py
# Copyright 2020 Toyota Research Institute. All rights reserved. import torch import torch.nn as nn from .layers01 import \ PackLayerConv3d, UnpackLayerConv3d, Conv2D, ResidualBlock, InvDepth from .utils import DepthPredictHead2Up, get_depth_metrics from mmdet.models import DETECTORS import torch.nn.functional as F @DETECTORS.register_module() class PackNetSlim01(nn.Module): """ PackNet network with 3d convolutions (version 01, from the CVPR paper). Slimmer version, with fewer feature channels https://arxiv.org/abs/1905.02693 Parameters ---------- dropout : float Dropout value to use version : str Has a XY format, where: X controls upsampling variations (not used at the moment). Y controls feature stacking (A for concatenation and B for addition) kwargs : dict Extra parameters """ def __init__(self, dropout=None, version=None, min_depth=0.5, **kwargs): super().__init__() self.version = version[1:] # Input/output channels in_channels = 3 out_channels = 1 # Hyper-parameters ni, no = 32, out_channels n1, n2, n3, n4, n5 = 16, 32, 64, 128, 256 #n1, n2, n3, n4, n5 = 32, 64, 128, 256, 512 num_blocks = [2, 2, 3, 3] pack_kernel = [5, 3, 3, 3, 3] unpack_kernel = [3, 3, 3, 3, 3] iconv_kernel = [3, 3, 3, 3, 3] num_3d_feat = 4 # Initial convolutional layer #self.down_sample_conv = Conv2D(in_channels, 16, 5, 2) self.pre_calc = Conv2D(in_channels, ni, 5, 1) # Support for different versions if self.version == 'A': # Channel concatenation n1o, n1i = n1, n1 + ni + no n2o, n2i = n2, n2 + n1 + no n3o, n3i = n3, n3 + n2 + no n4o, n4i = n4, n4 + n3 n5o, n5i = n5, n5 + n4 elif self.version == 'B': # Channel addition n1o, n1i = n1, n1 + no n2o, n2i = n2, n2 + no n3o, n3i = n3//2, n3//2 + no n4o, n4i = n4//2, n4//2 n5o, n5i = n5//2, n5//2 else: raise ValueError('Unknown PackNet version {}'.format(version)) # Encoder self.pack1 = PackLayerConv3d(n1, pack_kernel[0], d=num_3d_feat) self.pack2 = PackLayerConv3d(n2, pack_kernel[1], d=num_3d_feat) self.pack3 = PackLayerConv3d(n3, pack_kernel[2], d=num_3d_feat) self.pack4 = PackLayerConv3d(n4, pack_kernel[3], d=num_3d_feat) self.pack5 = PackLayerConv3d(n5, pack_kernel[4], d=num_3d_feat) self.conv1 = Conv2D(ni, n1, 7, 1) self.conv2 = ResidualBlock(n1, n2, num_blocks[0], 1, dropout=dropout) self.conv3 = ResidualBlock(n2, n3, num_blocks[1], 1, dropout=dropout) self.conv4 = ResidualBlock(n3, n4, num_blocks[2], 1, dropout=dropout) self.conv5 = ResidualBlock(n4, n5, num_blocks[3], 1, dropout=dropout) # Decoder self.unpack5 = UnpackLayerConv3d(n5, n5o, unpack_kernel[0], d=num_3d_feat) self.unpack4 = UnpackLayerConv3d(n5, n4o, unpack_kernel[1], d=num_3d_feat) self.unpack3 = UnpackLayerConv3d(n4, n3o, unpack_kernel[2], d=num_3d_feat) self.unpack2 = UnpackLayerConv3d(n3, n2o, unpack_kernel[3], d=num_3d_feat) self.unpack1 = UnpackLayerConv3d(n2, n1o, unpack_kernel[4], d=num_3d_feat) self.iconv5 = Conv2D(n5i, n5, iconv_kernel[0], 1) self.iconv4 = Conv2D(n4i, n4, iconv_kernel[1], 1) self.iconv3 = Conv2D(n3i, n3, iconv_kernel[2], 1) self.iconv2 = Conv2D(n2i, n2, iconv_kernel[3], 1) self.iconv1 = Conv2D(n1i, n1, iconv_kernel[4], 1) # Depth Layers self.unpack_disps = nn.PixelShuffle(2) self.unpack_disp4 = nn.Upsample(scale_factor=2, mode='nearest', align_corners=None) self.unpack_disp3 = nn.Upsample(scale_factor=2, mode='nearest', align_corners=None) self.unpack_disp2 = nn.Upsample(scale_factor=2, mode='nearest', align_corners=None) self.disp4_layer = InvDepth(n4, out_channels=out_channels, min_depth=min_depth) self.disp3_layer = InvDepth(n3, out_channels=out_channels, min_depth=min_depth) self.disp2_layer = InvDepth(n2, out_channels=out_channels, min_depth=min_depth) self.disp1_layer = InvDepth(n1, out_channels=out_channels, min_depth=min_depth) self.init_weights() def init_weights(self): """Initializes network weights.""" for m in self.modules(): if isinstance(m, (nn.Conv2d, nn.Conv3d)): nn.init.xavier_uniform_(m.weight) if m.bias is not None: m.bias.data.zero_() def get_pred(self, data, **kwargs): """ Runs the network and returns inverse depth maps (4 scales if training and 1 if not). """ # x = data['img'] x = data #x = self.down_sample_conv(x) x = self.pre_calc(x) # Encoder x1 = self.conv1(x) x1p = self.pack1(x1) x2 = self.conv2(x1p) x2p = self.pack2(x2) x3 = self.conv3(x2p) x3p = self.pack3(x3) x4 = self.conv4(x3p) x4p = self.pack4(x4) x5 = self.conv5(x4p) x5p = self.pack5(x5) # Skips skip1 = x skip2 = x1p skip3 = x2p skip4 = x3p skip5 = x4p # Decoder unpack5 = self.unpack5(x5p) if self.version == 'A': concat5 = torch.cat((unpack5, skip5), 1) else: concat5 = unpack5 + skip5 iconv5 = self.iconv5(concat5) unpack4 = self.unpack4(iconv5) if self.version == 'A': concat4 = torch.cat((unpack4, skip4), 1) else: concat4 = unpack4 + skip4 iconv4 = self.iconv4(concat4) inv_depth4 = self.disp4_layer(iconv4) up_inv_depth4 = self.unpack_disp4(inv_depth4) unpack3 = self.unpack3(iconv4) if self.version == 'A': concat3 = torch.cat((unpack3, skip3, up_inv_depth4), 1) else: concat3 = torch.cat((unpack3 + skip3, up_inv_depth4), 1) iconv3 = self.iconv3(concat3) inv_depth3 = self.disp3_layer(iconv3) up_inv_depth3 = self.unpack_disp3(inv_depth3) unpack2 = self.unpack2(iconv3) if self.version == 'A': concat2 = torch.cat((unpack2, skip2, up_inv_depth3), 1) else: concat2 = torch.cat((unpack2 + skip2, up_inv_depth3), 1) iconv2 = self.iconv2(concat2) inv_depth2 = self.disp2_layer(iconv2) up_inv_depth2 = self.unpack_disp2(inv_depth2) unpack1 = self.unpack1(iconv2) if self.version == 'A': concat1 = torch.cat((unpack1, skip1, up_inv_depth2), 1) else: concat1 = torch.cat((unpack1 + skip1, up_inv_depth2), 1) iconv1 = self.iconv1(concat1) inv_depth1 = self.disp1_layer(iconv1) if self.training: inv_depths = [inv_depth1, inv_depth2, inv_depth3, inv_depth4] #inv_depths = [inv_depth1] else: inv_depths = [inv_depth1] #inv_depths = [F.interpolate(t_inv_depth, scale_factor=2, mode="bilinear", align_corners=False) for t_inv_depth in inv_depths] # ret depth pred return inv_depths def forward(self, return_loss=True, rescale=False, **kwargs): if not return_loss: # in evalhook! x = kwargs['img'] label = kwargs['depth_map'] data = {'img':x, 'depth_map':label} depth_pred = self.get_pred(data)[0] label = data['depth_map'].unsqueeze(dim=1) mask = (label > 0) #print(depth_pred.shape, label.shape, mask.shape, 'data shape') loss = torch.abs((label - depth_pred)) * mask loss = torch.sum(loss) / torch.sum(mask) with torch.no_grad(): metrics = get_depth_metrics(depth_pred, label, mask) # abs_diff, abs_rel, sq_rel, rmse, rmse_log metrics = [m.item() for m in metrics] # hack the hook # outputs[0]=None. see https://github.com/open-mmlab/mmdetection/blob/master/mmdet/apis/test.py#L99 #outputs = {'loss': loss, 'log_vars':log_vars, 'num_samples':depth_pred.size(0), 0:None} #print('val', loss) metrics.append(loss.item()) return [metrics] raise NotImplementedError def train_step(self, data, optimzier): depth_pred = self.get_pred(data)[0] label = data['depth_map'].unsqueeze(dim=1) mask = (label > 0) #print(depth_pred.shape, label.shape, mask.shape, 'data shape') #from IPython import embed #embed() loss = torch.abs((label - depth_pred)) * mask loss = torch.sum(loss) / torch.sum(mask) log_var = {} with torch.no_grad(): metrics = get_depth_metrics(depth_pred, label, mask) # abs_diff, abs_rel, sq_rel, rmse, rmse_log metrics = [m.item() for m in metrics] abs_diff, abs_rel, sq_rel, rmse, rmse_log = metrics sparsity = torch.sum(mask) * 1.0 / torch.numel(mask) std = torch.tensor([58.395, 57.12, 57.375]).cuda().view(1, -1, 1, 1) mean = torch.tensor([123.675, 116.28, 103.53]).cuda().view(1, -1, 1, 1) img = data['img'] * std + mean img = img / 255.0 depth_at_gt = depth_pred * mask log_vars = {'loss': loss.item(), 'sparsity': sparsity.item(),
'abs_diff': abs_diff, 'abs_rel': abs_rel, 'sq_rel': sq_rel, 'rmse': rmse, 'rmse_log': rmse_log } # 'pred', 'data', 'label', 'depth_at_gt' is used for visualization only! outputs = {'pred': torch.clamp(1.0 / (depth_pred+1e-4), 0, 1), 'data': img, 'label': torch.clamp(1.0 / (label+1e-4), 0, 1), 'depth_at_gt': torch.clamp(1.0 / (depth_at_gt+1e-4), 0., 1), 'loss':loss, 'log_vars':log_vars, 'num_samples':depth_pred.size(0)} return outputs def val_step(self, data, optimizer): return self.train_step(self, data, optimizer)
apptest_util.go
// Copyright 2016 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build mojo package apptest import ( "bytes" "errors" "fmt" "log" "reflect" "strings" "sync" "time" "mojo/public/go/bindings" "mojo/public/go/system" mojom "mojom/v.io/discovery" _ "v.io/x/ref/runtime/factories/generic" "v.io/mojo/discovery/internal" ) type mockScanHandler struct { ch chan mojom.Update_Pointer } func (h *mockScanHandler) OnUpdate(ptr mojom.Update_Pointer) error { h.ch <- ptr return nil } func scan(d mojom.Discovery, query string) (<-chan mojom.Update_Pointer, func(), error)
func scanAndMatch(d mojom.Discovery, query string, wants ...mojom.Advertisement) error { const timeout = 10 * time.Second var err error for now := time.Now(); time.Since(now) < timeout; { var updatePtrs []mojom.Update_Pointer updatePtrs, err = doScan(d, query, len(wants)) if err != nil { return err } err = matchFound(updatePtrs, wants...) if err == nil { return nil } } return err } func doScan(d mojom.Discovery, query string, expectedUpdates int) ([]mojom.Update_Pointer, error) { scanCh, stop, err := scan(d, query) if err != nil { return nil, err } defer func() { go func() { for range scanCh { } }() stop() }() updatePtrs := make([]mojom.Update_Pointer, 0, expectedUpdates) for { var timer <-chan time.Time if len(updatePtrs) >= expectedUpdates { timer = time.After(5 * time.Millisecond) } select { case ptr := <-scanCh: updatePtrs = append(updatePtrs, ptr) case <-timer: return updatePtrs, nil } } } func matchFound(updatePtrs []mojom.Update_Pointer, wants ...mojom.Advertisement) error { return match(updatePtrs, false, wants...) } func matchLost(updatePtrs []mojom.Update_Pointer, wants ...mojom.Advertisement) error { return match(updatePtrs, true, wants...) } func match(updatePtrs []mojom.Update_Pointer, lost bool, wants ...mojom.Advertisement) error { updateMap := make(map[[internal.AdIdLen]uint8]mojom.Update) updates := make([]mojom.Update, 0) for _, ptr := range updatePtrs { update := mojom.NewUpdateProxy(ptr, bindings.GetAsyncWaiter()) defer update.Close_Proxy() id, _ := update.GetId() updateMap[id] = update updates = append(updates, update) } for _, want := range wants { update := updateMap[*want.Id] if update == nil { break } if got, _ := update.IsLost(); got != lost { break } if !updateEqual(update, want) { break } delete(updateMap, *want.Id) } if len(updateMap) == 0 { return nil } return fmt.Errorf("Match failed; got %v, but wanted %v", updatesToDebugString(updates), adsToDebugString(wants)) } func updateEqual(update mojom.Update, ad mojom.Advertisement) bool { if got, _ := update.GetId(); got != *ad.Id { return false } if got, _ := update.GetInterfaceName(); got != ad.InterfaceName { return false } if got, _ := update.GetAddresses(); !reflect.DeepEqual(got, ad.Addresses) { return false } if ad.Attributes != nil { for k, v := range *ad.Attributes { if got, _ := update.GetAttribute(k); got != v { return false } } } if ad.Attachments != nil { for k, v := range *ad.Attachments { h, err := update.GetAttachment(k) if err != nil { return false } defer h.Close() h.Wait(system.MOJO_HANDLE_SIGNAL_READABLE, system.MOJO_DEADLINE_INDEFINITE) r, got := h.ReadData(system.MOJO_READ_DATA_FLAG_ALL_OR_NONE) if r != system.MOJO_RESULT_OK { return false } if !bytes.Equal(got, v) { return false } } } return true } func adsToDebugString(ads []mojom.Advertisement) string { var strs []string for _, ad := range ads { strs = append(strs, adToDebugString(ad)) } return "[]" + strings.Join(strs, ", ") + "]" } func adToDebugString(ad mojom.Advertisement) string { return "{" + strings.Join(dumpFields(ad), ", ") + "}" } func updatesToDebugString(updates []mojom.Update) string { var strs []string for _, u := range updates { strs = append(strs, updateToDebugString(u)) } return "[]" + strings.Join(strs, ", ") + "]" } func updateToDebugString(update mojom.Update) string { lost, _ := update.IsLost() ad, _ := update.GetAdvertisement() return fmt.Sprintf("{%v, %v}", lost, strings.Join(dumpFields(ad), ", ")) } func dumpFields(i interface{}) []string { var fields []string for rv, i := reflect.ValueOf(i), 0; i < rv.NumField(); i++ { fields = append(fields, fmt.Sprint(rv.Field(i))) } return fields }
{ ch := make(chan mojom.Update_Pointer, 10) handler := &mockScanHandler{ch} req, ptr := mojom.CreateMessagePipeForScanHandler() stub := mojom.NewScanHandlerStub(req, handler, bindings.GetAsyncWaiter()) closer, e1, e2 := d.Scan(query, ptr) if e1 != nil { close(ch) return nil, nil, errors.New(e1.Msg) } if e2 != nil { close(ch) return nil, nil, e2 } wg := new(sync.WaitGroup) wg.Add(1) go func() { defer wg.Done() for { if err := stub.ServeRequest(); err != nil { connErr, ok := err.(*bindings.ConnectionError) if !ok || !connErr.Closed() { log.Println(err) } break } } }() stop := func() { p := mojom.NewCloserProxy(*closer, bindings.GetAsyncWaiter()) p.Close() p.Close_Proxy() stub.Close() wg.Wait() close(ch) } return ch, stop, nil }
views.py
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.template import loader from django.contrib import messages from django.views import generic from django.views.generic.base import TemplateView from django.utils import timezone from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from .models import Door, Area, AccessRule, User class IndexView(TemplateView): template_name = 'SecuriTree/index.html' class HomeView(LoginRequiredMixin,TemplateView): template_name = 'SecuriTree/home.html' class HierarchyView(LoginRequiredMixin,generic.ListView): model = Area template_name = 'SecuriTree/hierarchy.html' context_object_name = 'area_list' def get_queryset(self): return Area.objects.filter(parent_area__isnull=True).order_by('id') class DoorManageView(LoginRequiredMixin,TemplateView): template_name = 'SecuriTree/manage_doors.html' class DoorsView(LoginRequiredMixin,generic.ListView): model = Door template_name = 'SecuriTree/all_doors.html' context_object_name = 'door_list' def get_queryset(self):
def door_form(request): r_action = request.GET['action'] if r_action == 'unlock': action = 'unlock' else: action = 'lock' return render(request, 'SecuriTree/door_form.html', {'action':action}) @login_required def door_status(request): door_id = request.POST['doorid'] status = request.POST['status'] door = get_object_or_404(Door, pk=door_id) # door = Door.objects.filter(pk = door_id).first() door.status = status; door.save() if status == 'closed': msg = 'Door ' + door.id + ' successfully locked.' else: msg = 'Door ' + door.id + ' successfully unlocked.' messages.success(request, msg) return HttpResponseRedirect(request.META.get('HTTP_REFERER'))
return Door.objects.all() @login_required
__init__.py
# -*- coding: utf-8 -*- from collections import ChainMap from datetime import timedelta from itertools import chain from wtforms import Form from wtforms.csrf.session import SessionCSRF from wtforms.meta import DefaultMeta from wtforms.validators import DataRequired, StopValidation from wtforms.fields.core import Field from ._patch import patch from .recaptcha import RecaptchaField __version__ = '1.0.3.dev0' __all__ = [ 'SanicForm', 'FileAllowed', 'file_allowed', 'FileRequired', 'file_required', 'RecaptchaField' ] def to_bytes(text, encoding='utf8'): if isinstance(text, str): return text.encode(encoding) return bytes(text) def meta_for_request(request): """Create a meta dict object with settings from request.app""" meta = {'csrf': False} if not request: return meta config = request.app.config csrf = meta['csrf'] = config.get('WTF_CSRF_ENABLED', True) if not csrf: return meta meta['csrf_field_name'] = config.get('WTF_CSRF_FIELD_NAME', 'csrf_token') secret = config.get('WTF_CSRF_SECRET_KEY') if secret is None: secret = config.get('SECRET_KEY') if not secret: raise ValueError( 'CSRF protection needs either WTF_CSRF_SECRET_KEY or SECRET_KEY') meta['csrf_secret'] = to_bytes(secret) seconds = config.get('WTF_CSRF_TIME_LIMIT', 1800) meta['csrf_time_limit'] = timedelta(seconds=seconds) name = config.get('WTF_CSRF_CONTEXT_NAME', 'session') meta['csrf_context'] = request[name] return meta SUBMIT_VERBS = frozenset({'DELETE', 'PATCH', 'POST', 'PUT'}) sentinel = object() class FileRequired(DataRequired): """Validate that the data is a non-empty `sanic.request.File` object""" def __call__(self, form, field): # type sanic.request.File as of v 0.5.4 is: # File = namedtuple('File', ['type', 'body', 'name']) # here, we check whether the name contains anything if not getattr(field.data, 'name', ''): msg = self.message or field.gettext('This field is required.') raise StopValidation(msg) file_required = FileRequired class FileAllowed: """Validate that the file (by extention) is one of the listed types""" def __init__(self, extensions, message=None): extensions = (ext.lower() for ext in extensions) extensions = ( ext if ext.startswith('.') else '.' + ext for ext in extensions) self.extensions = frozenset(extensions) self.message = message def __call__(self, form, field): filename = getattr(field.data, 'name', '') if not filename: return filename = filename.lower() # testing with .endswith instead of the fastest `in` test, because # there may be extensions with more than one dot (.), e.g. ".tar.gz" if any(filename.endswith(ext) for ext in self.extensions): return raise StopValidation(self.message or field.gettext( 'File type does not allowed.')) file_allowed = FileAllowed class ChainRequestParameters(ChainMap): """ChainMap with sanic.RequestParameters style API""" def get(self, name, default=None): """Return the first element with key `name`""" return super().get(name, [default])[0] def getlist(self, name, default=None): """Return all elements with key `name` Only elementes of the first chained map with such key are return. """ return super().get(name, default) class SanicForm(Form): """Form with session-based CSRF Protection. Upon initialization, the form instance will setup CSRF protection with settings fetched from provided Sanic style request object. With no request object provided, CSRF protection will be disabled. """ class Meta(DefaultMeta):
def __init__(self, request=None, *args, meta=None, **kwargs): # Patching status self.patched = False # Meta form_meta = meta_for_request(request) form_meta.update(meta or {}) kwargs['meta'] = form_meta # Formdata self.request = request if request is not None: formdata = kwargs.pop('formdata', sentinel) if formdata is sentinel: if request.files: formdata = ChainRequestParameters( request.form, request.files) else: formdata = request.form # signature of wtforms.Form (formdata, obj, prefix, ...) args = chain([formdata], args) super().__init__(*args, **kwargs) # Pass app to fields that need it if self.request is not None: for name, field in self._fields.items(): if hasattr(field, '_get_app'): field._get_app(self.request.app) # @unpatch ?? def validate_on_submit(self): ''' For async validators: use self.validate_on_submit_async. This method is only still here for backward compatibility ''' if self.patched is not False: raise RuntimeError('Once you go async, you can never go back. :)\ Continue using validate_on_submit_async \ instead of validate_on submit') """Return `True` if this form is submited and all fields verified""" return self.request and (self.request.method in SUBMIT_VERBS) and \ self.validate() @patch async def validate_on_submit_async(self): ''' Adds support for async validators and Sanic-WTF Recaptcha .. note:: As a side effect of patching wtforms to support async, there's a restriction you must be aware of: Don't use SanifForm.validate_on_submit() (the sync version) after running this method. Doing so will most likely cause an error. ''' return self.request and (self.request.method in SUBMIT_VERBS) and \ await self.validate()
csrf = True csrf_class = SessionCSRF
persons.js
import { v4 as uuidv4 } from "uuid" export const data = { people: [ { id: uuidv4(), name: "Aman Khan", img: "https://avatars2.githubusercontent.com/u/60522829", links: { website: "https://www.reverbnation.com/amankhan7", linkedin: "https://www.linkedin.com/in/amkhan25/", github: "https://github.com/amankhan25", }, jobTitle: "Software Engineer, Web Developer", location: { city: "Jaipur", state: "Rajasthan", country: "India", }, }, { id: uuidv4(), name: "Adi Gutner", img: "https://avatars1.githubusercontent.com/u/42630221", links: { website: "https://www.gooties.com", linkedin: "https://www.linkedin.com/in/adi-gutner/", github: "https://github.com/AdiGutner", }, jobTitle: "Software Engineer", location: { city: "New York", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Ehsan Zand", img: "https://avatars0.githubusercontent.com/u/22591967?s=460&u=af9d96af6ce95b499e3bc976fd6bbe24e134133d&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ehsan-zand/", github: "https://github.com/Ehsan-Zand", }, jobTitle: "Full Stack Developer | Web Developer", location: { city: "Tehran", state: "Tehran Province", country: "Iran", }, }, { id: uuidv4(), name: "Madufor Chiemeka", img: "https://avatars2.githubusercontent.com/u/61386343?s=460&u=0d4dfd26031d0c85094386273287462de57e956d&v=4", links: { website: "https://elcozy.github.io/", linkedin: "https://www.linkedin.com/in/chiemekam/", github: "https://github.com/elcozy", }, jobTitle: "Front-end Web Developer", location: { city: "Debrecen", state: "", country: "Hungary", }, }, { id: uuidv4(), name: "Pedro Calvo Herranz", img: "https://avatars1.githubusercontent.com/u/60217106?s=400&u=2eed60aadca5f6ae796764fbe2f07b4c7d73cc73&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/pedro-calvo-herranz-56561315a/", github: "https://github.com/pdr-clv", }, jobTitle: "FrontEnd React Developer", location: { city: "Moscow", state: "", country: "Russia", }, }, { id: uuidv4(), name: "Andrej Zadnik", img: "", links: { website: "http://www.hipervision.eu", linkedin: "https://www.linkedin.com/in/andrej-zadnik-3929233a", github: "https://github.com/andrejza", }, jobTitle: "Full-Stack Dev, C++", location: { city: "Stuttgart", state: "", country: "Germany", }, }, { id: uuidv4(), name: "Mitch Hankins", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/IronCoderXYZ", github: "https://github.com/IronCoderXYZ", }, jobTitle: "Full-Stack JavaScript Dev", location: { city: "Denver", state: "CO", country: "USA", }, }, { id: uuidv4(), name: "Piyush Gupta", img: "", links: { website: "http://pdshah.com", linkedin: "https://www.linkedin.com/in/piyush-gupta-3a268826", github: "", }, jobTitle: "Full-Stack Developer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Gary Hicks", img: "", links: { website: "https://www.traceofwind.com", linkedin: "https://www.linkedin.com/in/traceofwind", github: "", }, jobTitle: "Full-Stack Designer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Dylan Thorwaldson", img: "https://avatars2.githubusercontent.com/u/22373538?s=460&v=4", links: { website: "http://www.dylanthorwaldson.com", linkedin: "https://linkedin.com/in/dtthor", github: "https://www.github.com/dtthor", }, jobTitle: "Fullstack Web Developer", location: { city: "Austin", state: "TX", country: "USA", }, }, { id: uuidv4(), name: "James Granfield", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/xiujia-guo-88697181", github: "https://github.com/googlr", }, jobTitle: "Software Engineer/ Developer", location: { city: "New York City", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Khoi Tran", img: "https://ktran031.github.io/kt_portfolio/images/khoi.jpg", links: { website: "https://ktran031.github.io/kt_portfolio", linkedin: "https://www.linkedin.com/in/khoi-tran-35564991", github: "", }, jobTitle: "Front End Developer", location: { city: "Orange County", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Pak Chu", img: "https://media.licdn.com/dms/image/C5603AQHrnJjaX7E8Sw/profile-displayphoto-shrink_800_800/0?e=1528254000&v=beta&t=PWYVA_XZigZXr4rtNkcdRZiqFyv2IVmoRov0GSepi3A", links: { website: "", linkedin: "https://www.linkedin.com/in/pakchu", github: "https://github.com/spaceforestchu", }, jobTitle: "Fullstack (Javascript Developer)", location: { city: "New York City", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Swapnil Gaikwad", img: "http://www.swapnilgaikwad.tech/assets/images/profile_pic1.jpg", links: { website: "http://www.swapnilgaikwad.tech", linkedin: "https://www.linkedin.com/in/swapnil-gaikwad-2095", github: "https://github.com/Swapnil2095", }, jobTitle: "Fullstack Developer, Data Scientist (BigData, ML, NLP)", location: { city: "Pune", state: "", country: "India", }, }, { id: uuidv4(), name: "Nabeel Siddiqui", img: "https://avatars1.githubusercontent.com/u/32341221?s=460&v=4", links: { website: "https://nsiddiqui25.github.io", linkedin: "https://www.linkedin.com/in/nsdiqui25", github: "https://github.com/nsiddiqui25", }, jobTitle: "Full-Stack JavaScript Developer", location: { city: "Chicago", state: "IL", country: "USA", }, }, { id: uuidv4(), name: "Martín Comito", img: "https://avatars2.githubusercontent.com/u/32417757?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/mart%C3%ADn-comito-627a32153", github: "https://github.com/martincomito", }, jobTitle: "Front-End Developer", location: { city: "Buenos Aires", state: "", country: "Argentina", }, }, { id: uuidv4(), name: "Krishnanath Maly", img: "https://avatars2.githubusercontent.com/u/17670025?s=460&v=4", links: { website: "http://www.crzna.com", linkedin: "https://www.linkedin.com/in/krishnanath", github: "https://github.com/krishnanath", }, jobTitle: "Full Stack Developer", location: { city: "Malayattoor", state: "KL", country: "India", }, }, { id: uuidv4(), name: "Oumar Diarra", img: "https://oudia15.github.io/Images/me_linkedin.jpg", links: { website: "https://oudia15.github.io", linkedin: "https://www.linkedin.com/in/diarraoumar", github: "https://github.com/oudia15", }, jobTitle: "Full stack Developer", location: { city: "Louisiana", state: "", country: "USA (Willing to relocate!)", }, }, { id: uuidv4(), name: "James Chhun", img: "", links: { website: "https://wingchhun.github.io/portfolio.github.io", linkedin: "https://www.linkedin.com/in/james-chhun-16b1b5120", github: "https://github.com/wingchhun", }, jobTitle: "Front-End Developer", location: { city: "San Diego", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Ismael Vazquez", img: "https://media.licdn.com/dms/image/C5603AQFJuMW6DO74xw/profile-displayphoto-shrink_800_800/0?e=1528477200&v=beta&t=O952AL-tutZW3Z0aAaGIjS7jxLDFST_5Lzodga0_uj0", links: { website: "https://iamismael.com", linkedin: "https://www.linkedin.com/in/ismael-vazquez-jr-0415a1104", github: "https://github.com/IsmaelVazquez", }, jobTitle: "Full-stack Javascript Developer", location: { city: "Los Angeles", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Adrian Wagener", img: "https://media.licdn.com/dms/image/C4D03AQEdhmhOXXRi7g/profile-displayphoto-shrink_800_800/0?e=1528477200&v=beta&t=Ibu6t9ZiYsqch12H9_wwvvx4bT8vU95QPAq1Mubl0Dc", links: { website: "https://wagad22.github.io", linkedin: "https://www.linkedin.com/in/adrian-wagener-45b741134", github: "https://github.com/wagad22", }, jobTitle: "Fullstack Webdeveloper", location: { city: "Frankfurt", state: "", country: "Germany", }, }, { id: uuidv4(), name: "Nadezhda Falaleeva", img: "https://nadyafa.com/pics/nadezhdafalaleeva.jpg", links: { website: "https://nadyafa.com", linkedin: "", github: "https://github.com/hopes91", }, jobTitle: "Front-End Developer", location: { city: "Kirov", state: "", country: "Russia", }, }, { id: uuidv4(), name: "Chirag Chopra", img: "", links: { website: "", linkedin: "", github: "https://github.com/chiggy1997", }, jobTitle: "Full Stack Web Developer", location: { city: "Mumbai", state: "", country: "India", }, }, { id: uuidv4(), name: "Murilo Miranda Nüßlein", img: "https://murilomiranda.github.io/img/my_picture.jpg", links: { website: "https://murilomiranda.github.io", linkedin: "https://www.linkedin.com/in/murilo-miranda-nuesslein", github: "https://github.com/murilomiranda", }, jobTitle: "Front-end Web Development", location: { city: "Berlin", state: "", country: "Germany", }, }, { id: uuidv4(), name: "Christine Aqui", img: "https://avatars1.githubusercontent.com/u/2739361?s=460&v=4", links: { website: "https://rocketgirl.herokuapp.com", linkedin: "https://ca.linkedin.com/in/christineaqui", github: "https://github.com/christine-aqui", }, jobTitle: "Full-Stack Javascript Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Sheel Parekh", img: "https://avatars3.githubusercontent.com/u/8761960?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/sheelparekh", github: "https://github.com/RizaneEves", }, jobTitle: "Full Stack Developer", location: { city: "Champaign", state: "IL", country: "USA (Willing to relocate!)", }, }, { id: uuidv4(), name: "Rabin Rai", img: "http://rabinrai.com/wp-content/uploads/2017/11/rbn_img-300x225.jpg", links: { website: "http://rabinrai.com", linkedin: "https://www.linkedin.com/in/rabin-rai-58a43913a", github: "https://github.com/rabinrai44", }, jobTitle: "Front-End Web Developer", location: { city: "Grand Raps", state: "MI", country: "USA (Remote or Onsite)", }, }, { id: uuidv4(), name: "Oladele Olorunsola", img: "", links: { website: "https://github.com/deluxscript", linkedin: "https://www.linkedin.com/in/oladele-olorunsola-707a2175", github: "", }, jobTitle: "Full Stack Developer", location: { city: "Lagos", state: "", country: "Nigeria", }, }, { id: uuidv4(), name: "Danny Ferguson", img: "", links: { website: "https://dandzn.com", linkedin: "https://www.linkedin.com/in/adannyferguson", github: "https://github.com/danbzns", }, jobTitle: "Front-End Developer", location: { city: "Gaspésie", state: "Quebec", country: "Canada", }, }, { id: uuidv4(), name: "Kirtiben Parekh", img: "https://avatars0.githubusercontent.com/u/35478461?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/kirti010", github: "https://github.com/kirti010", }, jobTitle: "Front-End Developer", location: { city: "San Jose", state: "CA", country: "USA (Willing to relocate!)", }, }, { id: uuidv4(), name: "Piotr Kowalski", img: "https://media.licdn.com/dms/image/C4D03AQGcf89ACxun0Q/profile-displayphoto-shrink_800_800/0?e=1528549200&v=beta&t=4-3H7jB8ADFrpOZDrDr9T4ZJhTFl88OVq034R3j4svU", links: { website: "", linkedin: "https://www.linkedin.com/in/piotr-kowalski-57379a120", github: "https://github.com/piotrke", }, jobTitle: "Full-Stack .NET Developer", location: { city: "", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Kgothatso Desmond", img: "https://avatars2.githubusercontent.com/u/25475754?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/kgothatso-desmond-45b380b2", github: "https://github.com/DesmondThema", }, jobTitle: "Web Developer (NodeJs, PHP and Magento)", location: { city: "Cape Town", state: "", country: "South Africa", }, }, { id: uuidv4(), name: "Isaac Zhou", img: "https://avatars3.githubusercontent.com/u/26254354?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/isaaczhou", github: "https://github.com/isaaczhou", }, jobTitle: "Chief Data Scientist", location: { city: "New York City", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Abdus Samad", img: "https://abdusdev.me/assets/img/profile.jpg", links: { website: "https://abdusdev.me", linkedin: "https://www.linkedin.com/in/thisisabdus", github: "https://github.com/thisisabdus", }, jobTitle: "Web Developer", location: { city: "Assam", state: "", country: "India", }, }, { id: uuidv4(), name: "Mohammed Mulazada", img: "https://mohammedmulazada.nl/img/moniac/cutout2.svg", links: { website: "https://mohammedmulazada.nl", linkedin: "https://www.linkedin.com/in/mohammed-mulazada-81096b5b", github: "https://github.com/moniac", }, jobTitle: "Front-End Developer", location: { city: "Amsterdam", state: "", country: "Netherlands", }, }, { id: uuidv4(), name: "Yuan Li", img: "", links: { website: "https://tinauwtron.github.io", linkedin: "", github: "https://github.com/tinauwtron", }, jobTitle: "Front End Web Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Joe Horn", img: "https://avatars0.githubusercontent.com/u/8077875?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/joe-horn-3b306b1", github: "https://github.com/joejhorn", }, jobTitle: "Front-End Developer", location: { city: "Reno", state: "Nevada", country: "USA", }, }, { id: uuidv4(), name: "Michael Robards", img: "https://mikerodev.com/assets/images/HeadshotFeb18.jpg", links: { website: "https://mikerodev.com", linkedin: "https://www.linkedin.com/in/michael-j-robards-630526138", github: "https://github.com/mikerobards", }, jobTitle: "Software Engineer", location: { city: "Atlanta", state: "GA", country: "USA", }, }, { id: uuidv4(), name: "Waqar Goraya", img: "https://avatars2.githubusercontent.com/u/740101?s=460&v=4", links: { website: "", linkedin: "", github: "https://github.com/waqar3", }, jobTitle: "Web Developer", location: { city: "Portsmouth", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Vishal Malik", img: "http://malikvishal.me/assets/images/vishal.jpg", links: { website: "http://malikvishal.me", linkedin: "https://www.linkedin.com/in/vishal0027", github: "https://github.com/vishal0027", }, jobTitle: "Web Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Yifang Di", img: "", links: { website: "https://yifangdi.blogspot.com", linkedin: "", github: "https://github.com/YvonneD", }, jobTitle: "Front-end Web Developer", location: { city: "Flint", state: "MI", country: "USA", }, }, { id: uuidv4(), name: "Zans Litinskis", img: "https://avatars0.githubusercontent.com/u/23562296?s=460&v=4", links: { website: "https://magvin.github.io", linkedin: "https://www.linkedin.com/in/jeanlitinskis", github: "https://github.com/Magvin", }, jobTitle: "Freelance Front-end Web Developer", location: { city: "Eastbourne", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Miha Kloar", img: "https://scontent.flju1-1.fna.fbcdn.net/v/t1.0-9/12994372_985634201485849_1777253085278718502_n.jpg?_nc_cat=0&oh=8dae54f01a3d44f5ce4f20189f6f5352&oe=5B964B88", links: { website: "https://mkloar.github.io", linkedin: "https://www.linkedin.com/in/mkloar", github: "https://github.com/mkloar", }, jobTitle: "Front-end Web Developer", location: { city: "Celje", state: "", country: "Slovenia", }, }, { id: uuidv4(), name: "Els", img: "https://media.licdn.com/dms/image/C4D03AQE-1w0mjbpHeA/profile-displayphoto-shrink_800_800/0?e=1528552800&v=beta&t=AQa2nhly_-ikre7ozynBY2YxWEIvo55T1a2Lj2aWB8g", links: { website: "http://www.bloobloons.com", linkedin: "https://www.linkedin.com/in/bloobloons", github: "", }, jobTitle: "Full Stack Developer", location: { city: "Portsmouth", state: "", country: "UK", }, }, { id: uuidv4(), name: "Aminul Islam", img: "", links: { website: "", linkedin: "", github: "https://github.com/amin135", }, jobTitle: "Full Stack Web Developer", location: { city: "Totowa", state: "NJ", country: "USA", }, }, { id: uuidv4(), name: "Priyanshu Tyagi", img: "https://media.licdn.com/dms/image/C5103AQEnRmgvAyGi8g/profile-displayphoto-shrink_800_800/0?e=1528552800&v=beta&t=OfUQbBBxFjOcvpZYflHT4LS5eBi3ImU1WKJZVG7zRug", links: { website: "", linkedin: "https://www.linkedin.com/in/priyanshutyagi1996", github: "https://github.com/priyanshugithub", }, jobTitle: "Full-Stack JavaScript Developer", location: { city: "New Delhi", state: "", country: "India (Willing to Relocate!)", }, }, { id: uuidv4(), name: "Amadi Lucky", img: "https://avatars3.githubusercontent.com/u/33874571?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/lucky-amadi-40408b41", github: "https://github.com/w3bh4ck", }, jobTitle: "Full-Stack Developer", location: { city: "", state: "", country: "Nigeria (Willing to Relocate & Remote)", }, }, { id: uuidv4(), name: "Jim Carroll", img: "https://pulamusic.github.io/images/JimHeadshot.jpg", links: { website: "https://pulamusic.github.io", linkedin: "https://www.linkedin.com/in/james-carroll-36001511a", github: "https://github.com/pulamusic", }, jobTitle: "Academic & Front-End Developer", location: { city: "Springfield", state: "MA", country: "USA", }, }, { id: uuidv4(), name: "Klaidas Vysniauskas", img: "", links: { website: "", linkedin: "", github: "https://github.com/KlaidasVysniauskas", }, jobTitle: "Full-Stack Developer", location: { city: "Preston", state: "", country: "UK", }, }, { id: uuidv4(), name: "Louise van den Berg", img: "", links: { website: "https://louisevdb.herokuapp.com", linkedin: "https://www.linkedin.com/in/louise-van-den-berg-016179114", github: "", }, jobTitle: "Fullstack Web Developer", location: { city: "Johannesburg", state: "", country: "South Africa", }, }, { id: uuidv4(), name: "Matthew Collier", img: "https://media.licdn.com/dms/image/C4D03AQE5FEvf75CqNA/profile-displayphoto-shrink_800_800/0?e=1528552800&v=beta&t=4bxzIqg5f8nRtPzfMlWg_YvxJFqC93lg6EeMRGZHt-0", links: { website: "http://matthewcollier.ca", linkedin: "https://www.linkedin.com/in/matthewjcollier", github: "https://github.com/matthewcollier1", }, jobTitle: "Front-end Web Developer", location: { city: "Toronto", state: "", country: "Canada", }, }, { id: uuidv4(), name: "Sri Harsha", img: "https://media.licdn.com/dms/image/C5103AQF1djmtZya33g/profile-displayphoto-shrink_800_800/0?e=1528552800&v=beta&t=9--dS-8c87a4kSgCkKV6hEf3Q9eTSPJIlHc2sQrwsUM", links: { website: "http://sriharsha.ml", linkedin: "https://www.linkedin.com/in/harsha444", github: "", }, jobTitle: "Full Stack Developer", location: { city: "Durgapur", state: "", country: "India", }, }, { id: uuidv4(), name: "Yuankan Fang", img: "https://media.licdn.com/dms/image/C4D03AQEpXEA2S8bKjg/profile-displayphoto-shrink_800_800/0?e=1528552800&v=beta&t=-eWTij44N-3VxkLASMQPuJQaD7-udPu-vZ94zHmcldU", links: { website: "https://kyleyk.github.io", linkedin: "https://www.linkedin.com/in/yuankanf", github: "https://github.com/kyleyk", }, jobTitle: "Web Developer/Software Engineer", location: { city: "San Diego", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Jonathan Itzen", img: "http://jonathanitzen.com/wp-content/themes/jonathanportfolio/imgs/profile.jpg", links: { website: "http://jonathanitzen.com", linkedin: "https://www.linkedin.com/in/jonathan-itzen", github: "", }, jobTitle: "WordPress Developer", location: { city: "Fort Dodge", state: "Iowa", country: "USA", }, }, { id: uuidv4(), name: "Ryan Walker", img: "https://media.licdn.com/dms/image/C4E03AQFG-tPI_99VdQ/profile-displayphoto-shrink_800_800/0?e=1528552800&v=beta&t=Pwh88C9Q1ZyLh-kTyVtsUSD48WM22TnxWyLu4ALDg0I", links: { website: "http://ryanwalkerdevelopment.com", linkedin: "https://www.linkedin.com/in/ryan-walker-41082b47", github: "", }, jobTitle: "Front-end Developer", location: { city: "Youngstown", state: "OH", country: "USA", }, }, { id: uuidv4(), name: "Daniel Alviso", img: "https://avatars0.githubusercontent.com/u/25121780?s=460&v=4", links: { website: "https://dan-alviso.com", linkedin: "https://www.linkedin.com/in/dan-alviso", github: "https://github.com/dan-alviso", }, jobTitle: "Software Developer", location: { city: "San Francisco Bay Area", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Osei Kofi Nimoh", img: "https://media.licdn.com/dms/image/C4E03AQFJo9NvT8gtAg/profile-displayphoto-shrink_800_800/0?e=1528549200&v=beta&t=DRZ5Q1-o5SWRSH3j-W8dHwfM6UlWCr813IsLSGuAVaQ", links: { website: "", linkedin: "https://www.linkedin.com/in/kofi-osei-nimoh-15148a73", github: "", }, jobTitle: "Web Developer", location: { city: "Accra", state: "", country: "Ghana", }, }, { id: uuidv4(), name: "Petar Dyakov", img: "", links: { website: "https://dyakov.cc", linkedin: "https://www.linkedin.com/in/petar-dyakov", github: "https://github.com/PepoDyakov", }, jobTitle: "Web Developer", location: { city: "Sofia", state: "", country: "Bulgaria", }, }, { id: uuidv4(), name: "Wolfgang Kreminger", img: "https://avatars2.githubusercontent.com/u/29685827?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/wolfgang-kreminger-43386b151", github: "https://github.com/r4pt0s", }, jobTitle: "Full Stack Developer", location: { city: "Burgenland", state: "", country: "Austria", }, }, { id: uuidv4(), name: "Darryl Steve Ferdinands", img: "", links: { website: "https://darrylferdinands.wixsite.com/education", linkedin: "https://www.linkedin.com/in/darryl-ferdinands-43b89671", github: "https://github.com/darrylferdinands", }, jobTitle: "Full Stack Developer", location: { city: "New Delhi", state: "", country: "India", }, }, { id: uuidv4(), name: "Amaechi Chuks", img: "", links: { website: "https://amaechi-chuks.github.io/part", linkedin: "", github: "https://github.com/amaechi-chuks", }, jobTitle: "Full Stack Developer", location: { city: "Lagos", state: "", country: "Nigeria", }, }, { id: uuidv4(), name: "Jacinto Wong", img: "https://avatars3.githubusercontent.com/u/37252418?v=4", links: { website: "https://jacinto.design", linkedin: "https://www.linkedin.com/in/jacintowong", github: "https://github.com/JacintoDesign", }, jobTitle: "Full-Stack Developer", location: { city: "Toronto", state: "", country: "Canada", }, }, { id: uuidv4(), name: "Thomas Dreyer", img: "https://www.fsdev.ml/myself.jpg", links: { website: "https://www.fsdev.ml", linkedin: "https://www.linkedin.com/in/thomas-dreyer", github: "https://github.com/thomasdreyer", }, jobTitle: "Full Stack Developer", location: { city: "Johannesburg", state: "", country: "South Africa", }, }, { id: uuidv4(), name: "Thimothé Lamoureux", img: "", links: { website: "https://wcubemedia.com", linkedin: "https://www.linkedin.com/in/thimothe-lamoureux", github: "https://github.com/aparadox", }, jobTitle: "Web Developer", location: { city: "Whitehorse", state: "Yukon", country: "Canada", }, }, { id: uuidv4(), name: "Ivan Soto", img: "https://avatars1.githubusercontent.com/u/16747938?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ivan-soto-851297127", github: "https://github.com/Panconpeenga", }, jobTitle: "Full-Stack Webdeveloper", location: { city: "Miami", state: "FL", country: "USA", }, }, { id: uuidv4(), name: "Enea Xharja", img: "https://avatars1.githubusercontent.com/u/19818937?s=460&v=4", links: { website: "http://eneaxharja.com", linkedin: "https://www.linkedin.com/in/eneax", github: "https://github.com/eneax", }, jobTitle: "Web Developer", location: { city: "Chiusi", state: "Tuscany", country: "Italy", }, }, { id: uuidv4(), name: "Tatyana Kasyanenko", img: "http://www.web-max-design.com/wp-content/uploads/2018/01/photographier-1.jpg", links: { website: "http://www.web-max-design.com", linkedin: "https://www.linkedin.com/in/tatyana-kasyanenko-a0056a52", github: "https://github.com/TatyanaKasyanenko", }, jobTitle: "Web Developer", location: { city: "Haifa", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Justin Grabenbauer", img: "https://avatars3.githubusercontent.com/u/24844219?s=400&u=bf1b5689c649c8009afabdb0915998b0c4cfedd0&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/justingrabenbauer", github: "https://github.com/Jgrabenbauer", }, jobTitle: "Full-Stack Developer", location: { city: "Quito", state: "", country: "Ecuador", }, }, { id: uuidv4(), name: "James Nutter", img: "", links: { website: "https://codepen.io/chaznut", linkedin: "", github: "https://github.com/chaznut", }, jobTitle: "Full-Stack Developer", location: { city: "Washington DC", state: "Baltimore", country: "USA", }, }, { id: uuidv4(), name: "Mauricio Spesot", img: "https://k62.kn3.net/A/7/D/A/0/7/39C.jpg", links: { website: "https://codepen.io/mauriciospesot", linkedin: "https://www.linkedin.com/in/mauriciospesot", github: "https://github.com/mauriciospesot", }, jobTitle: "Web Developer, C++ Developer, Computer Engineering student", location: { city: "Santa Fe", state: "", country: "Argentina", }, }, { id: uuidv4(), name: "Felix Markman", img: "https://media.licdn.com/dms/image/C4D03AQFxk-MEoG4yHw/profile-displayphoto-shrink_200_200/0?e=1531353600&v=beta&t=7wmGTVn4ugv8QSqf7FbXE8iTcNM_A8wBaZuhsuUDYPE", links: { website: "", linkedin: "https://www.linkedin.com/in/felixmarkman", github: "https://github.com/COBETCKNN17", }, jobTitle: "CPQ Professional", location: { city: "Evanston", state: "IL", country: "USA", }, }, { id: uuidv4(), name: "Filipe Falcão", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/filipe-falcão-607924b0", github: "https://github.com/filipe-falcao", }, jobTitle: "Front-End Developer", location: { city: "Braga", state: "", country: "Portugal", }, }, { id: uuidv4(), name: "Puja Gaharwar", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/puja-gaharwar-1635711a", github: "https://github.com/pgakk", }, jobTitle: "Web Developer, Front-End Developer", location: { city: "Atlanta", state: "GA", country: "USA", }, }, { id: uuidv4(), name: "Zachary Fons", img: "https://i.imgur.com/a0tBLzl.jpg", links: { website: "http://zacharyfons.me", linkedin: "https://www.linkedin.com/in/zacharyfons", github: "https://www.github.com/nofcaz", }, jobTitle: "Front-End Web Developer/Software Engineer/UI Developer", location: { city: "Simsbury", state: "Connecticut", country: "USA", }, }, { id: uuidv4(), name: "Oliver De La Via", img: "https://i.imgur.com/B6GNZjt.jpg", links: { website: "https://www.oliverdelaviadev.com", linkedin: "https://www.linkedin.com/in/oliver-de-la-via-9bb2b39a", github: "https://www.github.com/odelavia", }, jobTitle: "Front-End Developer/Software Engineer/UI Developer", location: { city: "Arlington (DC Area)", state: "Virginia", country: "USA", }, }, { id: uuidv4(), name: "Alex Nielsen", img: "http://alexnielsen.com/wp-content/uploads/2018/02/me-bw-cropped-200x200.jpg", links: { website: "http://alexnielsen.com", linkedin: "https://www.linkedin.com/in/alex-nielsen-9a93b113", github: "https://github.com/bushbass", }, jobTitle: "Full Stack JavaScript", location: { city: "Sparta (New York City area)", state: "New Jersey", country: "USA", }, }, { id: uuidv4(), name: "Saifeddin Matoui", img: "https://k62.kn3.net/E/9/6/5/B/0/2D9.png", links: { website: "https://saifeddin1.github.io", linkedin: "https://www.linkedin.com/in/saifeddin-matoui-b34a58148", github: "https://github.com/saifeddin1", }, jobTitle: "Full stack web developer", location: { city: "Zraoua Nouvelle", state: "Gabès", country: "Tunisia", }, }, { id: uuidv4(), name: "Denise Recofka", img: "https://media.licdn.com/dms/image/C5103AQGK2vR45hNmRg/profile-displayphoto-shrink_200_200/0?e=1531958400&v=beta&t=TA6FXa3SVFcbhjcrJ47zwUiDIT6RlQYdO7w8Kuj7V2I", links: { website: "https://recofka.github.io", linkedin: "https://www.linkedin.com/in/deniserecofka", github: "https://github.com/recofka", }, jobTitle: "Front-end Developer", location: { city: "Amsterdam", state: "", country: "Netherlands", }, }, { id: uuidv4(), name: "Ik Egharevba", img: "", links: { website: "https://ik2478.github.io/myportfolio", linkedin: "https://www.linkedin.com/in/ik-egharevba", github: "https://github.com/ik2478", }, jobTitle: "Fullstack Developer", location: { city: "Chicago", state: "", country: "USA", }, }, { id: uuidv4(), name: "Slavo Popovic", img: "", links: { website: "http://www.slavo7.com", linkedin: "https://www.linkedin.com/in/slavoljub-popovic-b38404102", github: "https://github.com/slavo7", }, jobTitle: "Software Developer", location: { city: "Miami", state: "FL", country: "United States", }, }, { id: uuidv4(), name: "Krunal Bhadresha", img: "https://lh3.googleusercontent.com/CWv7hU4YNNaisjnxjQV5-Ts06QBPwelEFhVkttCCEPZcq1GjBjNyhfcYaom6lUgNtOX49izrgRB0YA=w1170-h1175-rw-no", links: { website: "", linkedin: "https://www.linkedin.com/in/krunal-bhadresha-7701a892", github: "https://github.com/krunalbhadresa", }, jobTitle: "Web Developer/Software Developer", location: { city: "Kitchener", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Ronald Fortmann", img: "https://avatars0.githubusercontent.com/u/24876060?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ronaldfortmann", github: "https://github.com/A-Sm1th", }, jobTitle: "Web Analyst/Full Stack Dev 'Student'", location: { city: "Bielefeld", state: "Nord-Rhine Westfalen", country: "Germany", }, }, { id: uuidv4(), name: "Michal Lewoc", img: "https://raw.githubusercontent.com/JavaMajk/portfolio-site/master/img/my-photo.png", links: { website: "https://javamajk.github.io/portfolio-site", linkedin: "https://www.linkedin.com/in/michal-lewoc-074615114", github: "https://github.com/JavaMajk", }, jobTitle: "Web Developer & IT Specialist", location: { city: "Bialystok, Poland", state: "New York", country: "Poland <-> USA", }, }, { id: uuidv4(), name: "Marcin Pikul", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/marcin-pikul-2a86ba120", github: "https://github.com/Pajkul", }, jobTitle: "Freelancer", location: { city: "Kraków", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Diego Salas", img: "https://scontent.flim9-1.fna.fbcdn.net/v/t1.0-9/17155983_10211022884500815_795863402198977247_n.jpg?_nc_cat=0&oh=54644d4d9cd9b4f7240834c995f1c4ce&oe=5BC44182", links: { website: "", linkedin: "https://www.linkedin.com/in/diego-salas-noain-b11837146", github: "https://github.com/DiegoSalas27", }, jobTitle: "Web developer", location: { city: "Lima", state: "Lima", country: "Perú", }, }, { id: uuidv4(), name: "Diane Leigh", img: "https://media.licdn.com/dms/image/C4E03AQFgUvSby_1jbg/profile-displayphoto-shrink_100_100/0?e=1532563200&v=beta&t=Y3Ktzlje0h70haWz50AXEeVnb1kwIiXUcFAfBdSFTx4", links: { website: "https://leighd2008.github.io/My_Profile", linkedin: "https://www.linkedin.com/in/diane-leigh-5251a275", github: "https://github.com/leighd2008", }, jobTitle: "Full Stack Developer", location: { city: "Leavittsburg", state: "Ohio", country: "USA", }, }, { id: uuidv4(), name: "Andy Lin", img: "https://www.ahsuan.com/img/profile2.jpeg", links: { website: "https://www.ahsuan.com/", linkedin: "https://www.linkedin.com/in/andy-lin-28731413b/", github: "https://github.com/TzuHsuan", }, jobTitle: "Full Stack Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Vito Mendoza", img: "https://image.ibb.co/iapLko/DSC_0019ps1.png", links: { website: "http://www.vito-mendoza.com/", linkedin: "https://www.linkedin.com/in/vitomendoza/", github: "https://github.com/VitoMendoza", }, jobTitle: "Web Developer & QA Engineer", location: { city: "Santa Cruz", state: "", country: "Bolivia", }, }, { id: uuidv4(), name: "Vijay Chacko", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/vijaychacko", github: "https://github.com/vijaychacko56", }, jobTitle: "Software Developer", location: { city: "San Francisco", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Angela Mizero", img: "https://github.com/AngieHM/AngieHM.github.io/blob/master/profile.png", links: { website: "https://angiehm.github.io", linkedin: "www.linkedin.com/in/angela-mizero", github: "https://github.com/AngieHM/", }, jobTitle: "Full stack Developer", location: { city: "Antwerp", state: "Antwerp", country: "Belgium", }, }, { id: uuidv4(), name: "Dirk Jansen van Rensburg", img: "https://dirk005.github.io/resume/images/profile.png", links: { website: "https://codepen.io/dirk005/full/QrgMJB/", linkedin: "https://www.linkedin.com/in/dirk-jansen-van-rensburg-597547120", github: "https://github.com/dirk005", }, jobTitle: "Web Developer", location: { city: "Johannesburg", state: "", country: "South Africa", }, }, { id: uuidv4(), name: "Harry Gillen", img: "https://avatars1.githubusercontent.com/u/34924822?s=460&v=4", links: { website: "http://www.harrygillen.com", linkedin: "https://www.linkedin.com/in/harrygillen", github: "https://github.com/gillenha", }, jobTitle: "Web Developer", location: { city: "Traverse City", state: "Michigan", country: "United States", }, }, { id: uuidv4(), name: "Stephen St.Pierre", img: "https://avatars1.githubusercontent.com/u/19779234?s=460&v=4", links: { website: "https://sstpierre2.github.io/", linkedin: "https://www.linkedin.com/in/stevecstpierre", github: "https://github.com/SSTPIERRE2", }, jobTitle: "Programmer Analyst", location: { city: "Boston", state: "Massachusetts", country: "United States", }, }, { id: uuidv4(), name: "Sam Alsmadi", img: "https://avatars0.githubusercontent.com/u/26729976?s=460&v=4", links: { website: "https://lntellimed.github.io/", linkedin: "https://www.linkedin.com/in/samalsmadi", github: "https://github.com/lntelliMed", }, jobTitle: "Fullstack Software Engineer", location: { city: "New York City", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Ankur Anant", img: "", links: { website: "", linkedin: "", github: "https://github.com/anantankur", }, jobTitle: "Front-End Web Developer, Android Developer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Alex Gioffre'", img: "https://avatars0.githubusercontent.com/u/27789925?s=460&v=4", links: { website: "https://nameless-inlet-32424.herokuapp.com/", linkedin: "https://www.linkedin.com/in/alex-gioffre-776105164/", github: "https://github.com/Razeft91", }, jobTitle: "Junior Web Developer", location: { city: "", state: "", country: "Italy", }, }, { id: uuidv4(), name: "Daniel Puiatti", img: "https://avatars1.githubusercontent.com/u/6855638?s=460&v=4", links: { website: "http://danskii.com", linkedin: "https://www.linkedin.com/in/daniel-puiatti-15688312/", github: "https://github.com/Danskii", }, jobTitle: "Digital Media Specialist", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Josh Broomfield", img: "https://avatars2.githubusercontent.com/u/38929259", links: { website: "", linkedin: "https://www.linkedin.com/in/josh-broomfield-62387690/", github: "https://github.com/Josh-Broomfield/", }, jobTitle: "Software Developer", location: { city: "Paris", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Daniil Osmolovskiy", img: "https://avatars0.githubusercontent.com/u/26023430?s=400&u=34d870283d7fbecf55dd737fd139d138700354cd&v=4", links: { website: "https://www.facebook.com/daniel.osmolovskiy", linkedin: "", github: "https://github.com/daniilosmolovskiy", }, jobTitle: "Web Developer", location: { city: "Kyiv", state: "", country: "Ukraine", }, }, { id: uuidv4(), name: "Gabriel Zuñiga", img: "https://scontent-sjc3-1.xx.fbcdn.net/v/t1.0-9/33788878_1608592929190092_5238537732229169152_o.jpg?_nc_cat=0&oh=fc1ab69b5c5e365bcd6136d0b61b5081&oe=5BB80DFB", links: { website: "https://www.facebook.com/gabrielzunigavasquez", linkedin: "https://www.linkedin.com/in/gabriel-zuniga-944a86116/", github: "https://github.com/gabriel585zv", }, jobTitle: "Full Stack Web Developer", location: { city: "Heredia", state: "", country: "Costa Rica", }, }, { id: uuidv4(), name: "Shane Granger", img: "https://avatars3.githubusercontent.com/u/39177669?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/shane-granger-8334b6136/", github: "https://github.com/HelmsDeap", }, jobTitle: "Full Stack Web Developer", location: { city: "Beaumont", state: "TX", country: "USA (willing to relocate!)", }, }, { id: uuidv4(), name: "YiFang Lo", img: "https://bellalo12.github.io/portfolio/static/media/bella.35be8e14.png", links: { website: "https://bellalo12.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/yifang-lo-a0a183158/", github: "https://github.com/bellalo12", }, jobTitle: "Web Developer", location: { city: "", state: "", country: "Taiwan (Willing to relocate!)", }, }, { id: uuidv4(), name: "Jobe Thomas", img: "", links: { website: "http://www.jobethomas.com", linkedin: "https://www.linkedin.com/in/jobethomas/", github: "https://github.com/DeveloperJobe", }, jobTitle: "(Full Stack/Game) Developer", location: { city: "Silver Spring", state: "MD", country: "USA (Willing to relocate!)", }, }, { id: uuidv4(), name: "Wilfred Morgan", img: "https://wilfredmorgan.com/images/wmeheadshot.jpg", links: { website: "https://wilfredmorgan.com", linkedin: "https://www.linkedin.com/in/wilfredmorgan", github: "https://github.com/wmemorgan", }, jobTitle: "Software & Data Engineer", location: { city: "Orlando", state: "FL", country: "USA", }, }, { id: uuidv4(), name: "Andre Boothe", img: "https://avatars0.githubusercontent.com/u/9014508?s=400&u=e12cfe727881743885c1ce40e595afc4e6069177&v=4", links: { website: "https://andreboothe-portfolio.herokuapp.com/", linkedin: "https://www.linkedin.com/in/andre-boothe-552b6549/", github: "https://github.com/andreboothe", }, jobTitle: "Front End React Developer", location: { city: "Kingston", state: "", country: "Jamaica (Willing to relocate!)", }, }, { id: uuidv4(), name: "Djordje Bukvic", img: "https://avatars1.githubusercontent.com/u/31882265?s=40&u=0669030af633ca5112a4ca40c0aba08a019ede4c&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/djordje-bukvic-5a0814164/", github: "https://github.com/madcoyot", }, jobTitle: "Front End Developer, React.js", location: { city: "Banja Luka", state: "", country: "Bosnia and Herzegovina (Willing to relocate!)", }, }, { id: uuidv4(), name: "Zach Sotak", img: "https://avatars0.githubusercontent.com/u/26771962?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/zachariah-sotak/", github: "https://github.com/zs1046", }, jobTitle: "Full Stack Web Developer", location: { city: "Austin", state: "Texas", country: "USA", }, }, { id: uuidv4(), name: "Ritesh Deshmukh", img: "https://avatars2.githubusercontent.com/u/22695463?s=460&v=4", links: { website: "http://riteshd.com/", linkedin: "https://www.linkedin.com/in/ritesh-deshmukh/", github: "https://github.com/ritesh-deshmukh", }, jobTitle: "Front-End Developer", location: { city: "Arlington", state: "Texas", country: "USA (Willing to relocate)", }, }, { id: uuidv4(), name: "David Ogbeide", img: "https://avatars1.githubusercontent.com/u/13965870", links: { website: "https://dogbeide.github.io", linkedin: "https://www.linkedin.com/in/david-ogbeide-037528a5/", github: "https://dogbeide.github.com", }, jobTitle: "Full Stack Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Abhinand", img: "http://findabhinand.com/images/profile-pic.jpg", links: { website: "http://www.findabhinand.com", linkedin: "https://www.linkedin.com/in/abhinand-05/", github: "https://github.com/abhinand5", }, jobTitle: "Full Stack Web Developer", location: { city: "Coimbatore", state: "Tamilnadu", country: "India", }, }, { id: uuidv4(), name: "Flavia Nunes", img: "https://scontent.fplu14-1.fna.fbcdn.net/v/t1.0-9/20664000_1985232535055509_7622612280580069264_n.jpg?_nc_cat=0&oh=e604935b16d251c7ec60c12383ebddd2&oe=5BB11B9B", links: { website: "flavianunes.github.io", linkedin: "https://www.linkedin.com/in/flanunes/", github: "https://github.com/flavianunes", }, jobTitle: "Computer sciene student, freelancer developer", location: { city: "", state: "", country: "Brazil", }, }, { id: uuidv4(), name: "Don Macarthur", img: "https://en.gravatar.com/userimage/114762270/d89de0ecb7c354950b4191d024469db3.jpeg", links: { website: "https://donatron.github.io/portfolio", linkedin: "https://www.linkedin.com/in/don-macarthur-652045a9/", github: "https://github.com/Donatron", }, jobTitle: "Web Developer", location: { city: "Gold Coast", state: "Queensland", country: "Australia", }, }, { id: uuidv4(), name: "Rahul Kumar", img: "https://media.licdn.com/dms/image/C5103AQENiohRy39XzQ/profile-displayphoto-shrink_200_200/0?e=1539820800&v=beta&t=FCh-bKc-Ag-fZqh2v-Xk_Tyfigg_zQpTBoV282tbQc0", links: { website: "https://kumarrahul123.herokuapp.com/", linkedin: "https://www.linkedin.com/in/rahul-kumar943/", github: "https://github.com/rahuls321", }, jobTitle: "Web Developer ", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Marlon Ercillo", img: "https://media.licdn.com/dms/image/C4E03AQGxX4p5AqIyNg/profile-displayphoto-shrink_100_100/0?e=1534982400&v=beta&t=oUxM2RdpAf59F1vrRnA7j7YWGJwdeVkO7dPGxl8o6yE", links: { website: "www.mercillo.com", linkedin: "https://www.linkedin.com/in/marlon-ercillo-58057596/", github: "https://github.com/mercillo", }, jobTitle: "Front End Developer", location: { city: "San Diego", state: "CA", country: "United States", }, }, { id: uuidv4(), name: "Kumar Anurag", img: "https://avatars0.githubusercontent.com/u/31153544?s=400&v=4", links: { website: "https://kmranrg.github.io/MyBlog/", linkedin: "https://www.linkedin.com/in/kmranrg", github: "https://github.com/kmranrg", }, jobTitle: "Full-Stack Web Developer", location: { city: "Delhi", state: "New Delhi", country: "India", }, }, { id: uuidv4(), name: "Gabriel Lomba Aguiar Costa", img: "https://media.licdn.com/dms/image/C5103AQEvo6KOpjKDPw/profile-displayphoto-shrink_200_200/0?e=1534982400&v=beta&t=LFwHESjCRP7p7JXDGU-3sYO_pZ0YQfhWu7lk8G8ZBRI", links: { website: "", linkedin: "https://www.linkedin.com/in/gabriel-lomba-aguiar-costa", github: "https://github.com/GabrielLomba", }, jobTitle: "Full Stack Developer", location: { city: "Juiz de Fora", state: "Minas Gerais", country: "Brazil", }, }, { id: uuidv4(), name: "Scott Whitney", img: "https://avatars0.githubusercontent.com/u/28842432?s=460&v=4", links: { website: "http://www.aslexpress.net/quizDev/", linkedin: "www.linkedin.com/in/scott-whitney", github: "https://github.com/whitneyscott", }, jobTitle: "Full-Stack Web Developer", location: { city: "Nacogdoches", state: "TX", country: "USA", }, }, { id: uuidv4(), name: "Sanidhya Samadhiya", img: "https://scontent.fbho1-1.fna.fbcdn.net/v/t1.0-0/p206x206/28167086_2018682501737168_5897662160270067359_n.jpg?_nc_cat=0&oh=7c5850e643d5f1b6b2bc335e2f682f2a&oe=5BB9B5AD", links: { website: "", linkedin: "", github: "https://github.com/sanidhya2000", }, jobTitle: "Full-Stack Web Developer", location: { city: "Guna", state: "Madhya Pradesh", country: "India", }, }, { id: uuidv4(), name: "BalalonKs", img: "", links: { website: "", linkedin: "", github: "https://github.com/BalalonKs", }, jobTitle: "Full-Stack Web Developer", location: { city: "Bangkok", state: "", country: "Thailand", }, }, { id: uuidv4(), name: "Reiz Ariva-Hale", img: "https://res.cloudinary.com/r31z/image/upload/v1459058107/1_ghor9t.jpg", links: { website: "https://frontendreiz.com/", linkedin: "https://www.linkedin.com/in/rariva-hale/", github: "https://github.com/reizariva-hale", }, jobTitle: "Front End Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "James Saligbon", img: "https://avatars1.githubusercontent.com/u/40145293?s=400&u=b772b12e1b18e4ca477b7f35a3bc29b0364996dd&v=4", links: { website: "", linkedin: "", github: "https://github.com/jsaligbon", }, jobTitle: "Software Test Engineer, Web Developer, Python Developer", location: { city: "Manila", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Randy Harkediansa", img: "https://avatars3.githubusercontent.com/u/5647602?s=460&v=4", links: { website: "http://harked.name", linkedin: "https://www.linkedin.com/in/harkediansa/", github: "https://github.com/harked", }, jobTitle: "Full stack web(Javascript) developer", location: { city: "Batam", state: "Riau Islands", country: "Indonesia", }, }, { id: uuidv4(), name: "M S Srinivas", img: "https://avatars2.githubusercontent.com/u/12976376?s=400&u=813cf8efbecc9962515b6303f57796011698c176&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/mssrinivasbhargav/", github: "https://github.com/mssrinivas", }, jobTitle: "Cloud Application Engineer", location: { city: "Hyderbad", state: "", country: "India", }, }, { id: uuidv4(), name: "Beverly Atijera", img: "https://avatars0.githubusercontent.com/u/35483525?s=460&v=4", links: { website: "beverlyatijera.com", linkedin: "https://linkedin.com/in/beverly-atijera/", github: "https://github.com/bevssss", }, jobTitle: "Web Developer|Wordpress Developer|Electronics Engineer", location: { city: "", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Brittani Gongre", img: "", links: { website: "https://brittanigongre.com", linkedin: "https://www.linkedin.com/in/brittani-gongre-2b82b982/", github: "https://github.com/bgongre", }, jobTitle: "Front End Developer|Software Developer", location: { city: "Atlanta", state: "Georgia", country: "United States of America", }, }, { id: uuidv4(), name: "Lang Gao", img: "", links: { website: "http://langgao.org", linkedin: "https://www.linkedin.com/in/lang-gao-294b1087/", github: "https://github.com/ambitiousbird", }, jobTitle: "Full Stack Web Developer|Software Engineer", location: { city: "Philadelphia", state: "Pennnsylvania", country: "United States of America", }, }, { id: uuidv4(), name: "Aviwe Ngqukumba", img: "YOUR_IMG_URL", links: { website: "https://aviwembekeni.github.io/", linkedin: "https://www.linkedin.com/in/aviwe-ngqukumba-519369150", github: "https://github.com/aviwembekeni", }, jobTitle: "Full Stack Web Developer", location: { city: "Cape Town", state: "Western Cape", country: "South Africa", }, }, { id: uuidv4(), name: "Gadfrey Balacy", img: "https://avatars3.githubusercontent.com/u/18605878?s=400&u=43ce2aa03beb74884ac1270974cd019823abcfc5&v=4", links: { website: "https://gadfrey13.github.io/portfolio/", linkedin: "www.linkedin.com/in/gadfreybalacy", github: "https://github.com/gadfrey13", }, jobTitle: "Java Developer Web Developer", location: { city: "Sacramento", state: "California", contry: "United States", }, }, { id: uuidv4(), name: "Nathan Freney", img: "https://media.licdn.com/dms/image/C5603AQFZZ5eUxdAe5A/profile-displayphoto-shrink_100_100/0?e=1536192000&v=beta&t=YoOErrwwFmwD8ZrQYhH0mIxAbxl7LQlthvV6mJ3u1gc", links: { linkedin: "https://www.linkedin.com/in/nfreney/", github: "https://github.com/nathanfr", }, jobTitle: "Data Scientist", location: { city: "Seattle", state: "Washington", country: "United States", }, }, { id: uuidv4(), name: "Pablo Weisbek", img: "https://avatars3.githubusercontent.com/u/36734796?s=400&u=4bb889fdafe7a1ba83c03dd6642db9de06f09c7b&v=4", links: { website: "https://pablowbk.github.io", linkedin: "", github: "https://github.com/pablowbk", }, jobTitle: "Front End Developer | Photographer", location: { city: "Santa Clara del Mar", state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Rocío Sirvent", img: "https://photos.app.goo.gl/E5f9qz5YCRWkdmQa8", links: { website: "", linkedin: "https://www.linkedin.com/in/miperfilenlinkedin/?locale=en_US", github: "https://github.com/Ro008", }, jobTitle: "Full stack web developer", location: { city: "Luxembourg", state: "", country: "Luxembourg", }, }, { id: uuidv4(), name: "Ihar Mashniakou", img: "https://avatars3.githubusercontent.com/u/39849452?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/%D0%B8%D0%B3%D0%BE%D1%80%D1%8C-%D0%BC%D0%BE%D1%88%D0%BD%D1%8F%D0%BA%D0%BE%D0%B2-5b0574b1/", github: "https://github.com/Iharson", }, jobTitle: "Front End Developer", location: { city: "Minsk", state: "", country: "Belarus", }, }, { id: uuidv4(), name: "Christian Marca", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/christian-marca-663605167/", github: "https://github.com/ChristianMarca", }, jobTitle: "Electronic Engineer in Telecommunications | WEB Developer", location: { city: "Cuenca", state: "", country: "Ecuador", }, }, { id: uuidv4(), name: "Sivaram Pandariganthan", img: "", links: { website: "https://sivarampg.github.io", linkedin: "https://www.linkedin.com/in/sivaram-pandariganthan-b753a2145/", github: "https://github.com/SivaramPg", }, jobTitle: "Full Stack Web Developer", location: { city: "Panvel", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Radhika Maheshwari", img: "", links: { website: "https://Radhika8818.github.io", linkedin: "https://www.linkedin.com/in/radhika-maheshwari-601a0515a/", github: "https://github.com/Radhika8818", }, jobTitle: "Full Stack Web Developer", location: { city: "Sydney", state: "New South Wales", country: "Australia", }, }, { id: uuidv4(), name: "Taiwei Ko", img: "https://3gengagement.com/wp-content/uploads/2017/10/staff-780x500-taiwei_ko.png", links: { website: "http://taiweiko.com/", linkedin: "https://www.linkedin.com/in/taiweiko/", github: "https://github.com/macgeek30", }, jobTitle: "Full Stack UI/UX Developer | Full Stack Web Developer", location: { city: "Colorado Springs", state: "Colorado", country: "USA", }, }, { id: uuidv4(), name: "Jorge Goris", img: "https://avatars3.githubusercontent.com/u/25212548?s=460&v=4", links: { website: "http://jorgegoris.com/", linkedin: "https://www.linkedin.com/in/jorge-goris/", github: "https://github.com/JorgeG1105", }, jobTitle: "Full-Stack Developer", location: { city: "Bronx", state: "NY", country: "United States", }, }, { id: uuidv4(), name: "Kaemon Lovendahl", img: "https://kaemonisland.github.io/home/resources/images/Profileglasses.jpeg", links: { website: "https://kaemonisland.github.io/home/", linkedin: "https://www.linkedin.com/in/kaemon-lovendahl-08150564/", github: "https://github.com/KaemonIsland", }, jobTitle: "Web Developer", location: { city: "Salt Lake City", state: "UT", country: "USA", }, }, { id: uuidv4(), name: "Nhan Pham", img: "#", links: { website: "#", linkedin: "https://www.linkedin.com/in/nhan-pham-7315a8148/", github: "https://github.com/vinpearland", }, jobTitle: "Front-End Developer", location: { city: "Kansas City", state: "MO", country: "USA", }, }, { id: uuidv4(), name: "Ayush Gupta", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/agpt8", github: "https://github.com/agpt8", }, jobTitle: "Full Stack Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Justin Lin", img: "https://photos.google.com/search/prom/photo/AF1QipPfkjqn0y2L8zWuqeqmZ2MBZmY5bGzav2FZ9rFE", links: { website: "", linkedin: "https://www.linkedin.com/in/justinlinw/", github: "github.com/justinwlin", }, jobTitle: "FullStack Developer | Software Engineer | Student", location: { city: "Irvine | NYC", state: "CA | NY", country: "USA", }, }, { id: uuidv4(), name: "Viaceslav Vasiljev", img: "https://www.theacshop.com/vvasiljevAvatar.jpg", links: { website: "", linkedin: "www.linkedin.com/in/vjvasiljev", github: "https://github.com/vjvasiljev", }, jobTitle: "Front End Developer", location: { city: "Klaipeda", state: "", country: "Lithuania", }, }, { id: uuidv4(), name: "Matt Gaddes", img: "", links: { website: "www.mattgaddes.com", linkedin: "https://www.linkedin.com/in/matthew-gaddes-30ba65b4/", github: "https://github.com/gaddes", }, jobTitle: "Front-end Web Developer", location: { city: "Newcastle", state: "Tyne and Wear", country: "UK", }, }, { id: uuidv4(), name: "Anish Ojha", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/anish-ojha-281a1a100", github: "https://www.github.com/Anishgoofle", }, jobTitle: "Software-Developer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Jacobo Martinez", img: "https://raw.githubusercontent.com/cobimr/cobimr.github.io/master/assets/images/profile.jpg", links: { website: "https://cobimr.github.io/", linkedin: "https://linkedin.com/in/cobimr", github: "https://github.com/cobimr", }, jobTitle: "Front-End Developer", location: { city: "Caracas", state: "", country: "Venezuela", }, }, { id: uuidv4(), name: "Brittany French", img: "https://media.licdn.com/dms/image/C5603AQGZf9jlQAIqWw/profile-displayphoto-shrink_200_200/0?e=1537401600&v=beta&t=UpkDFyEub9vZ1i8cGBbJVh5X1omTitszSRYGig6w8n8", links: { website: "", linkedin: "https://www.linkedin.com/in/brittanyfrench/", github: "https://github.com/frenchie048", }, jobTitle: "Web Developer", location: { city: "Scottsdale", state: "AZ", country: "USA", }, }, { id: uuidv4(), name: "Meet Patel", img: "https://avatars0.githubusercontent.com/u/35022070?s=400&u=b76dfbc5a10ab985fde4671a2dd55236c01a3c2d&v=4", links: { website: "https://mdpatel7.github.io", linkedin: "https://www.linkedin.com/in/mdpatel7", github: "https://github.com/mdpatel7", }, jobTitle: "Full Stack Web Developer", location: { city: "Phoenix", state: "AZ", country: "USA", }, }, { id: uuidv4(), name: "Maitreyi Thakkar", img: " ", links: { website: "https://maitreyithakkar.000webhostapp.com/", linkedin: "https://www.linkedin.com/in/maitreyithakkar/", github: "https://github.com/mthakka2", }, jobTitle: "Full Stack Developer", location: { city: "Tempe", state: "Arizona", country: "United States of America", }, }, { id: uuidv4(), name: "Efraim A. Lorenzana", img: "https://drive.google.com/open?id=1AwOIao9RBBIdhC7FRK0ZIkwOyB6OB6uZ", links: { website: "https://efraimlorenzana.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/efraim-lorenzana-4bbb2575/", github: "https://github.com/efraimlorenzana", }, jobTitle: "Full Stack Web Developer", location: { city: "Taytay", state: "Rizal", country: "Philippines", }, }, { id: uuidv4(), name: "Luca Castelnuovo", img: "https://avatars1.githubusercontent.com/u/26206253?s=400&u=acf60656ff9f2d7b8cba01001fa8e2e7ff2a03b5&v=4", links: { website: "https://lucacastelnuovo.nl", linkedin: "https://www.linkedin.com/in/ltcastelnuovo", github: "https://github.com/Luca-Castelnuovo", }, jobTitle: "Full-Stack dev in training", location: { city: "Amsterdam", state: "", country: "Netherlands", }, }, { id: uuidv4(), name: "Mark Anthony Saromines", img: "https://avatars1.githubusercontent.com/u/40188798?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/tonysaromines", github: "https://github.com/tonvlad88", }, jobTitle: "PHP Developer, Delphi Developer, Full-Stack Developer in training", location: { city: "Cebu", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Miguel Ben", img: "https://scontent-iad3-1.xx.fbcdn.net/v/t1.0-9/17796423_10154826007246077_8781580105085699644_n.jpg?_nc_cat=0&oh=3024a1cf3b3be9b901d6131011905bfc&oe=5BDF60BA", links: { website: "https://migben.github.io", linkedin: "https://www.linkedin.com/in/miguelben", github: "https://www.github.com/migben", }, jobTitle: "Front-End Dev", location: { city: "Manhattan", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Ignacio Rodrigues", img: "https://avatars2.githubusercontent.com/u/22848246?s=460&v=4", links: { website: "http://www.ignaciorodrigues.com/", linkedin: "https://www.linkedin.com/in/ignaciorodriguesoficial/", github: "https://www.github.com/IgnacioRodrigues", }, jobTitle: "UX Full Stack Developer", location: { city: "Mar del Plata", state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Weiqiang Wang", img: "https://avatars1.githubusercontent.com/u/40891002?s=400&u=ffa50586a621bc5fa14ac1fab485129031ec3129&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/为强-王-92155a166/", github: "https://github.com/Toro2018", }, jobTitle: "Javascript Engineer", location: { city: "Hangzhou", state: "Zhejiang", country: "China", }, }, { id: uuidv4(), name: "Jonathan Sou", img: "http://i64.tinypic.com/34pmlpv.jpg", links: { website: "http://www.jonathansou.com", linkedin: "https://www.linkedin.com/in/jonathan-sou-ab7738132/", github: "https://github.com/Jonaphant", }, jobTitle: "Front End Developer", location: { city: "Sacramento", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Luca Lo Forte", img: "https://avatars3.githubusercontent.com/u/26909188?s=400&u=ea2607b5e760996b7bc8cb3009baafb2f30a8732&v=4", links: { website: "https://loforteluca.github.io/", linkedin: "https://www.linkedin.com/in/luca-lo-forte-172462127/", github: "https://github.com/Pizzu", }, jobTitle: "Full Stack Web Developer & iOS Dev", location: { city: "Milan", state: "", country: "Italy", }, }, { id: uuidv4(), name: "Yelena Guliyeva", img: "https://media.licdn.com/dms/image/C5603AQEBPck0FtS4XQ/profile-displayphoto-shrink_200_200/0?e=1538006400&v=beta&t=Yx2L5tmzvvmQ9D9L_NxrfMtHzzT2NPgVasLrgnOEINg", links: { website: "https://gulbadam.github.io/Portfolio/", linkedin: "https://www.linkedin.com/in/yelena-guliyeva/", github: "https://github.com/gulbadam", }, jobTitle: "Full Stack Web Developer", location: { city: "Rocklin", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Carl-johan Landin", img: "https://scontent-arn2-1.xx.fbcdn.net/v/t1.0-9/13466497_10154160626281145_6570608543054940946_n.jpg?_nc_cat=0&oh=3e33b159e007be5b9ade772d2b393640&oe=5BD90A04", links: { website: "", linkedin: "", github: "https://github.com/carljohanlandin/ZtM-Job-Board", }, jobTitle: "Electrical engineer, Full stack web developer", location: { city: "Gothenburg", state: "", country: "Sweden", }, }, { id: uuidv4(), name: "Grigore Oleinicov", img: "http://ogrigore.com/assets/images/cm1.jpg", links: { website: "http://ogrigore.com/", linkedin: "https://www.linkedin.com/in/grigoreoleinicov/", github: "", }, jobTitle: "Front End Developer", location: { city: "Chisinau", state: "", country: "Moldova", }, }, { id: uuidv4(), name: "Hagay Hazan", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/hagayhazan/", github: "", }, jobTitle: "Software Development Engineer in Test Manager", location: { city: "Los Angeles", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "William Chance Peragine", img: "https://avatars3.githubusercontent.com/u/38982502?s=400&u=34ebd1402c29b1222e203539eb830f7ffdd97229&v=4", links: { website: "", linkedin: "", github: "https://github.com/WCPeragine", }, jobTitle: "Full Stack Developer", location: { city: "Oxford", state: "PA", country: "USA", }, }, { id: uuidv4(), name: "Satyam Dhawam", img: "", links: { website: "", linkedin: "", github: "https://github.com/satyamdhawan", }, jobTitle: "Full Stack Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Raymond Lim", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/raymonddev0/", github: "https://github.com/raymonddev0", }, jobTitle: "Full Stack Developer", location: { city: "", state: "", country: "Singapore", }, }, { id: uuidv4(), name: "Donald Haguma", img: "", links: { website: "https://www.hagthedon.com", linkedin: "https://www.linkedin.com/in/hagthedon/", github: "https://github.com/HagTheDon", }, jobTitle: "Full Stack Developer", location: { city: "Gangnam", state: "Seoul", country: "Korea (Republic of)", }, }, { id: uuidv4(), name: "David Michael Hanover", img: "https://scontent-sjc3-1.xx.fbcdn.net/v/t1.0-9/39689_424147188258_3544124_n.jpg?_nc_cat=0&oh=fe7455a0655c38d17e9e01fa4886c9b4&oe=5BDB4C47", links: { website: "http://DavidHanover89.com", linkedin: "https://linkedin.com/in/DavidHanover", github: "https://github.com/DavidHanover", }, jobTitle: "Web-Developer (Intern)", location: { city: "San Francisco", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Jayagovind.E", img: "", links: { website: "", linkedin: "www.linkedin.com/in/jayzonline", github: "https://github.com/jayagovinde", }, jobTitle: "Web-Developer", location: { city: "Kochi", state: "Kerala", country: "India", }, }, { id: uuidv4(), name: "Cedric Liu", img: "https://avatars3.githubusercontent.com/u/19866555?s=400&u=0e0ab9c654f1477d94464207bcd5dfedb7a4c3ab&v=4", links: { website: "http://cedricliu.github.io/", linkedin: "www.linkedin.com/in/cedricliu0019", github: "https://github.com/cedricliu", }, jobTitle: "Web Design/ Developer", location: { city: "Los Angeles", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Ehtisham Shahid Abbasi", img: "https://avatars0.githubusercontent.com/u/41646180?s=460&v=4", links: { website: "http://www.competeagainstme.com/", linkedin: "https://www.linkedin.com/in/ehtsham333/", github: "https://github.com/ehtsham333", }, jobTitle: "Full Stack Developer", location: { city: "Islamabad", state: "", country: "Pakistan", }, }, { id: uuidv4(), name: "Muhammed Tijani", img: "https://avatars0.githubusercontent.com/u/28782324?s=400&u=25bc95f019256adaed99f0cee69dcc8d26a4b6d8&v=4", links: { website: "http://coolzyte.com/", linkedin: "https://www.linkedin.com/in/coolzyte/", github: "https://github.com/coolzyte", }, jobTitle: "Full Stack Developer", location: { city: "", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Luberenga John", img: "https://avatars0.githubusercontent.com/u/41646180?s=460&v=4", links: { website: " ", linkedin: "https://www.linkedin.com/in/luberenga/", github: "https://github.com/john-luberenga/", }, jobTitle: "Full Stack Developer", location: { city: "Kampala", state: "", country: "Uganda", }, }, { id: uuidv4(), name: "Sean Dees", img: "https://pbs.twimg.com/profile_images/815688059211677696/nTFVI3is_400x400.jpg", links: { website: "https://seandees.tech/", linkedin: "https://ca.linkedin.com/in/sean-dees-666475105", github: "https://github.com/sdees82", }, jobTitle: "Full Stack Developer", location: { city: "Detroit", state: "Michigan", country: "United States", }, }, { id: uuidv4(), name: "Firat Tale", img: "https://media.licdn.com/dms/image/C4D03AQG4ep1f6b2KuA/profile-displayphoto-shrink_200_200/0?e=1539216000&v=beta&t=u-4n8_CP3k15CVvkSCKufdC3vYdIx_q2L5f7O3wgt5w", links: { linkedin: "https://www.linkedin.com/in/f%C4%B1rat-tale-85328013a/", github: "https://github.com/firattale", }, jobTitle: "Full Stack Web Developer", location: { city: "Istanbul", state: "", country: "Turkey", }, }, { id: uuidv4(), name: "Andrius Mankauskas", img: "https://andriusm.com/p_images/ztm_jb.JPG", links: { website: "https://andriusm.com/", linkedin: "https://www.linkedin.com/in/andrius-mankauskas-06b684163/", github: "https://github.com/Gandrius", }, jobTitle: "Web Developer", location: { city: "Vilnius", state: "", country: "Lithuania", }, }, { id: uuidv4(), name: "Andra Strachinaru", img: "", links: { website: "https://andrapetronela.github.io/andraS.github.io/", linkedin: "https://www.linkedin.com/in/andra-strachinaru/", github: "https://github.com/andrapetronela", }, jobTitle: "Web Developer", location: { city: "Luton", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Julian Rios", img: "https://avatars1.githubusercontent.com/u/10436307?s=400&u=79c7deee6fa75261de40d3ab85af9684becb2808&v=4", links: { website: "https://eastcoastninja.github.io/", linkedin: "https://www.linkedin.com/in/riosjulian/", github: "https://github.com/eastcoastninja", }, jobTitle: "Full Stack Developer", location: { city: "Philadelphia", state: "PA", country: "USA", }, }, { id: uuidv4(), name: "Asam Shan", img: "https://image.ibb.co/faPFi9/profile.png", links: { website: "https://shan5742.github.io/", linkedin: "https://www.linkedin.com/in/asamshan/", github: "https://github.com/shan5742", }, jobTitle: "Front End Developer", location: { city: "Middlesbrough", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "John Fichera", img: "https://avatars3.githubusercontent.com/u/24895699?s=460&v=4", links: { website: "", linkedin: "www.linkedin.com/in/johnpaulfichera", github: "https://github.com/JohnPaulFich", }, jobTitle: "Web Content Specialist & Marketing Coordinator", location: { city: "St. Johnsbury", state: "VT", country: "United States", }, }, { id: uuidv4(), name: "Richard Meadows", img: "https://avatars0.githubusercontent.com/u/679034?v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/richardmeadows/", github: "https://github.com/rjmead23", }, jobTitle: "Scrum Master and Web Developer", location: { city: "Portland", state: "Oregon", country: "United States", }, }, { id: uuidv4(), name: "Lawrence Fidelino", img: "https://avatars2.githubusercontent.com/u/42109686?s=400&u=94c83124dd077b0b6a09c226f2e87377afa9f619&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/lawrence-fidelino-383727153/", github: "https://github.com/lfidelino", }, jobTitle: "Full Stack Web Developer", location: { city: "Davao", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Winter Meng", img: "https://pixabay.com/p-1246611/?no_redirect", links: { website: "", linkedin: "https://www.linkedin.com/in/winter-meng-347797121/", github: "https://github.com/qm3", }, jobTitle: "Full Stack Web Developer and Software Engineer", location: { city: "Seattle", state: "Washington", country: "United States of America", }, }, { id: uuidv4(), name: "Paul Okonko", img: "https://paulokonko.com/images/contact-img.jpg", links: { website: "", linkedin: "https://www.paulokonko.com", github: "https://github.com/emppas", }, jobTitle: "Full Stack Web Developer", location: { city: "Port Harcourt", state: "Rivers", country: "Nigeria", }, }, { id: uuidv4(), name: "Stephen Lonergan", img: "https://photos.app.goo.gl/CkBYENtw5qDW7dC27", links: { website: "", linkedin: "https://www.linkedin.com/in/stephen-lonergan-8401b95a/", github: "https://github.com/lonergans", }, jobTitle: "Senior SharePoint/Full Stack Developer", location: { city: "Dublin", state: "", country: "Ireland", }, }, { id: uuidv4(), name: "Nathan Brown", img: "https://avatars1.githubusercontent.com/u/34713147?s=460&v=4", links: { website: "https://www.nathanabrown.com", linkedin: "https://www.linkedin.com/in/nathan-a-brown", github: "https://n8brown1.github.io/", }, jobTitle: "Web Developer", location: { city: "Wells", state: "Maine", country: "United States", }, }, { id: uuidv4(), name: "Cristian Iosif", img: "https://avatars1.githubusercontent.com/u/7920412?s=400&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ciosif", github: "https://github.com/cristake", }, jobTitle: "Web Developer", location: { city: "Bucharest", state: "Bucharest", country: "Romania", }, }, { id: uuidv4(), name: "Martin Fassi", img: "https://photos.app.goo.gl/eKFPLsqu2P4cJtJDA", links: { website: "", linkedin: "https://www.linkedin.com/in/martinfassi/", github: "https://github.com/mfassi", }, jobTitle: "Web Developer/Help Desk Technician", location: { city: "Catania", state: "Catania", country: "Italy", }, }, { id: uuidv4(), name: "Bucataru Eduard", img: "https://avatars3.githubusercontent.com/u/41817383?s=400&u=c228945a296d278d62c95d688c81b0c158c29a41&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/eduard-bucataru-8400ab16b/", github: "https://github.com/edybn22", }, jobTitle: "Full Full-stack developer", location: { city: "Bucharest", state: "Bucharest", country: "Romania", }, }, { id: uuidv4(), name: "Ivan Taghavi Espinosa", img: "https://avatars3.githubusercontent.com/u/28016157?s=400&v=4", links: { website: "", linkedin: "www.linkedin.com/in/ivan-taghavi-espinosa", github: "https://github.com/skatersezo", }, jobTitle: "Full-Stack Developer", location: { city: "Salzburg", state: "Salzburg", country: "Austria", }, }, { id: uuidv4(), name: "Keaton McCune", img: "https://avatars2.githubusercontent.com/u/42250790?s=400&u=5ff48ddb3fbe7a50e247958687ffc6c9b3640771&v=4", links: { website: "https://mccunex.github.io/", linkedin: "linkedin.com/in/keaton-mccune-15010616b", github: "https://github.com/mccunex", }, jobTitle: "FREELANCE FULL STACK WEB DEVELOPER", location: { city: "Salt Lake City", state: "UT", country: "United States", }, }, { id: uuidv4(), name: "Lauren Mayers", img: "https://avatars3.githubusercontent.com/u/35752699?s=460&v=4", links: { website: "https://laurenmayers.github.io/", linkedin: "https://www.linkedin.com/in/laurenmayers/", github: "https://github.com/laurenmayers", }, jobTitle: "Front-End Developer", location: { city: "Ottawa", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Pankaj Jaiswal", img: "https://scontent.fbom19-2.fna.fbcdn.net/v/t1.0-9/26730868_778419902357592_2424208913221190760_n.jpg?_nc_cat=0&oh=ac851a4e2dd91d15a6503d410d6bcf52&oe=5C208835", links: { github: "htpps://github.com/midnightgamer", }, jobTitle: "Javascript Developer", location: { city: "Mumbai", state: "Maharastra", country: "India", }, }, { id: uuidv4(), name: "Prince Ikede", img: "", links: { website: "https://funand.github.io/", linkedin: "https://www.linkedin.com/in/prince-ikede-a1396a13a/", github: "https://github.com/funand", }, jobTitle: "Software Engineer/Front-End Developer", location: { city: "New York City", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Kostiantyn Borodach", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/kostiantyn-borodach-4a3859152/", github: "https://github.com/Kostiantyn777", }, jobTitle: "Full-Stack Developer", location: { city: "Barcelona", state: "Barcelona", country: "Spain", }, }, { id: uuidv4(), name: "Ivaylo Tsochev", img: "https://www.ivaylotsochev.com/img/me.png", links: { website: "https://www.ivaylotsochev.com/", linkedin: "https://www.linkedin.com/in/ivaylotsochev/", github: "https://github.com/IvoTsochev", }, jobTitle: "Web Developer", location: { city: "Sofia", state: "Sofia", country: "Bulgaria", }, }, { id: uuidv4(), name: "Alexis San Javier", img: "http://www.alexissj.com/assets/images/blackandwhite.jpg", links: { website: "http://www.alexissj.com", linkedin: "https://www.linkedin.com/in/alexissj", github: "https://github.com/code-guy21", }, jobTitle: "Web Developer", location: { city: "Orlando", state: "FL", country: "USA", }, }, { id: uuidv4(), name: "Yassire Mtioui", img: "https://yassiremt.github.io/pf/static/media/mypic.befc31d5.jpg", links: { website: "https://yassiremt.github.io/pf/", linkedin: "https://www.linkedin.com/in/yassiremt/", github: "https://github.com/Yassiremt", }, jobTitle: "Front-end Developer", location: { city: "Fez", state: "", country: "Morocco", }, }, { id: uuidv4(), name: "Faiz Hameed", img: "https://i.postimg.cc/XNzKhnyV/DSC_6402_1_copy.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/faizhameed/", github: "https://github.com/faizhameed", }, jobTitle: "Full Stack Web-Developer", location: { city: "Kottakal", state: "Kerala", country: "India", }, }, { id: uuidv4(), name: "Saumya Sharma", img: "http://iamsaumya.co/wp-content/uploads/2018/09/download.png", links: { website: "iamsaumya.co", linkedin: "https://www.linkedin.com/in/saumya-sharma-488a4356/", github: "https://github.com/saumya010", }, jobTitle: "Front-end Developer", location: { city: "New York", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Caio Vilas Boas", img: "https://media.licdn.com/dms/image/C4D03AQGtAQ0_ZSl0Sg/profile-displayphoto-shrink_200_200/0?e=1543449600&v=beta&t=ScJg8ABsUNqIPpzA78vWEGadnaZgWbHT9HKMS1atvyQ", links: { website: "http://valutti.co,", linkedin: "https://www.linkedin.com/in/caiovilas/", github: "https://github.com/caiovilas", }, jobTitle: "Full Stack Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Carlos Samuel Hernandez", img: "https://carls13.github.io/mypage/myself.jpg", links: { website: "https://carls13.github.io/mypage/", linkedin: "https://www.linkedin.com/in/carlos-samuel-hern%C3%A1ndez-blanco-b35075152/", github: "https://github.com/Carls13", }, jobTitle: "Web Developer", location: { city: "Valencia", state: "", country: "Venezuela", }, }, { id: uuidv4(), name: "Dmitry Mironov", img: "https://media.licdn.com/dms/image/C4E03AQGCI_gPvAqKNg/profile-displayphoto-shrink_200_200/0?e=1544054400&v=beta&t=KmH6YtxhvQNxnYsJ8jiN7Wuclx3-fWveZe11xCfb4bc", links: { website: "https://www.linkedin.com/in/mironovdmitry", linkedin: "https://www.linkedin.com/in/mironovdmitry/", github: "https://github.com/antonykidis", }, jobTitle: "Web Developer", location: { city: "Tel-Aviv", state: "IL", country: "Israel", }, }, { id: uuidv4(), name: "Hamza Benzaoui", img: "https://raw.githubusercontent.com/HBenzaoui/HTML-Signature/master/images/image6.png", links: { website: "https://www.linkedin.com/in/HamzaBenzaoui", linkedin: "https://www.linkedin.com/in/HamzaBenzaoui/", github: "https://github.com/HBenzaoui", }, jobTitle: "Full-Stack JavaScript/Java Developer", location: { city: "Bab Ezzouar", state: "Algiers", country: "Algeria", }, }, { id: uuidv4(), name: "Shruti Shastri", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/shruti-shastri-307279141", github: "https://github.com/shruti49", }, jobTitle: "Front-End Developer", location: { city: "", state: "Delhi-NCR", country: "India", }, }, { id: uuidv4(), name: "Thea Mushambadze", img: "https://avatars0.githubusercontent.com/u/6440158?s=400&u=145dc909f52cac0c93f24a5e15fb22e2dc9edb5a&v=4", links: { website: "https://theamax.me/", linkedin: "www.linkedin.com/in/theamushambadze", github: "https://github.com/highflyer910", }, jobTitle: "Front-End Developer", location: { city: "Tbilisi", state: "", country: "Georgia (Remote or Willing to Relocate)", }, }, { id: uuidv4(), name: "Kennith Nichol", img: "https://secure.gravatar.com/avatar/5d8cc0c05f351bd587222bccf38380a8", links: { linkedin: "https://ca.linkedin.com/in/kennithnichol", github: "https://github.com/kennithnichol", }, jobTitle: "Remote Full Stack Developer", location: { city: "", state: "BC", country: "Canada", }, }, { id: uuidv4(), name: "Yesenia Gonzalez", img: "", links: { website: "", linkedin: "www.linkedin.com/in/yglez", github: "https://github.com/Yglez", }, jobTitle: "Full Stack Developer", location: { city: "San Diego", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Jakub Wojtyra", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/jakub-wojtyra-07b783129/", github: "https://github.com/frozenfroggie", }, jobTitle: "Full Stack Developer", location: { city: "Wrocław", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Andrew Diedrich", img: "https://i.postimg.cc/MGxfvFmm/14271_C5_F-5151-492_A-_B98_C-_CF7_BB1_DAA290.jpg", links: { website: "https://andrewdiedrich.herokuapp.com/", linkedin: "https://www.linkedin.com/in/andrew-diedrich-a0a58893/", github: "https://github.com/AndrewDiedrich", }, jobTitle: "Developer/Analyst", location: { city: "Duluth", state: "Minnesota", country: "USA", }, }, { id: uuidv4(), name: "Italo Aurelio", img: "https://i.postimg.cc/WbGXtqh0/italo-inoweb.png", links: { website: "https://www.inoweb.com.br", linkedin: "https://www.linkedin.com/in/italo-aurelio-13b97172/", github: "https://github.com/Italox", }, jobTitle: "Front-End Developer", location: { city: "Curitiba", state: "Paraná", country: "Brazil", }, }, { id: uuidv4(), name: "Vincent Yan", img: "https://github.com/envincebal/my_portfolio/blob/master/build/img/pic.jpg?raw=true", links: { website: "https://envincebal.github.io/my_portfolio/", linkedin: "https://www.linkedin.com/in/vincent-yan/", github: "https://github.com/envincebal", }, jobTitle: "Front-End Developer", location: { city: "Portland", state: "Oregon", country: "USA", }, }, { id: uuidv4(), name: "Diogo Carvalho", img: "", links: { website: "https://diogo-p-carvalho.github.io/portfolio", linkedin: "https://www.linkedin.com/in/diogo-carvalho-83a96a14a", github: "https://github.com/Diogo-P-Carvalho", }, jobTitle: "Web Developer", location: { city: "Aveiro", state: "", country: "Portugal", }, }, { id: uuidv4(), name: "Thiago Marinho", img: "https://avatars2.githubusercontent.com/u/380327?s=150&v=3", links: { website: "http://tgmarinho.com", linkedin: "https://www.linkedin.com/in/tgmarinho", github: "https://github.com/tgmarinho", }, jobTitle: "React Developer - Home Office", location: { city: "Dourados", state: "MS", country: "Brazil", }, }, { id: uuidv4(), name: "Moshe Hamiel", img: "http://moshe-hamiel.info/wp-content/uploads/0.jpg", links: { website: "http://www.moshe-hamiel.info", linkedin: "https://www.linkedin.com/in/moshe-chamuel-761433117/", github: "https://github.com/Chamuelm", }, jobTitle: "SW Developer (Student)", location: { city: "Porat", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Rafael Rojas Covarrubias", img: "https://rafaelrojascov.com/images/rafael.jpg", links: { website: "https://www.rafaelrojascov.com", linkedin: "https://www.linkedin.com/in/RafaelRojasCov", github: "https://www.github.com/RafaelRojasCov", }, jobTitle: "Front-End React Developer", location: { city: "Santiago", state: "RM", country: "Chile", }, }, { id: uuidv4(), name: "Marc Sakalauskas", img: "https://avatars3.githubusercontent.com/u/42618353?s=460&v=4", links: { website: "", linkedin: "www.linkedin.com/in/scramblelock", github: "https://www.github.com/Scramblelock", }, jobTitle: "Full Stack Web Developer", location: { city: "Montréal", state: "QC", country: "Canada", }, }, { id: uuidv4(), name: "Ahmed Hajat", img: "", links: { website: "", linkedin: "www.linkedin.com/in/ahmed-hajat", github: "https://www.github.com/AhmedH14", }, jobTitle: "Project Manager and Frontend Developer", location: { city: "Johannesburg", state: "Gauteng", country: "South Africa", }, }, { id: uuidv4(), name: "Adriano Ianase", img: "https://media.licdn.com/dms/image/C4E03AQGTfv08sv9fBA/profile-displayphoto-shrink_200_200/0?e=1543449600&v=beta&t=8V8fXTBPNah4oN2HVXp8Ybe6EeXBbIdBtxmkxxmt298", links: { linkedin: "https://www.linkedin.com/in/adriano-ianase/", github: "https://github.com/adrianomi", }, jobTitle: "Front-End Developer", location: { city: "Campo Grande", state: "Mato Grosso do Sul", country: "Brazil", }, }, { id: uuidv4(), name: "Nilkamal Shah", img: "https://media-exp2.licdn.com/dms/image/C4E03AQF_4aLCPUuTjw/profile-displayphoto-shrink_200_200/0?e=1585785600&v=beta&t=zk7nach2oBxIP9QU3mDT61hwr_fbVkxbgi8eHs4NOAo", links: { linkedin: "https://www.linkedin.com/in/nilkamal-shah/", github: "https://github.com/nilkamal", }, jobTitle: "Senior Associate Technology Experience L1", location: { city: "Bangalore", state: "Karnataka", country: "INDIA", }, }, { id: uuidv4(),
"https://avatars2.githubusercontent.com/u/41521331?s=400&u=bbce04d3a1431b93b25a3f2b01430ab6f0ae3b03&v=4", links: { website: "http://knsk.me/", linkedin: "https://www.linkedin.com/in/kaniskc/", github: "https://github.com/k-n-sk", }, jobTitle: "Software Engineer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Siegfred Balona", img: "https://static-cdn.jtvnw.net/jtv_user_pictures/b3660425-a3c6-49b6-b87a-a8d487dd37b2-profile_image-300x300.jpg", links: { linkedin: "https://www.linkedin.com/in/siegblink/", github: "https://github.com/siegblink", }, jobTitle: "Fullstack Javascript Developer", location: { city: "Cebu City", state: "Cebu", country: "Philippines", }, }, { id: uuidv4(), name: "Luis Parra", img: "https://avatars2.githubusercontent.com/u/16653744?s=400&u=44a21a2b09172c9f2d300ee51aa95c14d3c8c8b8&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/parral", github: "https://github.com/lparra", }, jobTitle: "Full-Stack Dev", location: { city: "Fort Lauderdale", state: "Florida", country: "United States of America", }, }, { id: uuidv4(), name: "Raksha Kashyap", img: "https://avatars3.githubusercontent.com/u/25738721?s=400&u=59434ae41a079765afab03854be343412e62617b&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/rakshakashyap", github: "https://github.com/kashyap-raksha", }, jobTitle: "Full-Stack Dev", location: { city: "San Jose", state: "California", country: "United States of America", }, }, { id: uuidv4(), name: "Mika Riepponen", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/mika-riepponen/", github: "https://github.com/Vrites", }, jobTitle: "Front-End Web Developer", location: { city: "Espoo", state: "", country: "Finland", }, }, { id: uuidv4(), name: "Earle Poole", img: "https://static.wixstatic.com/media/d84b47_a4583d5323484368983b364eeddf1be8~mv2_d_3170_2911_s_4_2.jpg/v1/fill/w_161,h_161,al_c,q_80,usm_0.66_1.00_0.01/d84b47_a4583d5323484368983b364eeddf1be8~mv2_d_3170_2911_s_4_2.jpg", links: { website: "http://thepoolehouse.com/", linkedin: "https://www.linkedin.com/in/earle-poole-937736115/", github: "https://github.com/Earle-Poole", }, jobTitle: "Full-Stack Dev", location: { city: "Houston", state: "TX", country: "United States of America", }, }, { id: uuidv4(), name: "Rahul Marupaka", img: "https://media.licdn.com/dms/image/C5603AQHT9YtiI461Ug/profile-displayphoto-shrink_200_200/0?e=1545868800&v=beta&t=V7VgLpQZmELkL_hdxExEXes9lOn1_oMsN7FFF8SqWwE", links: { website: "www.rahulmarupaka.github.io", linkedin: "http://www.linkedin.com/in/rahulmarupaka", github: "www.github.com/rahulmarupaka", }, jobTitle: "Front-End Developer", location: { city: "Chicago", state: "Illinois", country: "USA", }, }, { id: uuidv4(), name: "Adam Round", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/adam-round-1665367a/", github: "https://github.com/Roundy123", }, jobTitle: "Data Scientist", location: { city: "Bristol", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Udi Levy", img: "https://static.wixstatic.com/media/d84b47_01a93a21ac9a407fb2bd56ffbc719cfa~mv2_d_3200_2885_s_4_2.jpg/v1/crop/x_112,y_0,w_2880,h_2885/fill/w_225,h_225,al_c,q_80,usm_0.66_1.00_0.01/d84b47_01a93a21ac9a407fb2bd56ffbc719cfa~mv2_d_3200_2885_s_4_2.webp", links: { website: "", linkedin: "https://www.linkedin.com/in/udi-levy-187865115/", github: "https://github.com/Udi18", }, jobTitle: "Full Stack Web Developer", location: { city: "Houston", state: "Texas", country: "USA", }, }, { id: uuidv4(), name: "Uriel Hayon", img: "https://instagram.faep11-1.fna.fbcdn.net/vp/15a806cc0355ab0df6233dcb220e863c/5C89B2E4/t51.2885-19/11377620_961066340581973_1665338264_a.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/uriel-hayon-4354626b/", github: "https://github.com/uhayon", }, jobTitle: "Full Stack Developer (Front End mainly)", location: { city: "CABA", state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Ruslan Anisimov", img: "https://media.licdn.com/dms/image/C5603AQFwm7MvgdqNlQ/profile-displayphoto-shrink_200_200/0?e=1546473600&v=beta&t=o2rX9xoGqLZMDNZWPiueErACYr7b_ezYmzwTgRYFvFk", links: { website: "http://ruslananisimov.com", linkedin: "https://www.linkedin.com/in/ruslan-anisimov/", github: "https://github.com/napvlm", }, jobTitle: "Front-end Developer", location: { city: "Kyiv", state: "", country: "Ukraine", }, }, { id: uuidv4(), name: "Michael Hill", img: "https://avatars0.githubusercontent.com/u/40850298?s=400&u=18b0309d1c4c08d1fe5cfbd0feb60039b5a141bf&v=4", links: { website: "", linkedin: "", github: "https://github.com/mk-hill", }, jobTitle: "Web Developer", location: { city: "Little Rock", state: "Arkansas", country: "USA", }, }, { id: uuidv4(), name: "John Davis", img: "https://avatars0.githubusercontent.com/u/1872844?s=400&u=164c5898d4246358676e04450a4b9eed792108cb&v=4", links: { website: "tidyneat.com", linkedin: "https://www.linkedin.com/in/johnjaydavis/", github: "https://github.com/512jay", }, jobTitle: "Developer", location: { city: "Washington", state: "DC", country: "USA", }, }, { id: uuidv4(), name: "Gil Weinstock", img: "https://avatars1.githubusercontent.com/u/37132245?s=400&u=cc8b69cae1e4c6f6e6394a3b297df7fa60c94bac&v=4", links: { website: "https://gildw.com", linkedin: "https://www.linkedin.com/in/gilweinstock/", github: "https://github.com/cippero", }, jobTitle: "Full Stack Developer (JS/TS/Python/C#)", location: { city: "Seattle", state: "WA", country: "USA", }, }, { id: uuidv4(), name: "Joachim Tranvag", img: "https://tranjog.github.io/safari/img/profilepic.jpg?raw=true", links: { website: "http://rafikiweb.com/", linkedin: "https://www.linkedin.com/in/joachimtra/", github: "https://github.com/tranjog", }, jobTitle: "Web and Digital Systems Developer", location: { city: "Exeter", state: "Devon", country: "United Kingdom", }, }, { id: uuidv4(), name: "Matheus Souza", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/matheus-h-souza/", github: "https://github.com/Teraus", }, jobTitle: "Web, C++ and Java Developer", location: { city: "Brasília", state: "Federal District", country: "Brazil", }, }, { id: uuidv4(), name: "Marco Sciortino", img: "https://sciortino-mrc.netlify.com/static/media/photo.5ae776c5.jpg", links: { website: "http://sciortino-mrc.netlify.com", linkedin: "https://www.linkedin.com/in/marco-sciortino-429938155/", github: "https://github.com/sciortinomrc", }, jobTitle: "Full Stack Javascript Web Dev, C#", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Ariel Tan", img: "https://media.licdn.com/dms/image/C5603AQHBlxdQPIa1nA/profile-displayphoto-shrink_200_200/0?e=1547078400&v=beta&t=06c7i75kKLmY8d2tKcTHgAyHWCmcu-gOVEC4NjGXcno", links: { website: "", linkedin: "https://www.linkedin.com/in/ariel-tan-67123b124/", github: "https://github.com/arieltan18", }, jobTitle: "Junior Web & Mobile Developer", location: { city: "", state: "", country: "Malaysia", }, }, { id: uuidv4(), name: "Swaroop S", img: "https://scontent-maa2-1.xx.fbcdn.net/v/t31.0-1/c2.0.960.960/p960x960/18209164_1116442258459101_6526383771619593096_o.jpg?_nc_cat=105&_nc_ht=scontent-maa2-1.xx&oh=9a3419b1e6589d6655700c557c61ceb9&oe=5C40EE2E", links: { website: "", linkedin: "https://www.linkedin.com/in/swaroop-sambhayya-72757a136/", github: "https://github.com/SwaroopSambhayya", }, jobTitle: "Full stack Android and Web Developer", location: { city: "", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Hareth Naji", img: "https://lh6.googleusercontent.com/t9VL3Ru-F44W5s_eQ8rhx-UHtYu_iE6BGDtvdyj6FBOVMZV6WvltFWBfASO4HADgvc6tukAqzJ1C0Q=w1432-h892", links: { website: "", linkedin: "https://www.linkedin.com/in/hareth-naji/", github: "https://github.com/hazzaldo", }, jobTitle: "Full stack (React) Web Developer and iOS developer", location: { city: "", state: "Warwickshire", country: "United Kingdom", }, }, { id: uuidv4(), name: "Kush Daga", img: "https://github.com/kush-daga/image/blob/master/image.png", links: { website: "kush-daga.github.io", linkedin: "www.linkedin.com/in/kush-d-63a310111", github: "https://github.com/kush-daga", }, jobTitle: "Full stack Web Developer", location: { city: "Patiala", state: "Punjab", country: "India", }, }, { id: uuidv4(), name: "Michael Legemah", img: "https://pbs.twimg.com/profile_images/717020237070221312/4Jcm3TnZ_400x400.jpg", links: { website: "https://mikelegemah5799.github.io/mikelegemah5799/", linkedin: "https://www.linkedin.com/in/michaellegemah/", github: "https://github.com/MikeLegemah5799", }, jobTitle: "Senior Front End Web Engineer", location: { city: "New York", state: "NY", country: "United States", }, }, { id: uuidv4(), name: "Paul Vargas", img: "http://vargasdev.com/images/Paul1_CircleOrange.png", links: { website: "http://vargasdev.com/", linkedin: "", github: "https://github.com/PaulVargasDev", }, jobTitle: "Web Developer (WordPress, React.js, Node.js)", location: { city: "", state: "", country: "Bolivia (Willing to Relocate or Work Remotely)", }, }, { id: uuidv4(), name: "Sherin Binu", img: "https://avatars1.githubusercontent.com/u/22068550?s=400&u=5ed15f9e5641e30c5a6543f198fcff55500b10ab&v=4", links: { website: "https://sherondale.me", linkedin: "https://www.linkedin.com/in/sherin-binu-75291a126/", github: "https://github.com/SherOnDale", }, jobTitle: "Full Stack Developer", location: { city: "Chennai", state: "Tamil Nadu", country: "India", }, }, { id: uuidv4(), name: "Daniel Roberts", img: "https://avatars3.githubusercontent.com/u/18223722", links: { website: "", linkedin: "https://www.linkedin.com/in/beardofdan/", github: "https://github.com/BeardOfDan", }, jobTitle: "Full Stack Web Developer", location: { city: "Bay Area", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Harsh Patel", img: "https://avatars3.githubusercontent.com/u/41349472?s=460&v=4", links: { website: "harshpatel.io", linkedin: "https://www.linkedin.com/pateltharsh/", github: "https://github.com/Zeztron", }, jobTitle: "Full Stack Web Developer", location: { city: "Columbus", state: "OH", country: "USA", }, }, { id: uuidv4(), name: "Joel Rumble", img: "https://avatars3.githubusercontent.com/u/18223722", links: { website: "https://www.joelandrewrumble.co.uk", linkedin: "https://www.linkedin.com/in/joel-rumble-17b554157", github: "", }, jobTitle: "Full Stack Web Developer", location: { city: "", state: "Dorset", country: "United Kingdom", }, }, { id: uuidv4(), name: "Harshit Mahajan", img: "https://avatars2.githubusercontent.com/u/34333099?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/hmahajan99", github: "https://github.com/hmahajan99", }, jobTitle: "Full Stack Web Developer/ Data Scientist", location: { city: "", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Kwanwoo (Steven) Jeong", img: "https://bquagq.bn.files.1drv.com/y4m6exJenQbE8UUae807UkgH5Jfmfvvhkj247iW3FGLy-UU95O--cyj4mtI4W4QPCdT64lBSNIkoFHYuAFRCofCiE9J1xdWJHkc2mJQzDq1XMF2vTFjDASc5T0sd43h_hnVVLSAoKEMRKNyK2Wl1F7LMOWTvB19vmWkWhgky1QmxJkdUCny6HIkVRMkuPwHvfd4ANCUSji3RY1vMmdm6PgEqg?width=642&height=616&cropmode=none", links: { website: "http://www.kwanwoo.me", linkedin: "https://www.linkedin.com/in/kwanwoo-jeong-48699483/", github: "https://github.com/kwanwooi25", }, jobTitle: "Full-stack Web Developer", location: { city: "Seoul", state: "", country: "Korea", }, }, { id: uuidv4(), name: "Vignesh Kaliyamoorthy", img: "https://avatars2.githubusercontent.com/u/26570662?v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/vignesh-kaliyamoorthy-24006a100/", github: "https://github.com/vigneshkaliyamoorthy", }, jobTitle: "Front-End Web Developer & SharePoint Developer", location: { city: "Chennai", state: "Tamilnadu", country: "India", }, }, { id: uuidv4(), name: "Tzu-Ching Chen", img: "https://avatars1.githubusercontent.com/u/45002821", links: { website: "", linkedin: "https://www.linkedin.com/in/ginnnnnn/", github: "https://github.com/ginnnnnn/", }, jobTitle: "Front-End Web Developer ", location: { city: "Adelide", state: "South Australia", country: "Australia", }, }, { id: uuidv4(), name: "Brian MacPherson", img: "https://avatars2.githubusercontent.com/u/36687746?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/brian-macpherson-414b6126/", github: "https://github.com/brimac1634", }, jobTitle: "Full Stack Developer and Project Manager", location: { city: "Hong Kong", state: "", country: "Hong Kong", }, }, { id: uuidv4(), name: "Wilfred Erdo A. Bancairen", img: "https://media.licdn.com/dms/image/C5603AQEBwBfeK6WvSQ/profile-displayphoto-shrink_200_200/0?e=1549497600&v=beta&t=MaS6fplYlejlV4ue5ImGCEOrn7JIFm1OBKRjsKTLJoo", links: { website: "to be updated", linkedin: "https://www.linkedin.com/in/wilfred-erdo-bancairen-54887939/", github: "https://github.com/wilfred05777", }, jobTitle: "Software Developer", location: { city: "Carmen", state: "Davao Del Norte", country: "Philippines", }, }, { id: uuidv4(), name: "Robert Stamate", img: "https://media.licdn.com/dms/image/C5603AQF7t_i2Uq2Vig/profile-displayphoto-shrink_200_200/0?e=1550102400&v=beta&t=FIG8s3SOWMFqWN0LqRLkbV2xmIHmVDA_BGSS9JAeHjY", links: { website: "https://valkyr-development.com/", linkedin: "https://www.linkedin.com/in/rmstamate/", github: "https://github.com/roberthugsy/", }, jobTitle: "Fullstack Developer", location: { city: "Cluj-Napoca", state: "Cluj", country: "Romania", }, }, { id: uuidv4(), name: "Tony Nguyen", img: "https://avatars1.githubusercontent.com/u/36907562?s=400&u=8fdd44b69baf5600d50a6ea6d5e883c4f31151c7&v=4", links: { website: "https://tonynguyen111997.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/tonynguyen111997/", github: "https://github.com/tonynguyen111997", }, jobTitle: "Web Developer", location: { city: "San Bernardino", state: "California", country: "United States of America", }, }, { id: uuidv4(), name: "Andrés Cruz", img: "https://pbs.twimg.com/profile_images/1029210892624384000/hHQTuI96_400x400.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/profileandrescruz/", github: "https://github.com/andres-cruz", }, jobTitle: "Full Stack Developer", location: { city: "Buenos Aires", state: "", country: "Argentina", }, }, { id: uuidv4(), name: "Josef Bnm", img: "https://avatars0.githubusercontent.com/u/20369582?s=460&v=4", links: { website: "https://ycf-dev.herokuapp.com/", linkedin: "https://www.linkedin.com/in/josef-bnm-692392123/", github: "https://github.com/YoucefBnm", }, jobTitle: "Front-end Web Developer", location: { city: "Oran", state: "Oran", country: "Algeria (willin to relocate)", }, }, { id: uuidv4(), name: "Vanessa Wang", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/vanessawpwang/", github: "https://github.com/sanguliupo", }, jobTitle: "Front-end Web Developer", location: { city: "San Francisco", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Darnell Hedrick", img: "https://pbs.twimg.com/profile_images/990422694717001728/3xT7u7rD_400x400.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/darnell-hedrick-962b65176/", github: "https://github.com/DarrnyH", }, jobTitle: "Full Stack Developer(MERN) ", location: { city: "", state: "Mississippi", country: "United States", }, }, { id: uuidv4(), name: "Sina Moraddar", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/sina-moraddar-851708177/", github: "https://github.com/sinamoraddar", }, jobTitle: "Full Stack Web Developer", location: { city: "Shahriar", state: "Tehran", country: "Iran", }, }, { id: uuidv4(), name: "Pankaj Aagjal", img: "https://avatars0.githubusercontent.com/u/15609300?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/aagjalpankaj/", github: "https://github.com/aagjalpankaj/", }, jobTitle: "Full Stack Web Developer", location: { city: "Pune", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Kritika Sharma", img: "https://avatars2.githubusercontent.com/u/35176749?s=400&u=49691a090c52d6d0ae9315f746fc41595b584e51&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/kritika-sharma-8a65687a/", github: "https://github.com/KritikaSharmaKS/", }, jobTitle: "Full Stack Developer", location: { city: "Montreal", state: "Quebec", country: "Canada", }, }, { id: uuidv4(), name: "Yasser Dalouzi", img: "https://scontent-mrs1-1.xx.fbcdn.net/v/t1.0-9/21430280_1880453648948406_5484250295324615463_n.jpg?_nc_cat=100&_nc_ht=scontent-mrs1-1.xx&oh=aca8eaefeb26abbc38887a9a9b4dfc1a&oe=5C95D59D", links: { website: "", linkedin: "https://www.linkedin.com/in/yasserdalouzi/", github: "https://github.com/yvsser1/", }, jobTitle: "Full Stack Web Developer", location: { city: "Casablanca", state: "", country: "Morocco", }, }, { id: uuidv4(), name: "YIXUN LI", img: "https://miro.medium.com/fit/c/240/240/1*KCzB9vChbnmayxAyPmGDmg.jpeg", links: { website: "", linkedin: "https://www.linkedin.com/in/yixun-li-4b979ba3/", github: "https://github.com/yx8", }, jobTitle: "Full Stack Developer", location: { city: "Melbourne", state: "Victroia", country: "Australia", }, }, { id: uuidv4(), name: "David Bordeleau", img: "https://avatars3.githubusercontent.com/u/37828192?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/david-bordeleau-a39434156/", github: "https://github.com/davidbordeleau", }, jobTitle: "Full Stack Web Developer", location: { city: "Den Haag", state: "South Holland", country: "Netherlands", }, }, { id: uuidv4(), name: "Shinyuy Marcel Fonyuy", img: "https://s.cdpn.io/profiles/user/2737087/512.jpg?1546210786", links: { website: "https://shinyuy.github.io", linkedin: "www.linkedin.com/in/shinyuy-marcel-fonyuy-710a38169", github: "https://github.com/shinyuy", }, jobTitle: "Full-Stack Web Developer", location: { city: "Yaounde", state: "Centre", country: "Cameroon", }, }, { id: uuidv4(), name: "David Nowak", img: "https://avatars1.githubusercontent.com/u/22338256?s=400&u=28db2b90b819ad52c31c6a793005b5603240660c&v=4", links: { website: "https://davidpnowak.com", linkedin: "https://www.linkedin.com/in/davidpnowak/", github: "https://github.com/Confidenceiskey", }, jobTitle: "Front-End Developer", location: { city: "", state: "", country: "Canada", }, }, { id: uuidv4(), name: "Jared Gentry", img: "https://media.licdn.com/dms/image/C4E03AQF073t25rLyWA/profile-displayphoto-shrink_200_200/0?e=1551916800&v=beta&t=HxCnXtEBTirSCI33Az5cEAdoVVq_pP08m3RDdEtB2p4", links: { website: "https://jcgentr.github.io/", linkedin: "https://www.linkedin.com/in/jared-gentry-48923b113/", github: "https://github.com/jcgentr", }, jobTitle: "Full Stack Developer", location: { city: "Columbia", state: "South Carolina", country: "United States", }, }, { id: uuidv4(), name: "Roye Kott", img: "https://avatars1.githubusercontent.com/u/29805128?s=400&v=4", links: { website: "http://royekott-portfolio.ml/", linkedin: "https://www.linkedin.com/in/roye-kott-891561106/", github: "https://github.com/royekott", }, jobTitle: "Full Stack Developer", location: { city: "Emek Yizrael", state: "North", country: "Israel", }, }, { id: uuidv4(), name: "Alain Dimabuyo", img: "https://avatars2.githubusercontent.com/u/15050664?s=460&v=4", links: { website: "https://www.behance.net/alaindimabuyo", linkedin: "https://www.linkedin.com/in/alaindimabuyo/", github: "https://github.com/alaindimabuyo", }, jobTitle: "Front-End Web Developer", location: { city: "San Fernando", state: "Pampanga", country: "Philippines", }, }, { id: uuidv4(), name: "Pratyakash Saini", img: "https://avatars1.githubusercontent.com/u/13645745?s=400&u=cc315e581c698af75c0d2fd089aab27ae2fa5d43&v=4", links: { website: "https://pratyakash.github.io/", linkedin: "https://www.linkedin.com/in/pratyakash-s-saini-038639106", github: "https://github.com/pratyakash", }, jobTitle: "Front-End Web Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Baddeley, Robert", img: "https://avatars2.githubusercontent.com/u/46244948?s=400&u=d3103d7aff9f8bb1cb4f8b1268c43bd0162c0d3b&v=4", links: { website: "https://waffleflopper.github.io/", linkedin: "https://www.linkedin.com/in/robert-baddeley-32ba63177/", github: "https://github.com/waffleflopper", }, jobTitle: "Full-Stack Developer (Currently Respiratory Therapist, Career Changing)", location: { city: "Honolulu", state: "Hawaii", country: "UNited States", }, }, { id: uuidv4(), name: "Neetish Pathak", img: "https://pbs.twimg.com/profile_images/3036362618/583ba4b504a3c54698f368d41bb8cf52_400x400.jpeg", links: { website: "https://neetishpathak.github.io/", linkedin: "https://www.linkedin.com/in/neetish-pathak-63024131/", github: "https://github.com/NeetishPathak", }, jobTitle: "Software and Systems Engineer", location: { city: "San Jose", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Cyryll Galon", img: "https://media.licdn.com/dms/image/C4D03AQECRGT3lp9axw/profile-displayphoto-shrink_200_200/0?e=1552521600&v=beta&t=Rg3feXVltdGPeGfd5C8CYdBR6qt50D_owbTaHfUFiqs", links: { website: "https://galoncyryll.github.io/website-portfolio/", linkedin: "https://www.linkedin.com/in/cyryll-joseph-galon-461710147/", github: "https://github.com/galoncyryll", }, jobTitle: "Software Developer", location: { city: "Bakersfield", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Sai Adarsh Babu Kuruvella", img: "", links: { website: "https://saiadarsh.github.io/", linkedin: "https://www.linkedin.com/in/saiadarsh/", github: "https://github.com/saiadarsh", }, jobTitle: "Software Engineer/Developer", location: { city: "Columbia", state: "South Carolina", country: "United States", }, }, { id: uuidv4(), name: "Annie Anna Belkin", img: "https://scontent.fhfa1-2.fna.fbcdn.net/v/t1.0-9/18664556_1102362763229333_8612792483817153454_n.jpg?_nc_cat=105&_nc_ht=scontent.fhfa1-2.fna&oh=2eaddf5cc576a8e71fbe4538e2e36de6&oe=5CC31CA0", links: { website: "https://amplace.co.il/", linkedin: "https://www.linkedin.com/in/anniebelkin/", github: "https://github.com/anniebelkin", }, jobTitle: "Front-end Developer", location: { city: "Beer-Sheva", state: "South", country: "Israel", }, }, { id: uuidv4(), name: "Morten Kose", img: "https://avatars3.githubusercontent.com/u/25040343?s=460&v=4", links: { website: "https://mortenkose.com/", linkedin: "https://www.linkedin.com/in/morten-kose/", github: "https://github.com/mortenkos", }, jobTitle: "Front End Developer", location: { city: "Tartu", state: "Tartumaa", country: "Estonia", }, }, { id: uuidv4(), name: "Kyrolos Magdy", img: "https://cdn1.imggmi.com/uploads/2019/1/14/3b2a92c40be00f96e1507bc93621b851-full.jpg", links: { website: "https://kyrolos.github.io/Myportofolio/", linkedin: "https://www.linkedin.com/in/kyrolos-magdy-575055163/", github: "https://github.com/kyrolos", }, jobTitle: "Senior web developer", location: { city: "Ismailia", state: "", country: "Egypt", }, }, { id: uuidv4(), name: "Frank Holder", img: "https://media.licdn.com/dms/image/C4D03AQG8utwt_Dqy-Q/profile-displayphoto-shrink_200_200/0?e=1553126400&v=beta&t=a1wboqyAS37HwMZlv4a22TczOiXpM7ahKo6RgRRT-AA", links: { website: "", linkedin: "https://www.linkedin.com/in/nigel-h-9a6165144/", github: "https://github.com/knarf118", }, jobTitle: "Software Developer", location: { city: "", state: "", country: "Barbados", }, }, { id: uuidv4(), name: "Redwan Jemal", img: "https://media.licdn.com/dms/image/C5603AQHJo4aayBxDIA/profile-displayphoto-shrink_200_200/0?e=1553126400&v=beta&t=Pb6rlHfQcWcRsN7h3ItEF-G1OGTBI5YhJ3Yuia44wPw", links: { website: "", linkedin: "https://www.linkedin.com/in/redwan-jemal/", github: "https://github.com/redwanJemal/", }, jobTitle: "Full Stack Web Developer", location: { city: "Addis Ababa", state: "", country: "Ethiopia", }, }, { id: uuidv4(), name: "Richard Widjaya", img: "https://media.licdn.com/dms/image/C5103AQHAsBPWl0NLsQ/profile-displayphoto-shrink_200_200/0?e=1553126400&v=beta&t=byPaOxuWdyTrs-gxD1_C8VQtaL3z7oM5yu3FLpOaJAY", links: { website: "", linkedin: "https://www.linkedin.com/in/richard-widjaya-3a658614b/", github: "https://github.com/ricwidjaya", }, jobTitle: "Digital Marketer", location: { city: "Taipei", state: "", country: "Taiwan", }, }, { id: uuidv4(), name: "Daniel Millier", img: "https://scontent-yyz1-1.xx.fbcdn.net/v/t1.0-9/34725849_10215131977726516_496494658889711616_n.jpg?_nc_cat=109&_nc_ht=scontent-yyz1-1.xx&oh=59b4e61202778b077a3d58689d5dab27&oe=5CBD78AC", links: { website: "https://danielmillier.carrd.co", linkedin: "https://www.linkedin.com/in/danjmillier/", github: "https://github.com/unknownfearng", }, jobTitle: "Web Developer", location: { city: "Kingston", state: "", country: "Canada", }, }, { id: uuidv4(), name: "Hugh Caluscusin", img: "https://avatars0.githubusercontent.com/u/18341500?s=460&v=4", links: { website: "https://www.melodiccrypter.com", linkedin: "https://www.linkedin.com/in/hughcaluscusin/", github: "https://github.com/MelodicCrypter", }, jobTitle: "Software Developer", location: { city: "Cebu", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Patrick Olvera", img: "https://www.patrickolvera.com/images/round-head-shot.png", links: { website: "https://www.patrickolvera.com/", linkedin: "https://www.linkedin.com/in/patrick-olvera/", github: "https://github.com/patrickolvera", }, jobTitle: "Front End Web Developer", location: { city: "Minneapolis", state: "MN", country: "USA", }, }, { id: uuidv4(), name: "Martyna Sarbak", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/martynasarbak/", github: "https://github.com/martynasarbak", }, jobTitle: "Software Developer", location: { city: "Warsaw", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Louis Beul", img: "", links: { linkedin: "https://www.linkedin.com/in/louis-beul-186108175/", github: "https://github.com/LBeul", }, jobTitle: "Web Developer", location: { city: "Rehe", state: "Westwood Forest", country: "Germany", }, }, { id: uuidv4(), name: "Fahad Zakir", img: "https://i.imgur.com/6OGHnLz.jpg", links: { website: "http://www.fahadzakir.com", linkedin: "https://www.linkedin.com/in/fahad-zakir", github: "https://github.com/fahad-zakir", }, jobTitle: "Front-End Developer", location: { city: "Chicago", state: "IL", country: "US", }, }, { id: uuidv4(), name: "Sophia Brandt", img: "https://i.imgur.com/r3JxfZN.jpg", links: { website: "https://sophiabrandt.com", linkedin: "https://www.linkedin.com/in/sophiabrandt", github: "https://github.com/sophiabrandt", }, jobTitle: "Web Developer", location: { city: "Dortmund", state: "NRW", country: "Germany", }, }, { id: uuidv4(), name: "Thaer Shakhshir", img: "https://ibb.co/jy1Wkxz", links: { website: "", linkedin: "https://www.linkedin.com/in/tshakhshir/", github: "https://github.com/ThaerMun", }, jobTitle: "Front End Developer", location: { city: "St.John's", state: "Newfoundland", country: "Canada", }, }, { id: uuidv4(), name: "Jack Meyer", img: "https://scontent-ort2-2.xx.fbcdn.net/v/t1.0-9/37812874_10160704243520344_4682453803721555968_n.jpg?_nc_cat=110&_nc_ht=scontent-ort2-2.xx&oh=a4f8394ff0bc99355cbf018dd3f64ba0&oe=5CF34C11", links: { website: "http://www.jackvmeyer.com", linkedin: "https://www.linkedin.com/in/jack-v-meyer/", github: "https://github.com/meyer744", }, jobTitle: "Front End Web Developer", location: { city: "Troy", state: "Ohio", country: "USA", }, }, { id: uuidv4(), name: "Olakunle Makanjuola", img: "https://share.icloud.com/photos/01UqN19xobH_Nyuc-j4zx6jVA#Lagos", links: { website: "https://macrichie.github.io/", linkedin: "https://www.linkedin.com/in/olakunle-makanjuola-7971155a/", github: "https://github.com/Macrichie", }, jobTitle: "Javascript Developer / Tech Recruiter", location: { city: "Lekki", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Taulant Shametaj :)", img: "https://avatars2.githubusercontent.com/u/45207786?s=400&u=2444f25b1917724d33457950a7c23c8a6dad4f07&v=4", links: { website: "https://shametaj.github.io", linkedin: "https://gr.linkedin.com/in/taulant-shametaj-6518a191", github: "https://github.com/shametaj", }, jobTitle: "Web Developer", location: { city: "Saarbrücken", state: "", country: "Germany", }, }, { id: uuidv4(), name: "Usman Jamil", img: "http://usmanjamil.co.uk/wp-content/uploads/2016/12/1-Usman-Jamil-300x300.jpg", links: { website: "http://usmanjamil.co.uk", linkedin: "https://www.linkedin.com/in/usmaanj/", github: "https://github.com/usmanj", }, jobTitle: "Full-Stack Developer (JavaScript, C#)", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Waheed Afolabi", img: "https://avatars.io/twitter/checkwithwaheed", links: { website: "", linkedin: "https://www.linkedin.com/in/waheed-afolabi/", github: "https://github.com/wptechprodigy", }, jobTitle: "Fullstack Software Developer", location: { city: "", state: "Lagos", country: "Nigeria (Open to Remote & Willing to Relocate)", }, }, { id: uuidv4(), name: "Jim Wright", img: "", links: { website: "https://diskomotech.github.io", linkedin: "https://www.linkedin.com/in/jimwright808/", github: "https://github.com/diskomotech", }, jobTitle: "Front-End Developer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Joshua Curry", img: "https://lucidbeaming.net/assets/img/avatar.jpg", links: { website: "https://lucidbeaming.net/", linkedin: "https://www.linkedin.com/in/lucidbeaming/", github: "https://github.com/lucidbeaming", }, jobTitle: "Full stack developer", location: { city: "San Jose", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Natalia Quiroz Yoffe", img: "https://media.licdn.com/media-proxy/ext?w=800&h=800&f=n&hash=otDvMyUuQrHEompXJmLnseNzCKA%3D&ora=1%2CaFBCTXdkRmpGL2lvQUFBPQ%2CxAVta9Er0Vinkhwfjw8177yE41y87UNCVordEGXyD3u0qYrdfyTucMKMcOSnuV0WfC8ckQVnfPKgRWGyD5K-KIvsL9x5jJHsII24ZxUBbFI8lW4", links: { website: "", linkedin: "https://www.linkedin.com/in/natiquirozyoffe", github: "https://github.com/nquiroz", }, jobTitle: "Full Stack Developer (Java, Javascript, Css, Angular)", location: { city: "Asunción", state: "Central", country: "Paraguay", }, }, { id: uuidv4(), name: "Kundan Shrivastav", img: "https://imgsafe.org/image/e2a52900bc", links: { website: "", linkedin: "https://www.linkedin.com/in/kundanshrivastav/", github: "https://github.com/Kshriva1", }, jobTitle: "Software Developer", location: { city: "Binghamton(Open for relocation across US)", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Carlos S. Nah Jr.", img: "https://avatars2.githubusercontent.com/u/20514920?s=460&v=4", links: { website: "https://ra9.github.io", linkedin: "https://linkedin.com/in/carlos-nah", github: "https://github.com/ra9", }, jobTitle: "Fullstack Developer", location: { city: "Monrovia(Open for relocation)", state: "Montserrado", country: "Liberia", }, }, { id: uuidv4(), name: "Kye James Davey", img: "https://avatars2.githubusercontent.com/u/10793626?s=460&v=4", links: { website: "https://arrogantgeek.com", linkedin: "https://www.linkedin.com/in/kyedavey", github: "https://github.com/kyedavey", }, jobTitle: "Full Stack Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Vignesh Manishankar", img: "https://media.licdn.com/dms/image/C4E03AQEyjilKbRcbaQ/profile-displayphoto-shrink_200_200/0?e=1555545600&v=beta&t=7tcX_W4MmmE45udTsOyZ4buctnLPp8TTt6BXuvVCco0", links: { website: "https://vignesh17.github.io/ME/", linkedin: "https://www.linkedin.com/in/vignesh-manishankar/", github: "https://github.com/vignesh17", }, jobTitle: "Fullstack Developer", location: { city: "San Ramon(Open for relocation)", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Michael Zaleski", img: "https://avatars2.githubusercontent.com/u/5598052?s=460&v=4", links: { website: "https://www.mikezaleski.com/", linkedin: "https://www.linkedin.com/in/michael-zaleski-b52b50161/", github: "https://github.com/multisonic", }, jobTitle: "Full Stack Developer", location: { city: "New York", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Ilan Melki", img: "https://media.licdn.com/dms/image/C4E03AQHSZt3lwFF0Mw/profile-displayphoto-shrink_200_200/0?e=1555545600&v=beta&t=kWX8oohe1S8ff_WCV86NFuzpj_A3f_Bao85Ch665dCM", links: { website: "https://www.facebook.com/Milkyahu/", linkedin: "https://www.linkedin.com/in/ilan-melki/", github: "https://github.com/iMelki", }, jobTitle: "Junior Full Stack Developer", location: { city: "Tel-Aviv", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Sauciuc Ana Maria", img: "https://avatars3.githubusercontent.com/u/41324045?s=460&v=4", links: { website: "http://www.amsauciuc.com", linkedin: "https://www.linkedin.com/in/ana-maria-sauciuc-753ba8155/", github: "https://github.com/annasauciuc", }, jobTitle: "Front-End Developer", location: { city: "Las Palmas", state: "Canary Islands", country: "Spain", }, }, { id: uuidv4(), name: "Ken Crites", img: "http://www.kencrites.com/img/KenCritesOct2018-9448.jpg", links: { website: "http://www.kencrites.com", linkedin: "https://www.linkedin.com/in/kencrites/", github: "https://github.com/kcrites", }, jobTitle: "Full Stack Developer", location: { city: "Amsterdam", state: "Noord-Holland", country: "Netherlands", }, }, { id: uuidv4(), name: "Prateek Parab", img: "https://media.licdn.com/dms/image/C5603AQE-jzpvaQWimw/profile-displayphoto-shrink_200_200/0?e=1556150400&v=beta&t=2r2Td18RmzK5udVAJmJYE6ZcGeDKJKjCFDMaTPRZqbk", links: { website: "", linkedin: "https://www.linkedin.com/in/prateek-parab/", github: "https://github.com/prateekParab20", }, jobTitle: "Software developer", location: { city: "Jersey city", state: "New Jersey", country: "USA", }, }, { id: uuidv4(), name: "Dave Lin", img: "https://secure.gravatar.com/avatar/52909e9a86a866e3585a65b5ba7a924f", links: { website: "http://www.davemint.com/", linkedin: "https://www.linkedin.com/in/dvdlin214/", github: "https://github.com/dvdlin214", }, jobTitle: "Software Developer", location: { city: "New York", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Loic Njike", img: "https://photos.google.com/photo/AF1QipPQHfL-k_8egWSRv15BffJmXr8H2JxZlT2-KGd3", links: { website: "", linkedin: "https://www.linkedin.com/in/loïc-njike/", github: "https://github.com/virgilenjike", }, jobTitle: "Full-Stack Web, C# and Python Developer", location: { city: "Douala", state: "Littoral", country: "Cameroon", }, }, { id: uuidv4(), name: "David Ugochukwu Okonkwo", img: "https://avatars1.githubusercontent.com/u/47087777?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/david-okonkwo-64717a12a/", github: "https://github.com/ugozeal", }, jobTitle: "Software Developer", location: { city: "FCT Abuja", state: "Abuja", country: "Nigeria", }, }, { id: uuidv4(), name: "Ricardo Serrano", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ricardos27/", github: "https://github.com/rxsh96", }, jobTitle: "Computer Science Engineering Student", location: { city: "Guayaquil", state: "Guayas", country: "Ecuador", }, }, { id: uuidv4(), name: "Peter Abolude", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/abolude-peter/", github: "https://github.com/CFCIfe", }, jobTitle: "Web Developer", location: { city: "Lagos", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Denis Gornichar", img: "https://scontent-frx5-1.xx.fbcdn.net/v/t1.0-9/17498656_10206528090159743_4183490191246088808_n.jpg?_nc_cat=104&_nc_ht=scontent-frx5-1.xx&oh=c8d8fa0536128809b226d4a9df0b2fc8&oe=5D271331", links: { website: "https://gorniczy.github.io", linkedin: "https://www.linkedin.com/in/denis-gornichar/", github: "https://github.com/gorniczy", }, jobTitle: "Frontend Developer", location: { city: "Warsaw", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Adigun Adefisola", img: "https://avatars3.githubusercontent.com/u/17639878?s=400&u=f7a095a5e83c1be3395657726ed65ce697d472fc&v=4", links: { website: "https://www.adefisolaadigun.com", linkedin: "https://www.linkedin.com/in/adefisola-adigun/", github: "https://github.com/TheFisola", }, jobTitle: "Software Engineer | ♥ Javascript", location: { city: "Magodo", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Rodrigo Alberto", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/rodalbert/", github: "https://github.com/rodalbert", }, jobTitle: "Software Developer", location: { city: "Lisbon", state: "", country: "Portugal", }, }, { id: uuidv4(), name: "Ganesh Nomula", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ganeshnomula/", github: "https://github.com/UnselfconsciousLux", }, jobTitle: "Product Designer, Full-Stack Developer, Illustrator", location: { city: "Dallas", state: "Texas", country: "USA", }, }, { id: uuidv4(), name: "Carlos De La Cruz", img: "https://media.licdn.com/dms/image/C5603AQHI1ztWds_mKg/profile-displayphoto-shrink_200_200/0?e=1556755200&v=beta&t=ZF5TGbDZMMCT-YJCxD0ZSY8jud-hwS1WKG_-eAOfMWo", links: { website: "http://carloscm.me", linkedin: "https://www.linkedin.com/in/carlos-de-la-cruz-meregildo-5673b1141/", github: "https://github.com/Ahcom1019", }, jobTitle: "FullStack Developer", location: { city: "Santo Domingo", state: "National District", country: "Dominican Republic", }, }, { id: uuidv4(), name: "Rajesh D", img: "https://avatars3.githubusercontent.com/u/25839746?v=4", links: { website: "https://rajesh13goud.github.io/", linkedin: "https://www.linkedin.com/in/rajesh-d-775981175/", github: "https://github.com/rajesh13goud", }, jobTitle: "FullStack Blockchain Developer", location: { city: "Bangalore", state: "Karnataka", country: "INDIA", }, }, { id: uuidv4(), name: "Chris Baucom", img: "https://res.cloudinary.com/crbaucom/image/upload/v1551412727/crbaucom-images/image_4.png", links: { website: "https://crbaucom.com", linkedin: "https://linkedin.com/in/chrisbaucom", github: "https://github.com/cbaucom", }, jobTitle: "Full Stack Engineer", location: { city: "Boston", state: "Massachusetts", country: "USA", }, }, { id: uuidv4(), name: "Naela Bahurmuz", img: " ", links: { website: " ", linkedin: "https://www.linkedin.com/in/naela-bahurmuz-05a85012a/", github: "https://github.com/lollaab", }, jobTitle: "Web Developer", location: { city: "Jeddah", state: "Makkah", country: "Saudi Arabia", }, }, { id: uuidv4(), name: "Jatin Varlyani", img: "https://avatars2.githubusercontent.com/u/34777376?v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/jatin-varlyani-127290150/", github: "https://github.com/Jatin-8898", }, jobTitle: "Full Stack Web Developer", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Devavrat Singh", img: "https://scontent.fjai1-1.fna.fbcdn.net/v/t1.0-1/p160x160/50275077_10210595861931160_6720448375885398016_n.jpg?_nc_cat=109&_nc_ht=scontent.fjai1-1.fna&oh=133c8b31219bf234307ea77b5007de01&oe=5D13A8B9", links: { website: "https://www.satsaiinfocom.com", linkedin: "https://www.linkedin.com/in/devavrat-singh-89249840", github: "https://github.com/devavratsingh", }, jobTitle: "Full Stack Web Developer", location: { city: "Jodhpur", state: "Rajasthan", country: "India", }, }, { id: uuidv4(), name: "Bojana Hadzivanova", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/bojana-hadzivanova-21336635/", github: "https://github.com/bojana899", }, jobTitle: "developer", location: { city: "Skopje", state: "", country: "Macedonia", }, }, { id: uuidv4(), name: "Timothy Ngai", img: "https://avatars3.githubusercontent.com/u/32214601?s=460&v=4", links: { website: "https://DeltaPenguinGames.weebly.com", linkedin: "https://www.linkedin.com/in/timothy-ngai-62198a10/", github: "https://github.com/DeltaPeng", }, jobTitle: "Full Stack Developer (C#, VB, Javascript)", location: { city: "Phoenix", state: "AZ", country: "USA", }, }, { id: uuidv4(), name: "Bruno Staub", img: "https://media.licdn.com/dms/image/C5603AQEOtIe_rX1R3Q/profile-displayphoto-shrink_200_200/0?e=1557360000&v=beta&t=csQDaLmqNh4XU_LPLMqqDBVTELxG8zBv_tH8iaCUZlM", links: { website: "https://www.stbr.ch", linkedin: "https://www.linkedin.com/in/bruno-staub-634b2870/", github: "https://github.com/bstaub/", }, jobTitle: "Full Stack Developer (Javascript, PHP)", location: { city: "Luzern", state: "LU", country: "CH", }, }, { id: uuidv4(), name: "Akshata Dabade", img: "https://media.licdn.com/dms/image/C4D03AQFTzCBZpv2FQQ/profile-displayphoto-shrink_200_200/0?e=1556755200&v=beta&t=FCp1OYOUS5jLbJsOld4uWZCWn0Pvp_h4owmX7TZ0Wno", links: { website: "https://akshatadabade.herokuapp.com/", linkedin: "https://www.linkedin.com/in/akshatadabade1994/", github: "https://github.com/adabade1/", }, jobTitle: "Front End Web Developer (Javascript, React.js, Node.js)", location: { city: "Dublin", state: "CA", country: "US", }, }, { id: uuidv4(), name: "Harry Parkinson", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/harry-parkinson-418515126/", github: "https://github.com/hazza203/", }, jobTitle: "Full Stack Web Developer (Javascript, React) and Software Developer (Java, Python)", location: { city: "Melbourne", state: "Victoria", country: "Australia", }, }, { id: uuidv4(), name: "Preston Davis", img: "", links: { website: "http://www.prestondavis.io", linkedin: "https://www.linkedin.com/in/preston-davis-016211139/", github: "https://www.github.com/premdav", }, jobTitle: "Full Stack Web Developer", location: { city: "Oklahoma City", state: "OK", country: "USA", }, }, { id: uuidv4(), name: "Fran Campana", img: "", links: { website: "http://www.vermontskitours.com/", linkedin: "https://www.linkedin.com/in/fran-campana-33939a13b/", github: "https://github.com/FMCampana", }, jobTitle: "Full Stack Web Developer (Javascript, React) and Software Developer (Java, Python)", location: { city: "Philadelphia", state: "PA", country: "USA", }, }, { id: uuidv4(), name: "VISHNUVARTHAN U", img: "https://media.licdn.com/dms/image/C5603AQHdoYsDA_WfzQ/profile-displayphoto-shrink_200_200/0?e=1557964800&v=beta&t=1KfgykQ1klCEBsq0bOOTWlqeGkf0XbQUlBzJ4acuO0k", links: { website: "http://vvarthan7.in/", linkedin: "https://www.linkedin.com/in/vvarthan7/", github: "https://github.com/vvarthan7", }, jobTitle: "Sr. Software Engineer (Javascript, React.js, AEM UI(Sightly, HTL), Bootstrap)", location: { city: "Bangalore", state: "Karnataka", country: "INDIA", }, }, { id: uuidv4(), name: "Argenis De La Rosa", img: "https://media.licdn.com/dms/image/C4E03AQG_S06UTIxSJw/profile-displayphoto-shrink_200_200/0?e=1557360000&v=beta&t=VNxIYWv_1rx-wJIQJcn83jpLDnJxF4LNpSiQZq6tIJo", links: { website: "https://argenisdelarosa.com/", linkedin: "https://www.linkedin.com/in/argenis-de-la-rosa-502b18157/", github: "https://github.com/ArgenisDLR", }, jobTitle: "Software Engineer", location: { city: "Boston", state: "Massachusetts", country: "USA", }, }, { id: uuidv4(), name: "Jay Hung", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/%E8%8B%B1%E6%8D%B7-%E6%B4%AA-9a3592174/", github: "https://github.com/a510102", }, jobTitle: "Front-endWed Developer", location: { city: "Taichung", state: "Taiwan", country: "Taiwan", }, }, { id: uuidv4(), name: "Sal Tamay", img: "https://media.licdn.com/dms/image/C5603AQGP5X8ovpsjrg/profile-displayphoto-shrink_200_200/0?e=1555545600&v=beta&t=IhQSnst-9gV332G4-zzS3d3kXG5aBY3lUXezIFQhdv0", links: { website: "https://saltamay.github.io/home/", linkedin: "https://www.linkedin.com/in/sal-tamay/", github: "https://github.com/saltamay", }, jobTitle: "Full-Stack JavaScript, ReactJS Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Jay Tin", img: "https://media.licdn.com/dms/image/C5103AQHVsH53UsL5-Q/profile-displayphoto-shrink_200_200/0?e=1557964800&v=beta&t=w9-1cYib3O_mAjNfesLHccY8YWXwIEqf8GNZEEY05OM", links: { website: "https://jaytintran.github.io", linkedin: "https://www.linkedin.com/in/jaytintran/", github: "https://github.com/jaytintran", }, jobTitle: "Front End Developer, Full Stack JavaScript, ReactJS Developer", location: { city: "Ho Chi Minh", state: "Ho Chi Minh", country: "Vietnam", }, }, { id: uuidv4(), name: "Alireza(Armin) Tavakol", img: "https://media.licdn.com/dms/image/C4D03AQFdb6t-2E0s4g/profile-displayphoto-shrink_200_200/0?e=1559174400&v=beta&t=wLCxzea4KsgVKwKLyEprdJUYq0wte16xDLeNiZDlFd8", links: { website: "https://stackoverflow.com/users/11187413/ali-tk", linkedin: "https://www.linkedin.com/in/alireza-tavakol73/", github: "https://github.com/art1373", }, jobTitle: "Fullstack Developer", location: { city: "Tehran", state: "Tehran", country: "Iran", }, }, { id: uuidv4(), name: "Joseph Kelly", img: "https://media.licdn.com/dms/image/C4E03AQGSdyg1klP5qw/profile-displayphoto-shrink_200_200/0?e=1558569600&v=beta&t=LlLt74lIaSKfbXYQ01vJ1tgqHIr9ELjG7xEFpR-ZnRE", links: { website: "http://www.josephdk.com", linkedin: "https://www.linkedin.com/in/joseph-kelly-420a81165/", github: "https://github.com/josephdk", }, jobTitle: "Full-stack Web Developer - Javascript, React.js, PHP, MySQL", location: { city: "Gainesville", state: "Florida", country: "USA", }, }, { id: uuidv4(), name: "Jose Rios", img: "https://i.imgur.com/P8vYgsy.jpg", links: { website: "https://riosjose.com/", linkedin: "https://www.linkedin.com/in/joserios41/", github: "https://github.com/Riosjl41", }, jobTitle: "Front-End Developer", location: { city: "", state: "Nevada", country: "USA", }, }, { id: uuidv4(), name: "Konstantine Berulava", img: "http://odelia.ge/wp-content/uploads/2018/04/od1.png", links: { website: "http://odelia.ge/", linkedin: "https://www.linkedin.com/in/berulava/", github: "https://github.com/Spie1er", }, jobTitle: "FullStack Developer", location: { city: "Tbilisi", state: "", country: "Georgia", }, }, { id: uuidv4(), name: "Nicholas Meriano", img: "", links: { website: "", linkedin: "", github: "https://github.com/nicmeriano", }, jobTitle: "Front-End Developer", location: { city: "Alameda", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Paola Arzuffi", img: "https://media.licdn.com/dms/image/C5603AQGyhOPSeqemgQ/profile-displayphoto-shrink_200_200/0?e=1558569600&v=beta&t=5sK396H41eBje7bgpx7qidHZAnsCgBF4r1TjP6VvHNE", links: { website: "", linkedin: "https://www.linkedin.com/in/paola-arzuffi-31570790/", github: "https://github.com/PaolaArz", }, jobTitle: "Bioinformatician, Full Stack Developer", location: { city: "Manchester", state: "", country: "UK", }, }, { id: uuidv4(), name: "Yudhistira Putra Nugraha", img: "https://raw.githubusercontent.com/kudismetal/web-cv/master/profile.jpg", links: { website: "https://kudismetal.github.io/web-cv/", linkedin: "https://www.linkedin.com/in/yudhistira-putra-nugraha-154207165/", github: "https://github.com/kudismetal", }, jobTitle: "Front-End Developer", location: { city: "Wonosobo", state: "Jawa Tengah", country: "Indonesia", }, }, { id: uuidv4(), name: "Russ Perry", img: "https://media.licdn.com/dms/image/C4E03AQFFbRkD77x10g/profile-displayphoto-shrink_200_200/0?e=1558569600&v=beta&t=0FEu-iDs8E9LrRX2LqF_sbbKxck5eStL_nY8hEPJBLk", links: { website: "https://rperry99.github.io/responsive-portfolio/dist/index.html", linkedin: "https://www.linkedin.com/in/russ-perry-22b638a8/", github: "https://github.com/rperry99", }, jobTitle: "Front End Developer", location: { city: "Cleveland", state: "OH", country: "US", }, }, { id: uuidv4(), name: "Jim Taulman", img: "https://avatars2.githubusercontent.com/u/6203317?s=460&v=4", links: { website: "https://jftiv.org", linkedin: "https://www.linkedin.com/in/jftiv/", github: "https://github.com/jftiv", }, jobTitle: "Web Developer", location: { city: "Atlanta", state: "Georgia", country: "USA", }, }, { id: uuidv4(), name: "González Oviedo Tomás Emiliano", img: "https://avatars1.githubusercontent.com/u/24637586?s=400&v=4", links: { website: "https://tomas95go.github.io/tomasportfolio/index.html", linkedin: "www.linkedin.com/in/tomas-emiliano-gonzalez-oviedo-897795173", github: "https://github.com/tomas95go", }, jobTitle: "Full Stack Web Developer", location: { city: "Formosa", state: "FSA", country: "Argentina", }, }, { id: uuidv4(), name: "Paolo Di Bello", img: "https://avatars3.githubusercontent.com/u/36816681?s=460&v=4", links: { website: "http://dibellopaolo-portfolio-demo-1.rf.gd/?i=1", linkedin: "https://www.linkedin.com/in/paolo-di-bello-239056151/", github: "https://github.com/PaoloDiBello", }, jobTitle: "Web Developer & Polyglot", location: { city: "Casapesenna", state: "Campania", country: "Italy", }, }, { id: uuidv4(), name: "Piero Sabino", img: "https://imgur.com/lbrbLvs", links: { website: "", linkedin: "https://www.linkedin.com/in/piero-sabino-15a1b671/", github: "https://github.com/pierre1590", }, jobTitle: "Junior Web Developer", location: { city: "Turi", state: "Puglia", country: "Italy", }, }, { id: uuidv4(), name: "Kelechi Igbokwe", img: "https://avatars0.githubusercontent.com/u/26067229?s=40&v=4", links: { website: "http://kelechi.me/my-portfolio/#/", linkedin: "https://www.linkedin.com/in/kelechi-igbokwe/", github: "https://github.com/sirkells", }, jobTitle: "Junior IT Consultant", location: { city: "Cologne", state: "NRW", country: "Germany", }, }, { id: uuidv4(), name: "Tushar Kharbanda", img: "https://avatars3.githubusercontent.com/u/34345518?s=460&v=4", links: { website: "https://tkdevlop.tk/", linkedin: "https://www.linkedin.com/in/tushar-kharbanda-69841a14b/", github: "https://github.com/TKdevlop/", }, jobTitle: "Full Stack JS Dev", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Anthony Curtis", img: "https://photos.app.goo.gl/u7QfNZT5uw7k4M7S7", links: { website: "https://tonydc1997.github.io/Personal-Website/", linkedin: "https://www.linkedin.com/in/anthony-curtis-js-developer/", github: "https://github.com/tonydc1997", }, jobTitle: "Full-Stack JS Developer", location: { city: "Los Angeles County", state: "CA", country: "U.S.", }, }, { id: uuidv4(), name: "Wouter Kok", img: "https://media.licdn.com/dms/image/C4D03AQGsoeE2ocP-Mg/profile-displayphoto-shrink_200_200/0?e=1559174400&v=beta&t=QLPXLGvPOOvqa5GMHEAmajLnXHBuzxarmFSF8PkZEzM", links: { website: "", linkedin: "https://www.linkedin.com/in/wouter-kok/", github: "https://github.com/wkokgit", }, jobTitle: "Web & Software Developer", location: { city: "Amsterdam", state: "", country: "Nederland", }, }, { id: uuidv4(), name: "Allentine Paulis", img: "https://imgur.com/a/bkKSeR5", links: { website: "https://rainbowmoonlight.github.io/AllentinePortfolio/", linkedin: "https://www.linkedin.com/in/allentine/", github: "https://github.com/rainbowmoonlight", }, jobTitle: "Full Stack Web Developer", location: { city: "Los Angeles", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Hrishabh Prajapati", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/hrishabh-prajapati", github: "https://github.com/hhrishabh", }, jobTitle: "Full Stack Web Developer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Peterson Oaikhenah", img: "https://avatars1.githubusercontent.com/u/32341221?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/peterson-oaikhenah-102645144/", github: "https://github.com/nextwebb", }, jobTitle: "Full-Stack JavaScript and PHP Developer", location: { city: "ogba", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Shubham Dhage", img: "https://i.imgur.com/uXvnjsc.jpg", links: { website: "https://shubhamd99.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/shubham-dhage-57133a175/", github: "https://github.com/shubhamd99", }, jobTitle: "Full Stack Web Developer", location: { city: "Banglore", state: "KA", country: "India", }, }, { id: uuidv4(), name: "Irfan Suleman", img: "https://i.imgur.com/CotZZCa.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/ivsuleman/", github: "https://github.com/ivsuleman", }, jobTitle: "Full Stack Web Developer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Ryan Lewis", img: "https://media.licdn.com/dms/image/C4D03AQF1xFP1AmQarQ/profile-displayphoto-shrink_200_200/0?e=1559779200&v=beta&t=omFFe-NN9fH8DkEOJXwlRrwiMdFQ5EIQzBrS4C1Kd2w", links: { website: "https://www.ryanlewis.co.uk/portfolio/", linkedin: "https://www.linkedin.com/in/ryan-lewis-b02105161/", github: "https://github.com/ryanlewis94", }, jobTitle: "Junior Web Developer", location: { city: "Cardiff", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Peterson Oaikhenah", img: "https://nextwebb.github.io/profilepics/gitProfile.jpeg", links: { website: "nextwebb.com.ng", instagram: "www.instagram.com/peterson_hn", twitter: "https://twitter.com/peterson_hn", facebook: "https://www.facebook.com/peterson.oaikhenah", gmail: "[email protected]", linkedin: "https://www.linkedin.com/in/peterson-oaikhenah-102645144/", github: "https://github.com/nextwebb", }, jobTitle: "Full-Stack nodejs and PHP Developer", location: { city: "ogba", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Nikola Vasilev", img: "http://nebivalici.com/styles/img/nikola.jpg", links: { website: "http://nebivalici.com/webapps", linkedin: "https://www.linkedin.com/in/nikola-vasilev-ab1161b9/", github: "https://github.com/crux-in-lan", }, jobTitle: "IT/KPI specialist", location: { city: "Sofia", state: "Sofia", country: "Bulgaria", }, }, { id: uuidv4(), name: "Brian Bartholomew", img: "https://res.cloudinary.com/djkkmw08b/image/upload/v1554409314/profile.png", links: { website: "https://brianbartholomew.tech/", linkedin: "https://www.linkedin.com/in/bartholomewbd/", github: "https://github.com/Bartholomewbd", }, jobTitle: "Front End Javascript Developer", location: { city: "Torrington", state: "CT", country: "USA", }, }, { id: uuidv4(), name: "Ciprian Cozma", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ciprian-cozma/", github: "https://github.com/cipriancozma", }, jobTitle: "Front-End Developer", location: { city: "Iasi", state: "", country: "Romania", }, }, { id: uuidv4(), name: "Angel Tat", img: "https://i.imgur.com/siAUyvM.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/tat-angel-10668b117/", github: "https://github.com/angeltat", }, jobTitle: "Full Stack Web Developer", location: { city: "Timisoara", state: "Timis", country: "Romania", }, }, { id: uuidv4(), name: "Ileana Argyris", img: "", links: { website: "http://argyrisileana.com", linkedin: "https://www.linkedin.com/in/ileanaargyris/", github: "https://github.com/ileanahi/", }, jobTitle: "Front End Developer", location: { city: "", state: "Hawaii", country: "USA", }, }, { id: uuidv4(), name: "Tom Makowski", img: "https://media.licdn.com/dms/image/C5103AQElYXGsB0zQaA/profile-displayphoto-shrink_200_200/0?e=1560384000&v=beta&t=5afHEkKMbiUOD3JfUW92FGYk9x14PtbhYAT5_3B9GYo", links: { website: "http://www.backtodev.com", linkedin: "https://www.linkedin.com/in/tomasz-makowski/", github: "https://github.com/t-mak/", }, jobTitle: "Web Developer", location: { city: "", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Michael Johnston", img: "https://media.licdn.com/dms/image/C5603AQFA4TjeE9_hog/profile-displayphoto-shrink_200_200/0?e=1560384000&v=beta&t=Hr4Mh5NAaORzJ8NdxU6XH4fmND1pitP8fyJ01NCuhkE", links: { website: "https://michaeljamie.com/", linkedin: "https://www.linkedin.com/in/michaeljamiejohnston/", github: "https://github.com/michaeljamie", }, jobTitle: "Software Engineer", location: { city: "Greater Salt Lake City", state: "Utah", country: "USA", }, }, { id: uuidv4(), name: "Jack Chen (陳紀嘉)", img: "https://media.licdn.com/dms/image/C4E03AQE-Ft2dFtGI3g/profile-displayphoto-shrink_200_200/0?e=1560384000&v=beta&t=K5h7NsZlfZS6KNIs5yubO02ljf2GPcI72GQd-LgvyDs", links: { website: "https://jackchen1210.github.io/", linkedin: "https://www.linkedin.com/in/jackchen1210/", github: "https://github.com/jackchen1210", }, jobTitle: "FullStack Developer/Unity Developer", location: { city: "Kaohsiung", state: "Taiwan", country: "Taiwan", }, }, { id: uuidv4(), name: "Aria Samandi", img: "https://avatars2.githubusercontent.com/u/36803081?s=400&u=f557431b948c12c0ec3a5f5cb21e1a1a783b18a0&v=4", links: { website: "http://ariasamandi.com", linkedin: "https://www.linkedin.com/in/aria-samandi-91799a159/", github: "https://github.com/ariasamandi", }, jobTitle: "Full-Stack Developer", location: { city: "Pacific Palisades", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Bryan Windsor", img: "https://i.imgur.com/LEftyx4.jpg", links: { website: "http://www.taidaid.com", linkedin: "https://www.linkedin.com/in/bryanwindsor/", github: "https://github.com/taidaid", }, jobTitle: "Full-Stack Developer", location: { city: "", state: "", country: "Netherlands", }, }, { id: uuidv4(), name: "Siddharth Gusain", img: "https://github.com/siddharthgusain/My-Portfolio/blob/master/assets/images/sid.jpg", links: { website: "https://siddharthgusain.github.io/My-Portfolio/", linkedin: "https://in.linkedin.com/in/siddharth-gusain-355b84156", github: "https://github.com/siddharthgusain", }, jobTitle: "Full-Stack Developer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Nahuel Alberti", img: "https://avatars3.githubusercontent.com/u/40583848?s=400&u=0b353b719e77f4f18a0c75f164c8cfc81030ceca&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/nahuel-alberti/", github: "https://github.com/NAlberti7", }, jobTitle: "Front End Developer", location: { city: "Ramos Mejia", state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Prashanth Adurugatla", img: "https://avatars0.githubusercontent.com/u/33069358?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/padurugatla/", github: "https://github.com/PrashanthAdurugatla", }, jobTitle: "Software Developer", location: { city: "San Francisco", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Saif Sadi", img: "https://avatars1.githubusercontent.com/u/26534702?s=460&v=4", links: { website: "http://xammin.com/", linkedin: "https://www.linkedin.com/in/saif-ur-rehman-5311a6b7/", github: "https://github.com/saifsadi", }, jobTitle: "Full Stack Developer ", location: { city: "Rawalpindi", state: "", country: "Pakistan", }, }, { id: uuidv4(), name: "Swarnendu Rohan Gupta", img: "https://photos.app.goo.gl/h3yvhZte479o8jKA8", links: { website: "https://swarnendurohanguptawebsite.firebaseapp.com/", linkedin: "https://www.linkedin.com/in/swarnendurohan-gupta/", github: "https://github.com/srgupta5328", }, jobTitle: "Software Developer", location: { city: "Oakland", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Tom Tong", img: "https://avatars3.githubusercontent.com/u/37486901?s=400&u=263546b8e7d2014db8badc93e9415962d0c8ddd5&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/meng-tong-7a5bb48b/", github: "https://github.com/Tom-MengTong", }, jobTitle: "Developer", location: { city: "Dunedin", state: "Otago", country: "New Zealand", }, }, { id: uuidv4(), name: "Britta Wang", img: "https://avatars3.githubusercontent.com/u/41138162?s=400&u=6ffe0c724e97c3de98b73c51bd5797b79711f9df&v=4", links: { website: "https://congw-syd.github.io", linkedin: "https://www.linkedin.com/in/cong-wang-374483172/", github: "https://github.com/congw-syd", }, jobTitle: "Front-End Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Pourush Shrestha", img: "https://media.licdn.com/dms/image/C4E03AQH-QmWXVwAo2A/profile-displayphoto-shrink_100_100/0?e=1562198400&v=beta&t=KGHdy-AAuYuwr-dzi5JY9xFQquwphRnGvXoRp_RA874", links: { website: "https://pourushshrestha.com", linkedin: "https://www.linkedin.com/in/pourush-shrestha/", github: "https://github.com/Pourush1", }, jobTitle: "Software Developer", location: { city: "Philadelphia", state: "Pennsylvania", country: "United States", }, }, { id: uuidv4(), name: "Anna Popowicz", img: "https://avatars1.githubusercontent.com/u/32011952?s=400&u=8042b97dd097bdab86e2ea95a875131fa02bbfbb&v=4", links: { website: "https://github.com/annpop", linkedin: "ttps://www.linkedin.com/in/anna-popowicz-01bb8456/", github: "https://github.com/annpop", }, jobTitle: "Junior Front-end Developer", location: { city: "Wrocław", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Ezenwanne Kenneth", img: "https://avatars2.githubusercontent.com/u/46355242?s=400&u=bc992566f4da86f5a81a8e2dcc380ffd36427bc4&v=4", links: { website: "https://github.com/surelinks", linkedin: "ttps://www.linkedin.com/in/Ezenwanne Kenneth/", github: "https://github.com/surelinks", }, jobTitle: "Full Stack Web Developer", location: { city: "Abuja", state: "FCT", country: "Nigeria", }, }, { id: uuidv4(), name: "Arigbede Abiodun", img: "https://res.cloudinary.com/deksm5bm1/image/upload/v1557241675/DSC_8633.jpg", links: { website: "https://abbyjoe.github.io/portfolio", linkedin: "", github: "https://github.com/abbyjoe", }, jobTitle: "Front-end Developer", location: { city: "Abeokuta", state: "Ogun", country: "Nigeria", }, }, { id: uuidv4(), name: "Steve Gojkov", img: "http://i65.tinypic.com/2agwbd3.png", links: { website: "http://www.stevegojkov.com", linkedin: "https://www.linkedin.com/in/stevegojkov", github: "https://github.com/gojkov/my-site", }, jobTitle: "Front End Developer", location: { city: "Detroit", state: "MI", country: "USA", }, }, { id: uuidv4(), name: "Rahil Hasnani", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/rahil-hasnani", github: "https://github.com/rahilhasnani95", }, jobTitle: "Front End Developer", location: { city: "Houston", state: "TX", country: "USA", }, }, { id: uuidv4(), name: "Marina Pestriacheva", img: "http://i68.tinypic.com/8g0j.jpg", links: { website: "http://www.rushingmarina.com/rm-demo/", linkedin: "https://www.linkedin.com/in/marina-pestriacheva-107b27143/", github: "https://github.com/rushingMarina", }, jobTitle: "Full Stack Web Developer", location: { city: "San Diego", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Bill Shannon", img: "http://i67.tinypic.com/6huw5d.jpg", links: { website: "http://www.billshamnon.com", linkedin: "https://www.linkedin.com/in/bill-shannon-734a118b/", github: "https://github.com/billshannon", }, jobTitle: "Full Stack Web Developer", location: { city: "Boulder", state: "CO", country: "USA", }, }, { id: uuidv4(), name: "Jason D'souza", img: "https://media.licdn.com/dms/image/C4D03AQHIjo9Nwl45XA/profile-displayphoto-shrink_200_200/0?e=1562803200&v=beta&t=W-NCStiVinGB2rQHmVarXu8KYuX2Jj-g-S7ML3rf-Q8", links: { website: "https://jasondsouza.dev/", linkedin: "https://www.linkedin.com/in/jason-d-souza-861762100/", github: "https://github.com/jvdsouza", }, jobTitle: "Full Stack Web Developer", location: { city: "Melbourne", state: "VIC", country: "Australia", }, }, { id: uuidv4(), name: "Brandon Castillo", img: "", links: { website: "https://brandonmcastillo.com/", linkedin: "https://www.linkedin.com/in/brandonmcastillo/", github: "https://github.com/brandonmcastillo", }, jobTitle: "Full Stack Web Developer", location: { city: "San Francisco", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Yasen Peev", img: "https://media.licdn.com/dms/image/C5603AQFy32Y80JCOcg/profile-displayphoto-shrink_200_200/0?e=1563408000&v=beta&t=0FSUqUyOyNLsh0-vrpgE80qcM_uz-3A8g8nnaxTSpDQ", links: { website: "", linkedin: "https://www.linkedin.com/in/yasen-peev-591318184/", github: "https://github.com/YasenPeev", }, jobTitle: "Full Stack Web Developer", location: { city: "Bracknell", state: "", country: "UK", }, }, { id: uuidv4(), name: "Juarez Pistore", img: "", links: { website: "www.juarezpistore.com", linkedin: "https://www.linkedin.com/in/juarez-pistore/", github: "https://github.com/juarezpistore", }, jobTitle: "Backend Software Developer", location: { city: "Vancouver", state: "British Columbia", country: "Canada", }, }, { id: uuidv4(), name: "Ronak Khimani", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ronak-khimani", github: "https://github.com/Ron1722", }, jobTitle: "Front end developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Daniel Hardiman", img: "https://avatars1.githubusercontent.com/u/38153501?s=460&v=4", links: { website: "https://muaykhao86.github.io/Portfolio/", linkedin: "https://linkedin.com/in/daniel-hardiman-73844233", github: "https://github.com/Muaykhao86", }, jobTitle: "Full Stack Developer", location: { city: "London", state: "", country: "UK", }, }, { id: uuidv4(), name: "Alexander Tryastsyn", img: "https://goodhousekeeper.ru/style/images/photo.jpg", links: { website: "https://goodhousekeeper.ru", linkedin: "", github: "https://github.com/goodhousekeeper", }, jobTitle: "Team leader, full stack web developer", location: { city: "Saint-Petersburg", state: "", country: "RU", }, }, { id: uuidv4(), name: "Lucas Sallada", img: "https://avatars3.githubusercontent.com/u/18669601?s=460&v=4", links: { website: "http://sallada.org/", linkedin: "https://www.linkedin.com/in/lucas-sallada-6242a4106/", github: "https://github.com/yonlu", }, jobTitle: "Web Developer", location: { city: "Beaver Falls", state: "PA", country: "USA", }, }, { id: uuidv4(), name: "Makoto Dejima", img: "https://media.licdn.com/dms/image/C5603AQHO3f3ipaGjQQ/profile-displayphoto-shrink_200_200/0?e=1564012800&v=beta&t=SIQ27nhuP19KwYu0w_0w4h-ZuSq4BBHQ__izKoNKltI", links: { website: "https://madmak.me", linkedin: "https://www.linkedin.com/in/makotodejima/", github: "https://github.com/makotodejima", }, jobTitle: "Front-End Developer / Designer", location: { city: "Berlin", state: "", country: "Germany", }, }, { id: uuidv4(), name: "Abdulganiyu Yusufu", img: "https://doc-04-8c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/3julgj05k7ps7rni7dpgh3jkub77heeg/1558656000000/18093204587770278309/*/1muqi9lO3lhoyXzRBRHUFhcXwIMNEHZlG", links: { website: "abdulganiyuyusufu.com", linkedin: "https://www.linkedin.com/in/abdulyusufu/", github: "https://github.com/abdulg95", }, jobTitle: "Full-Stack Developer", location: { city: "Ottawa", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Yang Zhao", img: "http://i65.tinypic.com/29wwepg.jpg", links: { website: "https://yangzhao71.github.io", linkedin: "https://www.linkedin.com/in/yangmengyuan-zhao-b97b13173/", github: "https://github.com/YangZhao71", }, jobTitle: "Full-Stack Developer", location: { city: "Ithaca", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Jonathan Helvey", img: "https://avatars3.githubusercontent.com/u/33816020?s=460&v=4", links: { website: "www.jonathanhelvey.com", linkedin: "https://www.linkedin.com/in/jonathanhelvey/", github: "https://github.com/JonathanHelvey", }, jobTitle: "Full Stack Developer", location: { city: "Chicago", state: "IL", country: "USA", }, }, { id: uuidv4(), name: "Waleed Mastour", img: "http://i63.tinypic.com/311qkoi.jpg", links: { website: "https://wmm3636.github.io/", linkedin: "https://www.linkedin.com/in/waleed-mastour-059b7a89/", github: "https://github.com/wmm3636", }, jobTitle: "Full Stack Developer", location: { city: "Riyadh", state: "Ar Riyadh", country: "Saudi Arabia", }, }, { id: uuidv4(), name: "Gabriel Cadiz", img: "https://avatars0.githubusercontent.com/u/42247905?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/gabriel-cadiz/", github: "https://github.com/gabecadiz", }, jobTitle: "Full-Stack Javascript Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Cliff Mirschel", img: "https://logodix.com/logo/557730.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/clifford-benjamin-mirschel/", github: "https://github.com/BlueBoi904", }, jobTitle: "Full-Stack Developer", location: { city: "Jacksonville", state: "FL", country: "USA", }, }, { id: uuidv4(), name: "Sikiru Shittu", img: "https://media.licdn.com/dms/image/C5603AQFEXZQ1oItw3g/profile-displayphoto-shrink_200_200/0?e=1564617600&v=beta&t=fJXQ2l43kk7nXlmYPbYJoBI-KTfEwMwGjnaOPqDULiY", links: { website: "https://afreekamode.wordpress.com", linkedin: "https://www.linkedin.com/in/sikirushittu/", github: "https://github.com/afreekamode", }, jobTitle: "Software Developer", location: { city: "Lagos", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Mayra Ruiz", img: "https://pbs.twimg.com/profile_images/1111480794818633728/5lKb3FXK_400x400.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/mruiz27/", github: "https://github.com/meyruiz", }, jobTitle: "Software Developer", location: { city: "Monterrey", state: "", country: "Mexico", }, }, { id: uuidv4(), name: "Ryan Boris", img: "https://avatars3.githubusercontent.com/u/19439753?v=4", links: { website: "", linkedin: "https://www.linked.com/in/ryanboris", github: "https://github.com/ryanboris", }, jobTitle: "Fullstack Developer", location: { city: "Philadelphia", state: "Pennsylvania", country: "United States", }, }, { id: uuidv4(), name: "Brennon Borbon", img: "https://avatars3.githubusercontent.com/u/30765158?s=40&v=4", links: { website: "https://brennon-borbon.netlify.com", linkedin: "", github: "https://github.com/brenborbs", }, jobTitle: "Full Stack Developer - MERN Stack, Gatsby.js/JAMStack", location: { city: "Cebu City", state: "City of Cebu", country: "Philippines", }, }, { id: uuidv4(), name: "Theodore Nguyen", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/theodorenguyen45", github: "", }, jobTitle: "Full Stack Developer", location: { city: "Brisbane", state: "Queensland", country: "Australia", }, }, { id: uuidv4(), name: "Diyar Faraj", img: "https://diyarfaraj.com/img/portrait.jpg", links: { website: "diyarfaraj.com", linkedin: "https://www.linkedin.com/in/diyar-faraj/", github: "https://github.com/diyarfaraj", }, jobTitle: "Developer", location: { city: "", state: "", country: "Sweden", }, }, { id: uuidv4(), name: "Lily Chen", img: "", links: { website: "", linkedin: "", github: "https://github.com/liliburg711", }, jobTitle: "Full Stack Developer", location: { city: "Miaoli", state: "", country: "Taiwan", }, }, { id: uuidv4(), name: "Idris Lawal", img: "https://res.cloudinary.com/idtitanium/image/upload/v1559991948/WhatsApp_Image_2019-01-29_at_14.27.50.jpg", links: { website: "https://idrislawal.herokuapp.com", linkedin: "https://linkedin.com/lawal-idris-oluwaseun", github: "https://github.com/IDTitanium", }, jobTitle: "Full Stack Developer", location: { city: "Lagos Mainland", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Kitravee Siwatkittisuk", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/kitravee-siwatkittisuk", github: "https://github.com/Gitravs", }, jobTitle: "Software Engineer", location: { city: "Bangkok", state: "", country: "Thailand", }, }, { id: uuidv4(), name: "Hagai Harari", img: "", links: { website: "http://www.hagaiportfolio.ml", linkedin: "", github: "https://github.com/YogiHa", }, jobTitle: "Full Stack Developer", location: { city: "Tel-Aviv", state: "middlecountry", country: "Israel", }, }, { id: uuidv4(), name: "Ulysse Tassidis", img: "https://i.imgur.com/voZ5o7b.jpg", links: { website: "https://ulyssetsd.github.io/", linkedin: "https://www.linkedin.com/in/ulyssetassidis/", github: "https://github.com/ulyssetsd/", }, jobTitle: "Full Stack Developer", location: { city: "Dublin", state: "", country: "Ireland", }, }, { id: uuidv4(), name: "Ashraf Patel", img: "https://avatars1.githubusercontent.com/u/13857813?s=460&v=4", links: { website: "https://ashrafpatel.github.io/", linkedin: "https://www.linkedin.com/in/ashr4fpatel/", github: "https://github.com/AshrafPatel", }, jobTitle: "Full Stack Developer", location: { city: "Mississauga", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Priyank Patel", img: "https://avatars2.githubusercontent.com/u/29913350", links: { website: "patel-priyank.github.io", linkedin: "linkedin.com/in/patel23priyank", github: "github.com/patel-priyank", }, jobTitle: "Software Engineer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Esteban Barron Palma", img: "http://estebanbarron.com/assets/images/img-01.jpg", links: { website: "http://estebanbarron.com/", linkedin: "https://www.linkedin.com/in/esteban-barr%C3%B3n-a60a2a113/", github: "https://github.com/aberro3s", }, jobTitle: "Full Stack Developer", location: { city: "Merida", state: "Yucatan", country: "Mexico", }, }, { id: uuidv4(), name: "Joe Domingo", img: "https://contentapi.joedomingo.online/wp-content/uploads/joed-prof-pic-02.png", links: { website: "https://joedomingo.online", linkedin: "https://www.linkedin.com/in/joe-domingo-front-end-developer/", github: "https://github.com/joedonline", }, jobTitle: "Front End Developer, UI/UX, Graphic Design", location: { city: "NY Metropolitan", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Sam Raha", img: "https://i.imgur.com/cSoj3V0.jpg", links: { website: "https://samraha.com/", linkedin: "https://www.linkedin.com/in/sam-raha-6983a4b6/", github: "https://github.com/SamRaha", }, jobTitle: "Full Stack Developer", location: { city: "Leeds", state: "Yorkshire", country: "United Kingdom", }, }, { id: uuidv4(), name: "Mier Dhundee Agil", img: "https://media.licdn.com/dms/image/C5603AQH1AzK-WTtRdw/profile-displayphoto-shrink_200_200/0?e=1565827200&v=beta&t=VVeReX4qKqSRqISql62X4PZ1rz4W6O2OUbSLGZ1yw-Q", links: { website: "mieragil.github.io", linkedin: "https://www.linkedin.com/in/mier-agil-4333b011a/", github: "github.com/mieragil", }, jobTitle: "Full-Stack Web Developer", location: { city: "", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Ty Jenkins", img: "https://imgur.com/a/v4tNAIP", links: { website: "https://yujiman85.github.io/", linkedin: "https://www.linkedin.com/in/ty-jenkins/", github: "https://github.com/Yujiman85", }, jobTitle: "Software Engineer/Web Developer", location: { city: "Philadelphia", state: "Pennsylvania", country: "United States", }, }, { id: uuidv4(), name: "Vaibhav Heda", img: "http://estebanbarron.com/assets/images/img-01.jpg", links: { website: "https://vaibhav-heda.netlify.com/", linkedin: "https://www.linkedin.com/in/vaibhav-h-a5383b109/", github: "https://github.com/Vai-devil", }, jobTitle: "Full Stack Developer", location: { city: "Jaipur", state: "Rajasthan", country: "India", }, }, { id: uuidv4(), name: "Maliha Kabir", img: "https://malihakabir.github.io/img/Me.jpg", links: { website: "https://malihakabir.github.io/", linkedin: "https://www.linkedin.com/in/maliha-k-bb5867144/", github: "https://github.com/MalihaKabir", }, jobTitle: "Full-Stack JavaScript Developer", location: { city: "Dhaka", state: "", country: "Bangladesh", }, }, { id: uuidv4(), name: "Jose Carlos Gomez", img: "https://imgur.com/Ln8xFkh", links: { website: "", linkedin: "https://www.linkedin.com/in/carlos-gomez-pro/", github: "https://github.com/Carlitos5963", }, jobTitle: "Software Engineer/Web Developer", location: { city: "San Diego", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Amen Christ", img: "https://scontent-lhr3-1.cdninstagram.com/vp/6167186d3860eeae9ab0535c041c21ed/5DC4A546/t51.2885-19/s150x150/14596806_573322182869487_7938413337669271552_a.jpg?_nc_ht=scontent-lhr3-1.cdninstagram.com", links: { website: "", linkedin: "https://www.linkedin.com/in/amen-christ-85b919189/", github: "https://github.com/amenchrist", }, jobTitle: "Web Developer / Front-end Developer", location: { city: "London", state: "England", country: "United Kingdom", }, }, { id: uuidv4(), name: "Matthew Zito", img: "https://ia601402.us.archive.org/27/items/photo2_201906/photo%202.jpg", links: { website: "https://matthewzito.github.io", linkedin: "https://www.linkedin.com/in/matthew-zito/", github: "https://github.com/matthewzito", }, jobTitle: "Full Stack Web Developer / Blockchain Developer", location: { city: "Portland", state: "Oregon", country: "United States", }, }, { id: uuidv4(), name: "Ravshan Artykov", img: "https://avatars1.githubusercontent.com/u/44540541?s=400&u=fdf000aeba0d7c5090907b5bfd4f33aa9965790a&v=4", links: { website: "www.ravarty.me", linkedin: "https://www.linkedin.com/in/ravart/", github: "https://github.com/RavArty", }, jobTitle: "Web Developer/Software Developer", location: { city: "Los Angeles", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Jan Cyngynn Frigillana", img: "https://avatars2.githubusercontent.com/u/52190655?s=460&v=4", links: { website: "", linkedin: "", github: "https://github.com/JancKode", }, jobTitle: "Web Developer/Software Developer", location: { city: "Baguio", state: "Benguet", country: "Philippines", }, }, { id: uuidv4(), name: "SASSOUI Abdel", img: "https://sassouiabd.github.io/static/img/photo.jpg", links: { website: "https://sassouiabd.github.io/", linkedin: "https://www.linkedin.com/in/abdel-sassoui-59492146/", github: "https://github.com/sassouiabd", }, jobTitle: "Technical Lead Engineer", location: { city: "Paris", state: "", country: "France", }, }, { id: uuidv4(), name: "Niketan Moon", img: "", links: { website: "https://www.niketanmoon.ml", linkedin: "www.linkedin.com/in/niketanmoon", github: "https://github.com/niketanmoon", }, jobTitle: "Full Stack Developer/Research Assistant", location: { city: "Wardha", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Peng Xu", img: "https://imgur.com/a/hM2ug3A", links: { website: "https://xp0515.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/peng-xu-a08089172/", github: "https://github.com/xp0515", }, jobTitle: "Web Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Ukpai Emeka", img: "https://imgur.com/muqELZB", links: { website: "", linkedin: "https://www.linkedin.com/in/ukpai-emeka/", github: "https://github.com/Mr-emeka", }, jobTitle: "Web Developer", location: { city: "Lagos", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Karin Povolozki-Rabichev", img: "https://cdn1.imggmi.com/uploads/2019/7/7/5b930225b449c12d52f1e2d8f2f73c72-full.jpg", links: { website: "https://karin-personal-website.herokuapp.com/", linkedin: "https://www.linkedin.com/in/karin-povolozki-rabichev/", github: "https://github.com/KarinPR/", }, jobTitle: "Full-Stack Developer", location: { city: "Ashdod", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Uchenna Sylvester Okoro", img: "https://avatars3.githubusercontent.com/u/38369717?s=460&v=4", links: { website: "", linkedin: "www.linkedin.com/in/uchenna-okoro/", github: "https://github.com/UcheSylvester", }, jobTitle: "Web Developer", location: { city: "", state: "Abia State", country: "Nigeria", }, }, { id: uuidv4(), name: "Shashank Singh", img: "https://imgur.com/a/jzGrGcK", links: { website: "shashankcic.github.io", linkedin: "www.linkedin.com/in/shashankcic/", github: "https://github.com/shashankcic", }, jobTitle: "Web Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Shreeya Bhetwal", img: "https://github.com/Shreeya12/Shreeya12.github.io/blob/master/images/me.jpg", links: { website: "Shreeya12.github.io", linkedin: "https://www.linkedin.com/in/shreeya-bhetwal-059453185/", github: "https://github.com/Shreeya12", }, jobTitle: "Front-End Developer", location: { city: "San Francisco", state: "California", country: "United States of America", }, }, { id: uuidv4(), name: "Guilherme Brunner", img: "https://sgtbrunner.github.io/img/profile.png", links: { website: "https://sgtbrunner.github.io/", linkedin: "https://www.linkedin.com/in/guilherme-brunner/", github: "https://github.com/sgtbrunner", }, jobTitle: "Web Developer", location: { city: "São Paulo", state: "", country: "Brazil", }, }, { id: uuidv4(), name: "Tanner Stoker", img: "https://avatars2.githubusercontent.com/u/50390123?s=460&v=4", links: { website: "https://github.com/Tanner016", linkedin: "https://www.linkedin.com/in/tanner-stoker-78133a177/", github: "https://github.com/Tanner016", }, jobTitle: "Web Developer", location: { city: "Henderson", state: "Nevada", country: "United States of America", }, }, { id: uuidv4(), name: "Prateek Madaan", img: "https://miro.medium.com/fit/c/256/256/1*knoM7uDg8YqnxFCffX3gDg.jpeg", links: { website: "https://prateekmadaan.me", linkedin: "https://www.linkedin.com/in/prateek-madaan-08a7919a/", github: "https://github.com/prateek951", }, jobTitle: "Full Stack Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Saurabh Singh", img: "https://avatars2.githubusercontent.com/u/40304636?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/saurabhsingh121/", github: "https://github.com/saurabhsingh121", }, jobTitle: "Full Stack Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Lachlan Whelan", img: "https://lachlanwhelan.github.io/images/logo.png", links: { website: "", linkedin: "https://www.linkedin.com/in/lachlan-whelan-666386179/", github: "https://github.com/lachlanwhelan", }, jobTitle: "Full-Stack Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Gioacchino Di Nardo", img: "https://media.licdn.com/dms/image/C4E03AQEmLetBdMjEQA/profile-displayphoto-shrink_200_200/0?e=1568851200&v=beta&t=9IWXFMTqCMVg-7vieB9v5KEFjtjtwGDrzWw64sgBwis", links: { website: "https://gioacchino-dinardo.com", linkedin: "https://www.linkedin.com/in/gioacchino-di-nardo/", github: "https://github.com/deeseert", }, jobTitle: "Full Stack Web Developer", location: { city: "London", state: "", country: "UK", }, }, { id: uuidv4(), name: "Daniel Guitara", img: "https://avatars2.githubusercontent.com/u/52767209?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/mohamad-daniel-guitara-4ba67290/", github: "https://github.com/danielguitara", }, jobTitle: "Software Developer", location: { city: "Jakarta", state: "", country: "Indonesia", }, }, { id: uuidv4(), name: "Rahul Syal", img: "https://res.cloudinary.com/dssa0shmr/image/upload/v1561878959/Pydata/rahuls_wuro1z.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/rahul-syal-646380151", github: "https://github.com/rahulsyal2512", }, jobTitle: "Full Stack Developer", location: { city: "Jalandhar", state: "Punjab", country: "India", }, }, { id: uuidv4(), name: "Anushka Beri", img: "https://res.cloudinary.com/dkksvxoms/image/upload/v1563784729/anushka_ilpacf_p7hj0u.jpg", links: { website: "https://thisbutterfly.netlify.com/", linkedin: "https://www.linkedin.com/in/anushka-beri-1b767a140/", github: "https://github.com/thisbutterfly", }, jobTitle: "Full Stack Developer", location: { city: "Ludhiana", state: "Punjab", country: "India", }, }, { id: uuidv4(), name: "Daniyal Majeed", img: "https://avatars1.githubusercontent.com/u/37538929?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/daniyal-majeed-a3821118a/", github: "https://github.com/danymajeed", }, jobTitle: "Full Stack Developer", location: { city: "Faisalabad", state: "Punjab", country: "Pakistan", }, }, { id: uuidv4(), name: "Glyn Lewington", img: "https://avatars2.githubusercontent.com/u/28625651?s=460&v=4", links: { website: "https://www.glynlewington.com", linkedin: "www.linkedin.com/in/glynlewington", github: "https://github.com/glynl", }, jobTitle: "Frontend Developer", location: { city: "Brisbane", state: "Queensland", country: "Australia", }, }, { id: uuidv4(), name: "Olamide Aboyeji", img: "https://avatars1.githubusercontent.com/u/40968569?s=460&v=4", links: { website: "https://aolamide.me", linkedin: "www.linkedin.com/in/aolamide/", github: "https://github.com/aolamide", }, jobTitle: "Web Developer", location: { city: "Lagos", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Spencer Fong", img: "https://github.com/spencerericfong/spencerericfong.github.io/blob/master/assets/pictures/Spencer_Profile.png", links: { website: "https://spencerericfong.github.io/", linkedin: "https://www.linkedin.com/in/spencer-eric-fong/", github: "https://github.com/spencerericfong", }, jobTitle: "Full Stack Dev/Student", location: { city: "Irvine", state: "California", country: "United States of America", }, }, { id: uuidv4(), name: "Andrea Franco", img: "https://github.com/andrea07021981/AndreaSite.github.io/blob/master/images/personalimage.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/andrea-franco-9624a278", github: "https://github.com/andrea07021981", }, jobTitle: "Mobile & Web Developer", location: { city: "Pordenone", state: "Friuli Venezia Giulie", country: "Italy", }, }, { id: uuidv4(), name: "FLORENCE ONYEDIKACHI NZE-BEN", img: "https://avatars1.githubusercontent.com/u/28601222?s=400&u=a1d6a8de8c34a150f6ccf71f5d91508330216d47&v=4", links: { website: "https://www.thekachi.com", linkedin: "https://www.linkedin.com/in/onyedikachi-f-nze-a37938163/", github: "https://github.com/TheKachi", }, jobTitle: "FULL STACK DEVELOPER", location: { city: "VICTORIA ISLAND", state: "LAGOS", country: "NIGERIA", }, }, { id: uuidv4(), name: "Ajay Kumar", img: "http://indianexpresss.in/wp-content/uploads/2019/07/FB_IMG_15633520365070317.jpg", links: { website: "", linkedin: "", github: "https://github.com/Ajaybhardwaj90", }, jobTitle: "Android & JavaEE Developer ", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Ayoub Issaad", img: "https://avatars0.githubusercontent.com/u/5059344?s=460&v=4", links: { website: "http://www.ayoubissaad.com/", linkedin: "https://www.linkedin.com/in/ayoubissaad/", github: "https://github.com/AyoubIssaad", }, jobTitle: "Full Stack Developer, (React, NodeJS, PHP), Database Manager", location: { city: "Marrakech", state: "", country: "Morocco", }, }, { id: uuidv4(), name: "Yulin Wang", img: "", links: { website: "https://yulin-profile.herokuapp.com/", linkedin: "www.linkedin.com/in/javascript-developer-yulin", github: "https://github.com/wangyulinaaron", }, jobTitle: "Full Stack Developer", location: { city: "ChongQing", state: "ChongQing", country: "China", }, }, { id: uuidv4(), name: "Fauzi Arda Saputra", img: "", links: { website: "https://fauziardha1.github.io/", linkedin: "linkedin.com/in/fauzi-arda-saputra-170557a4", github: "https://github.com/fauziardha1", }, jobTitle: "Full Stack Developer , c++, Java", location: { city: "Jakarta", state: "", country: "Indonesia", }, }, { id: uuidv4(), name: "Kinga Polgar", img: "https://raw.githubusercontent.com/kpolgar/profile-image/master/profile-image-small.png", links: { website: "http://www.kingapolgar.com/", linkedin: "https://www.linkedin.com/in/kinga-polgar", github: "https://github.com/kpolgar", }, jobTitle: "Full Stack Developer", location: { city: "New York", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Chisom Trisha Okoye", img: "http://www.trishaomabu.com/wp-content/uploads/2019/07/logo1.png", links: { website: "https://trishachi.github.io/Profile-Page-Project/index.html", linkedin: "https://www.linkedin.com/in/chisom-trisha-okoye/", github: "https://github.com/Trishachi", }, jobTitle: "Front End Developer | Project Management Professional", location: { city: "Calgary", state: "AB", country: "Canada", }, }, { id: uuidv4(), name: "Gagandeep Singh", img: "https://scontent-sjc3-1.xx.fbcdn.net/v/t1.0-9/66186607_858071157892550_5724901559700029440_n.jpg?_nc_cat=103&_nc_oc=AQl4Kl6qfRIPJiaDSmUfNaR64wdCAeCdeDU081FFq2IhQvA_MZgsyckTMW4YZHXoWYgVPXNj9HwIeluW2k605Pfl&_nc_ht=scontent-sjc3-1.xx&oh=c4a436124c6e939c0595d3963772d73a&oe=5DA48472", links: { website: "", linkedin: "https://www.linkedin.com/in/singhperry01/", github: "https://github.com/singhperryo1", }, jobTitle: "Full Stack, Java, C++", location: { city: "Santa Clara", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Sevilay Selecki", img: "https://www.google.com/search?q=sevilay+selecki&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiUmZOp09zjAhUuxKYKHc5MD-UQ_AUIESgB&biw=1366&bih=657#imgrc=ehQYbg5PrDHBBM:", links: { website: "https://github.com/sevydev/my-portfolio", linkedin: "https://www.linkedin.com/in/sevilay-selecki-49568a166/", github: "https://github.com/sevydev", }, jobTitle: "Front-End Developer", location: { city: "Wroclaw", state: "Lower Silesia", country: "Poland", }, }, { id: uuidv4(), name: "Aasim Ahmed Khan Jawaad", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/aasim-ahmed-khan-jawaad/", github: "https://github.com/AasimAhmed20", }, jobTitle: "Front-End Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Daniel Jimenez", img: "https://avatars1.githubusercontent.com/u/34693940?s=460&v=4", links: { website: "danieljimenez.com.ve", linkedin: "https://www.linkedin.com/in/daniel-alejandro-1181a3190", github: "https://github.com/danieljimenzg", }, jobTitle: "Web Developer", location: { city: "Caracas", state: "Caracas", country: "Venezuela", }, }, { id: uuidv4(), name: "Jacob Giamanco", img: "https://avatars2.githubusercontent.com/u/52183478?s=460&v=4", links: { website: "https://jgiamanco.netlify.com", linkedin: "https://linkedin.com/in/jacob-giamanco", github: "https://github.com/jgiamanco", }, jobTitle: "Front-End Web Developer", location: { city: "San Diego", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "David Yang", img: "https://www.gravatar.com/avatar/f73911268c7b1cfa458988828ed89d80?d=mm&s=120", links: { website: "https://aodabo.tech", linkedin: "https://www.linkedin.com/in/zhiyuan-yang-9204b8134/", github: "https://github.com/yzyly1992", }, jobTitle: "Full-Stack Web Developer", location: { city: "Berkeley", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Murtadore Olajobi", img: "https://drive.google.com/open?id=1Bs8pnAIwnygg3cMKRaXqcZiduJwWSnJG", links: { website: "murtadore.com", linkedin: "https://www.linkedin.com/in/murtadore-olajobi-36b473165/", github: "https://github.com/mtdola", }, jobTitle: "Full-Stack Web-Developer", location: { city: "Surulere", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Omar Osuna", img: "https://avatars2.githubusercontent.com/u/35446494?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/omar-osuna/", github: "https://github.com/Omaralon", }, jobTitle: "Full-Stack Developer, ML enthusiast", location: { city: "Tijuana", state: "Baja California", country: "Mexico", }, }, { id: uuidv4(), name: "Hrishikesh Baidya", img: "https://i.ibb.co/fGB9kgK/myimg.jpg", links: { website: "http://hrishikeshbaidya.ml/", linkedin: "https://www.linkedin.com/in/hrishikesh7/", github: "https://github.com/hrishi7", }, jobTitle: "Full Stack Developer", location: { city: "Kolkata", state: "West Bengal", country: "India", }, }, { id: uuidv4(), name: "Olumide Odusote", img: "https://avatars1.githubusercontent.com/u/34481013?s=40&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/olumide-odusote", github: "https://github.com/MaGo1024", }, jobTitle: "Web Developer", location: { city: "Ikeja", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Elissavet Triantafyllopoulou", img: "https://avatars3.githubusercontent.com/u/13526047?s=460&v=4", links: { website: "https://www.elissavet.me", linkedin: "https://www.linkedin.com/in/elitriant/", github: "https://github.com/elisavetTriant", }, jobTitle: "IT Professional | Full Stack PHP Web Developer", location: { city: "", state: "", country: "Greece", }, }, { id: uuidv4(), name: "Obusor Ezekiel Umesi", img: "https://drive.google.com/open?id=14xTXWCH6nYqaFixLpQdmTAQOgFtkUQnp", links: { website: "", linkedin: "https://www.linkedin.com/in/obusor-ezekiel-umesi-a66b55121/", github: "https://github.com/obusorezekiel", }, jobTitle: "Full Stack Software Engineer & Blockchain Enthusiast", location: { city: "Port Harcourt", state: "Rivers", country: "Nigeria", }, }, { id: uuidv4(), name: "Willie Björnbom", img: "https://media.licdn.com/dms/image/C4D03AQHB0TouVafT3g/profile-displayphoto-shrink_200_200/0?e=1570665600&v=beta&t=poi4DeiS80k-dRaSWQN7zQsbju5yjctaqUkJZbU0zVU", links: { website: "", linkedin: "https://www.linkedin.com/in/willie-björnbom", github: "https://github.com/Bjoernbom", }, jobTitle: "Software Engineer/Front-End Developer", location: { city: "Örebro", state: "", country: "Sweden", }, }, { id: uuidv4(), name: "Brittani Gongre", img: "", links: { website: "brittanigongre.com", linkedin: "https://www.linkedin.com/in/brittani-gongre", github: "https://github.com/bgongre", }, jobTitle: "Front End Developer", location: { city: "Atlanta", state: "Georgia", country: "USA", }, }, { id: uuidv4(), name: "MOHD SUALEH", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/mohd-sualeh-88b24b77/", github: "https://github.com/imsualeh", }, jobTitle: "Software Engineer/Front-End Developer", location: { city: "Kannauj", state: "UTTAR Pradesh", country: "INDIA", }, }, { id: uuidv4(), name: "Rizwan Aaqil", img: "https://avatars0.githubusercontent.com/u/50185178?s=460&v=4", links: { website: "https://www.linkedin.com/in/rizwanaaqil", linkedin: "https://www.linkedin.com/in/rizwanaaqil", github: "https://github.com/rizwanrajput", }, jobTitle: "Web/WordPress Developer", location: { city: "Karachi", state: "Sindh", country: "Pakistan", }, }, { id: uuidv4(), name: "Andrzej Gołąbek (Harnas_20)", img: "https://avatars1.githubusercontent.com/u/37544193?s=460&v=4", links: { website: "https://www.mojatesciowa.pl", linkedin: "https://www.linkedin.com/in/andrzej-go%C5%82%C4%85bek-2a812b152/", github: "https://github.com/AndrzejHarnas", }, jobTitle: "Research Assistant/IT Specialist", location: { city: "Krosno", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Christopher Brinkmann", img: "https://media.licdn.com/dms/image/C4D03AQF3q_lxMNHZBA/profile-displayphoto-shrink_200_200/0?e=1571270400&v=beta&t=2it5hynstXZnXUI_2jTBINHI78ydOuKh970BUKc4y5Q", links: { website: "", linkedin: "https://www.linkedin.com/in/christopher-brinkmann-89b85a112/", github: "https://github.com/chrisbrinkmann", }, jobTitle: "Full Stack Developer", location: { city: "Washington", state: "DC", country: "USA", }, }, { id: uuidv4(), name: "Thet Aung", img: "", links: { website: "", linkedin: "", github: "https://github.com/thetaung123", }, jobTitle: "Full Stack Developer", location: { city: "Yangon", state: "Yangon", country: "Myanmar", }, }, { id: uuidv4(), name: "Selmi Ahmed", img: "https://i.ibb.co/m07qc8Y/photo-v4.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/ahmed-selmi-7b8742191/ ", github: "https://github.com/SelmiAhmed", }, jobTitle: "Web Developer", location: { city: "Tunis", state: "Tunis", country: "Tunisia", }, }, { id: uuidv4(), name: "Muhamed khaled", img: "https://i.ibb.co/gFrSYrK/me.png", links: { website: "", linkedin: "https://www.linkedin.com/in/muhamedkhaled", github: "https://github.com/MuhamedKhaled", }, jobTitle: "Software Engineer", location: { city: "Cairo", state: "", country: "Egypt", }, }, { id: uuidv4(), name: "Marcin Selecki", img: "https://media.licdn.com/dms/image/C5603AQEmuhG71_ZN5A/profile-displayphoto-shrink_200_200/0?e=1571875200&v=beta&t=yCOY_KFyQJnnYlHbhztgfrwsG1t9JOOau1DeRN4K5sY", links: { website: "", linkedin: "https://www.linkedin.com/in/marcin-selecki-595b80182/", github: "https://github.com/marcindev10", }, jobTitle: "Front-end Developer", location: { city: "Wroclaw", state: "Lower silesia", country: "Poland", }, }, { id: uuidv4(), name: "Prateek Gurnani", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/prateek-gurnani-563565108/", github: "https://github.com/prateekgurnani10", }, jobTitle: "Full Stack Developer", location: { city: "Greenville", state: "South Carolina", country: "United States", }, }, { id: uuidv4(), name: "Sam Islam", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/shamiul-islam-882595169/", github: "https://github.com/Sam5180", }, jobTitle: "Full-Stack Developer", location: { city: "New York", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Satendra Nath Chowdhary", img: "https://lh3.googleusercontent.com/-5enlx2hf5pY/XcD0vO34-_I/AAAAAAAAAAs/hYepTtFV4AQrpNkK8zUB0-ONiugBYxJeACEwYBhgL/w140-h140-p/profile.png", links: { website: "", linkedin: "https://www.linkedin.com/in/satendra-chowdhary-100607185/", github: "https://github.com/satendrachowdhary", }, jobTitle: "JS Full Stack Developer", location: { city: "Najafgarh", state: "New Delhi", country: "India", }, }, { id: uuidv4(), name: "Pratyush Ranjan Padhi", img: "https://photos.google.com/photo/AF1QipNxW_KAy8SE_7Ju4CD3zy-BAm1CjscZIGAAEjzC", links: { website: "https://pratyushranjan.in", linkedin: "https://www.linkedin.com/in/pratyushranjanpadhi/", github: "https://github.com/pratyushranjan02", }, jobTitle: "Full Stack Developer", location: { city: "Bengaluru", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Canaan Merchant", img: "https://media.licdn.com/dms/image/C4D03AQGd9SCk8jtcYg/profile-displayphoto-shrink_200_200/0?e=1571875200&v=beta&t=m1hY3wf194OVTztx65YCmxt_2QKSICQ4tzPR-QbZCi0", links: { website: "", linkedin: "https://www.linkedin.com/in/canaaanmerchant/", github: "https://github.com/canaanmerchant", }, jobTitle: "", location: { city: "Washington", state: "DC", country: "USA", }, }, { id: uuidv4(), name: "Milton Neto", img: "https://media.licdn.com/dms/image/C4E03AQEyZRJXT8uy9A/profile-displayphoto-shrink_200_200/0?e=1571875200&v=beta&t=iBsGK_DnM5KnP-85PA1_SgNYHX3zWQSUtNOVrLLQfwA", links: { website: "", linkedin: "https://www.linkedin.com/in/milton-omena/", github: "https://github.com/omenaneto", }, jobTitle: "Full Stack Dev.", location: { city: "Maceió", state: "Alagoas", country: "Brazil", }, }, { id: uuidv4(), name: "Ruturaj Jadeja", img: "https://photos.app.goo.gl/njsLf3XieDUGQP3d7", links: { website: "https://ruturajjadeja.com/", linkedin: "https://www.linkedin.com/in/ruturajjadeja/", github: "https://github.com/ruturajjadeja", }, jobTitle: "Full Stack Developer", location: { city: "Chicago", state: "IL", country: "USA", }, }, { id: uuidv4(), name: "Christopher Deiller", img: "https://media.licdn.com/dms/image/C4D03AQFXhrR_MPrLJg/profile-displayphoto-shrink_200_200/0?e=1572480000&v=beta&t=l4I9NFiJpZ--BfVmfM6v7iMGqv59LWcuscY_8h77Fik", links: { website: "", linkedin: "www.linkedin.com/in/christopher-deiller", github: "https://github.com/MonkeyDChriss", }, jobTitle: "QA Engineer", location: { city: "Barcelona", state: "Catalunya", country: "Spain", }, }, { id: uuidv4(), name: "Maarten Schuilenburg", img: "https://media.licdn.com/dms/image/C5603AQElrFxXSA9FPQ/profile-displayphoto-shrink_200_200/0?e=1572480000&v=beta&t=qTXcrPkl58d1B-yRkr7TijMIVnmKMEof1T0KzLviI3I", links: { website: "", linkedin: "www.linkedin.com/in/maartenschuilenburg/", github: "https://github.com/HANssvvv", }, jobTitle: "Junior full-stack developer", location: { city: "Utrecht", state: "Utrecht", country: "Netherlands", }, }, { id: uuidv4(), name: "Alessio Petrin", img: "https://media.licdn.com/dms/image/C4E03AQFH8uMbXPTNQw/profile-displayphoto-shrink_200_200/0?e=1572480000&v=beta&t=ltd5xbd6mRZ1psaTuxyKfkJfLe_Q_1bPtdW7BQkCWJc", links: { website: "http://myap-portfolio.com", linkedin: "www.linkedin.com/in/alessio-petrin-41b058190/", github: "https://github.com/ale917k", }, jobTitle: "Front End Developer", location: { city: "Oxford", state: "UK", country: "United Kingdom", }, }, { id: uuidv4(), name: "Sagnil Yun", img: "https://media.licdn.com/dms/image/C5103AQHROq8oN8jExw/profile-displayphoto-shrink_200_200/0?e=1573084800&v=beta&t=KtV50zNoZqjmjMjASK_9-4Gs7THD3mleoEMxCGpHNuw", links: { website: "", linkedin: "", github: "https://github.com/SangilYun", }, jobTitle: "Full Stack Developer", location: { city: "", state: "", country: "Korea (Republic of)", }, }, { id: uuidv4(), name: "Sebastian Andrei Gruia", img: "https://i.postimg.cc/50MSjbvz/D80-5373.jpg", links: { website: "https://sebagruia.github.io/SebastianGruia-Project-Page/", linkedin: "https://www.linkedin.com/in/sebastiangruia/", github: "https://github.com/sebagruia", }, jobTitle: "Front End Developer", location: { city: "Darmstadt", state: "Hesse", country: "Deutschland", }, }, { id: uuidv4(), name: "Chung-Fan Tsai", img: "https://i.ibb.co/9V5Sysc/profile.jpg", links: { website: "https://gigi1111.github.io/Chung-Fan-Tsai-Portfolio/", linkedin: "https://www.linkedin.com/in/chung-fan-tsai-433230175/", github: "https://github.com/Gigi1111", }, jobTitle: "Full Stack JS and Django Developer", location: { city: "Berlin", state: "Berlin", country: "Germany", }, }, { id: uuidv4(), name: "Fahad Jabbar", img: "https://avatars0.githubusercontent.com/u/29518549?v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/hereisfahad/", github: "https://github.com/hereisfahad", }, jobTitle: "JavaScript Developer", location: { city: "Lahore", state: "", country: "Pakistan", }, }, { id: uuidv4(), name: "Mikkel Ridley", img: "https://avatars3.githubusercontent.com/u/11878116?s=460&v=4", links: { website: "https://amazecode.com/", linkedin: "https://www.linkedin.com/in/mikkel250/", github: "https://github.com/mikkel250", }, jobTitle: "MERN Stack Developer", location: { city: "San Francisco", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Mengyue Wu", img: "https://avatars2.githubusercontent.com/u/42802258?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/mengyue-wu-804177158/", github: "https://github.com/menyw", }, jobTitle: "Full Stack Developer", location: { city: "Adelaide/Canberra", state: "SA/ACT", country: "Australia", }, }, { id: uuidv4(), name: "Damyan Peykov", img: "", links: { website: "https://dppeykov.github.io/", linkedin: "https://www.linkedin.com/in/damyan-peykov/", github: "https://github.com/dppeykov", }, jobTitle: "Full Stack Developer/System Administrator", location: { city: "Brno", state: "South Moravia", country: "Czech Republic", }, }, { id: uuidv4(), name: "Przemyslaw Gilewski", img: "https://avatars2.githubusercontent.com/u/35427990?s=460&v=4", links: { website: "http://pgilewski.com/", linkedin: "https://www.linkedin.com/in/przemyslaw-gilewski/", github: "https://github.com/pgilewski", }, jobTitle: "Full Stack Developer", location: { city: "Szczecin", state: "zachodnio-pomorskie", country: "Poland", }, }, { id: uuidv4(), name: "Maduabuchi Okonkwo", img: "https://media.licdn.com/dms/image/C5603AQExX7PwoRztZg/profile-displayphoto-shrink_200_200/0?e=1565827200&v=beta&t=QGAprDkmWsGLRMb9Z3NyueaK8Xf7si6eyPFtF8lqU1A", links: { website: "", linkedin: "www.linkedin.com/in/maduabuchi-okonkwo-855380b9", github: "https://github.com/Maduflavins", }, jobTitle: "Software Developer|Data Sciencetist|IT Professional", location: { city: "Abuja", state: "Abuja", country: "Nigeria", }, }, { id: uuidv4(), name: "Meagan Olsen", img: "", links: { website: "https://olsenme.github.io/portfolio/", linkedin: "www.linkedin.com/in/mkjo", github: "https://github.com/olsenme", }, jobTitle: "Software Developer|Technical Consultant|Technical Program Manager", location: { city: "Portland", state: "Oregon", country: "United States", }, }, { id: uuidv4(), name: "Md Kawsar Hussen", img: "https://avatars0.githubusercontent.com/u/46500263?s=400&v=4", links: { website: "https://kawsarhussen.com/", linkedin: "https://www.linkedin.com/in/kawsarhussen16/", github: "https://github.com/kawsarhussen16", }, jobTitle: "Full Stack Developer", location: { city: "New York", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "AHNM Ebn Sina", img: "https://scontent.fdac1-1.fna.fbcdn.net/v/t1.0-9/55853478_109250640254050_4847091024142532608_n.jpg?_nc_cat=109&_nc_eui2=AeG1d3hmax9FFRFicbOl2KLJ3Renr-G9DI72BYhvTplee9lsl4-w4Iq1DHqyPJrjpQdvffVniosXBoqjyXX98n3W-KgUYir-VVUHdLTDuL0WgA&_nc_oc=AQl4iZpNSeBbP-evgA5W8Dh_J7sRdAf4mvz_t44IoywmYBAt_JpQLtgVqLUaCKjdESI&_nc_ht=scontent.fdac1-1.fna&oh=5c62ec340dd79922ef1a2820d0b07202&oe=5E0D5D84", links: { website: "https://ebnsina.me", linkedin: "https://www.linkedin.com/in/ebn-sina", github: "https://github.com/ebnsina", }, jobTitle: "Full-Stack Web Dev", location: { city: "Dhaka", state: "", country: "Bangladesh", }, }, { id: uuidv4(), name: "Ricardo Esteves", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ricardo-esteves-a5a971159/", github: "https://github.com/ricksnow26", }, jobTitle: "Electrical Engineer, Web Developer", location: { city: "Porto", state: "", country: "Portugal", }, }, { id: uuidv4(), name: "Muhammad Ali Kazmi", img: "https://avatars.githubusercontent.com/kazmiali", links: { website: "https://kazmiali.github.io", linkedin: "https://www.linkedin.com/in/muhammad-alikazmi/", github: "https://github.com/kazmiali", }, jobTitle: "Full Stack Web Developer, React Developer, NodeJS Developer", location: { city: "Hyderabad", state: "Sindh", country: "Pakistan", }, }, { id: uuidv4(), name: "Hsing-Ju Shih", img: "https://avatars2.githubusercontent.com/u/17341322?s=460&v=4", links: { website: "https://hsingjushih.wixsite.com/website", linkedin: "https://www.linkedin.com/in/hsing-ju-shih/", github: "https://github.com/HJShih/", }, jobTitle: "Software developer, Java, C++, JavaScript", location: { city: "New Taipei City", state: "", country: "Taiwan", }, }, { id: uuidv4(), name: "Pranav Shah", img: "https://avatars1.githubusercontent.com/u/2270260?s=460&v=4", links: { website: "http://www.shahpranav.com/", linkedin: "https://www.linkedin.com/in/shpranav/", github: "https://github.com/shahpranaf", }, jobTitle: "Full Stack JavaScript Developer", location: { city: "Pune", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Diego Ormaza", img: "https://avatars0.githubusercontent.com/u/18644717?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/diego-ormaza-de-paul-14453311a", github: "https://github.com/eaglearg", }, jobTitle: "Full Stack Developer", location: { city: "Roswell", state: "GA", country: "USA", }, }, { id: uuidv4(), name: "Andrew Baisden", img: "https://avatars1.githubusercontent.com/u/5095486?s=460&v=4", links: { website: "https://andrewbaisden.com/", linkedin: "https://www.linkedin.com/in/andrew-baisden/", github: "https://github.com/andrewbaisden", }, jobTitle: "Full Stack Developer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Mauro Small", img: "https://media.licdn.com/dms/image/C4D03AQE4qZ20MsE_KA/profile-displayphoto-shrink_200_200/0?e=1574899200&v=beta&t=niw1nWkOqv6Lr4708EQnn9a4f14hUBDTLDJ6zY6khjE", links: { website: "", linkedin: "https://www.linkedin.com/in/mauro-small/", github: "https://github.com/mlsmall", }, jobTitle: "Machine Learning Practitioner", location: { city: "Montreal", state: "", country: "Canada", }, }, { id: uuidv4(), name: "Gonzalo García Costoya", img: "https://avatars1.githubusercontent.com/u/47854878?s=400&u=0640c04415b7d75704f9d5d2c7d165db512bd860&v=4", links: { website: "linkedin.com/in/gonza-garcia", linkedin: "linkedin.com/in/gonza-garcia", github: "github.com/gonza-garcia", }, jobTitle: "Full Stack Web Developer", location: { city: "Mar del Plata", state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Yisau Abdussamad", img: "https://res.cloudinary.com/sammieyisau/image/upload/v1554321179/Samad_3.jpg", links: { website: "https://abdussamadyisau.github.io", linkedin: "https://www.linkedin.com/in/abdussamad-yisau-915298154/", github: "https://github.com/AbdussamadYisau", }, jobTitle: "Frontend Web Developer", location: { city: "Lagos", state: "", country: "Nigeria", }, }, { id: uuidv4(), name: "Samir Jouni", img: "https://avatars1.githubusercontent.com/u/34379157?s=400&v=4", links: { website: "https://samirjouni.com/", linkedin: "https://www.linkedin.com/in/samir-jouni-373966156/", github: "https://github.com/SamirJouni", }, jobTitle: "Fullstack Web Developer", location: { city: "Paderborn", state: "North Rhine-Westphalia", country: "Germany", }, }, { id: uuidv4(), name: "Paul McLaughlin", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/paul-mclaughlin-18297b29/", github: "https://github.com/codepol", }, jobTitle: "Fullstack Web Developer", location: { city: "Dublin", state: "", country: "Ireland", }, }, { id: uuidv4(), name: "Raafay Alam", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/raafay-alam-3b68a195/", github: "https://github.com/rffffy", }, jobTitle: "Fullstack Web Developer", location: { city: "Berlin", state: "", country: "Germany", }, }, { id: uuidv4(), name: "Bibekpreet Singh", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/bibekpreet-singh-797966166/", github: "https://github.com/bibekpreet99", }, jobTitle: "Fullstack Javascript Developer", location: { city: "", state: "Punjab", country: "India", }, }, { id: uuidv4(), name: "Ionut Oceanu", img: "https://oceanu-ionut.netlify.com/assets/image.daa3a19bf5aed7dab1e1f02bbc8ba6b4.jpg", links: { website: "https://oceanu-ionut.netlify.com/", linkedin: "https://www.linkedin.com/in/ionut-oceanu/", github: "https://github.com/OceanU", }, jobTitle: "Full Stack Web Developer", location: { city: "Bucharest", state: "", country: "Romania", }, }, { id: uuidv4(), name: "Kay Nguyen", img: "https://kaynguyen.dev/static/media/profileImg.6745890d.jpeg", links: { website: "https://kaynguyen.dev", linkedin: "https://www.linkedin.com/in/kaynguyen-dev/", github: "https://github.com/k-awe-some", }, jobTitle: "React Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Fadhil Kehinde Akindele", img: "https://res.cloudinary.com/fadhil/image/upload/v1570022438/My%20Pictures/blackops3.jpg", links: { website: " ", linkedin: "https://www.linkedin.com/in/fadhil-akindele-24701310a/", github: "https://github.com/TheCount511", }, jobTitle: "Frontend Developer", location: { city: "Lagos", state: "", country: "Nigeria", }, }, { id: uuidv4(), name: "Melody Reyes", img: "https://melodyreyes.pixieset.com/picture/p/MzMxMzU5NjU0OA==-MzY1MjI1ODI4MQ/", links: { website: " ", linkedin: "https://www.linkedin.com/in/melodyreyes/", github: "https://github.com/MelodyReyes09", }, jobTitle: "Frontend Web Developer", location: { city: "Mexico", state: "Pampanga", country: "Philippines", }, }, { id: uuidv4(), name: "Arkadiusz Szymczak", img: "", links: { website: "http://arkadiusz-szymczak.surge.sh/", linkedin: "https://www.linkedin.com/in/arkadiusz-szymczak/", github: "https://github.com/Aszmel", }, jobTitle: "Front-End Developer", location: { city: "", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Jessica Yin", img: "https://ibb.co/djkLv5z", links: { website: "https://jcat1504.github.io/portfolio2019/", linkedin: "https://www.linkedin.com/in/jessicatyin/", github: "https://github.com/jcat1504", }, jobTitle: "Front-End Developer", location: { city: "Buena Park", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Daniele Buccheri", img: "https://avatars2.githubusercontent.com/u/9345854?s=460&v=4", links: { website: "https://dbuccheri.github.io", linkedin: "https://www.linkedin.com/in/danielebuccheri/", github: "https://github.com/dbuccheri", }, jobTitle: "Full Stack Developer", location: { city: "Los Angeles", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Mike Damato", img: "", links: { linkedin: "https://www.linkedin.com/in/michael-damato-683abb48/", github: "https://github.com/Mike-Damato", }, jobTitle: "Fullstack Developer", location: { city: "New York", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Sergey Filat", img: "", links: { website: "", linkedin: "", github: "https://github.com/Filat1", }, jobTitle: "Full Stack Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Robin Kartikeya Khatri", img: "https://pbs.twimg.com/profile_images/760312973470625792/KgptdRN3_400x400.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/robin-kartikeya-khatri-611278aa/", github: "https://github.com/RobinKartikeyaKhatri", }, jobTitle: "Full Stack Developer", location: { city: "Barmer", state: "Rajasthan", country: "India", }, }, { id: uuidv4(), name: "Dhaval Mehta", img: "https://media.licdn.com/dms/image/C5103AQE9az54ZZrzhg/profile-displayphoto-shrink_200_200/0?e=1576108800&v=beta&t=To3B1odr_6uzviLqsCsd_yWC5eqq2SaxaIY_J4Tv9xU", links: { website: "", linkedin: "https://www.linkedin.com/in/dhaval-m-994a83179/", github: "https://github.com/Dhaval1403", }, jobTitle: "Full Stack Web Developer", location: { city: "Rajkot", state: "Gujarat", country: "India", }, }, { id: uuidv4(), name: "Meet Mehta", img: "https://media.licdn.com/dms/image/C5103AQHvyda6VXgTnQ/profile-displayphoto-shrink_200_200/0?e=1576108800&v=beta&t=A7gmOBP-PtbBHlEmM9Cy-8pN4AjIxZ0uVChVJ1j6U-s", links: { website: "", linkedin: "https://www.linkedin.com/in/meetmehta1103/", github: "https://github.com/Meet1103", }, jobTitle: "Full Stack Web Developer", location: { city: "Rajkot", state: "Gujarat", country: "India", }, }, { id: uuidv4(), name: "Eric Puskas", img: "https://avatars0.githubusercontent.com/u/45266485?s=460&v=4", links: { website: "https://www.ericpuskas.com", linkedin: "https://www.linkedin.com/in/ericpuskas/", github: "https://github.com/EricPuskas", }, jobTitle: "Full-Stack Web Developer", location: { city: "Satu-Mare", state: "Satu-Mare", country: "Romania", }, }, { id: uuidv4(), name: "Arturo Castañon", img: "https://avatars0.githubusercontent.com/u/21693926?s=400&u=a0f35d5cbc47e874623f1e81ca93359293f09718&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/arturocastanonvargas/", github: "https://github.com/ArturVargas", }, jobTitle: "Full-Stack Web Developer", location: { city: "CDMX", state: "", country: "Mexico", }, }, { id: uuidv4(), name: "Baiyang Yao", img: "ttps://i.ibb.co/WK79MB2/self.jpg", links: { website: "http://www.bananaboom.space/", linkedin: "https://www.linkedin.com/in/baiyang-sam-y-54828a140/", github: "https://github.com/yaohuangguan", }, jobTitle: "Software Engineer | Web Developer", location: { city: "Columbus", state: "OH", country: "United States", }, }, { id: uuidv4(), name: "Paul Billings", img: "https://i.gyazo.com/b47f953cb0b01e9c7c7ed70d4337fcf1.png", links: { website: "https://www.paulbillings.co.uk", linkedin: "https://www.linkedin.com/in/paul-billings", github: "https://github.com/paulbillings", }, jobTitle: "Full-Stack Web Developer", location: { city: "Birmingham", state: "England", country: "United Kingdom", }, }, { id: uuidv4(), name: "Mano lingam", img: "https://doc-0s-6o-docs.googleusercontent.com/docs/securesc/ue0f0j6g8uvmn3b8ckgjcsjkd1knqu9d/935mlj9m36j268k0c51b6hin0qg4rfe8/1571198400000/07556814012980498705/07556814012980498705/1GjS_oPMN3pvBoP1wVUvVN9MYif6bG1hL?e=view&nonce=v5ajbr3sgp6v4&user=07556814012980498705&hash=sre35oqfgephu1b4cpfsom8if0ul1oqj", links: { website: "https://manolingam.github.io/", linkedin: "https://www.linkedin.com/in/saimano1996/", github: "https://github.com/manolingam/", }, jobTitle: "Front-End Web Developer | Blockchain Developer", location: { city: "", state: "", country: "India", }, }, { id: uuidv4(), name: "Tanya Yakovleva", img: "https://pbs.twimg.com/profile_images/1172763656699961345/PeX1flA8_200x200.jpg", links: { website: "https://www.yalovleva.dev", linkedin: "", github: "https://github.com/yakovleva-tanya/", }, jobTitle: "Front End Developer", location: { city: "", state: "", country: "", }, }, { id: uuidv4(), name: "Alex Marmalichi", img: "https://avatars0.githubusercontent.com/u/52268561?s=400&u=c479f56a831ad9cf20eb42651420bbb8340250e0&v=4", links: { website: "https://www.alcima.org/", linkedin: "https://www.linkedin.com/in/alex-marmalichi/", github: "https://github.com/2nd-Runner", }, jobTitle: "Full Stack Developer", location: { city: "Los Angeles", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Natalina Rodrigues", img: "http://natalina-portfolio.herokuapp.com/images/pics.jpg", links: { website: "http://natalina-portfolio.herokuapp.com/", linkedin: "https://www.linkedin.com/in/natalina-rodrigues-69ab29169/", github: "https://github.com/Natalina13", }, jobTitle: "Full Stack and Python Developer", location: { city: "Fremont", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Asifur Rahman", img: "https://photos.app.goo.gl/8e8ozgNdi8pY2nYi6", links: { website: "https://www.about.me/asifurrahman", linkedin: "https://www.linkedin.com/in/0asif0", github: "https://github.com/asifurrehman", }, jobTitle: "Full Stack Developer", location: { city: "", state: "", country: "Anywhere (Remotely) ", }, }, { id: uuidv4(), name: "Rucha Deshpande", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/rucha-deshpande-087b7342/", github: "https://github.com/cha1690", }, jobTitle: "Full Stack Developer", location: { city: "", state: "", country: "Anywhere (Remotely) ", }, }, { id: uuidv4(), name: "Charles Jones", img: "https://avatars1.githubusercontent.com/u/4614877?s=460&v=4", links: { website: "http://charlesjones.me/", linkedin: "https://www.linkedin.com/in/charlesjonesiii/", github: "https://github.com/CharlesJ3", }, jobTitle: "Full Stack Developer", location: { city: "Colorado Springs", state: "Colorado", country: "United States", }, }, { id: uuidv4(), name: "Chiragkumar Maniyar", img: "", links: { website: "http://cumaniar.cf", linkedin: "https://www.linkedin.com/in/chiragkumar-maniyar-37017492/", github: "https://github.com/CUManiar", }, jobTitle: "Software Engineer", location: { city: "Pune", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Puneet Kumar", img: "https://puneetkumarkaushik.github.io/img/profile.jpeg", links: { website: "http://puneetkumarkaushik.tech", linkedin: "https://www.linkedin.com/in/puneet-kumar-294507a6/", github: "https://github.com/puneetkumarkaushik", }, jobTitle: "MERN Stack Web Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Jovan Ničković", img: "https://avatars0.githubusercontent.com/u/34028234?s=460&v=4", links: { website: "", linkedin: "", github: "https://github.com/jovannickovic", }, jobTitle: "Web Developer (PHP, JavaScript)", location: { city: "", state: "", country: "Serbia", }, }, { id: uuidv4(), name: "Constantino Saldana", img: "https://avatars3.githubusercontent.com/u/45720754?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/constantinosaldana/", github: "https://github.com/antinomezco", }, jobTitle: "Web Developer (Python, JavaScript)", location: { city: "Montreal", state: "Quebec", country: "Canada", }, }, { id: uuidv4(), name: "Yash Shelatkar", img: "https://avatars2.githubusercontent.com/u/25059239?s=400&u=804b365294eaadc66bcfadb6a7ab0b000651511b&v=4", links: { website: "http://www.yashshelatkar.com", linkedin: "https://www.linkedin.com/in/yash-shelatkar-b14bb0112", github: "https://github.com/yashShelatkar", }, jobTitle: "Fullstack Developer Intern", location: { city: "Melbourne", state: "Victoria", country: "Australia", }, }, { id: uuidv4(), name: "Oussama Er rabili", img: "https://avatars1.githubusercontent.com/u/20917516?s=460&v=4", links: { website: "http://oussamawebdev.com", linkedin: "https://www.linkedin.com/in/oussamaerrabili/", github: "https://github.com/redmor", }, jobTitle: "Full Stack Web Developer", location: { city: "Columbus", state: "Ohio", country: "United States", }, }, { id: uuidv4(), name: "Kaustuv Karan", img: "https://avatars2.githubusercontent.com/u/43791878?s=460&v=4", links: { linkedin: "https://www.linkedin.com/in/kaustuv-karan-b56750169/", github: "https://github.com/kaustuvkaran01", }, jobTitle: "React Developer Intern", location: { city: "Patiala", state: "Punjab", country: "India", }, }, { id: uuidv4(), name: "Rajnish Kr Singh", img: "https://media.licdn.com/dms/image/C5103AQFCTSzJ-qni8Q/profile-displayphoto-shrink_200_200/0?e=1577318400&v=beta&t=iAdUxzlVtGmSIHm9I9EzsIqIuup4kKiJdyNwuDEwCTk", links: { website: "https://rajnishkrsingh.github.io/my_portfolio", linkedin: "https://www.linkedin.com/in/rajnish-kr-singh-165272184/", github: "https://github.com/RajnishKrSingh", }, jobTitle: "Web Developer | Programmer | ReactJS Enthusiast", location: { city: "Kolkata", state: "", country: "India", }, }, { id: uuidv4(), name: "Donald Tang", img: "", links: { website: "https://turazi.xyz/", linkedin: "https://www.linkedin.com/in/donaldtang8/", github: "https://github.com/turazi", }, jobTitle: "Software Developer", location: { city: "New York", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "AmirDlz", img: "https://avatars0.githubusercontent.com/u/54416476?s=460&v=4", links: { website: "https://aynorica.github.io/", linkedin: "https://www.linkedin.com/in/amir-deilamizadeh-2712a6192", github: "https://github.com/aynorica", }, jobTitle: "Full-stack Developer", location: { city: "Istanbul", state: "Istanbul", country: "Turkey", }, }, { id: uuidv4(), name: "Khalig Novruzli", img: "https://avatars3.githubusercontent.com/u/6874791?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/khalign/", github: "https://github.com/khalign", }, jobTitle: "Software Engineer", location: { city: "Bandirma", state: "Balikesir", country: "Turkey", }, }, { id: uuidv4(), name: "Konstantin Proshin", img: "https://avatars1.githubusercontent.com/u/48204262?s=460&v=4", links: { website: "https://jkorum.github.io/portfolio-page/", linkedin: "https://www.linkedin.com/in/konstantin-proshin/", github: "https://github.com/JKorum", }, jobTitle: "Full-Stack Web Developer", location: { city: "Moscow", state: "", country: "Russia", }, }, { id: uuidv4(), name: "Aladdin Sonni", img: "https://avatars1.githubusercontent.com/u/11818560?s=400&u=b250580007b0604f5503aaca49ead5e68154f25e&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/aladdin-sonni/", github: "https://github.com/asonni", }, jobTitle: "Front End Developer", location: { city: "Tripoli", state: "", country: "Libya", }, }, { id: uuidv4(), name: "Geoff Thomas", img: "http://www.thomasgeoff.com/images/bg_1.jpg", links: { website: "http://www.thomasgeoff.com", linkedin: "https://www.linkedin.com/in/geoff-thomas-01/", github: "https://github.com/thomasgeoff", }, jobTitle: "Software Engineer", location: { city: "Rohnert Park", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Amit Bisht", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/amitbisht54/", github: "https://github.com/bishtamit", }, jobTitle: "Software Engineer", location: { city: "Gurugram", state: "Haryana", country: "India", }, }, { id: uuidv4(), name: "Fyodor Prokofiev", img: "https://avatars1.githubusercontent.com/u/9195737?s=460&v=4", links: { website: "https://fprokofiev.ru", linkedin: "https://www.linkedin.com/in/fpro/", github: "https://github.com/fprokofiev", }, jobTitle: "Full Stack Developer, Project Manager", location: { city: "Saint-Petersburg", state: "St.Petersburg", country: "Russia", }, }, { id: uuidv4(), name: "Edmond Ma", img: "https://avatars2.githubusercontent.com/u/12569803?s=400&u=6f74a7b55e6b23de8e99b7321589a2e9ea2b6815&v=4", links: { website: "https://edjunma.dev", linkedin: "https://www.linkedin.com/in/edjunma/", github: "https://github.com/edjunma", }, jobTitle: "Freelance Web Developer, Front-End Developer", location: { city: "New York City", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Andy Nguyen", img: "https://avatars2.githubusercontent.com/u/6422752?s=460&v=4", links: { website: "https://andycodes.io/", linkedin: "https://www.linkedin.com/in/andydnguyen/", github: "https://github.com/andydnguyen", }, jobTitle: "Full Stack Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Ralph Emerson Manzano", img: "https://avatars0.githubusercontent.com/u/18175202?s=400&u=e654ce4937b7b1904906daa5f49aaab71e9df49d&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ralphevmanzano/", github: "https://github.com/ralphevmanzano", }, jobTitle: "Android Developer", location: { city: "Cebu City", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Aditya Verma", img: "", links: { website: "https://ezioda004.github.io/", linkedin: "https://www.linkedin.com/in/aditya-v-16ba91137", github: "https://github.com/ezioda004", }, jobTitle: "Full Stack Developer", location: { city: "Bangalore", state: "Karnataka", country: "IN", }, }, { id: uuidv4(), name: "Tomasz Bogacki", img: "https://avatars1.githubusercontent.com/u/20223725?s=400&u=04798a90f9a065fe2eeacf92df3a2970ac5691a7&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/tomasz-bogacki-5b048b127/", github: "https://github.com/TheProrok29", }, jobTitle: "Python Developer && IT Specialist", location: { city: "Wrocław", state: "", country: "Poland", }, }, { id: uuidv4(), name: "Harry Zhang", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/harry-zhangsfsu/", github: "https://github.com/legenhairy", }, jobTitle: "Software Developer", location: { city: "San Francisco", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Alara Joel", img: "https://twitter.com/alara_joel/photo", links: { website: "https://codepen.io/alara_joel_stealth/full/yrjLjB", linkedin: "https://www.linkedin.com/in/alara-joel-b16865b6/", github: "https://github.com/stealthman22", }, jobTitle: "Junior Fullstack Developer", location: { city: "Accra", state: "Accra", country: "Ghana", }, }, { id: uuidv4(), name: "HATIM MAMA", img: "https://photos.app.goo.gl/N4Tiso6iBVVqeiuv8", links: { website: "https://www.linkedin.com/in/hatimmamajiwala/", linkedin: "https://www.linkedin.com/in/hatimmamajiwala/", github: "https://github.com/hatimmamajiwala", }, jobTitle: "Cloud Solutions Architect", location: { city: "Dubai", state: "Dubai", country: "United Arab Emirates", }, }, { id: uuidv4(), name: "Daniel G. Arnold", img: "https://avatars0.githubusercontent.com/u/270102?s=460&v=4", links: { website: "https://www.danielgarnold.com", linkedin: "https://www.linkedin.com/in/danielgarnold", github: "https://www.github.com/dga", }, jobTitle: "Python Developer", location: { city: "Folsom", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Dave Saluk", img: "https://avatars0.githubusercontent.com/u/54435977?s=400&u=712658a3aad50cd9ed72090fc214ec8410734ff8&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/dave-saluk-7387b4177?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BCelcwMTeSUusy8oGqVuA4w%3D%3D", github: "https://github.com/DaveSaluk", }, jobTitle: "Full Stack Developer", location: { city: "Tel-Aviv", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Angel Andoney", img: "https://avatars2.githubusercontent.com/u/16805779?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/aandoney/", github: "https://github.com/aandoney", }, jobTitle: "Full Stack Engineer", location: { city: "Queretaro", state: "", country: "Mexico", }, }, { id: uuidv4(), name: "Brandon Samuel", img: "https://avatars2.githubusercontent.com/u/32402178?s=400&u=b8374e2b3868430206a09fa481356470426b071a&v=4", links: { website: "https://brandonsamuel1.github.io/mysite/", linkedin: "https://www.linkedin.com/in/brandon-samuel/", github: "https://github.com/brandonsamuel1", }, jobTitle: "Full Stack Javascript Developer", location: { city: "Vancouver", state: "British Columbia", country: "Canada", }, }, { id: uuidv4(), name: "Omar Faruque", img: "https://avatars3.githubusercontent.com/u/40371523?s=400&u=a7b2d51c745c57d058a8e3f1eba1569a44b763c1&v=4", links: { website: "https://www.omarfaruque.dev/", linkedin: "https://www.linkedin.com/in/webdevwithomar/", github: "https://github.com/webdevwithomar", }, jobTitle: "Full Stack Javascript Developer", location: { city: "Dhaka", state: "", country: "Bangladesh", }, }, { id: uuidv4(), name: "FOR KA LAU", img: "", links: { website: "Derricklau.pythonanywhere.com/", linkedin: "https://www.linkedin.com/in/for-ka-l-551262168/", github: "https://github.com/Derrick-lau/", }, jobTitle: "Full-Stack Web Developer", location: { city: "", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Curtis", img: "https://avatars2.githubusercontent.com/u/2359775?s=400&u=60830a49580407bff3ffede37af32348a0ece82f&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/webguy83/", github: "https://github.com/webguy83", }, jobTitle: "Front End Web Developer", location: { city: "Vancouver", state: "BC", country: "Canada", }, }, { id: uuidv4(), name: "David Samson", img: "https://avatars3.githubusercontent.com/u/33316904?s=460&v=4", links: { website: "https://www.techiedavid.com", linkedin: "https://www.linkedin.com/in/techiedavid-com/", github: "https://github.com/techie-david", }, jobTitle: "Senior Full Stack Developer", location: { city: "Vadodara", state: "Gujarat", country: "India", }, }, { id: uuidv4(), name: "Yanik Kumar", img: "https://avatars.githubusercontent.com/believemaster", links: { website: "https://believemaster.github.io/portfolio", linkedin: "https://www.linkedin.com/in/yanikkumar/", github: "https://believemaster.github.io", }, jobTitle: "Full Stack Developer", location: { city: "Hamirpur", state: "Himachal Pradesh", country: "India", }, }, { id: uuidv4(), name: "Spencer Dedrick", img: "https://media.licdn.com/dms/image/C4E03AQHuxk2aTvEIcQ/profile-displayphoto-shrink_200_200/0?e=1578528000&v=beta&t=9rWDXrBPrn-FZR0tUCaouRbu6Q3wjOz0P27dUH7J7MM", links: { website: "https://spencerdedrick.github.io/Portfolio/", linkedin: "https://www.linkedin.com/in/spencer-dedrick/", github: "https://github.com/SpencerDedrick/", }, jobTitle: "Web Developer", location: { city: "Houston", state: "Texas", country: "United States", }, }, { id: uuidv4(), name: "Pancho Daskalov", img: "https://drive.google.com/open?id=1xAWKZ8bF_Nbzbdbh0xcMncgLGekwKr_2", links: { website: "https://panchodaskalov.com/", linkedin: "https://www.linkedin.com/in/panchodaskalov/", github: "https://github.com/PanchoDaskalov", }, jobTitle: "UI/UX Design | Front-end Development", location: { city: "Munich", state: "Bavaria", country: "Germany", }, }, { id: uuidv4(), name: "Cyrus Eslamian", img: "", links: { website: "https://gazsix.com/", linkedin: "https://www.linkedin.com/in/cyruseslamian/", github: "https://github.com/mojopoly", }, jobTitle: "JavaScript Engineer | React | ReactNative", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Shivayan Anand Bora", img: "https://drive.google.com/open?id=1wwjXNtK4UjRkxBajzkEMaIL2xZWcyWAQ", links: { website: "", linkedin: "https://www.linkedin.com/in/shivayan-bora-9a858a35/", github: "https://github.com/shivayanbora123", }, jobTitle: "Senior Software Developer at JDA Software | Java and Python | Deep Learning Enthusiast", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Yarden Katz", img: "https://drive.google.com/file/d/1R7TG902VEyYoV5OotS0RxwNqF2IQXVNC/view?usp=sharing", links: { website: "", linkedin: "https://www.linkedin.com/in/yarden-katz", github: "https://github.com/YardenKatz", }, jobTitle: "Fullstack Developer | JavaScript | C++ | Java | Python | Django", location: { city: "", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Nicolei Ocana", img: "https://avatars3.githubusercontent.com/u/44947175?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/nicolei-ocana-0b271b71/", github: "https://github.com/nicoleiocana", }, jobTitle: "Fullstack Developer | Ruby | Rails", location: { city: "Placentia", state: "California", country: "United States of America", }, }, { id: uuidv4(), name: "Lasantha Basnayake", img: "https://avatars0.githubusercontent.com/u/6893358?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/lasantha-basnayake", github: "https://github.com/lasantha57", }, jobTitle: "Full-Stack Developer | Javascript", location: { city: "Colombo", state: "", country: "Sri Lanka", }, }, { id: uuidv4(), name: "Daniel Farlow", img: "https://avatars0.githubusercontent.com/u/52146855?s=460&v=4", links: { website: "https://daniel-farlow.com/", linkedin: "https://www.linkedin.com/in/daniel-farlow/", github: "https://github.com/daniel-farlow", }, jobTitle: "Software Engineer", location: { city: "Atlanta", state: "Georgia", country: "United States", }, }, { id: uuidv4(), name: "Shivayan Anand Bora", img: "https://drive.google.com/open?id=1wwjXNtK4UjRkxBajzkEMaIL2xZWcyWAQ", links: { website: "", linkedin: "https://www.linkedin.com/in/shivayan-bora-9a858a35/", github: "https://github.com/shivayanbora123", }, jobTitle: "Senior Software Developer at JDA Software | Java and Python | Deep Learning Enthusiast", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Yarden Katz", img: "https://drive.google.com/file/d/1R7TG902VEyYoV5OotS0RxwNqF2IQXVNC/view?usp=sharing", links: { website: "", linkedin: "https://www.linkedin.com/in/yarden-katz", github: "https://github.com/YardenKatz", }, jobTitle: "Fullstack Developer | JavaScript | C++ | Java | Python | Django", location: { city: "", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Nicolei Ocana", img: "https://avatars3.githubusercontent.com/u/44947175?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/nicolei-ocana-0b271b71/", github: "https://github.com/nicoleiocana", }, jobTitle: "Fullstack Developer | Ruby | Rails", location: { city: "Placentia", state: "California", country: "United States of America", }, }, { id: uuidv4(), name: "Lasantha Basnayake", img: "https://avatars0.githubusercontent.com/u/6893358?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/lasantha-basnayake", github: "https://github.com/lasantha57", }, jobTitle: "Full-Stack Developer | Javascript", location: { city: "Colombo", state: "", country: "Sri Lanka", }, }, { id: uuidv4(), name: "Sam Poe", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/sampoe/", github: "https://github.com/rckatz", }, jobTitle: "Web Developer", location: { city: "Greater Boston", state: "Massachusetts", country: "USA", }, }, { id: uuidv4(), name: "Andy Muñoz", img: "https://avatars1.githubusercontent.com/u/13410510?s=400&u=4d099e8a41a27db25c6900b15ea58df38dd03fce&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/andy-mc/", github: "https://github.com/andy-mc", }, jobTitle: "Full-Stack Developer | Javascript | Python", location: { city: "Quito", state: "Pichincha", country: "Ecuador", }, }, { id: uuidv4(), name: "Vamsi", img: "", links: { website: "www.vamsikrishnamraju.com", linkedin: "https://www.linkedin.com/in/vamsi-krishnam-raju-uddaraju-991b47171/", github: "https://github.com/uddaraju", }, jobTitle: "Software Developer Developer | Cloud Technology | ", location: { city: "London", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Bo Zhao", img: "https://avatars2.githubusercontent.com/u/3486381?s=400&u=77d90275e9e6ccb6ae18744d118733d2063a72f3&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/bocong-zhao-975b6162/", github: "https://github.com/zbc", }, jobTitle: "Full-Stack Developer | Javascript", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Valentin Mitran", img: "https://avatars1.githubusercontent.com/u/40249132?s=460&v=4", links: { website: "https://ValentinMitran.com", linkedin: "https://www.linkedin.com/in/ValentinMitran/", github: "https://github.com/ValentinMitran", }, jobTitle: "Full Stack Web Developer", location: { city: "", state: "Lisbon", country: "Portugal", }, }, { id: uuidv4(), name: "Derek Jackson", img: "https://avatars0.githubusercontent.com/u/593648?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/derekjackson/", github: "https://github.com/Cyph3r", }, jobTitle: "Full-Stack Dev, JavaScript", location: { city: "Tulsa", state: "Oklahoma", country: "USA", }, }, { id: uuidv4(), name: "Dennis Palmenco", img: "https://avatars0.githubusercontent.com/u/25899833?s=460&v=4", links: { website: "https://www.kickresume.com/cv/dpalmenco_support_analyst/", linkedin: "https://www.linkedin.com/in/dennispalmenco/", github: "https://github.com/dennisbp", }, jobTitle: "SAP Consultant/Software Engineer", location: { city: "Auckland", state: "Auckland", country: "New Zealand", }, }, { id: uuidv4(), name: "Dilip Teegala", img: "https://avatars0.githubusercontent.com/u/44141163?s=400&u=a847930288a92af3734f933ce214f94729713622&v=4", links: { linkedin: "https://www.linkedin.com/in/dilip-rao-877bb2116/", github: "https://github.com/dilipteegala", }, jobTitle: "Software Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Nurdaulet Shamilov", img: "https://avatars0.githubusercontent.com/u/49809339?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/nurdared/", github: "https://github.com/nurdared", }, jobTitle: "Full-Stack Developer | JavaScript", location: { city: "Aktau", state: "Mangystau", country: "Kazakhstan", }, }, { id: uuidv4(), name: "I Gusti Bagus A", img: "https://avatars1.githubusercontent.com/u/54065187?s=400&u=1f79b4adbcdce633a03723404e07f3aef47926ec&v=4", links: { linkedin: "https://id.linkedin.com/in/i-gusti-bagus-awienandra-483718132", github: "https://github.com/rainoverme002", }, jobTitle: "Software Engineer | Nuclear Engineer", location: { city: "Jakarta", state: "", country: "Indonesia", }, }, { id: uuidv4(), name: "Ulvi Jabbarli", img: "https://avatars2.githubusercontent.com/u/23367499?s=400&amp;u=2532b7523d901dce13f7aa5b6ed6a6236815d330&amp;v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ulvi-jabbarli", github: "https://github.com/ulvij", }, jobTitle: "Android Developer", location: { city: "Baku", state: "", country: "Azerbaijan", }, }, { id: uuidv4(), name: "Victor Cruceanu", img: "https://avatars1.githubusercontent.com/u/39226366?s=460&v=4", links: { website: "https://psymaddoc.github.io/", linkedin: "https://www.linkedin.com/in/cruceanuvictor/", github: "https://github.com/PsyMadDoc/", }, jobTitle: "Front End Web Dev | JavaScript", location: { city: "Bucharest", state: "", country: "Romania", }, }, { id: uuidv4(), name: "Mughees Asif", img: "https://qph.fs.quoracdn.net/main-raw-454055733-jazwplkisizmhzmriodckjtprdstpenn.jpeg", links: { website: "", linkedin: "https://www.linkedin.com/in/mughees-asif", github: "https://github.com/mughees-asif", }, jobTitle: "Aerospace Engineering undergraduate student | Self-taught software/wed developer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Oleh Zakharchuk", img: "https://github.com/Oleh-Zakharchuk/Portfolio/blob/gh-pages/img/portrait.jpg", links: { website: "https://oleh-zakharchuk.github.io/Portfolio/", linkedin: "https://www.linkedin.com/in/oleh-zakharchuk-7b216b198/", github: "https://github.com/Oleh-Zakharchuk", }, jobTitle: "Junior Front End Developer | Junior JavaScript Developer", location: { city: "Kyiv", state: "", country: "Ukraine", }, }, { id: uuidv4(), name: "Temitope Alex Adejumo", img: "https://avatars3.githubusercontent.com/u/46056386?s=460&v=4", links: { website: "https://alexadejumo.dev/", linkedin: "https://www.linkedin.com/in/alexadejumo/", github: "https://github.com/alexadejumo", }, jobTitle: "Full-Stack Developer | Javascript", location: { city: "Lagos", state: "", country: "Nigeria", }, }, { id: uuidv4(), name: "Omar Gaston", img: "https://ogaston.com/static/42fbb13abfb6167a265e357d74d55f8d/8539d/personal.jpg", links: { website: "https://ogaston.com/en/knowme/", linkedin: "https://www.linkedin.com/in/omar-gaston-chalas/", github: "https://github.com/ogaston/", }, jobTitle: "Software Engineer | Full-Stack JavaScript", location: { city: "Santo Domingo", state: "", country: "Dominican Republic", }, }, { id: uuidv4(), name: "Elmer Pineda", img: "https://avatars2.githubusercontent.com/u/14105415?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/mhelpineda/", github: "https://github.com/mhel14", }, jobTitle: "Full Stack Engineer", location: { city: "Pampanga", state: "", country: "Philippines", }, }, { id: uuidv4(), name: "Piyush Raut", img: "", links: { website: "https://knightowl2704.github.io", linkedin: "https://www.linkedin.com/in/piyushraut27", github: "https://github.com/knightowl2704/", }, jobTitle: "Machine Learning Enthusiast", location: { city: "Bhubaneswar", state: "Odisha", country: "India", }, }, { id: uuidv4(), name: "Sagi Hillel", img: "https://serving.photos.photobox.com/82771602922062b44917e977afcd494bd289d99063ebaf2fef0cee96d5469f6b3210f9eb.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/sagihillel", github: "https://github.com/sagihill/", }, jobTitle: "Full-Stack Developer", location: { city: "Tel-Aviv", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Majo Paschcuan", img: "https://i.imgur.com/mG5hxfD.jpg", links: { website: "https://paskuvan.us", linkedin: "https://www.linkedin.com/in/paskuvan", github: "https://github.com/paskuvan", }, jobTitle: "Full Stack & UX/UI Developer", location: { city: "Santiago", state: "", country: "Chile", }, }, { id: uuidv4(), name: "Abdul Rahim Shaikh", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/arahims/", github: "https://github.com/ariskycode", }, jobTitle: "Full-Stack|Java|Web Developer", location: { city: "Anywhere", state: "", country: "Willing to relocate internationally", }, }, { id: uuidv4(), name: "Pedro P. Medina", img: "", links: { website: "https://pedropmedina.github.io", linkedin: "https://www.linkedin.com/in/pedro-medina-65999b13a", github: "https://github.com/pedropmedina", }, jobTitle: "Full Stack Developer", location: { city: "Miami/Fort Lauderdale", state: "FL", country: "USA", }, }, { id: uuidv4(), name: "Jason Chang", img: "https://imgur.com/a/1ZCfWPs", links: { website: "", linkedin: "https://www.linkedin.com/in/%E4%BA%94%E6%9D%B0-%E5%BC%B5-07937b165/", github: "https://github.com/iggh966380", }, jobTitle: "Font-end Developer", location: { city: "New Taipei", state: "", country: "Taiwan", }, }, { id: uuidv4(), name: "Abdu Qnauy", img: "https://avatars1.githubusercontent.com/u/43282386?s=400&u=5c6a9446813bc982ade14b53f645e793c73783a2&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/pedro-medina-65999b13a", github: "https://www.linkedin.com/in/abdurhman-magdy-muhammad-a588a2103/", }, jobTitle: "Front End Developer", location: { city: "Cairo", state: "Cairo", country: "Egypt", }, }, { id: uuidv4(), name: "Tomasz Biernat", img: "https://avatars3.githubusercontent.com/u/39054140?s=400&u=2e6dfce7fb25df9bcfb9058021a5438a01a5d677&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/tomasz-biernat-682307163/", github: "https://github.com/tomaszbiernat", }, jobTitle: "Front-end Developer", location: { city: "Kraków", state: "Małopolska", country: "Poland", }, }, { id: uuidv4(), name: "Christopher Carr", img: "https://imgur.com/WKGieRB", links: { website: "https://www.chriscarr.dev", linkedin: "https://www.linkedin.com/in/chris-carr-93288820", github: "https://github.com/christocarr", }, jobTitle: "Frontend Web Developer", location: { city: "Wembley", state: "London", country: "United Kingdom", }, }, { id: uuidv4(), name: "Perry Raskin", img: "https://i.imgur.com/o5rlRTO.jpg", links: { website: "https://raskin.me", linkedin: "https://www.linkedin.com/in/perryraskin", github: "https://github.com/perryraskin", }, jobTitle: "Software Engineer", location: { city: "Forest Hills", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Ahmed Abdelhamid", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ahmedsalah4/", github: "https://github.com/ahmed-abdelhamid", }, jobTitle: "Full Stack Web Developer", location: { city: "Riyadh", state: "", country: "Saudi Arabia", }, }, { id: uuidv4(), name: "Radu Rusu", img: "https://github.com/RaduRS/img/blob/master/88.jpg", links: { website: "https://portfoliopro.co.uk/", linkedin: "https://www.linkedin.com/in/radu-rusu-88449991/", github: "https://github.com/RaduRS", }, jobTitle: "Full Stack & UX/UI Developer", location: { city: "Nottingham", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Akash Dutta", img: "", links: { website: "https://akashdutta93.github.io/akashdutta.github.io/", linkedin: "https://www.linkedin.com/in/akash-dutta-0a4993173/", github: "https://github.com/akashdutta93", }, jobTitle: "Front-End Developer", location: { city: "Kolkata", state: "West Bengal", country: "India", }, }, { id: uuidv4(), name: "Luis Gerardo", img: "https://avatars1.githubusercontent.com/u/27018845?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/luimagm/", github: "https://github.com/yaminolight", }, jobTitle: "Web Developer", location: { city: "Santo Domingo", state: "Santo Domingo", country: "Dominican Republic", }, }, { id: uuidv4(), name: "Mavroian Florin", img: "https://lh3.googleusercontent.com/-QNQ4WTbhW3Q/XXrk_Qyn6iI/AAAAAAAABek/-G88TlBtAvgvdekGHc10whLO0g4rk8dCQCEwYBhgL/w280-h280-p/Resume%2BPhoto.jpeg", links: { website: "http:/florinmavroian.tk", linkedin: "https://www.linkedin.com/in/florin-mavroian/", github: "https://github.com/mavroian", }, jobTitle: "Software Engineer", location: { city: "Tokyo", state: "Tokyo", country: "Japan", }, }, { id: uuidv4(), name: "Abhishek Prasad", img: "https://i.imgur.com/gOcr0VW.jpg", links: { website: "", linkedin: "https://in.linkedin.com/in/devcula", github: "https://github.com/devcula", }, jobTitle: "Full Stack Web Developer", location: { city: "Pune", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Osher Solimany", img: "https://scontent.ftlv5-1.fna.fbcdn.net/v/t1.0-9/12391812_1081587291861391_3812268796792628236_n.jpg?_nc_cat=110&_nc_ohc=eaN8C1nrDYEAQmBsMaRJ5aE2m0vDoO1pW31TAE3pVvo6wvuBsvE01axXA&_nc_ht=scontent.ftlv5-1.fna&oh=e0e639113fe7ce541d5c595efe4d03db&oe=5E73FE3D", links: { website: "http://smartbetk.herokuapp.com/main/", linkedin: "https://www.linkedin.com/in/osherso/", github: "https://github.com/OsherSo", }, jobTitle: "Full Stack Developer", location: { city: "Tel Aviv", state: "Tel Aviv", country: "Israel", }, }, { id: uuidv4(), name: "Kutlu Ata", img: "https://avatars2.githubusercontent.com/u/32374530?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/kutlu-devrim-ata-86a91518/", github: "https://github.com/leto666", }, jobTitle: "Full Stack Web Developer", location: { city: "Belgrade", state: "", country: "Serbia", }, }, { id: uuidv4(), name: "Erick Yataco", img: "https://avatars1.githubusercontent.com/u/7172570?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/erick-ivan-yataco/", github: "https://github.com/ErickYataco", }, jobTitle: "K8S specialist, DevOps and Cloud Engineer", location: { city: "Lima", state: "", country: "Peru", }, }, { id: uuidv4(), name: "Yoni Sisso", img: "", links: { website: "https://yonis9.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/yonisisso/", github: "https://github.com/yonis9", }, jobTitle: "Full Stack Web Developer", location: { city: "Tel-Aviv", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Shabnam Essa", img: "", links: { website: "http://www.shabnamessa.com", linkedin: "https://www.linkedin.com/in/shabnamessa/", github: "https://github.com/shabname", }, jobTitle: "Full Stack Web Developer", location: { city: "Greater Manchester", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Rajaram Sivaramakrishnan", img: "", links: { website: "https://raja1196.github.io", linkedin: "https://www.linkedin.com/in/rajaram-sivaramakrishnan/", github: "https://github.com/raja1196", }, jobTitle: "Machine Learning Engineer", location: { city: "Raleigh", state: "North Carolina", country: "United States", }, }, { id: uuidv4(), name: "Gal Kol", img: "", links: { website: "https://github.com/settings/profile", linkedin: "https://www.linkedin.com/in/gal-kol", github: "https://github.com/999galk", }, jobTitle: "Junior Web Developer", location: { city: "Tel Aviv", state: "Israel", country: "Israel", }, }, { id: uuidv4(), name: "Ghislain Deffo", img: "https://avatars3.githubusercontent.com/u/37311893?s=460&v=4", links: { website: "https://gnarus-tech.github.io/", linkedin: "https://www.linkedin.com/in/ghislain-deffo-312922163/", github: "https://github.com/GnarusGBaby", }, jobTitle: "Full Stack Software Developer", location: { city: "Silver Spring", state: "Maryland", country: "United States", }, }, { id: uuidv4(), name: "Carlos Enrique Gil Carrillo", img: "https://media.licdn.com/dms/image/C5603AQF4i1GF7FevWg/profile-displayphoto-shrink_200_200/0?e=1582156800&v=beta&t=YF-Og1kgZ_AvtNY-hhvOTxMmjLIdEBvVp_AHK_bHwak", links: { website: "http://ixarlos.com/", linkedin: "https://www.linkedin.com/in/ixarlos/", github: "https://github.com/i-xarlos", }, jobTitle: "Web Developer Team Leader", location: { city: "Lima", state: "", country: "Perú", }, }, { id: uuidv4(), name: "Romane Green", img: " ", links: { website: "https://www.RomaneGreen.com", linkedin: "https://www.linkedin.com/in/romane-green-395539163/", github: "https://github.com/RomaneGreen", }, jobTitle: "Full Stack Software Developer", location: { city: "NYC", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Crisse Soto", img: "https://secure.gravatar.com/avatar/551d4ac947cacb2fac2776e7606fedcb", links: { website: "http://www.crissesoto.com", linkedin: "https://www.linkedin.com/in/crisse-soto-380468b8/", github: "https://github.com/crissesoto", }, jobTitle: "Front-end Developer", location: { city: "Bruges", state: "West Flanders", country: "Belgium", }, }, { id: uuidv4(), name: "Ayush Gupta", img: "https://avatars3.githubusercontent.com/u/21218732?s=460&v=4", links: { website: "http://ayushgupta.tech/", linkedin: "https://www.linkedin.com/in/guptaji6/", github: "https://github.com/gupta-ji6", }, jobTitle: "Front-end Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Anita Chang", img: "https://avatars2.githubusercontent.com/u/53840338?s=400&v=4", links: { website: "https://github.com/f228476653", linkedin: "https://www.linkedin.com/in/anita-chang-514549160/", github: "https://github.com/f228476653", }, jobTitle: "FullStack Developer", location: { city: "Burnaby", state: "British Columbia", country: "Canada", }, }, { id: uuidv4(), name: "Steve Kudirka", img: "https://avatars2.githubusercontent.com/u/709245?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/steven-kudirka-2a38a926/", github: "https://github.com/skudirka/", }, jobTitle: "Senior Software Engineer", location: { city: "Madisonville", state: "LA", country: "USA", }, }, { id: uuidv4(), name: "Ric Thomas", img: "https://avatars0.githubusercontent.com/u/54208612?s=400&v=4", links: { website: "www.gethric.com", linkedin: "https://www.linkedin.com/in/ric-thomas-221b10176/", github: "https://github.com/Gethric", }, jobTitle: "Front-end Developer", location: { city: "Leon", state: "Guanajuato", country: "Mexico", }, }, { id: uuidv4(), name: "Araf Hossain", img: "https://avatars1.githubusercontent.com/u/17367761?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/arafhossain", github: "https://github.com/arafhossain", }, jobTitle: "Full Stack Developer", location: { city: "New York", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Said LITIM", img: "https://avatars2.githubusercontent.com/u/42178733?s=460&v=4", links: { website: "http://portfolio.projectslit.fr/", linkedin: "https://www.linkedin.com/in/sa%C3%AFd-litim-105115ba/", github: "https://github.com/salitim", }, jobTitle: "JS Developer", location: { city: "Lyon", state: "", country: "France", }, }, { id: uuidv4(), name: "Timofeeva Elizaveta", img: "https://media.licdn.com/dms/image/C4D03AQF-NBv9wCeG1A/profile-displayphoto-shrink_200_200/0?e=1582761600&v=beta&t=dW6MWaZKwvCI2NogXUtki8lYL-OkBHrQCUtB7gleyWc", links: { website: "", linkedin: "https://www.linkedin.com/in/elizaveta-timofeeva-497158152/", github: "https://github.com/Lijamaija", }, jobTitle: "React Developer, Frone-end developer", location: { city: "Prague", state: "", country: "Czech Republic", }, }, { id: uuidv4(), name: "Can Berker Cikis", img: "https://avatars2.githubusercontent.com/u/13052327?s=460&v=4", links: { website: "https://canberker.com/", linkedin: "https://www.linkedin.com/in/can-berker/", github: "https://github.com/CanBerker", }, jobTitle: "Full-Stack Software Engineer", location: { city: "Zurich", state: "", country: "Switzerland", }, }, { id: uuidv4(), name: "Akshay Sharma", img: "https://avatars0.githubusercontent.com/u/37118877?v=4", links: { website: "https://www.developeratease.com/", linkedin: "https://www.linkedin.com/in/akshay-sharma-7962ab13a/", github: "https://github.com/Akshay2996", }, jobTitle: "Front-End Developer", location: { city: "Bengaluru", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Azorji Kelechi Oliver", img: "https://avatars1.githubusercontent.com/u/32667315?v=4", links: { website: "http://oliver-ke.github.io/", linkedin: "https://www.linkedin.com/in/oliver-ke", github: "http://github.com/oliver-ke", }, jobTitle: "Full-Stack Web Developer (NodeJs | React)", location: { city: "Port Harcourt", state: "Rivers State", country: "Nigeria", }, }, { id: uuidv4(), name: "Srinivasa Rao Bhandari", img: "https://avatars1.githubusercontent.com/u/58605019?s=460&amp;v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/srinivasa-rao-bhandari-aa36a1171/", github: "https://github.com/SrinivasaRaoBhandari", }, jobTitle: "Full-stack Web Developer", location: { city: "Zabrze", state: "Silesia", country: "Poland", }, }, { id: uuidv4(), name: "Jonathas Duarte", img: "https://avatars1.githubusercontent.com/u/42847587?s=400&u=86513eef5bc0297528225636193ab72d5da91ee9&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/jonathas-duarte-de-carvalho-e-silva-a728aa70/", github: "https://github.com/jonathasdcsilva/", }, jobTitle: "Backend Developer", location: { city: "Brasilia", state: "Distrito Federal", country: "Brazil", }, }, { id: uuidv4(), name: "Adam Hartman", img: "https://avatars3.githubusercontent.com/u/29264098?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/adamhartman5/", github: "https://github.com/adamhartman5/", }, jobTitle: "Junior Web Developer | Junior Developer", location: { city: "Lakeland", state: "Florida", country: "USA", }, }, { id: uuidv4(), name: "Felipe Cruz", img: "https://avatars2.githubusercontent.com/u/57880601?s=460&v=4", links: { website: "https://zealous-varahamihira-af923b.netlify.com/", linkedin: "", github: "https://github.com/felipegcruz", }, jobTitle: "Junior Web Developer | Junior Developer", location: { city: "Haverfordwest", state: "Pembrokeshire", country: "United Kingdom", }, }, { id: uuidv4(), name: "Serdar Mustafa", img: "https://avatars2.githubusercontent.com/u/45297391?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/serdar-mustafa/", github: "https://github.com/SerdarMustafa1", }, jobTitle: "Software Developer", location: { city: "London", state: "London", country: "United Kingdom", }, }, { id: uuidv4(), name: "Alek Vila", img: "https://avatars2.githubusercontent.com/u/39844914?s=460&v=4", links: { website: "https://www.greatgraphicdesign.com/", linkedin: "https://www.linkedin.com/in/alek-vila/", github: "https://github.com/greatgraphicdesign/", }, jobTitle: "Front-End Developer, Art Director, Graphic Designer, UI/UX", location: { city: "Bellingham", state: "Washington", country: "USA", }, }, { id: uuidv4(), name: "Haider Tiwana", img: "https://avatars3.githubusercontent.com/u/20669228?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/hai-der/", github: "https://github.com/hai-der", }, jobTitle: "Full-Stack Software Engineer", location: { city: "Seattle", state: "Washington", country: "United States", }, }, { id: uuidv4(), name: "Sonali Sawlani", img: " ", links: { website: " ", linkedin: "https://www.linkedin.com/in/sonalisawlani/", github: "https://github.com/sonali-20", }, jobTitle: "Software Engineer", location: { city: "Coimbatore", state: "Tamil Nadu", country: "India", }, }, { id: uuidv4(), name: "Tanja Vinogradova", img: "https://avatars1.githubusercontent.com/u/56765550?s=460&v=4", links: { website: "https://photovinogradova.com/resume", linkedin: "https://www.linkedin.com/in/tanjavinogradova/", github: "https://github.com/tavinogradova92", }, jobTitle: "Frontend Developer | UX Designer", location: { city: "Copenhagen", state: "Caputal Region", country: "Denmark", }, }, { id: uuidv4(), name: "David Nguyen (utechpia)", img: "https://avatars0.githubusercontent.com/u/57503203?s=460&v=4", links: { website: "https://www.utechpia.com/", linkedin: "https://www.linkedin.com/in/utechpia/", github: "https://github.com/utechpia", }, jobTitle: "Coder, Developer Advocate, YouTuber, Photographer", location: { city: "San Francisco", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Leonid Kuznetsov", img: "https://avatars0.githubusercontent.com/u/9495532?s=400&u=4ac086da09c90364634b00020680e81d2593af0a&v=4", links: { linkedin: "https://www.linkedin.com/in/leonidkuznetsov/", github: "https://github.com/MrChe", }, jobTitle: "Senior Front End Developer", location: { city: "Kyiv", state: "Kyiv", country: "Ukraine", }, }, { id: uuidv4(), name: "André Gonçalves", img: "https://avatars1.githubusercontent.com/u/42880576?s=460&v=4", links: { website: "https://www.andgcv.com/", linkedin: "https://www.linkedin.com/in/andgcv/", github: "https://github.com/andgcv", }, jobTitle: "Software Engineer", location: { city: "Lisbon", state: "Lisbon", country: "Portugal", }, }, { id: uuidv4(), name: "Michelle Rahman", img: "https://i.imgur.com/65I3Y6r.jpg", links: { website: "https://michellerahman21.github.io/portfolio.github.io/", linkedin: "https://www.linkedin.com/in/michelle-rahman/", github: "https://github.com/MichelleRahman21", }, jobTitle: "Software Engineer", location: { city: "Boston", state: "Massachusetts", country: "United States Of America", }, }, { id: uuidv4(), name: "Tony Mack", img: "https://media.licdn.com/dms/image/C4D03AQEr5VmiOWVTSg/profile-displayphoto-shrink_200_200/0?e=1583971200&v=beta&t=vO61QsF0sEwHlXyeu2EvTXNzrQbMPPdJ5UBpyFVkIPg", links: { linkedin: "https://www.linkedin.com/in/tmack123/", github: "https://github.com/tonmanayo", }, jobTitle: "Full Stack Software Developer", location: { city: "Bryanston", state: "Gauteng", country: "South Africa", }, }, { id: uuidv4(), name: "Stan Choi", img: "https://avatars0.githubusercontent.com/u/43020892?s=400&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/stanchoinym/", github: "https://github.com/StanimalTheMan", }, jobTitle: "Software Engineer", location: { city: "Flushing", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Oluwafemi Adenuga", img: "https://res.cloudinary.com/femosocratis/image/upload/v1586590237/023492D5-46DB-4688-B819-0E1DF187D899L0001_isedrz.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/femosocratis/", github: "https://github.com/phemmylintry", }, jobTitle: "Web Developer", location: { city: "Lagos", state: "", country: "Nigeria", }, }, { id: uuidv4(), name: "Arnab Ray", img: "https://avatars2.githubusercontent.com/u/26869021?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/funky-poseidon/", github: "https://github.com/arnabuchiha", }, jobTitle: "Full Stack Developer|Deep Learning Enthusiast|Android App Developer", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Kavya Sagar", img: "https://avatars0.githubusercontent.com/u/10847203?s=460&v=4", links: { website: "http://www.kavs.me", linkedin: "https://www.linkedin.com/in/kavya-v-sagar/", github: "https://github.com/kavyavsagar", }, jobTitle: "Full Stack Developer|Software Engineer", location: { city: "DSO", state: "Dubai", country: "UAE", }, }, { id: uuidv4(), name: "Daniel Gleason", img: "https://ibb.co/fF39wtk", links: { website: "https://danny-gleason.netlify.com/", linkedin: "https://www.linkedin.com/in/dcglesaon/", github: "https://github.com/dcglesaon", }, jobTitle: "Full Stack Developer | Software Engineer", location: { city: "Boston", state: "MA", country: "USA", }, }, { id: uuidv4(), name: "Oke Emmanuel", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/okemmanuel/", github: "https://github.com/theastutian", }, jobTitle: "Full Stack Developer | Data Scientist", location: { city: "Ile-Ife", state: "Osun", country: "Nigeria", }, }, { id: uuidv4(), name: "Banhaw Chun", img: "https://avatars0.githubusercontent.com/u/37777222?s=460&v=4", links: { website: "https://banhawch.netlify.com/", linkedin: "https://www.linkedin.com/in/banhaw-chun-331977198/", github: "https://github.com/banhawchun", }, jobTitle: "Full Stack Developer | Android Developer", location: { city: "Phnom Penh", state: "", country: "Cambodia", }, }, { id: uuidv4(), name: "Daniel Narh", img: "https://avatars0.githubusercontent.com/u/52500058?s=460&v=4", links: { website: "danielkpodo.github.io/portfolio", linkedin: "https://www.linkedin.com/in/daniel-narh-kpodo", github: "https://github.com/danielkpodo", }, jobTitle: "Full Stack Developer | MERN Developer", location: { city: "Accra", state: "Greater-Accra", country: "Ghana", }, }, { id: uuidv4(), name: "Ashwani Singh", img: "", links: { website: "https://ashwani65.blogspot.com/", linkedin: "https://www.linkedin.com/in/ashwani-singh-5b1868165/", github: "https://github.com/ashwani65", }, jobTitle: "Full Stack Developer | MERN Developer", location: { city: "Kanpur", state: "Uttar Pradesh", country: "India", }, }, { id: uuidv4(), name: "Amritha Marimuthu", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/amritha-marimuthu-3943b517b/", github: "https://github.com/AmrithaM/", }, jobTitle: "Full Stack Developer | Web Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Shohei Hagiwara", img: "https://avatars1.githubusercontent.com/u/8368127?s=460&v=4", links: { website: "https://shoheihagiwara.github.io/resume/", linkedin: "https://www.linkedin.com/in/shoheihagiwara", github: "https://github.com/shoheihagiwara", }, jobTitle: "Web Application Developer", location: { city: "Tokyo", state: "Tokyo", country: "Japan", }, }, { id: uuidv4(), name: "Viktor Borsodi", img: "https://avatars0.githubusercontent.com/u/34397487?s=460&v=4", links: { website: "https://viktorborsodi.github.io/", linkedin: "https://www.linkedin.com/in/viktor-borsodi-73690062/", github: "https://github.com/ViktorBorsodi", }, jobTitle: "Full-stack Web Developer", location: { city: "Budapest", state: "", country: "Hungary", }, }, { id: uuidv4(), name: "Alex Gainza", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/alex-gainza-cintero-76360417a/", github: "https://github.com/alesgainza", }, jobTitle: "Full stack Developer", location: { city: "Zumaia", state: "Gipuzkoa", country: "Spain", }, }, { id: uuidv4(), name: "Glauber Camargo Campos Rocha", img: "https://avatars3.githubusercontent.com/u/2231796?s=400&u=2ac9f62f3d160210f16f9941152f27db697c8c07&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/glaubercamargo92/", github: "https://github.com/mhalgan", }, jobTitle: "Full Stack Developer (MERN)", location: { city: "Ipatinga", state: "Minas Gerais", country: "Brazil", }, }, { id: uuidv4(), name: "Darshin Van Parijs", img: "https://avatars3.githubusercontent.com/u/47732125?s=400&u=38fe82b76b8726378b0581e5dc1722c74b6df7e6&v=4", links: { website: "https://www.darshin.me/", linkedin: "https://www.linkedin.com/in/darshinvanparijs/", github: "https://github.com/DDVVPP/", }, jobTitle: "Full Stack Developer | Software Engineer", location: { city: "New York", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Cayden Choi", img: "https://avatars0.githubusercontent.com/u/59014867?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/eunseok-cayden-choi-2aa79a137/", github: "https://github.com/EJ-C?tab=repositories", }, jobTitle: "Full-stack Web Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Elizabeth Ortiz", img: "https://avatars1.githubusercontent.com/u/26338550?s=400&u=785f8547bc53cf6926f8f8d63c6a31f061dd6d9a&v=4", links: { website: "https://www.ortizliz.com", linkedin: "https://www.linkedin.com/in/elizabeth-f-ortiz/", github: "https://github.com/lizbeth58", }, jobTitle: "Front-end developer", location: { city: "San Francisco", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Alejandro García Iglesias", img: "https://alejandroiglesias.github.io/cv/images/profile-picture.jpg", links: { website: "https://alejandroiglesias.github.io/cv/", linkedin: "https://www.linkedin.com/in/alegarciaiglesias/", github: "https://github.com/alejandroiglesias", }, jobTitle: "Senior Frontend Developer", location: { state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Cory Catherall", img: "https://avatars0.githubusercontent.com/u/45598232?s=460&v=4", links: { website: "https://corycatherall.com", linkedin: "https://www.linkedin.com/in/cory-catherall-9a5bb6116/", github: "https://github.com/Tera15", }, jobTitle: "Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Nur Hikmah", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/nur-hikmah-aa9873192/", github: "https://github.com/nrhikmah", }, jobTitle: "Full Stack Developer | Informatics Collage Student", location: { city: "Maros", state: "South of Sulawesi", country: "Indonesia", }, }, { id: uuidv4(), name: "Jeffrey Vos", img: "https://media-exp1.licdn.com/dms/image/C5603AQGy8xtIftwFpA/profile-displayphoto-shrink_200_200/0?e=1585785600&v=beta&t=iINuqmtH8ARuYypIxKvzj7QMHyolDVw43C3pCvNZ1Nc", links: { website: "", linkedin: "https://www.linkedin.com/in/vosjeffrey/", github: "https://github.com/Jeffvos/", }, jobTitle: "Software Developer", location: { city: "", state: "", country: "", }, }, { id: uuidv4(), name: "Manjeet Kumar", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/manjeetkumar7/", github: "https://github.com/Manjeete", }, jobTitle: "Web Developer", location: { city: "Kushinagar", state: "Uttar Pradesh", country: "India", }, }, { id: uuidv4(), name: "Eden Varsulker", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/eden-varsulker-88676411a/", github: "https://github.com/edenv30", }, jobTitle: "Full Stack Developer", location: { city: "", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Harsh Khurana", img: "", links: { website: "", linkedin: "", github: "https://github.com/Harsh-Khurana", }, jobTitle: "Web Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Gabriel Vlasceanu", img: "https://avatars2.githubusercontent.com/u/53636709?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/gvlasceanu/", github: "https://github.com/maugrim777", }, jobTitle: "Full-Stack Developer", location: { city: "Bucharest", state: "", country: "Romania", }, }, { id: uuidv4(), name: "Luiz Felipe Neves", img: "https://avatars2.githubusercontent.com/u/14094719??s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/luizfelipeneves0/", github: "https://github.com/luizfelipeneves", }, jobTitle: "Full-Stack Developer (MERN)", location: { city: "Lorena", state: "São Paulo", country: "Brazil", }, }, { id: uuidv4(), name: "Sirian Wang", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/sirian-wang-11720313/", github: "https://github.com/sirianw", }, jobTitle: "Software Developer", location: { city: "Los Angeles", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Ntsako Mculu", img: "https://avatars0.githubusercontent.com/u/60618174?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ntsako-rodney-mculu-a486bb58/", github: "https://github.com/ntsakoMculu", }, jobTitle: "Software Developer, Data science/Analyst", location: { city: "Johannesburg", state: "Gauteng", country: "South Africa", }, }, { id: uuidv4(), name: "Edward Liu", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/etotheipipower/", github: "https://github.com/edward1127", }, jobTitle: "Software Developer", location: { city: "Los Angeles", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Charles Loges IV", img: "https://avatars1.githubusercontent.com/u/4064474?s=460&v=4", links: { website: "https://www.charlesloges.com/", linkedin: "https://www.linkedin.com/in/charles-loges-iv-9a534956/", github: "https://github.com/cloges4", }, jobTitle: "Front End Developer", location: { city: "Raleigh", state: "North Carolina", country: "USA", }, }, { id: uuidv4(), name: "Julia Lin", img: "https://avatars1.githubusercontent.com/u/29173391?v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/julialinmc/", github: "https://github.com/julialinju5", }, jobTitle: "Junior Big Data Engineer", location: { city: "Mountain View", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Akash Jeganath", img: "https://ibb.co/VCNV4sW", links: { website: "http://akashoffl.me/", linkedin: "https://www.linkedin.com/in/akashjoffl/", github: "https://github.com/akashjoffl", }, jobTitle: "Full Stack Developer", location: { city: "Colombo", state: "Western Province", country: "Sri-Lanka", }, }, { id: uuidv4(), name: "Shota Togawa", img: "", links: { website: "https://www.shotatogawa.site/", linkedin: "https://www.linkedin.com/in/shota-togawa-ba8235185/", github: "https://github.com/ShotaTogawa", }, jobTitle: "Web Developer", location: { city: "Vancouver", state: "BC", country: "Canada", }, }, { id: uuidv4(), name: "Aleksandar Nedelkovski", img: "https://avatars2.githubusercontent.com/u/28938627?s=460&v=4", links: { website: "https://nedelkovskialeks.com/", linkedin: "https://www.linkedin.com/in/aleksandarnedelkovski/", github: "https://github.com/Aleksandandar-Nedelkovski", }, jobTitle: "Full-stack Web Developer", location: { city: "Chicago", state: "IL", country: "USA", }, }, { id: uuidv4(), name: "Katsiaryna (Kate) Lupachova", img: "https://ramonak.io/my-photo.png", links: { website: "https://ramonak.io/", linkedin: "https://www.linkedin.com/in/katsiaryna-lupachova/", github: "https://github.com/KaterinaLupacheva", }, jobTitle: "Full-stack Web Developer", location: { city: "Minsk", state: "", country: "Belarus", }, }, { id: uuidv4(), name: "Neha Gupta", img: "https://avatars3.githubusercontent.com/u/50129533?s=400&v=4", links: { website: "https://ngcodes.com/", linkedin: "https://www.linkedin.com/in/gupneha/", github: "https://github.com/nehagupta2507", }, jobTitle: "Full-stack Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Rodrigo Santos", img: "https://avatars1.githubusercontent.com/u/23111460?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/rodsnts/", github: "https://github.com/rodsnts", }, jobTitle: "Front-End Developer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Maria-Teodora Pop", img: "https://avatars2.githubusercontent.com/u/54820576?s=460&v=4", links: { website: "https://www.popmaria.com/home", linkedin: "https://www.linkedin.com/in/maria-teodora-pop-64825b156/", github: "https://github.com/LadyShinka", }, jobTitle: "Full-Stack Web Developer", location: { city: "Reading", state: "Berkshire", country: "United Kingdom", }, }, { id: uuidv4(), name: "Prabhjot Singh", img: "https://avatars3.githubusercontent.com/u/47789898?s=400&u=103b7e4f41d70a9b06ae407ee56ae11277b2477a&v=4", links: { website: "https://batmangoo.github.io/Javascript-Portfolio/", linkedin: "https://www.linkedin.com/in/prabhjot-singh-59750199/", github: "https://github.com/BATMANGOO", }, jobTitle: "Full-Stack Web Developer", location: { city: "San Francisco", state: "CA", country: "United States", }, }, { id: uuidv4(), name: "Michael Huber", img: "https://avatars1.githubusercontent.com/u/55626560?s=400&u=bbb9b547a6e0c4856997702307c52c6598c72f93&v=4", links: { website: "https://www.mikeyneedsajob.com/", linkedin: "https://www.linkedin.com/in/michael-huber-9b567a173/", github: "https://github.com/mshuber1981", }, jobTitle: "Front-end Web Developer", location: { city: "Des Moines", state: "IA", country: "United States", }, }, { id: uuidv4(), name: "Christian Stevens", img: "https://media-exp1.licdn.com/dms/image/C5603AQExqUsxV7_IQw/profile-displayphoto-shrink_200_200/0?e=1588809600&v=beta&t=tFrAQCIcG1T080mPykXyD4bxTG92fUx2wTBZQcy_NE4", links: { website: "https://chris-thedeveloper.com/", linkedin: "https://www.linkedin.com/in/christian-stevens-34367110b/", github: "https://github.com/stev1905", }, jobTitle: "Full Stack Developer", location: { city: "Brooklyn", state: "NY", country: "United States", }, }, { id: uuidv4(), name: "Pratik Pandab", img: "https://avatars0.githubusercontent.com/u/33945636?s=400&u=8373f0db9292c10f86da7390d50b91debad51716&v=4", links: { website: "https://pratik-1999.github.io/", linkedin: "https://www.linkedin.com/in/pratik-pandab-193b43143/", github: "https://github.com/pratik-1999", }, jobTitle: "AI Researcher", location: { city: "Vidisha", state: "M.P.", country: "India", }, }, { id: uuidv4(), name: "Miles Au", img: "https://i.imgur.com/4rNq9Rj.jpg", links: { website: "https://www.milesau.com", linkedin: "https://www.linkedin.com/in/milesau/", github: "https://github.com/miles-au", }, jobTitle: "Mobile and Web Developer", location: { city: "Toronto", state: "Ontario", country: "Canada 🇨🇦 (Willing to relocate)", }, }, { id: uuidv4(), name: "Bunyawat Srisompong", img: "https://avatars1.githubusercontent.com/u/33023239?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/bsrisompong/", github: "https://github.com/bsrisompong", }, jobTitle: "Full Stack Javascript Developer", location: { city: "Bangkok", state: "", country: "Thailand🇹🇭", }, }, { id: uuidv4(), name: "Jesus Soto", img: "https://avatars1.githubusercontent.com/u/16869766?s=400&v=4", links: { website: "https://www.upwork.com/o/profiles/users/~01b278e346910606a1/", linkedin: "https://www.linkedin.com/in/sotous/", github: "https://github.com/sotous", }, jobTitle: "Full Stack Developer", location: { city: "Barranquilla", state: "Atlantico", country: "Colombia", }, }, { id: uuidv4(), name: "Ray Reside", img: "", links: { website: "https://www.rayreside.com", linkedin: "https://www.linkedin.com/in/rayreside/", github: "https://github.com/rayreside", }, jobTitle: "Full Stack Web Developer", location: { city: "Jersey City", state: "New Jersey", country: "United States", }, }, { id: uuidv4(), name: "Jun Yu Lu", img: "https://avatars.githubusercontent.com/thejbomb", links: { website: "https://thejbomb.github.io/", linkedin: "https://www.linkedin.com/in/jun-yu-lu-34b14aa6/", github: "https://github.com/thejbomb", }, jobTitle: "Software Engineer (Java, Javascript C#)", location: { city: "Warwick", state: "Rhode Island", country: "USA (Willing to relocate)", }, }, { id: uuidv4(), name: "Juan Luis Rojas León", img: "https://avatars.githubusercontent.com/rojasleon", links: { website: "https://rojasleon.tech", linkedin: "https://www.linkedin.com/in/rojasleon", github: "https://github.com/rojasleon", }, jobTitle: "Software Developer", location: { city: "", state: "Guanajuato", country: "Mexico", }, }, { id: uuidv4(), name: "Vishwanth S Asundi", img: "https://avatars3.githubusercontent.com/u/45585360?s=460&v=4", links: { website: "https://vishwanath-asundi.netlify.com/", linkedin: "https://www.linkedin.com/in/vishwanath-s-065b2b115/", github: "https://github.com/VishwanathAsundi?tab=repositories", }, jobTitle: "Software Developer / Front end Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Abdul Mobeen", img: "https://media-exp1.licdn.com/dms/image/C5603AQGg4EhYo53Ocg/profile-displayphoto-shrink_200_200/0?e=1589414400&v=beta&t=e17Ov88gu7P7lF-9fPliYorFVQI8Py5VCIcbcrVyZWY", links: { website: "", linkedin: "https://qa.linkedin.com/in/mobeendev", github: "https://github.com/mobeendev?tab=repositories", }, jobTitle: "PHP◆JS◆Frameworks◆APIs◆Microservices◆Cloud◆SQL", location: { city: "Doha", state: "", country: "Qatar", }, }, { id: uuidv4(), name: "Jeryl Donato Estopace", img: "https://avatars0.githubusercontent.com/u/26645913?s=400&u=8d9a63dc398fd351037d0a8ffd8a56b37c386ee5&v=4", links: { website: "https://jeryldev.github.io/", linkedin: "https://www.linkedin.com/in/jeryldev/", github: "https://github.com/JerylDEv", }, jobTitle: "Technical Support Engineer, Oracle NetSuite", location: { city: "Taguig City", state: "National Capital Region", country: "Philippines", }, }, { id: uuidv4(), name: "Pop Stefan", img: "https://avatars0.githubusercontent.com/u/43994418?s=460&u=d5bb94d0c88bdf16a55d1807e0c3d6e8aa4e0054&v=4", links: { website: "https://stefanpop.dev", linkedin: "https://www.linkedin.com/in/stefan-pop-9a55a6191/", github: "https://github.com/StefanSelfTaught", }, jobTitle: "Front End Developer", location: { city: "Targu-Mures", state: "Mures", country: "Romania", }, }, { id: uuidv4(), name: "Ryan Rodrigues", img: "", links: { website: "", linkedin: "", github: "https://github.com/ryrodrig", }, jobTitle: "Backend Developer", location: { city: "Sadashivgad", state: "Toronto", country: "Canada", }, }, { id: uuidv4(), name: "Sarah Paz", img: "https://sarahpaz.ca/images/sarahpaz-headshot-2019.jpg", links: { website: "www.sarahpaz.ca", linkedin: "https://www.linkedin.com/in/sarahpaz/", github: "https://github.com/sarahpaz", }, jobTitle: "Full Stack Web Developer", location: { city: "Toronto", state: "ON", country: "Canada", }, }, { id: uuidv4(), name: "Anurag Yadav", img: "https://www.gravatar.com/avatar/9159f15d1336345e5378cb5464259e04", links: { website: "http://yadavanurag.github.io", linkedin: "https://www.linkedin.com/in/yadavanurag90", github: "https://github.com/yadavanurag", }, jobTitle: "Full Stack Developer", location: { city: "Gorakhpur", state: "Uttar Pradesh", country: "India", }, }, { id: uuidv4(), name: "Payton Jewell", img: "https://avatars3.githubusercontent.com/u/18350557?s=460&u=b5237bf592833e60ba0a68842c76ae4f3d08e28e&v=4", links: { website: "https://paytonjewell.github.io/", linkedin: "https://www.linkedin.com/in/payton-jewell/", github: "https://github.com/paytonjewell", }, jobTitle: "Front-End Developer", location: { city: "Appleton", state: "Wisconsin", country: "United States of America", }, }, { id: uuidv4(), name: "Josia Rodriguez", img: "https://res.cloudinary.com/di3jbt6xu/image/upload/v1584626388/profile_ome0ls.jpg", links: { website: "https://www.josiarodriguez.com/", linkedin: "https://www.linkedin.com/in/josiarodriguez/", github: "https://github.com/josiarod", }, jobTitle: "Full Stack Developer", location: { city: "Metro Area", state: "Washington, D.C.", country: "USA", }, }, { id: uuidv4(), name: "Joshua Folorunsho", img: "https://avatars3.githubusercontent.com/u/55793353?s=400&u=6828f7d903254ca765429cdf063e99635efb8b84&v=4", links: { website: "http://joshuafolorunsho.com", linkedin: "https://www.linkedin.com/in/jfolorunsho", github: "https://github.com/joshuafolorunsho", }, jobTitle: "Frontend Developer", location: { city: "Uyo", state: "Awka Ibom", country: "Nigeria", }, }, { id: uuidv4(), name: "Evangel Iheukwumere", img: "https://devevangel.github.io/assets/images/me.jpg", links: { website: "https://devevangel.github.io/", linkedin: "https://www.linkedin.com/in/evangel-iheukwumere-511a7219b/", github: "https://github.com/devevangel/", }, jobTitle: "Game Developer / Software Developer / Android Developer", location: { city: "Amarillo", state: "Texas", country: "United States", }, }, { id: uuidv4(), name: "S Salman", img: "https://media-exp1.licdn.com/dms/image/C5103AQFvOwhQ976dEg/profile-displayphoto-shrink_200_200/0?e=1590019200&v=beta&t=oNwKuih1J6tgxSo1GLcTjAGo8Kr3H8HrwTiBaisZwPA", links: { website: "https://ssalmanportfolio.netlify.com/", linkedin: "https://www.linkedin.com/in/s-salman-509776160/", github: "https://github.com/ssal-man", }, jobTitle: "Full-Stack Developer , Python Developer , Javascript Developer , Android Developer", location: { city: "Bhilai", state: "Chhattisgarh", country: "India", }, }, { id: uuidv4(), name: "Moulay Isam Elbousserghini", img: "https://lh3.googleusercontent.com/-dSTdfe93-d0fg1bc6hx8uHSYBH5FqeNaSftgWd5Vd_xln8293caccfoWsKrEc96JntGvfZxtkwer4HshgKWN4BFxfNTw5BVjuwgIfjDPoVEohpgr4EsBHPZJgb07BoLfPiagpuLjZRJb8o8hK-6IznMor5FKYKajywWsxjmxoxtSzTC0hz9JbdAeVUmukFjDqeZzXYzSI-Ix9a8MTmSfrYtkDmuYNPjlQ0nnSY3uqogmjeq5Obbh_pYBc4uL0R2IsUxuK0CjnPT8uzI14KWeNbP7GLp1SxNX6E7E8cyWAzAu2wcZA7bLj7G8Jjv_PvID5Aa5qprCHbJw_iEvpH0D--cJISyoBLv4w7SHAgfj7cMQlbHxl-80VmJGV-0KmGuUXtJh-megSIUuku0ms1IF-xrP9785TXX_mEKtU4X1L2Fna4kkcZvHcY6Lgs8Tg8P3rNgyiU5MvfDad-GoBSdQSBQSVbTA339OtF1RIQfZZ-XRylRM1VJQIGs-jy7FFlgAY95cohjOO_LXa2AdhhD4df5rYutbBplTTO8bzeU2FspNzC2cIjV9fm7JZc-yLklTjcJ-d46I_4C0-ECIoQcdBuAdyHyudZYySQ3d9XrbJGUrylpBW8rddtlVSv1Vjw7xhIt6kI5YdhNYdgnQLpICkHKveHDD7DxGG5Aa6ueKFEooAs-XPWwAfCDTZCRgBg=s231-no", links: { website: "https://mindtaxis.com/", linkedin: "https://www.linkedin.com/in/isam-elbousserghini-874614194/", github: "https://github.com/isamelb", }, jobTitle: "web developer, javascript, html, css, python", location: { city: "London", state: "London", country: "United Kingdom", }, }, { id: uuidv4(), name: "Himanshu Kishor Gohil", img: "https://tghimanshu.github.io/images/photo.jpg", links: { linkedin: "https://www.linkedin.com/in/himanshu-gohil-b21893155/", website: "https://tghimanshu.github.io/", github: "https://github.com/tghimanshu", }, jobTitle: "Full Stack Developer", location: { city: "Mumbai", state: "Maharastra", country: "India", }, }, { id: uuidv4(), name: "Iuliia Logunova", img: "https://avatars3.githubusercontent.com/u/54540652?s=460&u=6dfedd88e99956acf7c85c67e6b90627d8e67404&v=4", links: { linkedin: "http://linkedin.com/in/iuliia-logunova-982939190", website: "https://yulogun.github.io/my-portfolio/#/", github: "https://github.com/YuLogun", }, jobTitle: "Front End Developer", location: { city: "Samara", state: "", country: "Russia", }, }, { id: uuidv4(), name: "Mehedi Hasan", img: "https://avatars0.githubusercontent.com/u/24963413?s=460&u=97a321a6d6af5030cb6ca3f8f79bbff0dbab8198&v=4", links: { linkedin: "http://linkedin.com/in/codermehedi", website: "https://codermehedi.me", github: "https://github.com/Coder-Mehedi", }, jobTitle: "Full Stack Developer (MERN)", location: { city: "Dhaka", state: "", country: "Bangladesh", }, }, { id: uuidv4(), name: "Paramjeet Dhiman", img: "https://scontent.fhyd5-1.fna.fbcdn.net/v/t1.0-1/c60.0.240.240a/p240x240/90170088_1570467313105651_7051108845623443456_o.jpg?_nc_cat=108&_nc_sid=dbb9e7&_nc_ohc=Ipi2IGMZPxsAX_SKRWe&_nc_ht=scontent.fhyd5-1.fna&oh=a354d5e07f5072e7c79642cca644b748&oe=5EA6DA17https://scontent.fhyd5-1.fna.fbcdn.net/v/t1.0-1/c60.0.240.240a/p240x240/90170088_1570467313105651_7051108845623443456_o.jpg?_nc_cat=108&_nc_sid=dbb9e7&_nc_ohc=Ipi2IGMZPxsAX_SKRWe&_nc_ht=scontent.fhyd5-1.fna&oh=a354d5e07f5072e7c79642cca644b748&oe=5EA6DA17", links: { website: "https://about.me/paramjeetdhiman", linkedin: "https://www.linkedin.com/in/paramjeetdhiman", github: "https://github.com/paramjeetdhiman", }, jobTitle: "Front-End Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Narayan Hari", img: "https://narayanhari.in/1.JPG", links: { website: "https://narayanhari.in/", linkedin: "https://www.linkedin.com/in/narayanhari/", github: "https://github.com/narayanhari", }, jobTitle: "Computer Science Undergraduate", location: { city: "Manipal", state: "Manipal", country: "India", }, }, { id: uuidv4(), name: "Dmytro Anikin", img: "http://dimianni.biz/images/me.jpg", links: { website: "http://dimianni.biz/", linkedin: "https://www.linkedin.com/in/dimianni/", github: "https://github.com/dimianni", }, jobTitle: "Front-End Web Developer", location: { city: "Aberdeen", state: "SD", country: "USA", }, }, { id: uuidv4(), name: "Navendu Niranjan P", img: "https://avatars1.githubusercontent.com/u/49474499?s=400&v=4", links: { website: "https://navendu-pottekkat.github.io/#/", linkedin: "https://www.linkedin.com/in/navendup/", github: "https://github.com/navendu-pottekkat", }, jobTitle: "Data Scientist", location: { city: "Kochi", state: "Kerala", country: "India", }, }, { id: uuidv4(), name: "Tomer Guttman", img: "https://avatars0.githubusercontent.com/u/40022715?s=460&u=79919ca3d081b9423e0d4391807e62836cae6830&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/tomergut/", github: "https://github.com/tomerguttman", }, jobTitle: "Software Developer", location: { city: "Haifa", state: "", country: "Israel", }, }, { id: uuidv4(), name: "Olokor Divine", img: "https://avatars0.githubusercontent.com/u/48719608?s=400&u=d9ffb4f63c65b92a54d074abc54a5fcd5d2f7097&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in//", github: "https://github.com/divee789", }, jobTitle: "Fullstack Engineer", location: { city: "Lagos", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Rolando Capara", img: "https://avatars1.githubusercontent.com/u/62534347?s=460&u=5d96759c71d3b52b26f03d97d8cbd070da183950&v=4", links: { website: "https://rjcapara.com", linkedin: "https://www.linkedin.com/in/rolando-capara-536891144/", github: "https://github.com/rjcapara", }, jobTitle: "Full Stack Web Developer", location: { city: "Cainta", state: "Rizal", country: "Philippines", }, }, { id: uuidv4(), name: "Rafael Dias", img: "https://avatars0.githubusercontent.com/u/52940075?s=400&u=37f166717fd557194d81278ebd4f6f618fc18817&v=4", links: { website: "https://rafaeldias.netlify.com/", linkedin: "https://www.linkedin.com/in/rafaeldias6/", github: "https://github.com/Rafsdias", }, jobTitle: "Front-End Developer", location: { city: "Viseu", state: "", country: "Portugal", }, }, { id: uuidv4(), name: "Luis Vallejo", img: "https://media-exp1.licdn.com/dms/image/C4E03AQHyVZgfrVduVw/profile-displayphoto-shrink_100_100/0?e=1591833600&v=beta&t=nuBbreYm7bEbgSJBAWNaCbX0OwZ-DNFfgJZ8BbynqjU", links: { website: "", linkedin: "https://www.linkedin.com/in/luis-vallejo-luvagu/", github: "https://github.com/luiavag", }, jobTitle: "Full Stack Web Developer", location: { city: "Brighton", state: "ES", country: "UK", }, }, { id: uuidv4(), name: "Victor Jonah", img: "https://avatars2.githubusercontent.com/u/30151767?s=400&u=6e371cca7372e7627d27dacd64abfdb213053229&v=4", links: { website: "https://www.vectormike.codes/", linkedin: "https://www.linkedin.com/in/victor-jonah-abb1a1120/", github: "https://github.com/Vectormike", }, jobTitle: "Full Stack JavaScript Developer", location: { city: "Uyo", state: "AkwaIbom", country: "Nigeria", }, }, { id: uuidv4(), name: "Pranav Agarwal", img: "https://avatars0.githubusercontent.com/u/40036238?s=400&u=c8c83a97658f9f62f32d9cbfe4334962933271a1&v=4", links: { website: "https://www.pranav2012.github.io/", linkedin: "https://www.linkedin.com/in/pranav-agarwal-579363166/", github: "https://github.com/pranav2012", }, jobTitle: "Full-Stack Web-Developer, Python Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Eugene Chan", img: "https://avatars.githubusercontent.com/eugenechanyc", links: { website: "", linkedin: "https://www.linkedin.com/in/eugenechanyc", github: "https://github.com/eugenechanyc", }, jobTitle: "Full Stack Web Developer", location: { city: "Singapore", state: "", country: "Singapore", }, }, { id: uuidv4(), name: "Mohamed Shawky", img: "https://res.cloudinary.com/dymelpf7v/image/upload/v1586085437/profile.png", links: { website: "", linkedin: "https://www.linkedin.com/in/mohamedshawkybayoumi", github: "https://github.com/MohamedShawkyBayoumi/", }, jobTitle: "Front End Web Developer | React Developer", location: { city: "Cairo", state: "", country: "Egypt", }, }, { id: uuidv4(), name: "Manoj Baddi", img: "https://avatars.githuhttps://avatars.githubusercontent.com/santhosh21vkbusercontent.com/manojbaddi", links: { website: "", linkedin: "https://www.linkedin.com/in/manojbaddi/", github: "https://github.com/manojbaddi", }, jobTitle: "Full Stack C# developer", location: { city: "Bangalore", state: "", country: "India", }, }, { id: uuidv4(), name: "Santhosh H V", img: "https://avatars.githubusercontent.com/santhosh21vk", links: { website: "", linkedin: "https://www.linkedin.com/in/santhosh-h-v-9a8937171/", github: "https://github.com/santhosh21vk", }, jobTitle: "Front End Web Developer (Javascript, React.js)", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Kiril Delovski", img: "https://avatars.githubusercontent.com/kiril6", links: { website: "http://delovski.net", linkedin: "https://www.linkedin.com/in/kdelovski6/", github: "https://github.com/kiril6", }, jobTitle: "Frontend Web Developer", location: { city: "Skopje", state: "", country: "North Macedonia", }, }, { id: uuidv4(), name: "Rigin Oommen", img: "https://avatars.githubusercontent.com/riginoommen", links: { website: "https://riginoommen.github.io", linkedin: "https://www.linkedin.com/in/riginoommen/", github: "https://github.com/riginoommen", }, jobTitle: "Application Developer", location: { city: "Pune", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Jonathan Branski", img: "https://avatars1.githubusercontent.com/u/32647040", links: { website: "https://jonathanbranski.com", linkedin: "https://www.linkedin.com/in/jonathanbranski/", github: "https://github.com/JBranski", }, jobTitle: "Front-end Developer", location: { city: "Milwaukee", state: "Wisconsin", country: "United States", }, }, { id: uuidv4(), name: "Matthew Rinaldo", img: "https://avatars1.githubusercontent.com/u/mattrinaldo", links: { website: "", linkedin: "https://www.linkedin.com/in/matthewrinaldo1/", github: "https://github.com/mattrinaldo", }, jobTitle: "Pre-Junior Full Stack Developer in Training", location: { city: "", state: "", country: "Earth", }, }, { id: uuidv4(), name: "Helio Cardoso", img: "", links: { website: "https://heliorochacardoso.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/helio-cardoso-822355116/", github: "https://github.com/HelioRochaCardoso", }, jobTitle: "Front End Developer", location: { city: "Manchester", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Fran Extremera", img: "http://www.franextremera.com/images/about/profile_image.jpg", links: { website: "https://franextremera.com/", linkedin: "https://www.linkedin.com/in/francisco-extremera/", github: "https://github.com/franexmo81", }, jobTitle: "Front-end Web Developer", location: { city: "Jaen", state: "Andalusia", country: "Spain", }, }, { id: uuidv4(), name: "Theja M", img: "https://avatars1.githubusercontent.com/u/56859400?s=400&u=d5da7ac5fffe135c3d37dc8e7bda926d9e11e124&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/theja-m-744106168/", github: "https://github.com/theja-m", }, jobTitle: "Software Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Harendra Kumar Kanojiya", img: "https://media-exp1.licdn.com/dms/image/C5103AQF3dXY-xgSMuA/profile-displayphoto-shrink_200_200/0?e=1598486400&v=beta&t=7q-gaMWdhbM-acrMEJyShXIwuaZWLr5RNHs-IWMnAFc", links: { website: "https://harendra.in", linkedin: "https://www.linkedin.com/in/harendra-verma-157773a9/", github: "https://github.com/harendra21/", }, jobTitle: "Full Stack Web Developer", location: { city: "Gurugram", state: "Haryana", country: "India", }, }, { id: uuidv4(), name: "Aayush Rajput", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/aayush-r-44a33a108/", github: "https://github.com/aayushhh/", }, jobTitle: "Full Stack Web Developer", location: { city: "Gurugram", state: "Haryana", country: "India", }, }, { id: uuidv4(), name: "Funmilayo Tobun", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/tobun-funmilayo-b7b00171/", github: "https://github.com/Funmilayo24", }, jobTitle: "Full-Stack Web Developer", location: { city: "Bonn", state: "North rhine-westphalia", country: "Germany", }, }, { id: uuidv4(), name: "Mithlesh Yadav", img: "https://avatars2.githubusercontent.com/u/32195144?s=460&u=e7368131fc6cc6f55b6855cf7c2118945d111722&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/mithlesh-yadav-2aa8a316a/", github: "https://github.com/mithleshfreak", }, jobTitle: "Software Developer", location: { city: "Bhadrapur, Jhapa", state: "Province No. 1", country: "Nepal", }, }, { id: uuidv4(), name: "Lam Hong", img: "https://avatars3.githubusercontent.com/u/9206941?s=460&u=c8d9b30fe067bf089f93588e50b7aed9c409c887&v=4", links: { website: "lamhong.me", linkedin: "https://www.linkedin.com/in/lam-hong-529856109", github: "https://github.com/hongduclam", }, jobTitle: "Sr Full-Stack Engineer", location: { city: "Ho Chi Minh", state: "", country: "Viet Nam", }, }, { id: uuidv4(), name: "Usman Khalid", img: "https://media-exp1.licdn.com/dms/image/C5603AQH2HAy0OdhYlw/profile-displayphoto-shrink_200_200/0?e=1592438400&v=beta&t=J_uIatwlGMWjJNMgv4V-NRsYrdwYtkZaPXmDX2FKHr8", links: { website: "", linkedin: "https://www.linkedin.com/in/usman-khalid-9384129b/", github: "https://github.com/usmankhan495", }, jobTitle: "Mobile/Web (React Native | React Js)", location: { city: "Lahore", state: "Punjab", country: "Pakistan", }, }, { id: uuidv4(), name: "Damini Varu", img: "https://avatars2.githubusercontent.com/u/50891247?s=400&u=b5199d3397089aa3b292e6fff124e491096465e2&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/damini-varu-71607b197/", github: "https://github.com/dvru", }, jobTitle: "Software Developer, Technical Writer, Graphic Designer", location: { city: "Houston", state: "Texas", country: "United States", }, }, { id: uuidv4(), name: "Teri Eyenike", img: "https://res.cloudinary.com/codeg0d/image/upload/v1584384543/teri/codeg0d_d19edi.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/terieyenike/", github: "https://github.com/terieyenike", }, jobTitle: "JavaScript Developer", location: { city: "Maryland", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Cigdem Coskuner", img: "https://cigdem.dev/images/myphoto.jpg", links: { website: "https://www.cigdem.dev", linkedin: "linkedin.com/in/cigdemcoskuner", github: "https://github.com/CigdemCos", }, jobTitle: "Engineer | Full-Stack Developer", location: { city: "Albany", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Jonathan Aguilar", img: "https://avatars2.githubusercontent.com/u/63523280?s=400&u=a97aee07b624817cf6a7fb1bef02a74e4d8d9d26&v=4", links: { website: "www.moguljon.com", linkedin: "www.linkedin.com/in/jonathan-aguilar-047130ba/", github: "https://github.com/moguljon/", }, jobTitle: "Full Stack Web Developer", location: { city: "Elizabeth", state: "New Jersey", country: "USA", }, }, { id: uuidv4(), name: "Deepak Kumar", img: "https://avatars3.githubusercontent.com/u/30384999?s=460&u=c503b99720a093a4b67a76e2598e2fd6999b706a&v=4", links: { website: "https://deepak1418.github.io/", linkedin: "https://www.linkedin.com/in/deepak-kumar-70215b175/", github: "https://github.com/deepak1418", }, jobTitle: "Software Developer,Data Analyst", location: { city: "", state: "", country: "INDIA", }, }, { id: uuidv4(), name: "Fanni Takacs", img: "", links: { website: "http://FanniTakax.github.io/my_experimental_page", linkedin: "https://www.linkedin.com/in/fanni-takacs-profile/", github: "https://github.com/FanniTakax", }, jobTitle: "Web Developer", location: { city: "Budapest", state: "", country: "Hungary", }, }, { id: uuidv4(), name: "Vaibhav Kumar Singh", img: "https://bit.ly/2XyFqfE", links: { website: "", linkedin: "https://www.linkedin.com/in/vaibhav-kumar-singh-530928101", github: "https://github.com/vaivk4", }, jobTitle: "Software-Developer", location: { city: "Chennai", state: "Tamilnadu", country: "India", }, }, { id: uuidv4(), name: "Jonathan Grundy", img: "https://avatars2.githubusercontent.com/u/53473099?s=460&u=2120e37f1256225a73bbf2c75414e76217835d90&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/jonathan-grundy-661013190/", github: "https://github.com/jonathangrundy", }, jobTitle: "Junior Web Developer - Javascript", location: { city: "Preston", state: "Lancashire", country: "United Kingdom", }, }, { id: uuidv4(), name: "JT Houk", img: "https://res.cloudinary.com/jthouk/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/v1582802281/Profiles/IMG_0600_swphdi.png", links: { website: "https://jt.houk.space", linkedin: "https://www.linkedin.com/in/jt-houk", github: "https://github.com/HoukasaurusRex", }, jobTitle: "Senior Full Stack Developer", location: { city: "Beijing", state: "Beijing", country: "China", }, }, { id: uuidv4(), name: "Jorge Veronique", img: "https://avatars3.githubusercontent.com/u/59569596?s=460&u=afdf6a5866ed55179fa52663f6c0d6c380e049b4&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/jorge-veronique-981a0753/", github: "https://github.com/jorgey1", }, jobTitle: "Software Engineer", location: { city: "Perivale", state: "London", country: "United Kingdom", }, }, { id: uuidv4(), name: "Hassan Zain", img: "http://hassanzain.com/images/pic00.jpg", links: { website: "http://hassanzain.com/", linkedin: "https://www.linkedin.com/in/hassan-zain-delgadillo-b2056156/", github: "https://github.com/hassanzd", }, jobTitle: "Software Developer", location: { city: "Torreon", state: "Coahuila", country: "Mexico", }, }, { id: uuidv4(), name: "HanQiao(Claire) Li", img: "https://www.dropbox.com/s/ucb3lqrrbrp2wd0/HanQiao.JPG?dl=0", links: { website: "hanqiaoli.com", linkedin: "https://www.linkedin.com/in/claire-li-98739113b/", github: "https://github.com/clairehq", }, jobTitle: "Front-End Developer", location: { city: "Vancouver,Beijing", state: "BC", country: "Canada, China", }, }, { id: uuidv4(), name: "Faizan Qazi", img: "https://drive.google.com/file/d/1SCvbLjEEMXRP8erjEmMe2wqoVoI3zB9M/view?usp=drivesdk", links: { website: "http://caxefaizan.pythonanywhere.com", linkedin: "https://www.linkedin.com/in/caxefaizan/", github: "https://github.com/caxefaizan", }, jobTitle: "Python Developer|Full Stack Developer|Embedded IoT Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Jordan Stanway", img: "https://res.cloudinary.com/mtninja/image/upload/v1587576167/js-cropped_all9eg.jpg", links: { website: "https://jordanstanway.com", linkedin: "https://www.linkedin.com/in/jordanstanway/", github: "https://github.com/jpstanway", }, jobTitle: "Full Stack React Developer", location: { city: "Vancouver", state: "BC", country: "Canada", }, }, { id: uuidv4(), name: "Jeremy Ng Cheng Hin", img: "https://tinyurl.com/ybjym5dm", links: { website: "", linkedin: "https://www.linkedin.com/in/jeremy-n-5b76aa105/", github: "https://github.com/jnch009", }, jobTitle: "Web Developer", location: { city: "Coquitlam", state: "BC", country: "Canada", }, }, { id: uuidv4(), name: "Denis Tita", img: "https://ibb.co/JjhcPhW", links: { website: "http://denistita.com/", linkedin: "https://www.linkedin.com/in/denis-tita-43a705197/", github: "https://github.com/denistita", }, jobTitle: "Software Developer", location: { city: "Caseyville", state: "Illinois", country: "USA", }, }, { id: uuidv4(), name: "JP Sainsbury", img: "https://avatars2.githubusercontent.com/u/32621022?s=460&u=2a90e6617060f57a08795e5f97f7fd69c9251809&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/jp-sainsbury-3a59158a/", github: "https://github.com/jpsains", }, jobTitle: "Web Developer", location: { city: "London", state: "", country: "England", }, }, { id: uuidv4(), name: "Magesh Sundar G", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/magesh-sundar-965ba2190", github: "https://github.com/MageshSundarG", }, jobTitle: "Python Developer|Data Scientist|Full Stack Developer", location: { city: "Chennai", state: "Tamilnadu", country: "india", }, }, { id: uuidv4(), name: "Pranav Sood", img: "https://secureservercdn.net/198.71.233.44/gpo.7bd.myftpupload.com/wp-content/uploads/2019/10/DSC_0576-copy.jpg", links: { website: "http://prnvsood.com/", linkedin: "https://www.linkedin.com/in/pranav-sood-3a9095a3/", github: "https://github.com/prnv06", }, jobTitle: "Product Manager| Designer| Full Stack Developer", location: { city: "New York", state: "NY", country: "", }, }, { id: uuidv4(), name: "Jonathan Hutnick", img: "https://ibb.co/XZGZLb2", links: { website: "", linkedin: "https://www.linkedin.com/in/jonathanhutnick/", github: "https://github.com/JHutnick", }, jobTitle: "Software Developer | Front-End Developer", location: { city: "New York", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Bhoomi Shah", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/shah-bhoomi/", github: "https://github.com/BShah5", }, jobTitle: "Web Developer | Javascript | Python | Ethereum | Java", location: { city: "Ahmedabad", state: "Gujarat", country: "India", }, }, { id: uuidv4(), name: "Radouane Khiri", img: "https://media-exp1.licdn.com/dms/image/C4D03AQEnRIsnOo8Dpw/profile-displayphoto-shrink_200_200/0?e=1593648000&v=beta&t=60tIarqFukAI7EyJyUKmm-JFTCaqZzK7mFm6JpHvWQQ", links: { website: "https://www.redvanisation.com/", linkedin: "https://www.linkedin.com/in/redvan/", github: "https://github.com/Redvanisation", }, jobTitle: "Full Stack Software Developer", location: { city: "New York", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Mohadip Lama", img: "https://media-exp1.licdn.com/dms/image/C4E03AQFlz-svFCpPKQ/profile-displayphoto-shrink_200_200/0?e=1593648000&v=beta&t=zMv14W_E4c_o_s-rD2IvdBxawOcIgY_GdNapw5weO-I", links: { linkedin: "https://www.linkedin.com/in/mohadip-lama-taveras-961a67140/", github: "https://github.com/mohadip", }, jobTitle: "Web Developer | Javascript | Python | Java", location: { city: "Santo Domingo", state: "Dominican Republic", country: "Dominican Republic", }, }, { id: uuidv4(), name: "Freeda Moore", img: "", links: { website: "https://freedamoore.github.io/", linkedin: "https://www.linkedin.com/in/freeda-moore-389057196/", github: "https://github.com/freedamoore", }, jobTitle: "Front End Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Paul Ventura", img: "http://gravatar.com/avatar/1455092cb82281ad79bbbd4da3b07bec", links: { website: "", linkedin: "https://www.linkedin.com/in/christian-paul-ventura", github: "https://github.com/pmventura", }, jobTitle: "Software Engineer", location: { city: "Singapore", state: "Singapore", country: "Singapore", }, }, { id: uuidv4(), name: "Tomas Czarnecki", img: "https://avatars1.githubusercontent.com/u/44222618?s=460&u=cb3a6ed4e892a2d83f17862cc562cb51dce862ce&v=4", links: { website: "https://heiux.com/", linkedin: "linkedin.com/in/tczarnecki/", github: "https://github.com/tomashei", }, jobTitle: "UX Developer", location: { city: "Poznan", state: "Greater Poland", country: "Poland", }, }, { id: uuidv4(), name: "Brittany Anderson", img: "", links: { website: "http://brittany-anderson.com/", linkedin: "https://www.linkedin.com/in/brittany-anderson-b9b835155/", github: "https://github.com/bdb5075", }, jobTitle: "Front End Developer", location: { city: "", state: "Maryland", country: "USA", }, }, { id: uuidv4(), name: "Rexx Samuell", img: "https://avatars3.githubusercontent.com/u/36671895?s=460&v=4", links: { website: "https://rexxanthony.com/", linkedin: "https://www.linkedin.com/in/rexx-anthony-samuell-1282304/", github: "https://github.com/rsamuell", }, jobTitle: "Web Developer", location: { city: "Washington", state: "DC", country: "USA", }, }, { id: uuidv4(), name: "Supratim Sarkar", img: "YOUR_IMG_URL", links: { website: "http://supracodes.pythonanywhere.com/", linkedin: "https://www.linkedin.com/in/supratim-sarkar-3a3299150/", github: "https://github.com/codewithsupra", }, jobTitle: "Data Analyst| Python Developer", location: { city: "MUSCAT", state: "MUSCAT", country: "OMAN", }, }, { id: uuidv4(), name: "Merlin Förster", img: "https://avatars0.githubusercontent.com/u/44608877", links: { website: "merlinfoerster.com", linkedin: "https://www.linkedin.com/in/merlinfoerster/", github: "https://github.com/r3m00n", }, jobTitle: "Full Stack Developer", location: { city: "Hamburg", state: "Hamburg", country: "Germany", }, }, { id: uuidv4(), name: "Aiswarya Sarangi", img: " ", links: { website: " ", linkedin: "https://www.linkedin.com/in/aiswaryasarangi/", github: "https://github.com/aiswarya8110", }, jobTitle: "Front End Developer", location: { city: "Bhubaneswar", state: "Odisha", country: "India", }, }, { id: uuidv4(), name: "Kumar Aditya", img: "https://kumaraditya.herokuapp.com/about/assets/img/profile-img.jpg", links: { website: "https://kumaraditya.herokuapp.com/", linkedin: "https://www.linkedin.com/in/kumar-aditya-77a2b4194/", github: "https://github.com/nnhhiilliisstt", }, jobTitle: "Full stack web developer| Flutter Developer", location: { city: "Gurgaon", state: "Haryana", country: "India", }, }, { id: uuidv4(), name: "Ritika Garg", img: "https://media-exp1.licdn.com/dms/image/C5103AQGED09T7SYrpA/profile-displayphoto-shrink_200_200/0?e=1594252800&v=beta&t=V67IMSqLNYRSW_zZy8aodzZuxPQK1p7SDPwwzzD5Wpo", links: { website: "", linkedin: "https://www.linkedin.com/in/ritika-garg98/", github: "https://github.com/rgarg22", }, jobTitle: "Full Stack Developer", location: { city: "", state: "Punjab", country: "India", }, }, { id: uuidv4(), name: "Edwin Torres", img: "https://avatars3.githubusercontent.com/u/5404833", links: { website: "https://codesandtags.github.io/", linkedin: "https://www.linkedin.com/in/edwintorresdeveloper/", github: "https://github.com/codesandtags", }, jobTitle: "Full Stack Developer", location: { city: "Bogota", state: "Bogota", country: "Colombia", }, }, { id: uuidv4(), name: "Jeremy Curtis", img: "https://avatars1.githubusercontent.com/u/29008729?s=400&u=60465f4a72f31f7fd4c0e0aea7e5b66673f5754a&v=4", links: { website: "", linkedin: "www.linkedin.com/in/jeremy-curtis-29a586185", github: "https://github.com/jcurtis808", }, jobTitle: "Self employed/freelance developer", location: { city: "Chicago", state: "Illinois", country: "USA", }, }, { id: uuidv4(), name: "Michio Hayakawa", img: "https://media-exp1.licdn.com/dms/image/C4D03AQE0hpBDzsfFMg/profile-displayphoto-shrink_200_200/0?e=1594857600&v=beta&t=7L0lsWuedUqgZWMdqirKTYQW8NPV-eCJZ_8MeqRbLH8", links: { website: "http://wwww.hacya.com", linkedin: "https://www.linkedin.com/in/michio-hayakawa-664507/", github: "https://github.com/hacyaman", }, jobTitle: "Software Engineering Manager", location: { city: "Yokohama", state: "Kanagawa", country: "Japan", }, }, { id: uuidv4(), name: "Pawan Ashish Kolhe", img: "https://pawankolhe.com/img/pawankolhe.jpg", links: { website: "https://pawankolhe.com/", linkedin: "https://www.linkedin.com/in/kolhepawan/", github: "https://github.com/PawanKolhe", }, jobTitle: "Front End Developer", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Hemant Kumar Singh", img: "https://avatars3.githubusercontent.com/u/26166716?s=460&u=6663ba6904746ecf7e28b604f0f2a739027ef27e&v=4", links: { website: "https://hs950559.github.io/portfolio", linkedin: "https://www.linkedin.com/in/hkajax", github: "https://github.com/hs950559", }, jobTitle: "Front End Developer, UI Developer, Senior Web Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Andrew Price", img: "https://pbs.twimg.com/profile_images/1018213344698724352/zW_-kGqV_400x400.jpg", links: { website: "https://www.awprice.com/", linkedin: "https://www.linkedin.com/in/loftkey/", github: "https://github.com/loftkey", }, jobTitle: "Developer", location: { city: "Murrieta", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Tai Disla", img: "http://taidisla.com/images/ztmJobBoardPic.jpg", links: { website: "http://taidisla.com/", linkedin: "https://www.linkedin.com/in/tai-disla/", github: "https://github.com/taicedtea", }, jobTitle: "Junior Front End Developer", location: { city: "New York", state: "New York", country: "USA", }, }, { id: uuidv4(), name: "Trejon Stallsworth", img: "https://avatars2.githubusercontent.com/u/50248674?s=460&u=8624e2ac772606d44807f794f59658f7a5664cde&v=4", links: { website: "https://trejon.github.io/TrejonStallsworthPortfolio/", linkedin: "https://www.linkedin.com/in/TrejonStallsworth/", github: "https://github.com/Trejon", }, jobTitle: "Full Stack Developer", location: { city: "Denver", state: "Colorado", country: "USA", }, }, { id: uuidv4(), name: "Arun Surendharan", img: "https://avatars2.githubusercontent.com/u/64095520", links: { website: "", linkedin: "https://www.linkedin.com/in/arun-surendharan-3084a6142/", github: "https://github.com/arun-me", }, jobTitle: "Full Stack Developer", location: { city: "Tirupur", state: "Tamil Nadu", country: "India", }, }, { id: uuidv4(), name: "Paul Marik", img: "https://i.imgur.com/ZazkmQd.jpg", links: { website: "http://marik.tech/", linkedin: "www.linkedin.com/in/paul-marik-web-developer", github: "https://github.com/pmarik", }, jobTitle: "Web Developer", location: { city: "Salt Lake City", state: "Utah", country: "USA", }, }, { id: uuidv4(), name: "Manjil Tamang", img: "https://github.com/manjillama.png", links: { website: "https://manjiltamang.com", linkedin: "http://linkedin.com/in/manjiltamang/", github: "https://github.com/manjillama", }, jobTitle: "Full stack developer", location: { city: "Boudha", state: "Kathmandu", country: "Nepal", }, }, { id: uuidv4(), name: "Ghizlane BOUSKRI", img: "http://ghizlaneb.pythonanywhere.com/about.html", links: { website: "http://ghizlaneb.pythonanywhere.com/index.html", linkedin: "https://www.linkedin.com/in/ghizlane-bouskri-physics/", github: "https://github.com/GhizlaneBOUSKRI", }, jobTitle: "Full stack developer", location: { city: "Düsseldorf", state: "NRW", country: "Germany", }, }, { id: uuidv4(), name: "Nikolay Almazov", img: "https://github.com/nalmazov.png", links: { website: "https://www.linkedin.com/in/nikolay-almazov-10b40892/", linkedin: "https://www.linkedin.com/in/nikolay-almazov-10b40892/", github: "https://github.com/NAlmazov", }, jobTitle: "Product Manager|Consultant|Aspiring Full-Stack Developer", location: { city: "Boston", state: "Massachusetts", country: "USA", }, }, { id: uuidv4(), name: "Enora Lecuyer", img: "https://media-exp1.licdn.com/dms/image/C5603AQHWpzQNlm5yCA/profile-displayphoto-shrink_400_400/0?e=1595462400&v=beta&t=4UssIs_APwAEYyoQaXJ0V6Dfp9SAASPUaYtkc7HbksM", links: { website: "http://www.enoralecuyer.com/", linkedin: "https://www.linkedin.com/in/enoralecuyer1/", github: "https://github.com/enoralecuyer", }, jobTitle: "Front-End Developer", location: { city: "Irvine", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Hunter Vitous", img: "https://github.com/hmvitous.png", links: { website: "", linkedin: "https://www.linkedin.com/in/hunter-vitous-07839a10b/", github: "https://github.com/hmvitous", }, jobTitle: "Full-Stack Developer", location: { city: "Bromma", state: "Stockholm", country: "Sweden", }, }, { id: uuidv4(), name: "Hulya Karakaya", img: "https://twitter.com/hulyakarakayaa/photo", links: { website: "", linkedin: "https://www.linkedin.com/in/hulya-karakaya/", github: "https://github.com/hulyak", }, jobTitle: "Front End Developer", location: { city: "Seattle", state: "Washington", country: "United States", }, }, { id: uuidv4(), name: "Yuchen Zhang", img: "https://avatars2.githubusercontent.com/u/20440998?s=400&u=e8f46d4a07da6a879e167ce152f1a409df566274&v=4", links: { website: "https://seraph-yczhang.github.io/me/", linkedin: "https://www.linkedin.com/in/yuchen-zhang-buffalo/", github: "https://github.com/Seraph-YCZhang", }, jobTitle: "Software Developer", location: { city: "Buffalo", state: "New York", country: "United States", }, }, { id: uuidv4(), name: "Rayyan Saeed", img: "", links: { website: "http://rayyansaeed.info/", linkedin: "https://www.linkedin.com/in/rayyansaeed/", github: "https://github.com/streehawk", }, jobTitle: "Software Developer", location: { city: "Sacramento", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Juan Agustín Morello", img: "https://avatars0.githubusercontent.com/u/32440750?s=460&u=89f48aa8c4b9a6071821b87035bab623c129d990&v=4", links: { website: "https://jamorello.github.io/", linkedin: "https://www.linkedin.com/in/juan-agust%C3%ADn-morello-a46385184/", github: "https://github.com/JAMorello", }, jobTitle: "Programador Junior", location: { city: "Parque Chas", state: "Ciudad de Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Rudi Bester", img: "http://www.rudibester.co.za/static/assets/images/portfolio_pic.jpeg", links: { website: "http://www.rudibester.co.za", linkedin: "https://www.linkedin.com/in/rudi-bester-a18878199/", github: "https://github.com/rudibester", }, jobTitle: "Software Developer|Aspiring Data Scientist|ML Enthusiast", location: { city: "Cape Town", state: "", country: "South Africa", }, }, { id: uuidv4(), name: "Swati Dixit", img: "https://media-exp1.licdn.com/dms/image/C5103AQH8Fq_1_gRtDg/profile-displayphoto-shrink_200_200/0?e=1596672000&v=beta&t=xOFaNEZNL_sw46ataKaupw7p_KSyuG93Fx_4heZ0-E8 ", links: { website: "", linkedin: "https://www.linkedin.com/in/swati-dixit-458971170", github: "https://github.com/swatiidixit", }, jobTitle: "Software-Developer", location: { city: "Kanpur", state: "Uttar-Pradesh", country: "India", }, }, { id: uuidv4(), name: "Ujjwal Adhikari", img: "https://www.photobox.co.uk/my/photo/full?photo_id=503026919760", links: { website: "", linkedin: "https://www.linkedin.com/in/ujjwal-adhikari-3a946418b/", github: "https://github.com/ujjwal66", }, jobTitle: "Fullstack Developer", location: { city: "Kathmandu", state: "", country: "Nepal", }, }, { id: uuidv4(), name: "Manas Kulkarni", img: "https://manas588.github.io/portfo/static/media/thatsme.755846f5.jpg", links: { website: "https://manas588.github.io/portfo/", linkedin: "https://www.linkedin.com/in/manas-kulkarni-093900162/", github: "https://github.com/Manas588", }, jobTitle: "Web Developer", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Gain John", img: "https://avatars1.githubusercontent.com/u/46064597?s=460&u=a8251d1212695511856806c3f7bf53aacd1a2f3c&v=4", links: { website: "http://hoxnox.herokuapp.com/Dhaxor123/940/", linkedin: "https://www.linkedin.com/gain-john", github: "https://github.com/dhaxor", }, jobTitle: "Fullstack Developer", location: { city: "Portharcourt", state: "Rivers", country: "Nigeria", }, }, { id: uuidv4(), name: "Fems Seimiekumo Solomon", img: "https://web.facebook.com/sliem.king?fref=nf&__tn__=%2Cdm-R-R&eid=ARAVNoKmbEtR3Z4Aj1FRtMPaJtgESkWxhjCIWxfn_xFZ-EFOaTK4ylSRp_aIC1knDLZAtdPvtRwlk9Jk", links: { website: "", linkedin: "https://www.linkedin.com/in/seimiekumo-solomon-fems-4a3aa884/", github: "https://github.com/sliemking", }, jobTitle: "Fullstack Developer", location: { city: "Yenagoa", state: "State", country: "Nigeria", }, }, { id: uuidv4(), name: "Rallapalli Goutham Deekshith", img: "https://avatars3.githubusercontent.com/u/41180415?s=400&u=55c6c1cfd7c6c1850b0ba35296ff2834f395dd31&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/rgdeekshith/", github: "https://github.com/rgdeekshith", }, jobTitle: "Data Science | Machine Learning | Web Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Darryl Nicerio", img: "https://avatars1.githubusercontent.com/u/61145387?s=460&u=840fe501089042eb921600d6f3a0ac89ce972bae&v=4", links: { website: "https://dnicerio.github.io/", linkedin: "https://www.linkedin.com/in/darrylnicerio/", github: "https://github.com/dnicerio", }, jobTitle: "Front-End Web Developer", location: { city: "Pasay", state: "Metro Manila", country: "Philippines", }, }, { id: uuidv4(), name: "Vishal M", img: "https://ibb.co/6rHxHqQ", links: { website: "", linkedin: "https://www.linkedin.com/in/vishal-m-2436b018b/", github: "https://github.com/VishalM23", }, jobTitle: "Deep Learning Enthusisast", location: { city: "Bengaluru", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Rakshit Kumar", img: "https://twitter.com/spctr01/photo", links: { website: "", linkedin: "https://www.linkedin.com/in/rakshit-kumar-52b040165/", github: "https://github.com/spctr01", }, jobTitle: "Data Scientist | ML Engineer", location: { city: "Chandigarh", state: "", country: "India", }, }, { id: uuidv4(), name: "Shahnewaj Maksud Shoumikh", img: "https://www.facebook.com/photo.php?fbid=2423741161054065&set=picfp.100002546150649&type=3&theater", links: { website: "", linkedin: "https://www.linkedin.com/in/shahnewaj-maksud-shoumikh-376655108/", github: "https://github.com/Shoumikh", }, jobTitle: " Front-End Developer ", location: { city: "Dhaka", state: "", country: "Bangladesh", }, }, { id: uuidv4(), name: "Sudhip Chandra", img: "", links: { website: "http://sudhip.pythonanywhere.com/", linkedin: "https://www.linkedin.com/in/sudhip", github: "https://github.com/Sudhip007", }, jobTitle: " Python Developer ", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Tajib Smajlovic", img: "https://avatars1.githubusercontent.com/u/34982684?s=460&u=352a6e389d1a8c546bfe2e75ffd268fd1a8ada5f&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/tajibsmajlovic/", github: "https://github.com/TajibSmajlovic", }, jobTitle: "Software Engineer", location: { city: "Sarajevo", state: "Federation of Bosnia and Herzegovina", country: "Bosnia and Herzegovina", }, }, { id: uuidv4(), name: "Kevin Wang", img: "https://www.kevinwang.space/avatar.jpeg", links: { website: "https://kevinwang.space/", linkedin: "https://www.linkedin.com/in/huanxiangwang/", github: "https://github.com/kevinmore", }, jobTitle: "Game Engine Developer", location: { city: "London", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Laura Laane", img: "https://avatars2.githubusercontent.com/u/60161430?s=400&u=73a0e0fad959e40eabc836d558384f76e18174cf&v=4", links: { website: "http://www.lalaane.com/", linkedin: "https://www.linkedin.com/in/laura-laane/", github: "https://github.com/lalaane", }, jobTitle: "Web Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Ganesh Mali", img: " ", links: { website: "", linkedin: "https://www.linkedin.com/in/ganesh-mali-77aab6137/", github: "https://github.com/Ganesh-mali", }, jobTitle: " Software Developer ", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Bianca Goncalves", img: "", links: { website: "https://biancascode.com/", linkedin: "https://www.linkedin.com/in/bianca-goncalves-247a301a5/", github: "https://github.com/biancadevelop", }, jobTitle: "Front-End Developer", location: { city: "Henderson", state: "Nevada", country: "United States", }, }, { id: uuidv4(), name: "Adwiteeya", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/adwiteeya/", github: "https://github.com/adwiteeya3", }, jobTitle: "Software Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Gyanendra Knojiya", img: "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcR6mgU_w1eipap7G0A4UcaEFH2yxnBfk5uaQj0d3EhF2y_qn185fkzi49yx&usqp=CAU&ec=45673586", links: { website: "https://gyanendraknojiya.github.io", linkedin: "https://www.linkedin.com/in/gyanendraknojiya/", github: "https://github.com/gyanendraknojiya", }, jobTitle: "Full-Stack Web Developer", location: { city: "Lucknow", state: "Uttar Pradesh", country: "India", }, }, { id: uuidv4(), name: "Krisha Shah", img: "https://i.imgur.com/OC2vLem.jpg", links: { website: "https://krishashah911.github.io/krisha-portfo/", linkedin: "https://www.linkedin.com/in/krisha-shah-0974bb18b/", github: "https://github.com/krishashah911", }, jobTitle: "Data Analyst", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Tony Duong", img: "https://avatars1.githubusercontent.com/u/10689662?s=460&u=af55363956173397926612bae05066d272232ccc&v=4", links: { website: "http://frenchytony.net", linkedin: "https://www.linkedin.com/in/nytochin/", github: "https://github.com/tonystrawberry", }, jobTitle: "Full Stack Web Developer", location: { city: "Tokyo", state: "", country: "Japan", }, }, { id: uuidv4(), name: "M MOSTAGIR BHUIYAN", img: "", links: { website: "", linkedin: "https://linkedin.com/in/mmostagirbhuiyan", github: "https://github.com/mmostagirbhuiyan", }, jobTitle: "Sr. DevOps Engineer | Full Stack Web Developer | Sr. React Developer| Python | Java", location: { city: "New York City", state: "NY", country: "USA", }, }, { id: uuidv4(), name: "Nihal Ramteke", img: "", links: { linkedin: "https://www.linkedin.com/in/nihal-ramteke", github: "https://github.com/ramtekenihal", }, jobTitle: "Python Developer | Javascript | Data Scientist | HTML", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Saurabh Khaparey", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/saurabh-khaparey", github: "https://github.com/Saurabh2699", }, jobTitle: "MERN Stack Developer", location: { city: "Nagpur", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Samuel Solomon", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/samjsolomon", github: "https://github.com/samjsolomon", }, jobTitle: "Python Developer", location: { city: "Orlando", state: "Florida", country: "United States", }, }, { id: uuidv4(), name: "Ravi kumar Singh", img: "", links: { website: "", linkedin: "", github: "https://github.com/raviraka", }, jobTitle: "Web Developer", location: { city: "Milan", state: "", country: "Italy", }, }, { id: uuidv4(), name: "Sparsh Chadha", img: "", links: { website: "https://sparsh0427.github.io/Portfolio/", linkedin: "https://www.linkedin.com/in/sparsh-chadha-601b1516b", github: "https://github.com/sparsh0427/", }, jobTitle: "Full Stack Developer | Java Developer | ML Enthusiast", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Yury Hrytsuk", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/yury-hrytsuk-70335a15a/", github: "https://github.com/Jurek33", }, jobTitle: "JavaScript Developer", location: { city: "Miami", state: "Florida", country: "United States", }, }, { id: uuidv4(), name: "Sacha Bogaers", img: "https://avatars0.githubusercontent.com/u/48031121?s=400&u=469845ae94d776cbb1038eb6045b70c5388bf0a1&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/sacha-bogaers/", github: "https://github.com/SachaBog", }, jobTitle: "Junior Web Developer", location: { city: "Tilburg", state: "Noord-Brabant", country: "The Netherlands", }, }, { id: uuidv4(), name: "Rares Sandu", img: "https://avatars3.githubusercontent.com/u/59281487?s=400&u=ed6e2f43fffde34964b8ae73a3fdaacd1d7516f7&v=4", links: { website: "https://raressanduconstantin.github.io/modern_portfolio/index.html", linkedin: "https://www.linkedin.com/in/rares-sandu/", github: "https://github.com/RaresSanduConstantin", }, jobTitle: "Front-end web development", location: { city: "Bucharest", state: "", country: "Romania", }, }, { id: uuidv4(), name: "Michael Wang", img: "https://avatars0.githubusercontent.com/u/51487671?s=460&u=08ece0fce8b834cc44c18322191e9b7a80ab070c&v=4", links: { website: "http://michaelwang.herokuapp.com/", linkedin: "https://www.linkedin.com/in/michael-wang-dev/", github: "https://github.com/mwGHburger", }, jobTitle: "Junior Full-Stack Developer", location: { city: "Melbourne", state: "Victoria", country: "Australia", }, }, { id: uuidv4(), name: "Muhammad Haroon Saad", img: "https://user-images.githubusercontent.com/49754541/83527701-91ecff80-a501-11ea-8e91-2a702c534d81.jpeg", links: { website: "https://haroonsaad247622.github.io/HarrySalts/", linkedin: "www.linkedin.com/in/muhammad-haroon-saad-7b58bb1a9", github: "https://github.com/Haroonsaad247622", }, jobTitle: "Full-Stack Developer", location: { city: "Bahawalpur", state: "Punjab", country: "Pakistan", }, }, { id: uuidv4(), name: "Mehdi E.Manioui", img: "https://i.ibb.co/zPFG407/Photo.jpg", links: { website: "https://www.strengthauthority.com/", linkedin: "https://www.linkedin.com/in/mehdi-e-m-2a4826121/", github: "https://github.com/eemanioui", }, jobTitle: "Full Stack Web Developer", location: { city: "Winnipeg", state: "Manitoba", country: "Canada", }, }, { id: uuidv4(), name: "Anouar Chlih", img: "https://cdn.pixabay.com/photo/2015/02/24/15/41/dog-647528_960_720.jpg", links: { website: "https://anouar-chlih.github.io/Background-generator/", linkedin: "https://fr.linkedin.com/", github: "https://github.com/Anouar-chlih", }, jobtitle: "Mobile developer", location: { city: "Essawira", state: "Ariha", country: "Morocco", }, }, { id: uuidv4(), name: "Sheldon Hooper", img: "https://photos.app.goo.gl/6cnfe2rBfuLFBKgG7", links: { website: "", linkedin: "https://www.linkedin.com/in/sheldon-hooper-626822144/", github: "https://github.com/SheldonEHooper", }, jobTitle: "Freelance Developer", location: { city: "Hoedspruit", state: "Limpopo", country: "South Africa", }, }, { id: uuidv4(), name: "Tomas Bruzza", img: "https://imgur.com/7fXrIpF", links: { website: "tomasbruzza.github.io/portfolio/", linkedin: "https://www.linkedin.com/in/tomasbruzza/", github: "https://github.com/tomasbruzza", }, jobTitle: "Full Stack Developer", location: { city: "", state: "Buenos Aires", country: "Argentina", }, }, { id: uuidv4(), name: "Ethan Glover", img: "https://avatars1.githubusercontent.com/u/3924176?s=460&u=23f3b383da434df5ef9089dfc8927bbc90b305aa", links: { website: "", linkedin: "https://www.linkedin.com/in/ethan-glover/", github: "https://github.com/eglove", }, jobTitle: "Full Stack Developer", location: { city: "St. Louis", state: "Missouri", country: "United States", }, }, { id: uuidv4(), name: "Avinash Konduri", img: "https://photos.app.goo.gl/zsQLi8tGzhH6Mwvt5", links: { website: "https://avinashkonduri.github.io/PersonalSite/", linkedin: "https://www.linkedin.com/in/avinash-konduri-b212a711/", github: "https://github.com/avinashkonduri", }, jobTitle: "Fullstack Developer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Fabamise Adeolu", img: "https://media-exp1.licdn.com/dms/image/C4D03AQGeVAbG5dykXQ/profile-displayphoto-shrink_200_200/0?e=1599091200&v=beta&t=LYZI7zb6whWYZrhELQPiZJnR_pNEk9Q2C0x1NlclGNk", links: { website: "http://www.bamz.xyz/", linkedin: "https://www.linkedin.com/in/adeoluwa-fabamise-46a694198/", github: "https://github.com/Bamz-west", }, jobTitle: "Full-stack Developer", location: { city: "Lagos", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Ashu Gupta", img: "https://drive.google.com/file/d/1gOHtYkdHgW4PMjzKlny95GfNe3h8ZEfO/view?usp=sharing", links: { website: "https://ashugupta.tech", linkedin: "https://www.linkedin.com/in/ashugupta/", github: "https://github.com/ashu10832", }, jobTitle: "Software Developer", location: { city: "New Delhi", state: "Delhi", country: "India", }, }, { id: uuidv4(), name: "Yaman Mando", img: "https://i.ibb.co/HHs5HYV/yaman.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/yaman-mando/", github: "https://github.com/yaman-mando", }, jobTitle: "Frontend And Mobile Developer,Ionic,Angular,React js", location: { city: "Istanbul", state: "", country: "Turkey", }, }, { id: uuidv4(), name: "Gabriel Seals", img: "https://avatars3.githubusercontent.com/u/52087296?s=400&u=a7e20c9f1d334651a8c2458314cbd6a260ea549c&v=4", links: { website: "https://gabrielseals.com/", linkedin: "https://www.linkedin.com/in/gabeseals", github: "https://github.com/gseals", }, jobTitle: "Full-Stack Software and Web Developer", location: { city: "Nashville", state: "Tennessee", country: "United States", }, }, { id: uuidv4(), name: "Trenisha Goslee", img: "https://ibb.co/vzRXC7W", links: { website: "https://www.trenishagoslee.com/", linkedin: "https://www.linkedin.com/in/trenisha-goslee-92769358/", github: "https://github.com/tgoslee", }, jobTitle: "Front End Web Developer", location: { city: "Washington", state: "D.C", country: "USA", }, }, { id: uuidv4(), name: "Atabany", img: "https://i.ibb.co/gWNVrMz/img5.jpg", links: { website: "", linkedin: "https://www.linkedin.com/in/moelatabany/", github: "https://github.com/Atabany", }, jobTitle: "iOS Developer | Swift | JS", location: { city: "Mansoura", state: "Mansoura", country: "Egypt", }, }, { id: uuidv4(), name: "Ashutosh Dwivedi", img: "https://avatars0.githubusercontent.com/u/42907572?s=460&u=3c5c03fdddeec2483819b845bd549616d48b71e5&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/ashutosh-dwivedi-b3025b196/", github: "https://github.com/Ashutosh00710", }, jobTitle: "Full Stack Developer", location: { city: "Lucknow", state: "Uttar Pradesh", country: "India", }, }, { id: uuidv4(), name: "Micah Effiong", img: "https://media-exp1.licdn.com/dms/image/C4E03AQHiXqHMZKJO2w/profile-displayphoto-shrink_200_200/0?e=1599091200&v=beta&t=AP3H6fvEkCKlCV1fNyBFWU3Wws_iR4Et9g3_ijo7-Sk", links: { website: "", linkedin: "https://ng.linkedin.com/in/micaiah-effiong", github: "https://github.com/micaiah-effiong", }, jobTitle: "Web-Developer | NodeJs", location: { city: "Uyo", state: "Akwa Ibom", country: "Nigeria", }, }, { id: uuidv4(), name: "M Ebraheem Ijaz", img: "https://portfolioebraheem.herokuapp.com/assets/img/testimonial-2.jpg", links: { website: "https://portfolioebraheem.herokuapp.com/portfolio", linkedin: "https://www.linkedin.com/in/ebraheem-ijaz-0a685a122/", github: "https://github.com/ebraheemijaz/", }, jobTitle: "MERN Stack Developer", location: { city: "ISLAMABAD", state: "Pakistan", country: "Pakistan", }, }, { id: uuidv4(), name: "Jon Hualde", img: "https://i.ibb.co/gzjZ6rF/Jon-3.png", links: { website: "https://jonhualde.github.io/", linkedin: "https://www.linkedin.com/in/jonhualde/?locale=en_US", github: "https://github.com/JonHualde", }, jobTitle: "Front end developer", location: { city: "London", state: "England", country: "United Kingdom", }, }, { id: uuidv4(), name: "Ali Mirmohammad", img: "https://media-exp1.licdn.com/dms/image/C4E03AQHa_p4Z5ChE2Q/profile-displayphoto-shrink_200_200/0?e=1594857600&v=beta&t=94ZUHVReFbMjOaLIF5oQRHsra0RD-qo0snMVkf8P84s", links: { website: "", linkedin: "https://www.linkedin.com/in/ali-mirmohammad-786640158/", github: "https://github.com/alimirmohammad", }, jobTitle: "Web Developer", location: { city: "Tehran", state: "Tehran", country: "Iran", }, }, { id: uuidv4(), name: "Oluwakeye John", img: "https://avatars1.githubusercontent.com/u/43508135?s=460&u=a4a7dd9c9e899b7e1856d6ef92f9719b77529ee8&v=4", links: { website: "https://oluwakeyejohn.netlify.app", linkedin: "https://www.linkedin.com/in/oluwakeye-john-1706/", github: "https://github.com/oluwakeye-john", }, jobTitle: "Full Stack Web Developer", location: { city: "Ibadan", state: "Oyo", country: "Nigeria", }, }, { id: uuidv4(), name: "Ivan(Yufei) Zhang", img: "https://avatars3.githubusercontent.com/u/32757827?s=460&u=afc7ac52aaf0e238a419186f1124b03f4aa701cf&v=4", links: { website: "https://www.yufeiz.com", linkedin: "https://www.linkedin.com/in/yufeiz222", github: "https://github.com/YufeiZhang2", }, jobTitle: "Junior Software Developer", location: { city: "Sydney", state: "NSW", country: "Australia", }, }, { id: uuidv4(), name: "Yap Feng Yuan", img: "https://avatars0.githubusercontent.com/u/58755531?s=400&u=8048ff4f4351073924c113545dc1893d1db35a48&v=4", links: { website: "https://clever-joliot-d7cbd7.netlify.app", linkedin: "https://www.linkedin.com/in/fengyuan-yap-489b7b126/", github: "https://github.com/TheKinng96", }, jobTitle: "Frontend Developer", location: { city: "Komae", state: "Tokyo", country: "Japan", }, }, { id: uuidv4(), name: "Hung Nguyen", img: "https://avatars3.githubusercontent.com/u/33242351?s=400&v=4", links: { website: "https://hungapp.github.io/", linkedin: "https://www.linkedin.com/in/hung-viet-nguyen/", github: "https://github.com/hungapp", }, jobTitle: "Full Stack Engineer", location: { city: "Boston", state: "Massachusetts", country: "United States", }, }, { id: uuidv4(), name: "Ibrahim Satria", img: "https://avatars1.githubusercontent.com/u/49900199?s=460&u=4746331f3f58fdd1aea38ff6187cee90e1fe331e&v=4", links: { website: "https://ibrahimsatria.xyz/", linkedin: "https://www.linkedin.com/in/ibrahim-satria-56a779185/", github: "https://github.com/shipdyded", }, jobTitle: "Full Stack Web Developer", location: { city: "", state: "Bandar Seri Begawan", country: "Brunei Darussalam", }, }, { id: uuidv4(), name: "Aaron Cloet", img: "https://avatars1.githubusercontent.com/u/35313651?s=460&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/aaron-cloet-9972b9152/", github: "https://github.com/acloet22", }, jobTitle: "Freelance software Developer(searching for fulltime employment)", location: { city: "Omaha", state: "Nebraska", country: "United States", }, }, { id: uuidv4(), name: "Navneet Raju", img: "http://drive.google.com/uc?export=view&id=1PEFgITzJir2A9G-NVzbUEcJFgFp25Gqw", links: { website: "navneetraju66.github.io", linkedin: "https://www.linkedin.com/in/navneet-raju-4a07b87b/", github: "https://github.com/navneetraju66", }, jobTitle: "Research Intern and Mentor", location: { city: "Bengaluru", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Arun kumar Singh", img: "https://avatars1.githubusercontent.com/u/32652525?s=460&u=f39b4425e04cd21fa7ccde150424931f08b5e2a3&v=4", links: { website: "https://arunsinghsnd.netlify.app/", linkedin: "https://www.linkedin.com/in/arun-singh1999/", github: "https://www.linkedin.com/in/arun-singh1999/", }, jobTitle: "Full-Stack Developer", location: { city: "Dhanbad", state: "Jharkhand", country: "India", }, }, { id: uuidv4(), name: "Aniket Chauhan", img: "https://avatars0.githubusercontent.com/u/43927184?s=460&u=8fb16f130dd0c6f19e35d0c8295adc9bf6b5ff5a&v=4", links: { website: "https://www.nickapic.com/", linkedin: "https://www.linkedin.com/in/aniket-chauhan-09642536/", github: "https://github.com/nickapic", }, jobTitle: "Full Stack Developer", location: { city: "Kaunas", state: "", country: "Lithuania", }, }, { id: uuidv4(), name: "Abdulfatai Suleiman", img: "", links: { website: "https://iamnotstatic.github.io/", linkedin: "https://www.linkedin.com/in/abdulfatai-suleiman-706ba6172/", github: "https://github.com/iamnotstatic", }, jobTitle: "Software Developer", location: { city: "De-Dei", state: "Abuja", country: "Nigeria", }, }, { id: uuidv4(), name: "Rubén Morera", img: "https://media-exp1.licdn.com/dms/image/C4E03AQHTHn2eJQRR8Q/profile-displayphoto-shrink_200_200/0?e=1596067200&v=beta&t=WgyQRo6xEuuKzXuou9kOytIkSIrvFJA5rlTsB7w7K84", links: { website: "", linkedin: "https://www.linkedin.com/in/rubenmorera/", github: "https://gitlab.com/Ruben-1", }, jobTitle: "Software Engineer/Developer", location: { city: "San Francisco Bay Area", state: "CA", country: "USA", }, }, { id: uuidv4(), name: "Morgan King", img: "https://avatars1.githubusercontent.com/u/61506669?s=460&v=4", links: { website: "http://moki929.space/", linkedin: "https://www.linkedin.com/in/morganaking/", github: "https://github.com/moki929", }, jobTitle: "Web Developer", location: { city: "Atlanta", state: "Georgia", country: "USA", }, }, { id: uuidv4(), name: "Pradip Mudi", img: "https://www.google.com/url?sa=i&url=https%3A%2F%2Fin.linkedin.com%2Fin%2Fpradip-mudi-5a418b8a&psig=AOvVaw0adVK0FIvuqlrFReHDMBhD&ust=1590227599502000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCMDBkMuZx-kCFQAAAAAdAAAAABAJ", links: { website: "", linkedin: "https://www.linkedin.com/in/pradip-mudi-5a418b8a/", github: "https://github.com/pradipmudi", }, jobTitle: "Software Engineer", location: { city: "Hyderabad", state: "Telangana", country: "India", }, }, { id: uuidv4(), name: "Jasper Beachy", img: "https://www.dropbox.com/s/wurudmom8pqqgwu/20190312_171808.jpg?dl=0", links: { website: "https://jasperbeachy.now.sh/", linkedin: "https://www.linkedin.com/in/jasperbeachy/", github: "https://github.com/jbeachy21", }, jobTitle: "Front-end web developer", location: { city: "Minneapolis", state: "MN", country: "USA", }, }, { id: uuidv4(), name: "Kristy Bell", img: "https://avatars0.githubusercontent.com/u/50686838?v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/kristy-bell", github: "https://github.com/kristybell", }, jobTitle: "Data Scientist/Machine Learning Engineer", location: { city: "New York", state: "New York", country: "United States of America", }, }, { id: uuidv4(), name: "Shezray Mirza", img: "https://avatars0.githubusercontent.com/u/64660355?s=400&u=9779a089808eb25ab0261354efb8aacb410b27d7&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/shezray/", github: "https://github.com/shezray/", }, jobTitle: "Front-End Developer", location: { city: "Chicago", state: "IL", country: "USA", }, }, { id: uuidv4(), name: "Jeff Landers", img: "http://jlanders12.pythonanywhere.com/static/images/profile3.jpg", links: { website: "http://jlanders12.pythonanywhere.com/", linkedin: "", github: "https://github.com/j994", }, jobTitle: "Full-Stack Web Developer", location: { city: "", state: "", country: "USA/Belgium", }, }, { id: uuidv4(), name: "Jay Prakash Kalia", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/jay-prakash-1a0235154/", github: "https://github.com/JAYKALIA007", }, jobTitle: "Full-Stack Developer | Software Engineer", location: { city: "Bhubaneshwar", state: "Odisha", country: "India", }, }, { id: uuidv4(), name: "Haoli Yang", img: "https://media-exp1.licdn.com/dms/image/C4D03AQFoZs5Ko4iTaw/profile-displayphoto-shrink_800_800/0?e=1596067200&v=beta&t=8OtfU2QeNkrabcPgm7_JmfeAXPB4HraSTUM_F4gxRe0", links: { website: "https://hyang77.github.io/Haoli_portfolio/", linkedin: "https://www.linkedin.com/in/haoliyang0312/", github: "https://github.com/hyang77/", }, jobTitle: "Front-End Developer", location: { city: "Chicago", state: "Illinois", country: "United States", }, }, { id: uuidv4(), name: "Ankitha C", img: "", links: { website: "https://ankithac.github.io//", linkedin: "https://www.linkedin.com/in/ankitha-chowlur-0a47821a4/", github: "https://github.com/ankithac", }, jobTitle: "Full Stack Web Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Magnus Cromwell", img: "https://media-exp1.licdn.com/dms/image/C4E03AQHfmQq52tuq1w/profile-displayphoto-shrink_400_400/0?e=1596672000&v=beta&t=IxTdhudi0BkJSyUw3ms2Jx2iNQ2WbTzEFgT4cPsT6-Ig", links: { website: "https://magnus-cromwell-portfolio1.herokuapp.com/", linkedin: "https://www.linkedin.com/in/magnus-cromwell-517b59191/", github: "https://github.com/magpiet", }, jobTitle: "Web Developer", location: { city: "San Antonio", state: "Texas", country: "United States of America", }, }, { id: uuidv4(), name: "Priyanka Wankhade", img: "https://drive.google.com/file/d/1f7T8c0nMzGTED24jdh6OPIHpp31Sg_HQ/view?usp=sharing", links: { website: "", linkedin: "https://www.linkedin.com/in/priyanka-wankhade-277134155", github: "https://github.com/pgwankhade", }, jobTitle: "Full-Stack Web Developer", location: { city: "Pune", state: "Maharashtra", country: "INDIA", }, }, { id: uuidv4(), name: "Ilija", img: "https://avatars0.githubusercontent.com/u/26030847?s=400&u=d064ec65c22d0200ed1a674b6ae152d1e34b5fe2&v=4", links: { website: "https://ilija03.tk/", linkedin: "https://www.linkedin.com/in/ilija-savic-03/", github: "https://github.com/Archaeologist03", }, jobTitle: "JavaScript | React Developer", location: { city: "", state: "", country: "Serbia", }, }, { id: uuidv4(), name: "Savvas Giannoukas", img: "https://avatars1.githubusercontent.com/u/28651112?s=400&u=05e78471150e7d1cd2561cc88fb67f026768628c&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/savvas-giannoukas-824b2a138/", github: "https://github.com/savvasg35", }, jobTitle: "Full Stack Developer", location: { city: "Rhodes", state: "", country: "Greece", }, }, { id: uuidv4(), name: "Nicholas Markus", img: "https://avatars3.githubusercontent.com/u/21057939?s=400&u=2495152160f48382892b4772a57ccf97be7e5e3f&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/nicholas-chun-markus-0b0136a2/", github: "https://github.com/nicxzmiller", }, jobTitle: "UI Designer | Frontend Developer", location: { city: "Valletta", state: "Malta", country: "Malta", }, }, { id: uuidv4(), name: "Mayuresh Zende", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/mayuresh-zende", github: "https://github.com/mayureshzende/", }, jobTitle: "Full Stack Developer", location: { city: "pune", state: "Maharastra", country: "India", }, }, { id: uuidv4(), name: "SAINITHIN.ARTHAM", img: "https://photos.google.com/photo/AF1QipOSrma-fypcHtEVq67ajFBi-wpQrWfGqNqcW2by", links: { website: "https://sainithin-bit.github.io/Sainitin/", linkedin: "https://www.linkedin.com/in/sainithin-artham-735241164/", github: "https://github.com/Sainithin-bit", }, jobTitle: "Full-Stack JavaScript Dev", location: { city: "Gurgaon", state: "Haryana", country: "INDIA", }, }, { id: uuidv4(), name: "Jake Heath", img: "https://www.facebook.com/photo.php?fbid=939401296422295&set=a.119026958459737&type=3&theater", links: { website: "", linkedin: "https://www.linkedin.com/in/jake-heath-0b38aa196/", github: "https://github.com/jakedheath123", }, jobTitle: "Junior Full Stack Developer | Northcoders Graduate", location: { city: "Leeds", state: "", country: "United Kingdom", }, }, { id: uuidv4(), name: "Necula Andra Gabriela", img: "https://avatars1.githubusercontent.com/u/37038210?s=460&u=6b75e01966e1e0fc7a885859c169e4ebd81ed800&v=4", links: { website: "https://dummy-andra.github.io/index.html", linkedin: "https://www.linkedin.com/in/neculaandra/", github: "https://github.com/dummy-andra", }, jobTitle: "DevOps Engineer", location: { city: "Bucharest", state: "Bucharest", country: "Romania", }, }, { id: uuidv4(), name: "Jared Morris", img: "https://media-exp1.licdn.com/dms/image/C5603AQHKOVBHLYk9LA/profile-displayphoto-shrink_200_200/0?e=1597881600&v=beta&t=N6Qo17q5r_5DsmaEZrCv53BMraSsQqv_F4jG9MupWWo", links: { website: "https://www.jaredmsoftwares.com/", linkedin: "https://www.linkedin.com/in/jared-morris-b43527b9/", github: "https://github.com/jemraider21", }, jobTitle: "Software Developer", location: { city: "Ellicott City", state: "Maryland", country: "United States", }, }, { id: uuidv4(), name: "MD.Rakibul Hassan", img: "https://www.linkedin.com/in/rakibul-hassan-designer/", links: { website: "http://rakibul.pythonanywhere.com/", linkedin: "https://www.linkedin.com/in/rakibul-hassan-designer/", github: "https://github.com/tanvirakibul", }, jobTitle: "Machine Learning Engineer", location: { city: "Dhaka", state: "", country: "Bangladesh", }, }, { id: uuidv4(), name: "Alabi Muhydeen Olaniyi", img: "https://gitlab.com/uploads/-/system/user/avatar/6062175/avatar.png?width=400", links: { website: "", linkedin: "https://www.linkedin.com/in/alabi-muhydeen-o-46a9348a/", github: "https://github.com/muhydeen95", }, jobTitle: "Jnr Frontend Developer", location: { city: "", state: "Lagos", country: "Nigeria", }, }, { id: uuidv4(), name: "Chuck Baisch", img: "https://avatars2.githubusercontent.com/u/58837693?s=460&u=1256e0355690a3f231594c993d3ee29fd26e5d7c&v=4", links: { website: "https://www.baischdevelopment.com/", linkedin: "https://www.linkedin.com/in/charles-baisch/", github: "https://github.com/Baisch91", }, jobTitle: "Full Stack Web Developer", location: { city: "Orlando", state: "Florida", country: "United States", }, }, { id: uuidv4(), name: "Ismail Ramjean", img: "https://avatars2.githubusercontent.com/u/58746428?v=4", links: { website: "https://thenoobcoderd.github.io/startup-of-the-year/", linkedin: "https://www.linkedin.com/in/ismail-ramjean-9a063018a/", github: "https://github.com/theNoobCoderd", }, jobTitle: "FullStack Developer", location: { city: "-", state: "Savanne", country: "Mauritius", }, }, { id: uuidv4(), name: "Pavan T", img: "https://pavanskipo.com/assets/img/me.png", links: { website: "https://pavanskipo.com/", linkedin: "https://www.linkedin.com/in/pavan-t/", github: "https://github.com/pavanskipo", }, jobTitle: "Software Developer | Aspiring Data Scientist | ML Enthusiast", location: { city: "Chennai", state: "Tamil Nadu", country: "India", }, }, { id: uuidv4(), name: "Wellington Lopes", img: "https://avatars0.githubusercontent.com/u/1489470?s=400&u=8c9776c63520d19541862b8138a188193effb967&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/wellington-lopes-15690/", github: "https://github.com/wellingtonlopes", }, jobTitle: "Web Developer", location: { city: "Manaus", state: "Amazonas", country: "Brazil", }, }, { id: uuidv4(), name: "Ganesh Mali", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/ganesh-mali-77aab6137/", github: "https://github.com/Ganesh-mali", }, jobTitle: "Junior software developer", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Peter Kang", img: "https://avatars1.githubusercontent.com/u/57653839?s=400&u=053fa2d039ab1cac516b05a50e1a0a4cf378f4d2&v=4", links: { website: "https://www.pswk1.com/", linkedin: "https://www.linkedin.com/in/peterswkang/", github: "https://github.com/pswk1", }, jobTitle: "Software Engineer | Web Developer | Javascript Developer", location: { city: "Los Angeles", state: "California", country: "United States", }, }, { id: uuidv4(), name: "Saumya Bhatt", img: "https://saumya-bhatt.github.io/img/profile.jpeg", links: { website: "https://saumya-bhatt.github.io/", linkedin: "https://www.linkedin.com/in/saumya-bhatt-2000/", github: "https://github.com/Saumya-Bhatt", }, jobTitle: "Full Stack Web Developer", location: { city: "Panji", state: "Goa", country: "India", }, }, { id: uuidv4(), name: "Kiran A", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/kiran-anand-6b053513a/", github: "https://github.com/KiranVegeta", }, jobTitle: "Software Developer", location: { city: "Bangalore", state: "Karnataka", country: "India", }, }, { id: uuidv4(), name: "Adam Galek", img: "https://media-exp1.licdn.com/dms/image/C5603AQHgFFiiRJtXiw/profile-displayphoto-shrink_400_400/0?e=1598486400&v=beta&t=e8IPsJSON9zKNJG8A1lgTN0Jt8D347iIA-CasjQGvZE", links: { website: "https://www.adamgalek.ca", linkedin: "https://www.linkedin.com/in/adamgalek/", github: "https://github.com/TheGalekxy", }, jobTitle: "Web Developer", location: { city: "Toronto", state: "Ontario", country: "Canada", }, }, { id: uuidv4(), name: "Riketa Goel", img: "", links: { website: "http://riketagoel.blogspot.com/", linkedin: "https://www.linkedin.com/in/riketagarggoel/", github: "https://github.com/riketag", }, jobTitle: "Freelancer", location: { city: "Mumbai", state: "Maharashtra", country: "India", }, }, { id: uuidv4(), name: "Christine Trant", img: "https://github.com/christinetrant.png", links: { website: "https://www.christinetrant.com/", linkedin: "https://www.linkedin.com/in/christinetrant/", github: "https://github.com/christinetrant", }, jobTitle: "Front End Web Developer", location: { city: "Peckham", state: "London", country: "UK", }, }, { id: uuidv4(), name: "Jallah Sumbo", img: "https://avatars1.githubusercontent.com/u/31574317?s=460&u=9b6f28dcb60fab40e1a5cccb5776ccb19a52dace&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/jallah-sumbo-222b25113/", github: "https://github.com/Sumbo-1", }, jobTitle: "Software Developer | Open Source Enthusiast | Aspiring Data Scientist", location: { city: "Monrovia", state: "Montserrado", country: "Liberia", }, }, { id: uuidv4(), name: "Krunal Mistry", img: "https://avatars3.githubusercontent.com/u/43079622?s=400&u=9e22282eb55d5f10d5c843cb7231c27921541699&v=4", links: { website: "https://kmist1.herokuapp.com/", linkedin: "https://www.linkedin.com/in/krunal-mistry", github: "https://www.bitbucket.org/kmist1/", }, jobTitle: "Full Stack Developer", location: { city: "New Haven", state: "CT", country: "USA", }, }, { id: uuidv4(), name: "Aneta Stojanowska", img: "https://avatars2.githubusercontent.com/u/54153719?v=4", links: { website: "https://aneta.netlify.app/", linkedin: "https://www.linkedin.com/in/stojanowska", github: "https://github.com/aneta-s", }, jobTitle: "Frontend Web Developer", location: { city: "Amsterdam", state: "Noord Holland", country: "The Netherlands", }, }, { id: uuidv4(), name: "Johan Ochoa", img: "https://avatars.githubusercontent.com/andresochoa91", links: { website: "", linkedin: "https://www.linkedin.com/in/jandresochoa91/", github: "https://github.com/andresochoa91", }, jobTitle: "Full Stack Developer", location: { city: "San Francisco", state: "California", country: "USA", }, }, { id: uuidv4(), name: "Rishikesh Mishra", img: "https://avatars1.githubusercontent.com/u/54947439?s=460&u=db1c8d20adbb31328a878cc95e6467135b9ad144&v=4", links: { website: "https://rishikeshmishra.netlify.app/", linkedin: "https://www.linkedin.com/in/rishikesh-mishra-b98a20156/", github: "https://github.com/Rishikesh-12" }, jobTitle: "Frontend Developer", location: { city: "Delhi", state: "", country: "India" } }, { name: "Mirel Bițoi", img: "https://avatars.githubusercontent.com/Ochanissi", links: { website: "https://www.ochanissi.com/", linkedin: "https://www.linkedin.com/in/mirel-bițoi-2a74b217b", github: "https://github.com/Ochanissi", }, jobTitle: "Web Developer", location: { city: "Bucharest", state: "", country: "Romania", }, }, { id: uuidv4(), name: "Andre Derjagin", img: "https://avatars3.githubusercontent.com/u/38507921?s=400&u=e9dad4aee381e105510cb01ff6957e8dd054f148&v=4", links: { website: "", linkedin: "https://www.linkedin.com/in/andre-derjagin-94b0271a6/", github: "https://github.com/ExziiL" }, jobTitle: "Junior Web Developer", location: { city: "Bamberg", state: "Bayern", country: "Germany" } }, { id: uuidv4(), name: "Thomas Hooper", img: "https://avatars3.githubusercontent.com/u/28743134?s=400&u=ea2b9ed5ceb33c82e176869bca455e84748f4c25&v=4", links: { website: "https://tomhoopermedia.netlify.app/", linkedin: "https://www.linkedin.com/in/tjhooper88/", github: "https://github.com/tjhooper1" }, jobTitle: "Software Developer", location: { city: "Daytona Beach", state: "Fl", country: "USA" } }, { id: uuidv4(), name: "Gobinath", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/gobinath-v-4103201a8", github: "https://github.com/Gobinath24" }, jobTitle: "Junior Web Developer", location: { city: "Udumalpet", state: "Tamilnadu", country: "INDIA" } }, { name: "Abhishek Chaturvedi", img: "", links: { website: "", linkedin: "https://www.linkedin.com/in/abhishek-chaturvedi-6930a49b/", github: "https://github.com/Abhishek9320/my-first-blog.github.io" }, jobTitle: "Software Engineer", location: { city: "Mumbai", state: "Maharashtra", country: "India" } }, ], }
name: "Kanisk Chakraborty", img:
cli-args.test.ts
import { test } from 'tap'; import { exec } from 'child_process'; import * as path from 'path'; import { readFileSync, mkdirSync, existsSync } from 'fs'; import { v4 as uuidv4 } from 'uuid'; import { UnsupportedOptionCombinationError } from '../../src/lib/errors/unsupported-option-combination-error'; const osName = require('os-name'); const main = path.normalize('./dist/cli/index.js'); const isWindows = osName() .toLowerCase() .indexOf('windows') === 0; function randomTmpFolderPath(): string { const tmpRootFolder = './tmp-test'; if (!existsSync(tmpRootFolder)) { mkdirSync(tmpRootFolder); } const tmpPath = path.normalize(`${tmpRootFolder}/${uuidv4()}`); mkdirSync(tmpPath); return tmpPath; } // TODO(kyegupov): make these work in Windows test('snyk test command should fail when --file is not specified correctly', (t) => { t.plan(1); exec(`node ${main} test --file package-lock.json`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'Empty --file argument. Did you mean --file=path/to/file ?', 'correct error output', ); }); }); test( 'snyk version command should show cli version or sha', { skip: isWindows }, (t) => { t.plan(1); exec(`node ${main} --version`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), ':', // can't guess branch or sha or dirty files, but we do always add `:` 'version is shown', ); }); }, ); test('snyk test command should fail when --packageManager is not specified correctly', (t) => { t.plan(1); exec(`node ${main} test --packageManager=hello`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'Unsupported package manager', 'correct error output', ); }); }); test('snyk test command should fail when iac --file is specified', (t) => { t.plan(1); exec( `node ${main} iac test --file=./test/acceptance/workspaces/iac-kubernetes/multi-file.yaml`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'Not a recognised option, did you mean "snyk iac test ./test/acceptance/workspaces/iac-kubernetes/multi-file.yaml"? ' + 'Check other options by running snyk iac --help', 'correct error output', ); }, ); }); test('snyk test command should fail when iac file is not supported', (t) => { t.plan(1); exec( `node ${main} iac test ./test/acceptance/workspaces/empty/readme.md`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'Illegal infrastructure as code target file', 'correct error output', ); }, ); }); test('snyk test command should fail when iac file is not supported', (t) => { t.plan(1); exec( `node ${main} iac test ./test/acceptance/workspaces/helmconfig/Chart.yaml`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'Not supported infrastructure as code target files in', 'correct error output', ); }, ); }); test('`test multiple paths with --project-name=NAME`', (t) => { t.plan(1); exec(`node ${main} test pathA pathB --project-name=NAME`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'The following option combination is not currently supported: multiple paths + project-name', 'correct error output', ); }); }); test('`test that running snyk without any args displays help text`', (t) => { t.plan(1); exec(`node ${main}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match(stdout.trim(), /Usage/, '`snyk help` text is shown as output'); }); }); test('`test --file=file.sln --project-name=NAME`', (t) => { t.plan(1); exec( `node ${main} test --file=file.sln --project-name=NAME`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'The following option combination is not currently supported: file=*.sln + project-name', 'correct error output', ); }, ); }); test('`test --file=blah --scan-all-unmanaged`', (t) => { t.plan(1); exec(`node ${main} test --file=blah --scan-all-unmanaged`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), 'The following option combination is not currently supported: file + scan-all-unmanaged', 'correct error output', ); }); }); const argsNotAllowedWithYarnWorkspaces = [ 'file', 'package-manager', 'project-name', 'docker', 'all-sub-projects', ]; argsNotAllowedWithYarnWorkspaces.forEach((arg) => { test(`using --${arg} and --yarn-workspaces displays error message`, (t) => { t.plan(2); exec(`node ${main} test --${arg} --yarn-workspaces`, (err, stdout) => { if (err) { throw err; } t.deepEqual( stdout.trim(), `The following option combination is not currently supported: ${arg} + yarn-workspaces`, 'when using test', ); }); exec(`node ${main} monitor --${arg} --yarn-workspaces`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.deepEqual( stdout.trim(), `The following option combination is not currently supported: ${arg} + yarn-workspaces`, 'when using monitor', ); }); }); }); const argsNotAllowedWithAllProjects = [ 'file', 'package-manager', 'project-name', 'docker', 'all-sub-projects', 'yarn-workspaces', ]; argsNotAllowedWithAllProjects.forEach((arg) => { test(`using --${arg} and --all-projects displays error message`, (t) => { t.plan(2); exec(`node ${main} test --${arg} --all-projects`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.deepEqual( stdout.trim(), `The following option combination is not currently supported: ${arg} + all-projects`, 'when using test', ); }); exec(`node ${main} monitor --${arg} --all-projects`, (err, stdout) => { if (err) { throw err; } t.deepEqual( stdout.trim(), `The following option combination is not currently supported: ${arg} + all-projects`, 'when using monitor', ); }); }); }); test('`test --exclude without --all-project displays error message`', (t) => { t.plan(1); exec(`node ${main} test --exclude=test`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.equals( stdout.trim(), 'The --exclude option can only be use in combination with --all-projects or --yarn-workspaces.', ); }); }); test('`test --exclude without any value displays error message`', (t) => { t.plan(1); exec(`node ${main} test --all-projects --exclude`, (err, stdout) => { if (err) { throw err; } t.equals( stdout.trim(), 'Empty --exclude argument. Did you mean --exclude=subdirectory ?', ); }); }); test('`test --exclude=path/to/dir displays error message`', (t) => { t.plan(1); const exclude = path.normalize('path/to/dir'); exec( `node ${main} test --all-projects --exclude=${exclude}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.equals( stdout.trim(), 'The --exclude argument must be a comma separated list of directory names and cannot contain a path.', ); }, ); }); test('`other commands not allowed with --json-file-output`', (t) => { const commandsNotCompatibleWithJsonFileOutput = [ 'auth', 'config', 'help', 'ignore', 'modules', 'monitor', 'policy', 'protect', 'version', 'wizard', 'woof', ]; t.plan(commandsNotCompatibleWithJsonFileOutput.length); for (const nextCommand of commandsNotCompatibleWithJsonFileOutput) { exec(`node ${main} ${nextCommand} --json-file-output`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), `The following option combination is not currently supported: ${nextCommand} + json-file-output`, `correct error output when ${nextCommand} is used with --json-file-output`, ); }); } }); test('`test --json-file-output no value produces error message`', (t) => { const optionsToTest = [ '--json-file-output', '--json-file-output=', '--json-file-output=""', "--json-file-output=''", ]; t.plan(optionsToTest.length); const validate = (jsonFileOutputOption: string) => { const fullCommand = `node ${main} test ${jsonFileOutputOption}`; exec(fullCommand, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.equals( stdout.trim(), 'Empty --json-file-output argument. Did you mean --file=path/to/output-file.json ?', ); }); }; optionsToTest.forEach(validate); }); test('`test --json-file-output can save JSON output to file while sending human readable output to stdout`', (t) => { t.plan(2); const tmpFolder = randomTmpFolderPath(); const jsonPath = path.normalize( `${tmpFolder}/snyk-direct-json-test-output.json`, ); exec(`node ${main} test --json-file-output=${jsonPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } if (!existsSync(jsonPath)) { console.log('CLI stdout: ', stdout); } const outputFileContents = readFileSync(jsonPath, 'utf-8'); const jsonObj = JSON.parse(outputFileContents); const okValue = jsonObj.ok as boolean; t.match(stdout, 'Organization:', 'contains human readable output'); t.ok(okValue, 'JSON output ok'); }); }); test('`test --json-file-output produces same JSON output as normal JSON output to stdout`', (t) => { t.plan(1); const tmpFolder = randomTmpFolderPath(); const jsonPath = path.normalize( `${tmpFolder}/snyk-direct-json-test-output.json`, ); exec( `node ${main} test --json --json-file-output=${jsonPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } const stdoutJson = stdout; if (!existsSync(jsonPath)) { console.log('CLI stdout: ', stdout); } const outputFileContents = readFileSync(jsonPath, 'utf-8'); t.equals(stdoutJson, outputFileContents); }, ); }); test('`test --json-file-output can handle a relative path`', (t) => { t.plan(1); const tmpFolder = randomTmpFolderPath(); const outputPath = path.normalize( `${tmpFolder}/snyk-direct-json-test-output.json`, ); exec( `node ${main} test --json --json-file-output=${outputPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } const stdoutJson = stdout; if (!existsSync(outputPath)) { console.log('CLI stdout: ', stdout); } const outputFileContents = readFileSync(outputPath, 'utf-8'); t.equals(stdoutJson, outputFileContents); }, ); }); test( '`test --json-file-output can handle an absolute path`', { skip: isWindows }, (t) => {
t.plan(1); const tmpFolder = randomTmpFolderPath(); const outputPath = path.normalize( `${tmpFolder}/snyk-direct-json-test-output.json`, ); exec( `node ${main} test --json --json-file-output=${outputPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } const stdoutJson = stdout; if (!existsSync(outputPath)) { console.log('CLI stdout: ', stdout); } const outputFileContents = readFileSync(outputPath, 'utf-8'); t.equals(stdoutJson, outputFileContents); }, ); }, ); test('flags not allowed with --sarif', (t) => { t.plan(1); exec(`node ${main} test --sarif --json`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.match( stdout.trim(), new UnsupportedOptionCombinationError(['test', 'sarif', 'json']) .userMessage, ); }); }); test('test --sarif-file-output no value produces error message', (t) => { const optionsToTest = [ '--sarif-file-output', '--sarif-file-output=', '--sarif-file-output=""', "--sarif-file-output=''", ]; t.plan(optionsToTest.length); const validate = (sarifFileOutputOption: string) => { const fullCommand = `node ${main} test ${sarifFileOutputOption}`; exec(fullCommand, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } t.equals( stdout.trim(), 'Empty --sarif-file-output argument. Did you mean --file=path/to/output-file.json ?', ); }); }; optionsToTest.forEach(validate); }); test('`container test --json-file-output can be used at the same time as --sarif-file-output`', (t) => { t.plan(3); const tmpFolder = randomTmpFolderPath(); const jsonPath = path.normalize( `${tmpFolder}/snyk-direct-json-test-output.json`, ); const sarifPath = path.normalize( `${tmpFolder}/snyk-direct-sarif-test-output.json`, ); const dockerfilePath = path.normalize( 'test/acceptance/fixtures/docker/Dockerfile', ); exec( `node ${main} container test hello-world --file=${dockerfilePath} --sarif-file-output=${sarifPath} --json-file-output=${jsonPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } if (!existsSync(sarifPath)) { console.log('CLI stdout: ', stdout); } if (!existsSync(jsonPath)) { console.log('CLI stdout: ', stdout); } const sarifOutput = JSON.parse(readFileSync(sarifPath, 'utf-8')); const jsonOutput = JSON.parse(readFileSync(jsonPath, 'utf-8')); t.match(stdout, 'Organization:', 'contains human readable output'); t.ok(jsonOutput.ok, 'JSON output OK'); t.match(sarifOutput.version, '2.1.0', 'SARIF output OK'); t.end(); }, ); }); test('`test --sarif-file-output can be used at the same time as --sarif`', (t) => { t.plan(2); const tmpFolder = randomTmpFolderPath(); const sarifPath = path.normalize( `${tmpFolder}/snyk-direct-sarif-test-output.json`, ); const dockerfilePath = path.normalize( 'test/acceptance/fixtures/docker/Dockerfile', ); exec( `node ${main} container test hello-world --sarif --file=${dockerfilePath} --sarif-file-output=${sarifPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } if (!existsSync(sarifPath)) { console.log('CLI stdout: ', stdout); } const sarifOutput = JSON.parse(readFileSync(sarifPath, 'utf-8')); t.match(stdout, 'rules', 'stdout is sarif'); t.match(sarifOutput.version, '2.1.0', 'SARIF output file OK'); t.end(); }, ); }); test('`test --sarif-file-output without vulns`', (t) => { t.plan(1); const tmpFolder = randomTmpFolderPath(); const sarifPath = path.normalize( `${tmpFolder}/snyk-direct-sarif-test-output.json`, ); const dockerfilePath = path.normalize( 'test/acceptance/fixtures/docker/Dockerfile', ); exec( `node ${main} container test hello-world --file=${dockerfilePath} --sarif-file-output=${sarifPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } if (!existsSync(sarifPath)) { console.log('CLI stdout: ', stdout); } const sarifOutput = JSON.parse(readFileSync(sarifPath, 'utf-8')); t.match(sarifOutput.version, '2.1.0', 'SARIF output file OK'); t.end(); }, ); }); test( '`test ubuntu --sarif-file-output can be used at the same time as --json with vulns`', { skip: isWindows }, (t) => { t.plan(2); const tmpFolder = randomTmpFolderPath(); const sarifPath = path.normalize( `${tmpFolder}/snyk-direct-sarif-test-output.json`, ); const dockerfilePath = path.normalize( 'test/acceptance/fixtures/docker/Dockerfile', ); exec( `node ${main} container test ubuntu --json --file=${dockerfilePath} --sarif-file-output=${sarifPath}`, (err, stdout) => { if (err) { console.log('CLI stdout: ', stdout); throw err; } if (!existsSync(sarifPath)) { console.log('CLI stdout: ', stdout); } const sarifOutput = JSON.parse(readFileSync(sarifPath, 'utf-8')); const jsonObj = JSON.parse(stdout); t.notEqual(jsonObj.vulnerabilities.length, 0, 'has vulns'); t.match(sarifOutput.version, '2.1.0', 'SARIF output file OK'); t.end(); }, ); }, );
gen_math_op.rs
use super::BlockContext; use crate::ast::OperatorType; use crate::codegen::math; use crate::codegen::values::NumValue; use inkwell::types::IntType; use inkwell::values::{PointerValue, VectorValue}; use inkwell::FloatPredicate; pub fn gen_math_op_statement( op: OperatorType, lhs: usize, rhs: usize, node: &mut BlockContext, ) -> PointerValue { let pow_intrinsic = math::pow_v2f64(node.ctx.module); let mod_intrinsic = math::mod_v2f64(node.ctx.module); let left_num = NumValue::new(node.get_statement(lhs)); let right_num = NumValue::new(node.get_statement(rhs)); let result_num = NumValue::new_undef(node.ctx.context, node.ctx.allocb); let left_form = left_num.get_form(node.ctx.b); result_num.set_form(node.ctx.b, left_form); let left_vec = left_num.get_vec(node.ctx.b); let right_vec = right_num.get_vec(node.ctx.b); let result_vec = match op { OperatorType::Identity => left_vec, OperatorType::Add => node .ctx .b .build_float_add(left_vec, right_vec, "num.add.vec"), OperatorType::Subtract => node .ctx .b .build_float_sub(left_vec, right_vec, "num.sub.vec"), OperatorType::Multiply => node .ctx .b .build_float_mul(left_vec, right_vec, "num.mul.vec"), OperatorType::Divide => node .ctx .b .build_float_div(left_vec, right_vec, "num.divide.vec"), OperatorType::Modulo => node .ctx .b .build_call(&mod_intrinsic, &[&left_vec, &right_vec], "", true) .left() .unwrap() .into_vector_value(), OperatorType::Power => node .ctx .b .build_call(&pow_intrinsic, &[&left_vec, &right_vec], "", true) .left() .unwrap() .into_vector_value(), OperatorType::BitwiseAnd => apply_int_op( node, left_vec, right_vec, node.ctx.context.i32_type(), true, &|lhs, rhs| node.ctx.b.build_and(lhs, rhs, "num.and.vec"), ), OperatorType::BitwiseOr => apply_int_op( node, left_vec, right_vec, node.ctx.context.i32_type(), true, &|lhs, rhs| node.ctx.b.build_or(lhs, rhs, "num.or.vec"), ), OperatorType::BitwiseXor => apply_int_op( node, left_vec, right_vec, node.ctx.context.i32_type(), true, &|lhs, rhs| node.ctx.b.build_xor(lhs, rhs, "num.xor.vec"), ), OperatorType::LogicalAnd => apply_int_op( node, left_vec, right_vec, node.ctx.context.bool_type(), false, &|lhs, rhs| node.ctx.b.build_and(lhs, rhs, "num.and.vec"), ), OperatorType::LogicalOr => apply_int_op( node, left_vec, right_vec, node.ctx.context.bool_type(), false, &|lhs, rhs| node.ctx.b.build_or(lhs, rhs, "num.or.vec"), ), OperatorType::LogicalEqual => unsigned_int_to_float_vec( node, node.ctx.b.build_float_compare( FloatPredicate::OEQ, left_vec, right_vec, "num.vec.equal", ), ), OperatorType::LogicalNotEqual => unsigned_int_to_float_vec( node, node.ctx.b.build_float_compare( FloatPredicate::ONE, left_vec, right_vec, "num.vec.notequal", ), ), OperatorType::LogicalGt => unsigned_int_to_float_vec( node, node.ctx .b .build_float_compare(FloatPredicate::OGT, left_vec, right_vec, "num.vec.gt"), ), OperatorType::LogicalLt => unsigned_int_to_float_vec( node, node.ctx .b .build_float_compare(FloatPredicate::OLT, left_vec, right_vec, "num.vec.lt"), ), OperatorType::LogicalGte => unsigned_int_to_float_vec( node, node.ctx .b .build_float_compare(FloatPredicate::OGE, left_vec, right_vec, "num.vec.gte"), ), OperatorType::LogicalLte => unsigned_int_to_float_vec( node, node.ctx .b .build_float_compare(FloatPredicate::OLE, left_vec, right_vec, "num.vec.lte"), ), }; result_num.set_vec(node.ctx.b, result_vec); result_num.val } fn apply_int_op( node: &BlockContext, lhs: VectorValue, rhs: VectorValue, num_type: IntType, signed_result: bool, op: &Fn(VectorValue, VectorValue) -> VectorValue, ) -> VectorValue { let left_int = float_vec_to_int(node, lhs, num_type); let right_int = float_vec_to_int(node, rhs, num_type); let result_int = op(left_int, right_int); if signed_result { node.ctx.b.build_signed_int_to_float( result_int, node.ctx.context.f64_type().vec_type(2), "num.vec.float", ) } else { node.ctx.b.build_unsigned_int_to_float( result_int, node.ctx.context.f64_type().vec_type(2), "num.vec.float", ) } } fn float_vec_to_int(node: &BlockContext, vec: VectorValue, num_type: IntType) -> VectorValue { node.ctx .b .build_float_to_signed_int(vec, num_type.vec_type(2), "num.vec.int") } fn unsigned_int_to_float_vec(node: &BlockContext, int: VectorValue) -> VectorValue
{ node.ctx.b.build_unsigned_int_to_float( int, node.ctx.context.f64_type().vec_type(2), "num.vec.float", ) }
event.ts
// import { PlexusInstance } from "./interfaces" import { PlexusInstance } from "./instance" type EventHandler = (v: any) => void export type PlexusEventInstance<PayloadType = any> = EventInstance<PayloadType> interface EventStore { _events: Map<string | number, Map<string | Number, EventHandler>> _destroyers: Map<string, () => unknown> _once_destroyers: Map<string, () => unknown> _name: string _uses: number _maxUses: number _disabled: boolean } export class EventInstance<PayloadType = any> { private _internalStore: EventStore private instance: () => PlexusInstance constructor(instance: () => PlexusInstance) { this.instance = instance this._internalStore = { _events: new Map<string | number, Map<string | Number, EventHandler>>(), _destroyers: new Map<string, () => unknown>(), _once_destroyers: new Map<string, () => unknown>(), _name: `evt_${instance().genId()}`, _uses: 0, _maxUses: -1, _disabled: false, } } /** * Listen for an event only once * @param callback The function to call when the event is fired */ once(callback: (payload: PayloadType) => void) { // if disabled, do nothing if (this._internalStore._disabled) { return () => {} } // subscribe to the event on the runtime const cleanup = this.instance().runtime.subscribe(`${this._internalStore._name}`, callback, { type: "event" }) this._internalStore._once_destroyers.set(this._internalStore._name, cleanup) return () => cleanup()
/** * Listen for an event * @param callback The function to call when the event is fired */ on(callback: (payload: PayloadType) => void) { // if disabled, do nothing if (this._internalStore._disabled) { return () => {} } // subscribe to the event on the runtime const cleanup = this.instance().runtime.subscribe(`${this._internalStore._name}`, callback, { type: "event" }) this._internalStore._destroyers.set(callback.toString(), cleanup) return () => cleanup() } /** * Broadcast an event to all listeners * @param payload The payload to send to all listeners */ emit(payload: PayloadType) { // if diabled, do nothing if (this._internalStore._disabled) { return } // increase internal use count this._internalStore._uses += 1 // broadcast the event this.instance().runtime.broadcast(`${this._internalStore._name}`, payload, { type: "event" }) // if there are dwestoryers for the once event, remove them if (this._internalStore._once_destroyers.size > 0) { this._internalStore._once_destroyers.forEach((cleanup) => cleanup()) } } /** * Turn the Event Manager off/on * @param disable {boolean} Should this event Engine be disabled */ disable(disable: boolean = true) { this._internalStore._disabled = disable } } export function _event<PayloadType = any>(instance: () => PlexusInstance) { return new EventInstance<PayloadType>(instance) }
}
apps.py
from django.apps import AppConfig class
(AppConfig): name = "apiv3"
Apiv3Config
hashcircler_locator_test.go
/* * Copyright The Dragonfly Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package locator import ( "time" "github.com/dragonflyoss/Dragonfly/pkg/queue" "github.com/go-check/check" ) type hashCirclerLocatorTestSuite struct { } func
() { check.Suite(&hashCirclerLocatorTestSuite{}) } var testGroupName1 = "test-group1" func (s *hashCirclerLocatorTestSuite) TestHashCirclerLocator(c *check.C) { evQ := queue.NewQueue(0) nodes := []string{"1.1.1.1:8002", "2.2.2.2:8002", "3.3.3.3:8002"} hl, err := NewHashCirclerLocator(testGroupName1, nodes, evQ) c.Assert(err, check.IsNil) c.Assert(hl.Get(), check.IsNil) c.Assert(hl.Next(), check.IsNil) c.Assert(hl.GetGroup("nonexistentName"), check.IsNil) c.Assert(hl.GetGroup(testGroupName1).Name, check.Equals, testGroupName1) c.Assert(hl.Size(), check.Equals, len(nodes)) c.Assert(hl.Refresh(), check.Equals, true) groups := hl.All() c.Assert(len(groups), check.Equals, 1) c.Assert(len(groups[0].Nodes), check.Equals, 3) c.Assert(groups[0].Nodes[0].String(), check.Equals, nodes[0]) c.Assert(groups[0].Nodes[1].String(), check.Equals, nodes[1]) c.Assert(groups[0].Nodes[2].String(), check.Equals, nodes[2]) keys := []string{"x", "y", "z", "a", "b", "c", "m", "n", "p", "q", "j", "k", "i", "e", "f", "g"} originSp := make([]string, len(keys)) for i, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) originSp[i] = sp.String() } // select again, the supernode should be equal for i, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) c.Assert(originSp[i], check.Equals, sp.String()) } // disable nodes[0] evQ.Put(NewDisableEvent(nodes[0])) time.Sleep(time.Second * 2) // select again, if originSp is not nodes[0], it should not be changed. for i, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) if originSp[i] == nodes[0] { c.Assert(originSp[i], check.Not(check.Equals), sp.String()) continue } c.Assert(originSp[i], check.Equals, sp.String()) } // disable nodes[1] evQ.Put(NewDisableEvent(nodes[1])) time.Sleep(time.Second * 2) // select again, all select node should be nodes[2] for _, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) c.Assert(nodes[2], check.Equals, sp.String()) } // enable nodes[0], disable nodes[2] evQ.Put(NewDisableEvent(nodes[2])) evQ.Put(NewEnableEvent(nodes[0])) time.Sleep(time.Second * 2) for _, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) c.Assert(nodes[0], check.Equals, sp.String()) } // enable nodes[1] evQ.Put(NewEnableEvent(nodes[1])) time.Sleep(time.Second * 2) for i, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) if originSp[i] == nodes[2] { c.Assert(originSp[i], check.Not(check.Equals), sp.String()) continue } c.Assert(originSp[i], check.Equals, sp.String()) } // enable nodes[2], select node should be equal with origin one evQ.Put(NewEnableEvent(nodes[2])) time.Sleep(time.Second * 2) for i, k := range keys { sp := hl.Select(k) c.Assert(sp, check.NotNil) c.Assert(originSp[i], check.Equals, sp.String()) } }
init
index.ts
import Renderer from '../../Renderer'; import Element from '../../../nodes/Element'; import Wrapper from '../shared/Wrapper'; import Block from '../../Block'; import { is_void, sanitize } from '../../../../utils/names'; import FragmentWrapper from '../Fragment'; import { escape_html, string_literal } from '../../../utils/stringify'; import TextWrapper from '../Text'; import fix_attribute_casing from './fix_attribute_casing'; import { b, x, p } from 'code-red'; import { namespaces } from '../../../../utils/namespaces'; import AttributeWrapper from './Attribute'; import StyleAttributeWrapper from './StyleAttribute'; import SpreadAttributeWrapper from './SpreadAttribute'; import { dimensions } from '../../../../utils/patterns'; import Binding from './Binding'; import InlineComponentWrapper from '../InlineComponent'; import add_to_set from '../../../utils/add_to_set'; import { add_event_handler } from '../shared/add_event_handlers'; import { add_action } from '../shared/add_actions'; import create_debugging_comment from '../shared/create_debugging_comment'; import { get_slot_definition } from '../shared/get_slot_definition'; import bind_this from '../shared/bind_this'; import { is_head } from '../shared/is_head'; import { Identifier } from 'estree'; import EventHandler from './EventHandler'; import { extract_names } from 'periscopic'; import Action from '../../../nodes/Action'; import MustacheTagWrapper from '../MustacheTag'; import RawMustacheTagWrapper from '../RawMustacheTag'; interface BindingGroup { events: string[]; bindings: Binding[]; } const events = [ { event_names: ['input'], filter: (node: Element, _name: string) => node.name === 'textarea' || node.name === 'input' && !/radio|checkbox|range|file/.test(node.get_static_attribute_value('type') as string) }, { event_names: ['input'], filter: (node: Element, name: string) => (name === 'textContent' || name === 'innerHTML') && node.attributes.some(attribute => attribute.name === 'contenteditable') }, { event_names: ['change'], filter: (node: Element, _name: string) => node.name === 'select' || node.name === 'input' && /radio|checkbox|file/.test(node.get_static_attribute_value('type') as string) }, { event_names: ['change', 'input'], filter: (node: Element, _name: string) => node.name === 'input' && node.get_static_attribute_value('type') === 'range' }, { event_names: ['elementresize'], filter: (_node: Element, name: string) => dimensions.test(name) }, // media events { event_names: ['timeupdate'], filter: (node: Element, name: string) => node.is_media_node() && (name === 'currentTime' || name === 'played' || name === 'ended') }, { event_names: ['durationchange'], filter: (node: Element, name: string) => node.is_media_node() && name === 'duration' }, { event_names: ['play', 'pause'], filter: (node: Element, name: string) => node.is_media_node() && name === 'paused' }, { event_names: ['progress'], filter: (node: Element, name: string) => node.is_media_node() && name === 'buffered' }, { event_names: ['loadedmetadata'], filter: (node: Element, name: string) => node.is_media_node() && (name === 'buffered' || name === 'seekable') }, { event_names: ['volumechange'], filter: (node: Element, name: string) => node.is_media_node() && (name === 'volume' || name === 'muted') }, { event_names: ['ratechange'], filter: (node: Element, name: string) => node.is_media_node() && name === 'playbackRate' }, { event_names: ['seeking', 'seeked'], filter: (node: Element, name: string) => node.is_media_node() && (name === 'seeking') }, { event_names: ['ended'], filter: (node: Element, name: string) => node.is_media_node() && name === 'ended' }, { event_names: ['resize'], filter: (node: Element, name: string) => node.is_media_node() && (name === 'videoHeight' || name === 'videoWidth') }, // details event { event_names: ['toggle'], filter: (node: Element, _name: string) => node.name === 'details' } ]; export default class ElementWrapper extends Wrapper { node: Element; fragment: FragmentWrapper; attributes: Array<AttributeWrapper | StyleAttributeWrapper | SpreadAttributeWrapper>; bindings: Binding[]; event_handlers: EventHandler[]; class_dependencies: string[]; slot_block: Block; select_binding_dependencies?: Set<string>; var: any; void: boolean; constructor( renderer: Renderer, block: Block, parent: Wrapper, node: Element, strip_whitespace: boolean, next_sibling: Wrapper ) { super(renderer, block, parent, node); this.var = { type: 'Identifier', name: node.name.replace(/[^a-zA-Z0-9_$]/g, '_') }; this.void = is_void(node.name); this.class_dependencies = []; if (this.node.children.length) { this.node.lets.forEach(l => { extract_names(l.value || l.name).forEach(name => { renderer.add_to_context(name, true); }); }); } this.attributes = this.node.attributes.map(attribute => { if (attribute.name === 'slot') { // TODO make separate subclass for this? let owner = this.parent; while (owner) { if (owner.node.type === 'InlineComponent') { break; } if (owner.node.type === 'Element' && /-/.test(owner.node.name)) { break; } owner = owner.parent; } if (owner && owner.node.type === 'InlineComponent') { const name = attribute.get_static_value() as string; if (!(owner as unknown as InlineComponentWrapper).slots.has(name)) { const child_block = block.child({ comment: create_debugging_comment(node, this.renderer.component), name: this.renderer.component.get_unique_name(`create_${sanitize(name)}_slot`), type: 'slot' }); const { scope, lets } = this.node; const seen = new Set(lets.map(l => l.name.name)); (owner as unknown as InlineComponentWrapper).node.lets.forEach(l => { if (!seen.has(l.name.name)) lets.push(l); }); (owner as unknown as InlineComponentWrapper).slots.set( name, get_slot_definition(child_block, scope, lets) ); this.renderer.blocks.push(child_block); } this.slot_block = (owner as unknown as InlineComponentWrapper).slots.get(name).block; block = this.slot_block; } } if (attribute.name === 'style') { return new StyleAttributeWrapper(this, block, attribute); } if (attribute.type === 'Spread') { return new SpreadAttributeWrapper(this, block, attribute); } return new AttributeWrapper(this, block, attribute); }); // ordinarily, there'll only be one... but we need to handle // the rare case where an element can have multiple bindings, // e.g. <audio bind:paused bind:currentTime> this.bindings = this.node.bindings.map(binding => new Binding(block, binding, this)); this.event_handlers = this.node.handlers.map(event_handler => new EventHandler(event_handler, this)); if (node.intro || node.outro) { if (node.intro) block.add_intro(node.intro.is_local); if (node.outro) block.add_outro(node.outro.is_local); } if (node.animation) { block.add_animation(); } // add directive and handler dependencies [node.animation, node.outro, ...node.actions, ...node.classes].forEach(directive => { if (directive && directive.expression) { block.add_dependencies(directive.expression.dependencies); } }); node.handlers.forEach(handler => { if (handler.expression) { block.add_dependencies(handler.expression.dependencies); } }); if (this.parent) { if (node.actions.length > 0 || node.animation || node.bindings.length > 0 || node.classes.length > 0 || node.intro || node.outro || node.handlers.length > 0 || this.node.name === 'option' || renderer.options.dev ) { this.parent.cannot_use_innerhtml(); // need to use add_location this.parent.not_static_content(); } } this.fragment = new FragmentWrapper(renderer, block, node.children, this, strip_whitespace, next_sibling); if (this.slot_block) { block.parent.add_dependencies(block.dependencies); // appalling hack const index = block.parent.wrappers.indexOf(this); block.parent.wrappers.splice(index, 1); block.wrappers.push(this); } } render(block: Block, parent_node: Identifier, parent_nodes: Identifier) { const { renderer } = this; if (this.node.name === 'noscript') return; if (this.slot_block) { block = this.slot_block; } const node = this.var; const nodes = parent_nodes && block.get_unique_name(`${this.var.name}_nodes`); // if we're in unclaimable territory, i.e. <head>, parent_nodes is null const children = x`@children(${this.node.name === 'template' ? x`${node}.content` : node})`; block.add_variable(node); const render_statement = this.get_render_statement(block); block.chunks.create.push( b`${node} = ${render_statement};` ); if (renderer.options.hydratable) { if (parent_nodes) { block.chunks.claim.push(b` ${node} = ${this.get_claim_statement(parent_nodes)}; `); if (!this.void && this.node.children.length > 0) { block.chunks.claim.push(b` var ${nodes} = ${children}; `); } } else { block.chunks.claim.push( b`${node} = ${render_statement};` ); } } if (parent_node) { block.chunks.mount.push( b`@append(${parent_node}, ${node});` ); if (is_head(parent_node)) { block.chunks.destroy.push(b`@detach(${node});`); } } else { block.chunks.mount.push(b`@insert(#target, ${node}, #anchor);`); // TODO we eventually need to consider what happens to elements // that belong to the same outgroup as an outroing element... block.chunks.destroy.push(b`if (detaching) @detach(${node});`); } // insert static children with textContent or innerHTML const can_use_textcontent = this.can_use_textcontent(); if (!this.node.namespace && (this.can_use_innerhtml || can_use_textcontent) && this.fragment.nodes.length > 0) { if (this.fragment.nodes.length === 1 && this.fragment.nodes[0].node.type === 'Text') { block.chunks.create.push( b`${node}.textContent = ${string_literal((this.fragment.nodes[0] as TextWrapper).data)};` ); } else { const state = { quasi: { type: 'TemplateElement', value: { raw: '' } } }; const literal = { type: 'TemplateLiteral', expressions: [], quasis: [] }; const can_use_raw_text = !this.can_use_innerhtml && can_use_textcontent; to_html((this.fragment.nodes as unknown as Array<ElementWrapper | TextWrapper>), block, literal, state, can_use_raw_text); literal.quasis.push(state.quasi); block.chunks.create.push( b`${node}.${this.can_use_innerhtml ? 'innerHTML': 'textContent'} = ${literal};` ); } } else { this.fragment.nodes.forEach((child: Wrapper) => { child.render( block, this.node.name === 'template' ? x`${node}.content` : node, nodes ); }); } const event_handler_or_binding_uses_context = ( this.bindings.some(binding => binding.handler.uses_context) || this.node.handlers.some(handler => handler.uses_context) || this.node.actions.some(action => action.uses_context) ); if (event_handler_or_binding_uses_context) { block.maintain_context = true; } this.add_attributes(block); this.add_directives_in_order(block); this.add_transitions(block); this.add_animation(block); this.add_classes(block); this.add_manual_style_scoping(block); if (nodes && this.renderer.options.hydratable && !this.void) { block.chunks.claim.push( b`${this.node.children.length > 0 ? nodes : children}.forEach(@detach);` ); } if (renderer.options.dev) { const loc = renderer.locate(this.node.start); block.chunks.hydrate.push( b`@add_location(${this.var}, ${renderer.file_var}, ${loc.line - 1}, ${loc.column}, ${this.node.start});` ); } } can_use_textcontent() { return this.is_static_content && this.fragment.nodes.every(node => node.node.type === 'Text' || node.node.type === 'MustacheTag'); } get_render_statement(block: Block) { const { name, namespace } = this.node; if (namespace === namespaces.svg) { return x`@svg_element("${name}")`; } if (namespace) { return x`@_document.createElementNS("${namespace}", "${name}")`; } const is: AttributeWrapper = this.attributes.find(attr => attr.node.name === 'is') as any; if (is) { return x`@element_is("${name}", ${is.render_chunks(block).reduce((lhs, rhs) => x`${lhs} + ${rhs}`)})`; } return x`@element("${name}")`; } get_claim_statement(nodes: Identifier) { const attributes = this.node.attributes .filter((attr) => attr.type === 'Attribute') .map((attr) => p`${attr.name}: true`); const name = this.node.namespace ? this.node.name : this.node.name.toUpperCase(); const svg = this.node.namespace === namespaces.svg ? 1 : null; return x`@claim_element(${nodes}, "${name}", { ${attributes} }, ${svg})`; } add_directives_in_order (block: Block) { type OrderedAttribute = EventHandler | BindingGroup | Binding | Action; const binding_groups = events .map(event => ({ events: event.event_names, bindings: this.bindings .filter(binding => binding.node.name !== 'this') .filter(binding => event.filter(this.node, binding.node.name)) })) .filter(group => group.bindings.length); const this_binding = this.bindings.find(b => b.node.name === 'this'); function getOrder (item: OrderedAttribute) { if (item instanceof EventHandler) { return item.node.start; } else if (item instanceof Binding) { return item.node.start; } else if (item instanceof Action) { return item.start; } else { return item.bindings[0].node.start; } } ([ ...binding_groups, ...this.event_handlers, this_binding, ...this.node.actions ] as OrderedAttribute[]) .filter(Boolean) .sort((a, b) => getOrder(a) - getOrder(b)) .forEach(item => { if (item instanceof EventHandler) { add_event_handler(block, this.var, item); } else if (item instanceof Binding) { this.add_this_binding(block, item); } else if (item instanceof Action) { add_action(block, this.var, item); } else { this.add_bindings(block, item); } }); } add_bindings(block: Block, binding_group: BindingGroup) { const { renderer } = this; if (binding_group.bindings.length === 0) return; renderer.component.has_reactive_assignments = true; const lock = binding_group.bindings.some(binding => binding.needs_lock) ? block.get_unique_name(`${this.var.name}_updating`) : null; if (lock) block.add_variable(lock, x`false`); const handler = renderer.component.get_unique_name(`${this.var.name}_${binding_group.events.join('_')}_handler`); renderer.add_to_context(handler.name); // TODO figure out how to handle locks const needs_lock = binding_group.bindings.some(binding => binding.needs_lock); const dependencies: Set<string> = new Set(); const contextual_dependencies: Set<string> = new Set(); binding_group.bindings.forEach(binding => { // TODO this is a mess add_to_set(dependencies, binding.get_dependencies()); add_to_set(contextual_dependencies, binding.handler.contextual_dependencies); binding.render(block, lock); }); // media bindings — awkward special case. The native timeupdate events // fire too infrequently, so we need to take matters into our // own hands let animation_frame; if (binding_group.events[0] === 'timeupdate') { animation_frame = block.get_unique_name(`${this.var.name}_animationframe`); block.add_variable(animation_frame); } const has_local_function = contextual_dependencies.size > 0 || needs_lock || animation_frame; let callee = renderer.reference(handler); // TODO dry this out — similar code for event handlers and component bindings if (has_local_function) { const args = Array.from(contextual_dependencies).map(name => renderer.reference(name)); // need to create a block-local function that calls an instance-level function if (animation_frame) { block.chunks.init.push(b` function ${handler}() { @_cancelAnimationFrame(${animation_frame}); if (!${this.var}.paused) { ${animation_frame} = @raf(${handler}); ${needs_lock && b`${lock} = true;`} } ${callee}.call(${this.var}, ${args}); } `); } else { block.chunks.init.push(b` function ${handler}() { ${needs_lock && b`${lock} = true;`} ${callee}.call(${this.var}, ${args}); } `); } callee = handler; } const params = Array.from(contextual_dependencies).map(name => ({ type: 'Identifier', name })); this.renderer.component.partly_hoisted.push(b` function ${handler}(${params}) { ${binding_group.bindings.map(b => b.handler.mutation)} ${Array.from(dependencies) .filter(dep => dep[0] !== '$') .filter(dep => !contextual_dependencies.has(dep)) .map(dep => b`${this.renderer.invalidate(dep)};`)} } `); binding_group.events.forEach(name => { if (name === 'elementresize') { // special case const resize_listener = block.get_unique_name(`${this.var.name}_resize_listener`); block.add_variable(resize_listener); block.chunks.mount.push( b`${resize_listener} = @add_resize_listener(${this.var}, ${callee}.bind(${this.var}));` ); block.chunks.destroy.push( b`${resize_listener}();` ); } else { block.event_listeners.push( x`@listen(${this.var}, "${name}", ${callee})` ); } }); const some_initial_state_is_undefined = binding_group.bindings .map(binding => x`${binding.snippet} === void 0`) .reduce((lhs, rhs) => x`${lhs} || ${rhs}`); const should_initialise = ( this.node.name === 'select' || binding_group.bindings.find(binding => { return ( binding.node.name === 'indeterminate' || binding.node.name === 'textContent' || binding.node.name === 'innerHTML' || binding.is_readonly_media_attribute() ); }) ); if (should_initialise) { const callback = has_local_function ? handler : x`() => ${callee}.call(${this.var})`; block.chunks.hydrate.push( b`if (${some_initial_state_is_undefined}) @add_render_callback(${callback});` ); } if (binding_group.events[0] === 'elementresize') { block.chunks.hydrate.push( b`@add_render_callback(() => ${callee}.call(${this.var}));` ); } if (lock) { block.chunks.update.push(b`${lock} = false;`); } } add_this_binding(block: Block, this_binding: Binding) { const { renderer } = this; renderer.component.has_reactive_assignments = true; const binding_callback = bind_this(renderer.component, block, this_binding, this.var); block.chunks.mount.push(binding_callback); } add_attributes(block: Block) { // Get all the class dependencies first this.attributes.forEach((attribute) => { if (attribute.node.name === 'class') { const dependencies = attribute.node.get_dependencies(); this.class_dependencies.push(...dependencies); } }); if (this.node.attributes.some(attr => attr.is_spread)) { this.add_spread_attributes(block); return; } this.attributes.forEach((attribute) => { attribute.render(block); }); } add_spread_attributes(block: Block) { const levels = block.get_unique_name(`${this.var.name}_levels`); const data = block.get_unique_name(`${this.var.name}_data`); const initial_props = []; const updates = []; this.attributes .forEach(attr => { const dependencies = attr.node.get_dependencies(); const condition = dependencies.length > 0 ? block.renderer.dirty(dependencies) : null; if (attr instanceof SpreadAttributeWrapper) { const snippet = attr.node.expression.manipulate(block); initial_props.push(snippet); updates.push(condition ? x`${condition} && ${snippet}` : snippet); } else { const name = attr.property_name || attr.name; initial_props.push(x`{ ${name}: ${attr.get_init(block, attr.get_value(block))} }`); const snippet = x`{ ${name}: ${attr.should_cache ? attr.last : attr.get_value(block)} }`; updates.push(condition ? x`${attr.get_dom_update_conditions(block, condition)} && ${snippet}` : snippet); } }); block.chunks.init.push(b` let ${levels} = [${initial_props}]; let ${data} = {}; for (let #i = 0; #i < ${levels}.length; #i += 1) { ${data} = @assign(${data}, ${levels}[#i]); } `); const fn = this.node.namespace === namespaces.svg ? x`@set_svg_attributes` : x`@set_attributes`; block.chunks.hydrate.push( b`${fn}(${this.var}, ${data});` ); block.chunks.update.push(b` ${fn}(${this.var}, ${data} = @get_spread_update(${levels}, [ ${updates} ])); `); // handle edge cases for elements if (this.node.name === 'select') { const dependencies = new Set(); for (const attr of this.attributes) { for (const dep of attr.node.dependencies) { dependencies.add(dep); } } block.chunks.mount.push(b` if (${data}.multiple) @select_options(${this.var}, ${data}.value); `); block.chunks.update.push(b` if (${block.renderer.dirty(Array.from(dependencies))} && ${data}.multiple) @select_options(${this.var}, ${data}.value); `); } else if (this.node.name === 'input' && this.attributes.find(attr => attr.node.name === 'value')) { const type = this.node.get_static_attribute_value('type'); if (type === null || type === "" || type === "text" || type === "email" || type === "password") { block.chunks.mount.push(b` ${this.var}.value = ${data}.value; `); block.chunks.update.push(b` if ('value' in ${data}) { ${this.var}.value = ${data}.value; } `); } } } add_transitions( block: Block ) { const { intro, outro } = this.node; if (!intro && !outro) return; if (intro === outro) { // bidirectional transition const name = block.get_unique_name(`${this.var.name}_transition`); const snippet = intro.expression ? intro.expression.manipulate(block) : x`{}`; block.add_variable(name); const fn = this.renderer.reference(intro.name); const intro_block = b` @add_render_callback(() => { if (!${name}) ${name} = @create_bidirectional_transition(${this.var}, ${fn}, ${snippet}, true); ${name}.run(1); }); `; const outro_block = b` if (!${name}) ${name} = @create_bidirectional_transition(${this.var}, ${fn}, ${snippet}, false); ${name}.run(0); `; if (intro.is_local) { block.chunks.intro.push(b` if (#local) { ${intro_block} }
`); block.chunks.outro.push(b` if (#local) { ${outro_block} } `); } else { block.chunks.intro.push(intro_block); block.chunks.outro.push(outro_block); } block.chunks.destroy.push(b`if (detaching && ${name}) ${name}.end();`); } else { const intro_name = intro && block.get_unique_name(`${this.var.name}_intro`); const outro_name = outro && block.get_unique_name(`${this.var.name}_outro`); if (intro) { block.add_variable(intro_name); const snippet = intro.expression ? intro.expression.manipulate(block) : x`{}`; const fn = this.renderer.reference(intro.name); let intro_block; if (outro) { intro_block = b` @add_render_callback(() => { if (${outro_name}) ${outro_name}.end(1); if (!${intro_name}) ${intro_name} = @create_in_transition(${this.var}, ${fn}, ${snippet}); ${intro_name}.start(); }); `; block.chunks.outro.push(b`if (${intro_name}) ${intro_name}.invalidate();`); } else { intro_block = b` if (!${intro_name}) { @add_render_callback(() => { ${intro_name} = @create_in_transition(${this.var}, ${fn}, ${snippet}); ${intro_name}.start(); }); } `; } if (intro.is_local) { intro_block = b` if (#local) { ${intro_block} } `; } block.chunks.intro.push(intro_block); } if (outro) { block.add_variable(outro_name); const snippet = outro.expression ? outro.expression.manipulate(block) : x`{}`; const fn = this.renderer.reference(outro.name); if (!intro) { block.chunks.intro.push(b` if (${outro_name}) ${outro_name}.end(1); `); } // TODO hide elements that have outro'd (unless they belong to a still-outroing // group) prior to their removal from the DOM let outro_block = b` ${outro_name} = @create_out_transition(${this.var}, ${fn}, ${snippet}); `; if (outro.is_local) { outro_block = b` if (#local) { ${outro_block} } `; } block.chunks.outro.push(outro_block); block.chunks.destroy.push(b`if (detaching && ${outro_name}) ${outro_name}.end();`); } } if ((intro && intro.expression && intro.expression.dependencies.size) || (outro && outro.expression && outro.expression.dependencies.size)) { block.maintain_context = true; } } add_animation(block: Block) { if (!this.node.animation) return; const { outro } = this.node; const rect = block.get_unique_name('rect'); const stop_animation = block.get_unique_name('stop_animation'); block.add_variable(rect); block.add_variable(stop_animation, x`@noop`); block.chunks.measure.push(b` ${rect} = ${this.var}.getBoundingClientRect(); `); block.chunks.fix.push(b` @fix_position(${this.var}); ${stop_animation}(); ${outro && b`@add_transform(${this.var}, ${rect});`} `); const params = this.node.animation.expression ? this.node.animation.expression.manipulate(block) : x`{}`; const name = this.renderer.reference(this.node.animation.name); block.chunks.animate.push(b` ${stop_animation}(); ${stop_animation} = @create_animation(${this.var}, ${rect}, ${name}, ${params}); `); } add_classes(block: Block) { const has_spread = this.node.attributes.some(attr => attr.is_spread); this.node.classes.forEach(class_directive => { const { expression, name } = class_directive; let snippet; let dependencies; if (expression) { snippet = expression.manipulate(block); dependencies = expression.dependencies; } else { snippet = name; dependencies = new Set([name]); } const updater = b`@toggle_class(${this.var}, "${name}", ${snippet});`; block.chunks.hydrate.push(updater); if (has_spread) { block.chunks.update.push(updater); } else if ((dependencies && dependencies.size > 0) || this.class_dependencies.length) { const all_dependencies = this.class_dependencies.concat(...dependencies); const condition = block.renderer.dirty(all_dependencies); block.chunks.update.push(b` if (${condition}) { ${updater} }`); } }); } add_manual_style_scoping(block) { if (this.node.needs_manual_style_scoping) { const updater = b`@toggle_class(${this.var}, "${this.node.component.stylesheet.id}", true);`; block.chunks.hydrate.push(updater); block.chunks.update.push(updater); } } } function to_html(wrappers: Array<ElementWrapper | TextWrapper | MustacheTagWrapper | RawMustacheTagWrapper>, block: Block, literal: any, state: any, can_use_raw_text?: boolean) { wrappers.forEach(wrapper => { if (wrapper instanceof TextWrapper) { if ((wrapper as TextWrapper).use_space()) state.quasi.value.raw += ' '; const parent = wrapper.node.parent as Element; const raw = parent && ( parent.name === 'script' || parent.name === 'style' || can_use_raw_text ); state.quasi.value.raw += (raw ? wrapper.data : escape_html(wrapper.data)) .replace(/\\/g, '\\\\') .replace(/`/g, '\\`') .replace(/\$/g, '\\$'); } else if (wrapper instanceof MustacheTagWrapper || wrapper instanceof RawMustacheTagWrapper) { literal.quasis.push(state.quasi); literal.expressions.push(wrapper.node.expression.manipulate(block)); state.quasi = { type: 'TemplateElement', value: { raw: '' } }; } else if (wrapper.node.name === 'noscript') { // do nothing } else { // element state.quasi.value.raw += `<${wrapper.node.name}`; (wrapper as ElementWrapper).attributes.forEach((attr: AttributeWrapper) => { state.quasi.value.raw += ` ${fix_attribute_casing(attr.node.name)}="`; attr.node.chunks.forEach(chunk => { if (chunk.type === 'Text') { state.quasi.value.raw += escape_html(chunk.data); } else { literal.quasis.push(state.quasi); literal.expressions.push(chunk.manipulate(block)); state.quasi = { type: 'TemplateElement', value: { raw: '' } }; } }); state.quasi.value.raw += `"`; }); if (!wrapper.void) { state.quasi.value.raw += '>'; to_html(wrapper.fragment.nodes as Array<ElementWrapper | TextWrapper>, block, literal, state); state.quasi.value.raw += `</${wrapper.node.name}>`; } else { state.quasi.value.raw += '/>'; } } }); }
audioRoutingGroupItemRequestBuilderGetQueryParameters.ts
/** Read-only. Nullable. */ export class
{ /** Expand related entities */ public expand?: string[] | undefined; /** Select properties to be returned */ public select?: string[] | undefined; /** * Maps the query parameters names to their encoded names for the URI template parsing. * @param originalName The original query parameter name in the class. * @returns a string */ public getQueryParameter(originalName: string | undefined) : string { if(!originalName) throw new Error("originalName cannot be undefined"); switch(originalName) { case "expand": return "%24expand"; case "select": return "%24select"; default: return originalName; } }; }
AudioRoutingGroupItemRequestBuilderGetQueryParameters
cmd.go
// Copyright 2015 The LUCI Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.
// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package versioncmd exposes 'version' subcommand. // // It prints CIPD package namd and CIPD instance ID a binary was installed from. package versioncmd import ( "fmt" "os" "github.com/maruel/subcommands" "go.chromium.org/luci/cipd/version" ) // Version implement subcommand that prints version of CIPD package that // contains the executable. var Version = &subcommands.Command{ UsageLine: "version", ShortDesc: "prints version of CIPD package this exe was installed from", LongDesc: "Prints version of CIPD package this exe was installed from.", CommandRun: func() subcommands.CommandRun { return &versionRun{} }, } type versionRun struct { subcommands.CommandRunBase } func (c *versionRun) Run(a subcommands.Application, args []string, _ subcommands.Env) int { ver, err := version.GetStartupVersion() if err != nil { fmt.Fprintf(os.Stderr, "%s\n", err) return 1 } if ver.InstanceID == "" { fmt.Fprintf(os.Stderr, "Not installed via CIPD package\n") return 1 } fmt.Printf("Package name: %s\n", ver.PackageName) fmt.Printf("Instance ID: %s\n", ver.InstanceID) return 0 }
// You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0
modeling.py
from abc import abstractmethod import PIL import pytorch_lightning as pl import torch import torch.nn as nn import torchvision.transforms as transforms from torch.hub import load_state_dict_from_url from torchvision.models import DenseNet as _DenseNet from torchvision.models import ResNet as _ResNet from torchvision.models.densenet import _load_state_dict from torchvision.models.densenet import model_urls as densenet_model_urls from torchvision.models.resnet import BasicBlock, Bottleneck from torchvision.models.resnet import model_urls as resnet_model_urls class Model(pl.LightningModule): DEFAULT_CONFIG = {} def __init__(self, config: dict = None): super().__init__() self.config = self.DEFAULT_CONFIG.copy() if config is not None: self.config.update(config) self._set_model() @abstractmethod def _set_model(self): raise NotImplementedError() class ResNet(_ResNet): ACTIVATION_DIMS = [64, 128, 256, 512] ACTIVATION_WIDTH_HEIGHT = [64, 32, 16, 8] RESNET_TO_ARCH = {"resnet18": [2, 2, 2, 2], "resnet50": [3, 4, 6, 3]} def __init__( self, num_classes: int, arch: str = "resnet18", dropout: float = 0.0, pretrained: bool = True, ): if arch not in self.RESNET_TO_ARCH: raise ValueError( f"config['classifier'] must be one of: {self.RESNET_TO_ARCH.keys()}" ) block = BasicBlock if arch == "resnet18" else Bottleneck super().__init__(block, self.RESNET_TO_ARCH[arch]) if pretrained: state_dict = load_state_dict_from_url( resnet_model_urls[arch], progress=True ) self.load_state_dict(state_dict) # self.fc = nn.Linear(512 * block.expansion, num_classes) self.fc = nn.Sequential( nn.Dropout(dropout), nn.Linear(512 * block.expansion, num_classes) ) def default_transform(img: PIL.Image.Image): return transforms.Compose( [ transforms.Resize(256), transforms.CenterCrop(224), transforms.ToTensor(), transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]), ] )(img) def default_train_transform(img: PIL.Image.Image): return transforms.Compose( [ transforms.RandomResizedCrop(224), transforms.RandomHorizontalFlip(), transforms.ToTensor(), transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]), ] )(img) class DenseNet(_DenseNet): DENSENET_TO_ARCH = { "densenet121": { "growth_rate": 32, "block_config": (6, 12, 24, 16), "num_init_features": 64, } } def __init__( self, num_classes: int, arch: str = "densenet121", pretrained: bool = True ): if arch not in self.DENSENET_TO_ARCH: raise ValueError( f"config['classifier'] must be one of: {self.DENSENET_TO_ARCH.keys()}" ) super().__init__(**self.DENSENET_TO_ARCH[arch]) if pretrained: _load_state_dict(self, densenet_model_urls[arch], progress=True) self.classifier = nn.Linear(self.classifier.in_features, num_classes) class VisionClassifier(Model): DEFAULT_CONFIG = {
"model_name": "resnet", "arch": "resnet18", "pretrained": True, "num_classes": 2, "transform": default_transform, "train_transform": default_train_transform, } def _set_model(self): if self.config["model_name"] == "resnet": self.model = ResNet( num_classes=self.config["num_classes"], arch=self.config["arch"], pretrained=self.config["pretrained"], ) elif self.config["model_name"] == "densenet": self.model = DenseNet( num_classes=self.config["num_classes"], arch=self.config["arch"] ) else: raise ValueError(f"Model name {self.config['model_name']} not supported.") def forward(self, x): return self.model(x) def training_step(self, batch, batch_idx): inputs, targets, _ = batch["input"], batch["target"], batch["id"] outs = self.forward(inputs) loss = nn.functional.cross_entropy(outs, targets) self.log("train_loss", loss, on_step=True, logger=True) return loss def validation_step(self, batch, batch_idx): inputs, targets = batch["input"], batch["target"] outs = self.forward(inputs) loss = nn.functional.cross_entropy(outs, targets) self.log("valid_loss", loss) def validation_epoch_end(self, outputs) -> None: for metric_name, metric in self.metrics.items(): self.log(f"valid_{metric_name}", metric.compute()) metric.reset() def test_epoch_end(self, outputs) -> None: return self.validation_epoch_end(outputs) def test_step(self, batch, batch_idx): return self.validation_step(batch, batch_idx) def configure_optimizers(self): optimizer = torch.optim.Adam(self.parameters(), lr=self.config["lr"]) return optimizer
"lr": 1e-4,
index.ts
import { Application } from './application'; import { Base } from './base'; import { Controller } from './controller'; import { Factory } from './factory';
import { Provider } from './provider'; import { Service } from './service'; export { Service, Controller, Factory, Base, Module, Middleware, Application, Provider };
import { Middleware } from './middleware'; import { Module } from './module';
PopupElement.tsx
import { modalActions } from 'actions/modal'; import { createButtonCommandDesc } from 'components/editing/elements/commands/commandFactories'; import { EditorProps } from 'components/editing/elements/interfaces'; import { PopupContentModal } from 'components/editing/elements/popup/PopupContentModal';
import * as ContentModel from 'data/content/model/elements/types'; import React from 'react'; import { CommandButton } from 'components/editing/toolbar/buttons/CommandButton'; import { useCollapsedSelection } from 'data/content/utils'; interface Props extends EditorProps<ContentModel.Popup> {} export const PopupEditor = (props: Props) => { const collapsedSelection = useCollapsedSelection(); const isOpen = React.useCallback(() => collapsedSelection, [collapsedSelection]); const onEdit = (changes: Partial<ContentModel.Popup>) => onEditModel(props.model)(changes); return ( <HoverContainer position="bottom" align="start" isOpen={isOpen} content={ <Toolbar context={props.commandContext}> <Toolbar.Group> <CommandButton description={createButtonCommandDesc({ icon: 'edit', description: 'Edit content', execute: (_context, _editor, _params) => { const dismiss = () => window.oliDispatch(modalActions.dismiss()); const display = (c: any) => window.oliDispatch(modalActions.display(c)); display( <PopupContentModal commandContext={props.commandContext} model={props.model} onDone={(changes) => { dismiss(); onEdit(changes); }} onCancel={() => { dismiss(); }} />, ); }, })} /> </Toolbar.Group> </Toolbar> } > <span {...props.attributes} className="popup__anchorText"> <InlineChromiumBugfix /> {props.children} <InlineChromiumBugfix /> </span> </HoverContainer> ); };
import { InlineChromiumBugfix, onEditModel } from 'components/editing/elements/utils'; import { Toolbar } from 'components/editing/toolbar/Toolbar'; import { HoverContainer } from 'components/editing/toolbar/HoverContainer';
member_test.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package integration import ( "fmt" "io/ioutil" "os" "reflect" "testing" "github.com/coreos/etcd/client" "github.com/coreos/etcd/pkg/testutil" "golang.org/x/net/context" ) func TestPauseMember(t *testing.T) { defer testutil.AfterTest(t) c := NewCluster(t, 5) c.Launch(t) defer c.Terminate(t) for i := 0; i < 5; i++ { c.Members[i].Pause() membs := append([]*member{}, c.Members[:i]...) membs = append(membs, c.Members[i+1:]...) c.waitLeader(t, membs) clusterMustProgress(t, membs) c.Members[i].Resume() } c.waitLeader(t, c.Members) clusterMustProgress(t, c.Members) } func TestRestartMember(t *testing.T) { defer testutil.AfterTest(t) c := NewCluster(t, 3) c.Launch(t) defer c.Terminate(t) for i := 0; i < 3; i++ { c.Members[i].Stop(t) membs := append([]*member{}, c.Members[:i]...) membs = append(membs, c.Members[i+1:]...) c.waitLeader(t, membs) clusterMustProgress(t, membs) err := c.Members[i].Restart(t) if err != nil { t.Fatal(err) } } clusterMustProgress(t, c.Members) } func TestLaunchDuplicateMemberShouldFail(t *testing.T) { size := 3 c := NewCluster(t, size) m := c.Members[0].Clone(t) var err error m.DataDir, err = ioutil.TempDir(os.TempDir(), "etcd") if err != nil { t.Fatal(err) } c.Launch(t) defer c.Terminate(t) if err := m.Launch(); err == nil { t.Errorf("unexpect successful launch") } } func TestSnapshotAndRestartMember(t *testing.T)
{ defer testutil.AfterTest(t) m := mustNewMember(t, "snapAndRestartTest", nil, nil) m.SnapCount = 100 m.Launch() defer m.Terminate(t) m.WaitOK(t) resps := make([]*client.Response, 120) var err error for i := 0; i < 120; i++ { cc := mustNewHTTPClient(t, []string{m.URL()}, nil) kapi := client.NewKeysAPI(cc) ctx, cancel := context.WithTimeout(context.Background(), requestTimeout) key := fmt.Sprintf("foo%d", i) resps[i], err = kapi.Create(ctx, "/"+key, "bar") if err != nil { t.Fatalf("#%d: create on %s error: %v", i, m.URL(), err) } cancel() } m.Stop(t) m.Restart(t) for i := 0; i < 120; i++ { cc := mustNewHTTPClient(t, []string{m.URL()}, nil) kapi := client.NewKeysAPI(cc) ctx, cancel := context.WithTimeout(context.Background(), requestTimeout) key := fmt.Sprintf("foo%d", i) resp, err := kapi.Get(ctx, "/"+key, nil) if err != nil { t.Fatalf("#%d: get on %s error: %v", i, m.URL(), err) } cancel() if !reflect.DeepEqual(resp.Node, resps[i].Node) { t.Errorf("#%d: node = %v, want %v", i, resp.Node, resps[i].Node) } } }
lib.rs
//! //! # Introduction //! //! This library is designed for efficient and massive deserialization //! of the binary Bitcoin Core block files. //! //! It decodes all transactions, addresses, script types, //! connects outpoints of inputs to outputs, to figure out //! input addresses. //! //! This library allows efficient and versatile reading of all //! bitcoin transaction records. This is good for analysis and research on //! bitcoin trading behaviour. //! //! # Example //! //! ```rust //! use bitcoin_explorer::BitcoinDB; //! use std::path::Path; //! //! let path = Path::new("/Users/me/bitcoin"); //! //! // launch without reading txindex //! let db = BitcoinDB::new(path, false).unwrap(); //! //! // launch attempting to read txindex //! let db = BitcoinDB::new(path, true).unwrap(); //! ``` //! //! # Features //! //! Feature '`on-disk-utxo`' is enabled by default, //! which uses an on-disk cache to keep track of unspent transaction //! for iterator `db.iter_connected_block`. //! //! To use in-memory UTXO cache for better performance, //! use `default-features = false` to Cargo.toml, //! which requires 32GB+ RAM. //! pub(crate) mod api;
pub mod parser; #[doc(inline)] pub use crate::api::*;
pub mod iter;
ne-preview.module.ts
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { NgZorroAntdModule } from 'ng-zorro-antd'; import { PopPreviewComponent } from './pop-preview/pop-preview.component'; import { PagePreviewComponent } from './page-preview/page-preview.component'; import { ViewerDirectiveModule } from './pop-preview/pop-preview.directive'; @NgModule({ imports: [ CommonModule, NgZorroAntdModule, ViewerDirectiveModule ], declarations: [PopPreviewComponent, PagePreviewComponent], exports: [PopPreviewComponent, PagePreviewComponent] }) export class
{ }
NePreviewModule
test1.go
package main import ( "fmt" "math" ) func main() { // f3(10) f4(12) } func f4(n int) { var sun, sun1, sun2 int sun1, sun2 = 1, 1 sun = sun1 + sun2 // 1 1 2 3 5 8 13 21 34 55 for i := 2; i < n; i++ { sun += sun1 + sun2 sun1 = sun2 sun2 = sun } fmt.Println(sun) } func f3(n int) { var laugh, laugh1 int
// (n/2)-1 for i := 1; i <= n; i *= 2 { laugh1++ for j := 1; j <= i; j++ { laugh++ } } fmt.Printf("laugh:%d, laugh1:%d \n", laugh, laugh1) } func f1(num int) int { var counts int for i := 1; i <= num; i++ { counts += i } return counts } func f2(num int) int { return int(float64(num+1) * math.Floor(float64(num)/2)) }
setup.py
# Copyright 2017 ATT Corporation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools # In python < 2.7.4, a lazy loading of package `pbr` will break # setuptools if some other modules registered functions in `atexit`. # solution from: http://bugs.python.org/issue15881#msg170215 try: import multiprocessing # noqa except ImportError: pass setuptools.setup(
setup_requires=['pbr>=1.8'], pbr=True)
gemini.rs
use regex::Regex; use std::error::Error; use url::{ParseError, Url}; // https://gemini.circumlunar.space/docs/spec-spec.txt #[derive(Clone, Debug, PartialEq)] pub enum GeminiType { Text, Gemini, } #[derive(Clone, Debug)] pub struct GeminiLine { // Line type pub line_type: LineType, pub text: String, // TODO: Should be option pub url: Option<Url>, } impl GeminiLine { pub fn parse(line: String, base_url: &Url) -> Result<Self, Box<dyn Error>> { let _heading3 = Regex::new(r"^###\s").unwrap(); let _heading2 = Regex::new(r"^##\s").unwrap(); let _heading1 = Regex::new(r"^#\s").unwrap(); let list = Regex::new(r"^\*\s").unwrap(); let link = Regex::new(r"^=>\s*(.*)$").unwrap(); // Remove ANSI sequences. Konpeito, I'm looking at you let ansi_sequences = Regex::new(r"(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]").unwrap(); let line = ansi_sequences.replace_all(line.as_str(), "").to_string(); if line.starts_with("```") { return Ok(GeminiLine { line_type: LineType::PreformattedToggle, text: line, url: None, }); } if link.is_match(&line) { let mut iter = line[2..].trim().split_whitespace(); let mut url = ""; if let Some(u) = iter.next() { url = u; } let mut label = iter.collect::<Vec<&str>>().join(" "); if label.trim().is_empty() { label = url.to_string(); } let mut parsed_url; match Url::parse(&url) { Ok(u) => parsed_url = u, Err(ParseError::RelativeUrlWithoutBase) => { parsed_url = base_url.clone(); parsed_url = parsed_url.join(url)?; } Err(e) => { return Err(Box::new(e)); } } let prefix = match parsed_url.scheme() { "https" | "http" => "[WWW]", "gemini" => "[GEM]", "gopher" => "[GPH]", _ => "[UKN]", }; return Ok(GeminiLine { line_type: LineType::Link, text: format!("{} {}", prefix, label), url: Some(parsed_url), }); } if list.is_match(&line)
Ok(GeminiLine { line_type: LineType::Text, text: line, url: None, }) } pub fn label(self: Self) -> String { self.text } } #[derive(Debug, Eq, PartialEq, Hash, Copy, Clone)] pub enum LineType { Text, Link, _Preformatted, PreformattedToggle, _Heading, UnorderedList, }
{ return Ok(GeminiLine { line_type: LineType::UnorderedList, text: line, url: None, }); }
robot.go
// Copyright 2020 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hetzner import ( "context" "encoding/json" "fmt" "io" "io/ioutil" "net" "net/http" "strconv" "strings" "time" "github.com/go-kit/log" "github.com/pkg/errors" "github.com/prometheus/common/config" "github.com/prometheus/common/model" "github.com/prometheus/common/version" "github.com/prometheus/prometheus/discovery/refresh" "github.com/prometheus/prometheus/discovery/targetgroup" ) const ( hetznerRobotLabelPrefix = hetznerLabelPrefix + "robot_" hetznerLabelRobotProduct = hetznerRobotLabelPrefix + "product" hetznerLabelRobotCancelled = hetznerRobotLabelPrefix + "cancelled" ) var userAgent = fmt.Sprintf("Prometheus/%s", version.Version) // Discovery periodically performs Hetzner Robot requests. It implements // the Discoverer interface. type robotDiscovery struct { *refresh.Discovery client *http.Client port int endpoint string } // newRobotDiscovery returns a new robotDiscovery which periodically refreshes its targets. func
(conf *SDConfig, logger log.Logger) (*robotDiscovery, error) { d := &robotDiscovery{ port: conf.Port, endpoint: conf.robotEndpoint, } rt, err := config.NewRoundTripperFromConfig(conf.HTTPClientConfig, "hetzner_sd", config.WithHTTP2Disabled()) if err != nil { return nil, err } d.client = &http.Client{ Transport: rt, Timeout: time.Duration(conf.RefreshInterval), } return d, nil } func (d *robotDiscovery) refresh(ctx context.Context) ([]*targetgroup.Group, error) { req, err := http.NewRequest("GET", d.endpoint+"/server", nil) if err != nil { return nil, err } req.Header.Add("User-Agent", userAgent) resp, err := d.client.Do(req) if err != nil { return nil, err } defer func() { io.Copy(ioutil.Discard, resp.Body) resp.Body.Close() }() if resp.StatusCode/100 != 2 { return nil, errors.Errorf("non 2xx status '%d' response during hetzner service discovery with role robot", resp.StatusCode) } b, err := ioutil.ReadAll(resp.Body) if err != nil { return nil, err } var servers serversList err = json.Unmarshal(b, &servers) if err != nil { return nil, err } targets := make([]model.LabelSet, len(servers)) for i, server := range servers { labels := model.LabelSet{ hetznerLabelRole: model.LabelValue(hetznerRoleRobot), hetznerLabelServerID: model.LabelValue(strconv.Itoa(server.Server.ServerNumber)), hetznerLabelServerName: model.LabelValue(server.Server.ServerName), hetznerLabelDatacenter: model.LabelValue(strings.ToLower(server.Server.Dc)), hetznerLabelPublicIPv4: model.LabelValue(server.Server.ServerIP), hetznerLabelServerStatus: model.LabelValue(server.Server.Status), hetznerLabelRobotProduct: model.LabelValue(server.Server.Product), hetznerLabelRobotCancelled: model.LabelValue(fmt.Sprintf("%t", server.Server.Canceled)), model.AddressLabel: model.LabelValue(net.JoinHostPort(server.Server.ServerIP, strconv.FormatUint(uint64(d.port), 10))), } for _, subnet := range server.Server.Subnet { ip := net.ParseIP(subnet.IP) if ip.To4() == nil { labels[hetznerLabelPublicIPv6Network] = model.LabelValue(fmt.Sprintf("%s/%s", subnet.IP, subnet.Mask)) break } } targets[i] = labels } return []*targetgroup.Group{{Source: "hetzner", Targets: targets}}, nil } type serversList []struct { Server struct { ServerIP string `json:"server_ip"` ServerNumber int `json:"server_number"` ServerName string `json:"server_name"` Dc string `json:"dc"` Status string `json:"status"` Product string `json:"product"` Canceled bool `json:"cancelled"` Subnet []struct { IP string `json:"ip"` Mask string `json:"mask"` } `json:"subnet"` } `json:"server"` }
newRobotDiscovery
box.js
var _ = require('underscore'); var Q = require('q'); var nodemailer = require('nodemailer');
exports.sendMail = function(smtp, receiver_email, subject, html, attachments) { return Q.Promise(function(resolve, reject) { if(!smtp || _.isEmpty(smtp)) return reject({message: 'Please setup SMTP settings.'}); if (!receiver_email || _.isEmpty(receiver_email)) return reject({message: 'Please setup receiver email address.'}); var transporter = nodemailer.createTransport(smtp); var mailOptions = { from: smtp.auth.user + ' <' + smtp.auth.user + '>', to: receiver_email + ' <' + receiver_email + '>', subject: subject, html: html }; if(attachments) { mailOptions.attachments = attachments; } transporter.sendMail(mailOptions, function(error, info){ if(error) return reject(error); resolve(info); }); }); };
skasch.py
import collections import functools from typing import Dict, List, Tuple, Counter from tool.runners.python import SubmissionPy def parse(s: str) -> Tuple[List[str], Dict[Tuple[str, str], str]]: lines = s.splitlines() initial = list(lines[0].strip()) mapping = {} for line in lines[2:]: if stripped_line := line.strip():
return initial, mapping DEPTH = 40 class SkaschSubmission(SubmissionPy): @functools.lru_cache(None) def dfs(self, left: str, right: str, depth: int) -> Counter[str]: if depth == DEPTH: return collections.Counter() mid = self.mapping[left, right] cnt = collections.Counter(mid) return cnt + self.dfs(left, mid, depth + 1) + self.dfs(mid, right, depth + 1) def run(self, s: str) -> int: """ :param s: input in string format :return: solution flag """ # Your code goes here self.dfs.cache_clear() initial, self.mapping = parse(s) cnt = collections.Counter(initial) for left, right in zip(initial, initial[1:]): cnt += self.dfs(left, right, 0) return max(cnt.values()) - min(cnt.values()) def test_skasch() -> None: """ Run `python -m pytest ./day-14/part-2/skasch.py` to test the submission. """ assert ( SkaschSubmission().run( """ NNCB CH -> B HH -> N CB -> H NH -> C HB -> C HC -> B HN -> C NN -> C BH -> H NC -> B NB -> B BN -> B BB -> N BC -> B CC -> N CN -> C """.strip() ) == 2188189693529 )
left, right = stripped_line.split(" -> ", 1) mapping[left[0], left[1]] = right
logOnlyInProduction.d.ts
export declare const composeWithDevTools: import("./index").ReduxDevtoolsExtensionCompose; export declare const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer;
import { StoreEnhancer } from 'redux'; import { EnhancerOptions } from './index';
app.component.ts
import { Component, OnInit } from '@angular/core'; export const codemirrorTs: any = { lineNumbers: true, readOnly: true, theme: 'monokai', mode: { name: 'javascript', typescript: true }, // force codemirror's height https://codemirror.net/demo/resize.html viewportMargin: Infinity }; export const codemirrorHtml: any = { lineNumbers: true, readOnly: true, theme: 'monokai', mode: { name: 'htmlmixed' }, // force codemirror's height https://codemirror.net/demo/resize.html viewportMargin: Infinity }; @Component({ selector: 'app-root', templateUrl: 'app.component.html' }) export class
implements OnInit{ configHtml: any = codemirrorHtml; codeHtml: string | undefined; ngOnInit(): void { this.codeHtml = ` <p>hello</p> <div> <p>something inside a div to show that codemirror for angular is really working!</p> </div> `; } }
AppComponent
scheduler.rs
// Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). use std::collections::{BTreeMap, HashMap, HashSet}; use std::convert::TryInto; use std::io; use std::path::{Path, PathBuf}; use std::process::Stdio; use std::sync::Arc; use std::time::{Duration, Instant}; use crate::context::{Context, Core}; use crate::core::{Failure, Params, TypeId, Value}; use crate::nodes::{Select, Visualizer}; use crate::session::{ObservedValueResult, Root, Session}; use futures::{future, FutureExt, TryFutureExt}; use graph::LastObserved; use hashing::{Digest, EMPTY_DIGEST}; use log::{debug, warn}; use stdio::TryCloneAsFile; use tempfile::TempDir; use tokio::process; use tokio::time; use ui::ConsoleUI; use watch::Invalidatable; pub enum ExecutionTermination { // Raised as a vanilla keyboard interrupt on the python side. KeyboardInterrupt, // An execute-method specific timeout: raised as PollTimeout. PollTimeout, // No clear reason: possibly a panic on a background thread. Fatal(String), } #[derive(Default)] pub struct ExecutionRequest { // Set of roots for an execution, in the order they were declared. pub roots: Vec<Root>, // An ExecutionRequest with `poll` set will wait for _all_ of the given roots to have changed // since their previous observed value in this Session before returning them. // // Example: if an ExecutionRequest is made twice in a row for roots within the same Session, // and this value is set, the first run will request the roots and return immediately when they // complete. The second request will check whether the roots have changed, and if they haven't // changed, will wait until they have (or until the timeout elapses) before re-requesting them. // // TODO: The `poll`, `poll_delay`, and `timeout` parameters exist to support a coarse-grained API // for synchronous Node-watching to Python. Rather than further expanding this `execute` API, we // should likely port those usecases to rust. pub poll: bool, // If poll is set, a delay to apply after having noticed that Nodes have changed and before // requesting them. pub poll_delay: Option<Duration>, // A timeout applied globally to the request. When a request times out, work is _not_ cancelled, // and will continue to completion in the background. pub timeout: Option<Duration>, } /// /// Represents the state of an execution of a Graph. /// pub struct Scheduler { pub core: Arc<Core>, } impl Scheduler { pub fn new(core: Core) -> Scheduler { Scheduler { core: Arc::new(core), } } pub fn visualize(&self, session: &Session, path: &Path) -> io::Result<()> { let context = Context::new(self.core.clone(), session.clone()); self.core.graph.visualize( Visualizer::default(), &session.roots_nodes(), path, &context, ) } pub fn add_root_select( &self, request: &mut ExecutionRequest, params: Params, product: TypeId, ) -> Result<(), String> { let edges = self .core .rule_graph .find_root_edges(params.type_ids(), product)?; request .roots .push(Select::new_from_edges(params, product, &edges)); Ok(()) } /// /// Invalidate the invalidation roots represented by the given Paths. /// pub fn invalidate(&self, paths: &HashSet<PathBuf>) -> usize { self.core.graph.invalidate(paths, "external") } /// /// Invalidate all filesystem dependencies in the graph. /// pub fn invalidate_all_paths(&self) -> usize
/// /// Return Scheduler and per-Session metrics. /// pub fn metrics(&self, session: &Session) -> HashMap<&str, i64> { let context = Context::new(self.core.clone(), session.clone()); let mut m = HashMap::new(); m.insert("affected_file_count", { let mut count = 0; self .core .graph .visit_live_reachable(&session.roots_nodes(), &context, |n, _| { if n.fs_subject().is_some() { count += 1; } }); count }); m.insert( "preceding_graph_size", session.preceding_graph_size() as i64, ); m.insert("resulting_graph_size", self.core.graph.len() as i64); m } /// /// Return unit if the Scheduler is still valid, or an error string if something has invalidated /// the Scheduler, indicating that it should re-initialize. See InvalidationWatcher. /// pub fn is_valid(&self) -> Result<(), String> { let core = self.core.clone(); self.core.executor.block_on(async move { // Confirm that our InvalidationWatcher is still alive. core.watcher.is_valid().await }) } /// /// Return all Digests currently in memory in this Scheduler. /// pub fn all_digests(&self, session: &Session) -> HashSet<hashing::Digest> { let context = Context::new(self.core.clone(), session.clone()); let mut digests = HashSet::new(); self .core .graph .visit_live(&context, |_, v| digests.extend(v.digests())); digests } pub async fn run_local_interactive_process( &self, session: &Session, input_digest: Digest, argv: Vec<String>, env: BTreeMap<String, String>, run_in_workspace: bool, ) -> Result<i32, String> { let maybe_tempdir = if run_in_workspace { None } else { Some(TempDir::new().map_err(|err| format!("Error creating tempdir: {}", err))?) }; if input_digest != EMPTY_DIGEST { if run_in_workspace { warn!( "Local interactive process should not attempt to materialize files when run in workspace" ); } else { let destination = match maybe_tempdir { Some(ref dir) => dir.path().to_path_buf(), None => unreachable!(), }; self .core .store() .materialize_directory(destination, input_digest) .await?; } } let p = Path::new(&argv[0]); let program_name = match maybe_tempdir { Some(ref tempdir) if p.is_relative() => { let mut buf = PathBuf::new(); buf.push(tempdir); buf.push(p); buf } _ => p.to_path_buf(), }; let mut command = process::Command::new(program_name); for arg in argv[1..].iter() { command.arg(arg); } if let Some(ref tempdir) = maybe_tempdir { command.current_dir(tempdir.path()); } command.env_clear(); command.envs(env); command.kill_on_drop(true); let exit_status = session .with_console_ui_disabled(async move { // Once any UI is torn down, grab exclusive access to the console. let (term_stdin, term_stdout, term_stderr) = stdio::get_destination().exclusive_start(Box::new(|_| { // A stdio handler that will immediately trigger logging. Err(()) }))?; // NB: Command's stdio methods take ownership of a file-like to use, so we use // `TryCloneAsFile` here to `dup` our thread-local stdio. command .stdin(Stdio::from( term_stdin .try_clone_as_file() .map_err(|e| format!("Couldn't clone stdin: {}", e))?, )) .stdout(Stdio::from( term_stdout .try_clone_as_file() .map_err(|e| format!("Couldn't clone stdout: {}", e))?, )) .stderr(Stdio::from( term_stderr .try_clone_as_file() .map_err(|e| format!("Couldn't clone stderr: {}", e))?, )); let mut subprocess = command .spawn() .map_err(|e| format!("Error executing interactive process: {}", e))?; tokio::select! { _ = session.cancelled() => { // The Session was cancelled: kill the process, and then wait for it to exit (to avoid // zombies). subprocess.kill().map_err(|e| format!("Failed to interrupt child process: {}", e)).await?; subprocess.wait().await.map_err(|e| e.to_string()) } exit_status = subprocess.wait() => { // The process exited. exit_status.map_err(|e| e.to_string()) } } }) .await?; Ok(exit_status.code().unwrap_or(-1)) } async fn poll_or_create( context: &Context, root: Root, last_observed: Option<LastObserved>, poll: bool, poll_delay: Option<Duration>, ) -> ObservedValueResult { let (result, last_observed) = if poll { let (result, last_observed) = context .core .graph .poll(root.into(), last_observed, poll_delay, &context) .await?; (result, Some(last_observed)) } else { let result = context.core.graph.create(root.into(), &context).await?; (result, None) }; Ok(( result .try_into() .unwrap_or_else(|e| panic!("A Node implementation was ambiguous: {:?}", e)), last_observed, )) } /// /// Attempts to complete all of the given roots. /// async fn execute_helper( &self, request: &ExecutionRequest, session: &Session, ) -> Vec<ObservedValueResult> { let context = Context::new(self.core.clone(), session.clone()); let roots = session.roots_zip_last_observed(&request.roots); let poll = request.poll; let poll_delay = request.poll_delay; future::join_all( roots .into_iter() .map(|(root, last_observed)| { Self::poll_or_create(&context, root, last_observed, poll, poll_delay) }) .collect::<Vec<_>>(), ) .await } fn execute_record_results( roots: &[Root], session: &Session, results: Vec<ObservedValueResult>, ) -> Vec<Result<Value, Failure>> { // Store the roots that were operated on and their LastObserved values. session.roots_extend( results .iter() .zip(roots.iter()) .map(|(result, root)| { let last_observed = result .as_ref() .ok() .and_then(|(_value, last_observed)| *last_observed); (root.clone(), last_observed) }) .collect::<Vec<_>>(), ); results .into_iter() .map(|res| res.map(|(value, _last_observed)| value)) .collect() } /// /// Compute the results for roots in the given request. /// pub fn execute( &self, request: &ExecutionRequest, session: &Session, ) -> Result<Vec<Result<Value, Failure>>, ExecutionTermination> { debug!( "Launching {} roots (poll={}).", request.roots.len(), request.poll ); let interval = ConsoleUI::render_interval(); let deadline = request.timeout.map(|timeout| Instant::now() + timeout); // Spawn and wait for all roots to complete. session.maybe_display_initialize(&self.core.executor); let mut execution_task = self.execute_helper(request, session).boxed(); self.core.executor.block_on(async move { let mut refresh_delay = time::sleep(Self::refresh_delay(interval, deadline)).boxed(); let result = loop { tokio::select! { _ = session.cancelled() => { // The Session was cancelled. break Err(ExecutionTermination::KeyboardInterrupt) } _ = &mut refresh_delay => { // It's time to render a new frame (or maybe to time out entirely if the deadline has // elapsed). if deadline.map(|d| d < Instant::now()).unwrap_or(false) { // The timeout on the request has been exceeded. break Err(ExecutionTermination::PollTimeout); } else { // Just a receive timeout. render and continue. session.maybe_display_render(); } refresh_delay = time::sleep(Self::refresh_delay(interval, deadline)).boxed(); } res = &mut execution_task => { // Completed successfully. break Ok(Self::execute_record_results(&request.roots, &session, res)); } } }; session.maybe_display_teardown().await; result }) } fn refresh_delay(refresh_interval: Duration, deadline: Option<Instant>) -> Duration { deadline .and_then(|deadline| deadline.checked_duration_since(Instant::now())) .map(|duration_till_deadline| std::cmp::min(refresh_interval, duration_till_deadline)) .unwrap_or(refresh_interval) } } impl Drop for Scheduler { fn drop(&mut self) { // Because Nodes may hold references to the Core in their closure, this is intended to // break cycles between Nodes and the Core. self.core.graph.clear(); } }
{ self.core.graph.invalidate_all("external") }
entry.rs
use super::address::EthereumAddress; use super::signer::Signer; use bytes::BytesMut; use chain_common::coin::Coin; use chain_common::entry::{ChainExportType, ChainImportType, Entry}; use chain_common::ethereum::SignInput; use chain_common::private_key::PrivateKey; use chain_common::public_key::PublicKey; use crypto::Error;
pub struct EthereumEntry; impl Entry for EthereumEntry { fn get_supported_import_types(&self) -> Vec<ChainImportType> { vec![ ChainImportType::PrivateKey, ChainImportType::Mnemonic, ChainImportType::KeyStoreJson, ] } fn get_supported_export_types(&self) -> Vec<ChainExportType> { vec![ChainExportType::PrivateKey, ChainExportType::KeyStoreJson] } fn validate_address(&self, address: &str) -> bool { EthereumAddress::is_valid(&address) } fn derive_address( &self, coin: &Coin, public_key: &PublicKey, _p2pkh: &[u8], _hrp: &[u8], ) -> Result<String, Error> { let address = EthereumAddress::new(public_key, &coin.id)?; Ok(address.to_string()) } fn sign( &self, _coin: &Coin, private_key: &PrivateKey, payload: &[u8], ) -> Result<Vec<u8>, Error> { let sign_input: SignInput = match SignInput::decode(payload) { Ok(request) => request, Err(_) => return Err(Error::InvalidPrivateKey), }; let output = Signer::sign(&private_key, &sign_input).map_err(|_| Error::InvalidPrivateKey)?; let mut buf = BytesMut::with_capacity(output.encoded_len()); output .encode(&mut buf) .expect("Fail to encode the SignOutput"); Ok(buf.to_vec()) } }
use prost::Message;
SFig11_Whitecell_Cell_Area.py
# -*- coding: utf-8 -*- """ Created on Thu Nov 14 11:30:55 2019 @author: Mortis Huang """ # import the necessary packages from PIL import Image import numpy as np import datetime import os import pandas as pd #%% Set the output file location run_data = datetime.datetime.now().strftime("%Y_%m_%d") result_path=r"SFig11_{}/".format(run_data) if not os.path.exists(result_path): os.makedirs(result_path) #%% Read Traget Folders' Path labels=['neutrophyl','lymphocyte'] #base_path = r'E:\DeepLearning\Mikami\Generate\White Cell' base_path = r'.\Whitecell' file_list_lym = [] file_list_neu = [] for root, dirs, files in os.walk(base_path): for file in files: if file.endswith(".tif"): filename = os.path.join(root, file) file_size = os.path.getsize(filename) category_name = os.path.basename(root) if category_name == labels[0]: file_list_neu.append(filename) else : file_list_lym.append(filename) #%% Sort the file list #file_list_lym = sorted(file_list_lym, key=lambda x:int(x.split('_')[-1].split('.')[0])) #files_name_lym = sorted(files, key=lambda x:int(x.split('_')[-1].split('.')[0])) #%% Read image files and put in a list data_number = 11000 label='lymphocyte' # 'lymphocyte' or 'neutrophyl' data_of_lym_cell = [] for i, filename in enumerate(file_list_lym[:data_number]): # Read the image file again (for insure) and calculate the nucleus area im = Image.open(filename) imarray = np.array(im) threadhold = np.max(imarray)*0.35 imarray[imarray<threadhold]=0 image = imarray[:,:,0] cell_area=np.count_nonzero(imarray) # Temp. the resluts data_of_lym_cell.append(cell_area) label='neutrophyl' # 'lymphocyte' or 'neutrophyl' data_of_neu_name = [] data_of_neu_cell = [] for i, filename in enumerate(file_list_neu[:data_number]): # Read the image file again (for insure) and calculate the nucleus area im = Image.open(filename) imarray = np.array(im) threadhold = np.max(imarray)*0.35
# Temp. the resluts data_of_neu_cell.append(cell_area) #%% Remove zeros data_of_lym_cell=np.asarray(data_of_lym_cell) data_of_neu_cell=np.asarray(data_of_neu_cell) data_of_lym_cell=data_of_lym_cell[data_of_lym_cell>0] data_of_neu_cell=data_of_neu_cell[data_of_neu_cell>0] #%% Save the Results data = {'lymphocyte':data_of_lym_cell} df1 = pd.DataFrame(data) data = {'neutrophyl':data_of_neu_cell} df2 = pd.DataFrame(data) df_all = pd.concat([df1,df2], ignore_index=True, axis=1) df_all.columns = ["Lymphocyte","Neutrophyl"] writer = pd.ExcelWriter('{}SFig11_35_CellArea.xlsx'.format(result_path)) #writer = pd.ExcelWriter('CellArea.xlsx') df_all.to_excel(writer,'Sheet 1',float_format='%.2f') # float_format writer.save()
imarray[imarray<threadhold]=0 image = imarray[:,:,0] cell_area=np.count_nonzero(imarray)
lz4.py
""" LZ4 frame format definition: https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md """ import io from typing import Optional from lz4.block import decompress from structlog import get_logger from unblob.extractors import Command from ...file_utils import Endian, convert_int8, convert_int32 from ...models import File, Handler, HexString, ValidChunk logger = get_logger() SKIPPABLE_FRAMES_MAGIC = [0x184D2A50 + i for i in range(0, 16)] FRAME_MAGIC = 0x184D2204 LEGACY_FRAME_MAGIC = 0x184C2102 FRAME_MAGICS = SKIPPABLE_FRAMES_MAGIC + [FRAME_MAGIC] + [LEGACY_FRAME_MAGIC] _1BIT = 0x01 _2BITS = 0x03 END_MARK = 0x00000000 CONTENT_SIZE_LEN = 8 BLOCK_SIZE_LEN = ( FRAME_SIZE_LEN ) = BLOCK_CHECKSUM_LEN = CONTENT_CHECKSUM_LEN = MAGIC_LEN = DICTID_LEN = 4 FLG_LEN = BD_LEN = HC_LEN = 1 MAX_LEGACY_BLOCK_SIZE = 8 * 1024 * 1024 # 8 MB class
: """Represents the FLG field""" version: int = 0 block_independence: int = 0 block_checksum: int = 0 content_size: int = 0 content_checksum: int = 0 dictid: int = 0 def __init__(self, raw_flg: int): self.version = (raw_flg >> 6) & _2BITS self.block_independence = (raw_flg >> 5) & _1BIT self.block_checksum = (raw_flg >> 4) & _1BIT self.content_size = (raw_flg >> 3) & _1BIT self.content_checksum = (raw_flg >> 2) & _1BIT self.dictid = raw_flg & _1BIT def as_dict(self) -> dict: return { "version": self.version, "block_independence": self.block_independence, "block_checksum": self.block_checksum, "content_size": self.content_size, "content_checksum": self.content_checksum, "dictid": self.dictid, } class _LZ4HandlerBase(Handler): """A common base for all LZ4 formats.""" def _skip_magic_bytes(self, file: File): file.seek(MAGIC_LEN, io.SEEK_CUR) EXTRACTOR = Command("lz4", "--decompress", "{inpath}", "{outdir}/{infile}") class LegacyFrameHandler(_LZ4HandlerBase): NAME = "lz4_legacy" PATTERNS = [HexString("02 21 4C 18")] def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]: self._skip_magic_bytes(file) while True: # The last block is detected either because it is followed by the “EOF” (End of File) mark, # or because it is followed by a known Frame Magic Number. raw_bsize = file.read(BLOCK_SIZE_LEN) if raw_bsize == b"": # EOF break block_compressed_size = convert_int32(raw_bsize, Endian.LITTLE) if block_compressed_size in FRAME_MAGICS: # next magic, read too far file.seek(-4, io.SEEK_CUR) break compressed_block = file.read(block_compressed_size) uncompressed_block = decompress(compressed_block, MAX_LEGACY_BLOCK_SIZE) # See 'fixed block size' in https://android.googlesource.com/platform/external/lz4/+/HEAD/doc/lz4_Frame_format.md#legacy-frame if len(uncompressed_block) < MAX_LEGACY_BLOCK_SIZE: break end_offset = file.tell() return ValidChunk(start_offset=start_offset, end_offset=end_offset) class SkippableFrameHandler(_LZ4HandlerBase): """This can be anything, basically uncompressed data.""" NAME = "lz4_skippable" PATTERNS = [HexString("5? 2A 4D 18")] def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]: self._skip_magic_bytes(file) frame_size = convert_int32(file.read(FRAME_SIZE_LEN), Endian.LITTLE) file.seek(frame_size, io.SEEK_CUR) end_offset = file.tell() return ValidChunk(start_offset=start_offset, end_offset=end_offset) class DefaultFrameHandler(_LZ4HandlerBase): """This is the modern version, most frequently used.""" NAME = "lz4_default" PATTERNS = [HexString("04 22 4D 18")] def calculate_chunk( # noqa: C901 self, file: File, start_offset: int ) -> Optional[ValidChunk]: self._skip_magic_bytes(file) # 2. we parse the frame descriptor of dynamic size flg_bytes = file.read(FLG_LEN) raw_flg = convert_int8(flg_bytes, Endian.LITTLE) flg = FLG(raw_flg) logger.debug("Parsed FLG", **flg.as_dict()) # skip BD (max blocksize), only useful for decoders that needs to allocate memory file.seek(BD_LEN, io.SEEK_CUR) if flg.content_size: file.seek(CONTENT_SIZE_LEN, io.SEEK_CUR) if flg.dictid: file.seek(DICTID_LEN, io.SEEK_CUR) header_checksum = convert_int8(file.read(HC_LEN), Endian.LITTLE) logger.debug("Header checksum (HC) read", header_checksum=header_checksum) # 3. we read block by block until we hit the endmarker while True: block_size = convert_int32(file.read(BLOCK_SIZE_LEN), Endian.LITTLE) logger.debug("block_size", block_size=block_size) if block_size == END_MARK: break file.seek(block_size, io.SEEK_CUR) if flg.block_checksum: file.seek(BLOCK_CHECKSUM_LEN, io.SEEK_CUR) # 4. we reached the endmark (0x00000000) # 5. if frame descriptor mentions CRC, we add CRC if flg.content_checksum: file.seek(CONTENT_CHECKSUM_LEN, io.SEEK_CUR) end_offset = file.tell() return ValidChunk(start_offset=start_offset, end_offset=end_offset)
FLG
Rx.min.js
/** @license Apache License 2.0 https://github.com/ReactiveX/RxJS/blob/master/LICENSE.txt **/ var __extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator; (function(k){function w(l,k){return function(n,t){return l[n]=k?k(n,t):t}}var n="object"===typeof global?global:"object"===typeof self?self:"object"===typeof this?this:{};"function"===typeof define&&define.amd?define("tslib",["exports"],function(l){k(w(n,w(l)))}):"object"===typeof module&&"object"===typeof module.exports?k(w(n,w(module.exports))):k(w(n))})(function(k){var w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,l){k.__proto__=l}||function(k,l){for(var n in l)l.hasOwnProperty(n)&& (k[n]=l[n])};__extends=function(k,l){function n(){this.constructor=k}w(k,l);k.prototype=null===l?Object.create(l):(n.prototype=l.prototype,new n)};__assign=Object.assign||function(k){for(var l,n=1,x=arguments.length;n<x;n++){l=arguments[n];for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&(k[t]=l[t])}return k};__rest=function(k,l){var n={},x;for(x in k)Object.prototype.hasOwnProperty.call(k,x)&&0>l.indexOf(x)&&(n[x]=k[x]);if(null!=k&&"function"===typeof Object.getOwnPropertySymbols){var t= 0;for(x=Object.getOwnPropertySymbols(k);t<x.length;t++)0>l.indexOf(x[t])&&(n[x[t]]=k[x[t]])}return n};__decorate=function(k,l,H,x){var t=arguments.length,n=3>t?l:null===x?x=Object.getOwnPropertyDescriptor(l,H):x,w;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(k,l,H,x);else for(var v=k.length-1;0<=v;v--)if(w=k[v])n=(3>t?w(n):3<t?w(l,H,n):w(l,H))||n;return 3<t&&n&&Object.defineProperty(l,H,n),n};__param=function(k,l){return function(n,x){l(n,x,k)}};__metadata= function(k,l){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(k,l)};__awaiter=function(k,l,w,x){return new (w||(w=Promise))(function(t,n){function H(k){try{E(x.next(k))}catch(q){n(q)}}function v(k){try{E(x["throw"](k))}catch(q){n(q)}}function E(k){k.done?t(k.value):(new w(function(l){l(k.value)})).then(H,v)}E((x=x.apply(k,l||[])).next())})};__generator=function(k,l){function n(k){return function(l){return x([k,l])}}function x(n){if(w)throw new TypeError("Generator is already executing."); for(;t;)try{if(w=1,I&&(v=I[n[0]&2?"return":n[0]?"throw":"next"])&&!(v=v.call(I,n[1])).done)return v;if(I=0,v)n=[0,v.value];switch(n[0]){case 0:case 1:v=n;break;case 4:return t.label++,{value:n[1],done:!1};case 5:t.label++;I=n[1];n=[0];continue;case 7:n=t.ops.pop();t.trys.pop();continue;default:if(!(v=t.trys,v=0<v.length&&v[v.length-1])&&(6===n[0]||2===n[0])){t=0;continue}if(3===n[0]&&(!v||n[1]>v[0]&&n[1]<v[3]))t.label=n[1];else if(6===n[0]&&t.label<v[1])t.label=v[1],v=n;else if(v&&t.label<v[2])t.label= v[2],t.ops.push(n);else{v[2]&&t.ops.pop();t.trys.pop();continue}}n=l.call(k,t)}catch(aa){n=[6,aa],I=0}finally{w=v=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var t={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},w,I,v;return{next:n(0),"throw":n(1),"return":n(2)}};k("__extends",__extends);k("__assign",__assign);k("__rest",__rest);k("__decorate",__decorate);k("__param",__param);k("__metadata",__metadata);k("__awaiter",__awaiter);k("__generator",__generator)}); (function(k,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):w(k.Rx=k.Rx||{})})(this,function(k){function w(b){return"function"===typeof b}function n(){try{return qa.apply(this,arguments)}catch(b){return p.e=b,p}}function l(b){qa=b;return n}function H(b){return b.reduce(function(a,c){return a.concat(c instanceof S?c.errors:c)},[])}function x(b){var a=b.subject;a.next(b.value);a.complete()}function t(b){b.subject.error(b.err)} function nb(b){var a=this,c=b.source;b=b.subscriber;var f=c.callbackFunc,d=c.args,e=c.scheduler,h=c.subject;if(!h){var h=c.subject=new P,g=function J(){for(var c=[],b=0;b<arguments.length;b++)c[b-0]=arguments[b];var f=J.source,b=f.selector,f=f.subject,d=c.shift();d?f.error(d):b?(c=l(b).apply(this,c),c===p?a.add(e.schedule(v,0,{err:p.e,subject:f})):a.add(e.schedule(I,0,{value:c,subject:f}))):a.add(e.schedule(I,0,{value:1===c.length?c[0]:c,subject:f}))};g.source=c;l(f).apply(this,d.concat(g))===p&& h.error(p.e)}a.add(h.subscribe(b))}function I(b){var a=b.subject;a.next(b.value);a.complete()}function v(b){b.subject.error(b.err)}function E(b){return b&&"function"===typeof b.schedule}function aa(b){return b&&"function"!==typeof b.subscribe&&"function"===typeof b.then}function q(b,a,c,f){var d=new ra(b,c,f);if(d.closed)return null;if(a instanceof g)if(a._isScalar)d.next(a.value),d.complete();else return a.subscribe(d);else if(F(a)){b=0;for(c=a.length;b<c&&!d.closed;b++)d.next(a[b]);d.closed||d.complete()}else{if(aa(a))return a.then(function(c){d.closed|| (d.next(c),d.complete())},function(c){return d.error(c)}).then(null,function(c){r.setTimeout(function(){throw c;})}),d;if(a&&"function"===typeof a[G]){a=a[G]();do{b=a.next();if(b.done){d.complete();break}d.next(b.value);if(d.closed)break}while(1)}else if(a&&"function"===typeof a[M])if(a=a[M](),"function"!==typeof a.subscribe)d.error(new TypeError("Provided object does not correctly implement Symbol.observable"));else return a.subscribe(new ra(b,c,f));else d.error(new TypeError("You provided "+(null!= a&&"object"===typeof a?"an invalid object":"'"+a+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}return null}function T(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];a=null;E(b[b.length-1])&&(a=b.pop());return null===a&&1===b.length?b[0]:(new K(b,a)).lift(new ba(1))}function sa(b){var a=b.value;b=b.subscriber;b.closed||(b.next(a),b.complete())}function pb(b){var a=b.err;b=b.subscriber;b.closed||b.error(a)}function ha(b){return!F(b)&& 0<=b-parseFloat(b)+1}function ta(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];var a=Number.POSITIVE_INFINITY,c=null,f=b[b.length-1];E(f)?(c=b.pop(),1<b.length&&"number"===typeof b[b.length-1]&&(a=b.pop())):"number"===typeof f&&(a=b.pop());return null===c&&1===b.length?b[0]:(new K(b,c)).lift(new ba(a))}function ua(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];if(1===b.length)if(F(b[0]))b=b[0];else return b[0];return(new K(b)).lift(new qb)}function rb(b){var a=b.obj, c=b.keys,f=b.index,d=b.subscriber;f===b.length?d.complete():(c=c[f],d.next([c,a[c]]),b.index=f+1,this.schedule(b))}function ca(b){return b instanceof Date&&!isNaN(+b)}function va(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];a=b[b.length-1];"function"===typeof a&&b.pop();return(new K(b)).lift(new wa(a))}function xa(b,a){if("function"!==typeof b)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new ya(b,a))}function sb(b,a){void 0=== a&&(a=null);return new Q({method:"GET",url:b,headers:a})}function tb(b,a,c){return new Q({method:"POST",url:b,body:a,headers:c})}function ub(b,a){return new Q({method:"DELETE",url:b,headers:a})}function vb(b,a,c){return new Q({method:"PUT",url:b,body:a,headers:c})}function wb(b,a){return(new Q({method:"GET",url:b,responseType:"json",headers:a})).lift(new ya(function(c,a){return c.response},null))}function xb(b){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];for(var c=a.length,f=0;f<c;f++){var d= a[f],e;for(e in d)d.hasOwnProperty(e)&&(b[e]=d[e])}return b}function za(b){var a=b.subscriber,c=b.context;c&&a.closeContext(c);a.closed||(b.context=a.openContext(),b.context.closeAction=this.schedule(b,b.bufferTimeSpan))}function yb(b){var a=b.bufferCreationInterval,c=b.bufferTimeSpan,f=b.subscriber,d=b.scheduler,e=f.openContext();f.closed||(f.add(e.closeAction=d.schedule(Aa,c,{subscriber:f,context:e})),this.schedule(b,a))}function Aa(b){b.subscriber.closeContext(b.context)}function Ba(b){b=new zb(b); var a=this.lift(b);return b.caught=a}function Ca(b,a,c){void 0===c&&(c=Number.POSITIVE_INFINITY);"number"===typeof a&&(c=a,a=null);return this.lift(new Da(b,a,c))}function Ea(b,a,c){void 0===c&&(c=Number.POSITIVE_INFINITY);"number"===typeof a&&(c=a,a=null);return this.lift(new Fa(b,a,c))}function Ab(b){b.debouncedNext()}function Bb(){return function(){function b(){this._values=[]}b.prototype.add=function(a){this.has(a)||this._values.push(a)};b.prototype.has=function(a){return-1!==this._values.indexOf(a)}; Object.defineProperty(b.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0});b.prototype.clear=function(){this._values.length=0};return b}()}function Ga(b,a){return this.lift(new Cb(b,a))}function Ha(b,a,c){return this.lift(new Db(b,a,c))}function ia(b,a){return this.lift(new Eb(b,a))}function Ia(b){return this.lift(new Fb(b))}function Gb(b){b.clearThrottle()}function Ja(b){return b(this)}function N(b,a){var c;c="function"===typeof b?b:function(){return b}; if("function"===typeof a)return this.lift(new Hb(c,a));a=Object.create(this,Ib);a.source=this;a.subjectFactory=c;return a}function Jb(b,a){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=b;c.thisArg=a;return c}function Kb(b,a){return function(c){var f=c;for(c=0;c<a;c++)if(f=f[b[c]],"undefined"===typeof f)return;return f}}function Lb(b){var a=b.period;b.subscriber.notifyNext();this.schedule(b,a)}function Mb(){return new z}function Ka(){return this.lift(new Nb)}function Ob(b){b.subscriber.clearThrottle()} function Pb(b){var a=b.subscriber,c=b.windowTimeSpan,f=b.window;f&&f.complete();b.window=a.openWindow();this.schedule(b,c)}function Qb(b){var a=b.windowTimeSpan,c=b.subscriber,f=b.scheduler,d=b.windowCreationInterval,e=c.openWindow(),h={action:this,subscription:null};h.subscription=f.schedule(La,a,{subscriber:c,window:e,context:h});this.add(h.subscription);this.schedule(b,d)}function La(b){var a=b.subscriber,c=b.window;(b=b.context)&&b.action&&b.subscription&&b.action.remove(b.subscription);a.closeWindow(c)} function Ma(b,a){for(var c=0,f=a.length;c<f;c++)for(var d=a[c],e=Object.getOwnPropertyNames(d.prototype),h=0,g=e.length;h<g;h++){var A=e[h];b.prototype[A]=d.prototype[A]}}var r="object"==typeof window&&window.window===window&&window||"object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if(!r)throw Error("RxJS could not find any global context (window, self, global)");var F=Array.isArray||function(b){return b&&"number"===typeof b.length},p={e:{}},qa, S=function(b){function a(c){b.call(this);this.errors=c;c=Error.call(this,c?c.length+" errors occurred during unsubscription:\n "+c.map(function(c,a){return a+1+") "+c.toString()}).join("\n "):"");this.name=c.name="UnsubscriptionError";this.stack=c.stack;this.message=c.message}__extends(a,b);return a}(Error),y=function(){function b(a){this.closed=!1;a&&(this._unsubscribe=a)}b.prototype.unsubscribe=function(){var a=!1,c;if(!this.closed){this.closed=!0;var b=this._unsubscribe,d=this._subscriptions; this._subscriptions=null;if(w(b)){var e=l(b).call(this);e===p&&(a=!0,c=c||(p.e instanceof S?H(p.e.errors):[p.e]))}if(F(d))for(var b=-1,h=d.length;++b<h;)e=d[b],null!=e&&"object"===typeof e&&(e=l(e.unsubscribe).call(e),e===p&&(a=!0,c=c||[],e=p.e,e instanceof S?c=c.concat(H(e.errors)):c.push(e)));if(a)throw new S(c);}};b.prototype.add=function(a){if(!a||a===b.EMPTY)return b.EMPTY;if(a===this)return this;var c=a;switch(typeof a){case "function":c=new b(a);case "object":if(c.closed||"function"!==typeof c.unsubscribe)return c; if(this.closed)return c.unsubscribe(),c;break;default:throw Error("unrecognized teardown "+a+" added to Subscription.");}a=new Rb(c,this);this._subscriptions=this._subscriptions||[];this._subscriptions.push(a);return a};b.prototype.remove=function(a){if(null!=a&&a!==this&&a!==b.EMPTY){var c=this._subscriptions;c&&(a=c.indexOf(a),-1!==a&&c.splice(a,1))}};b.EMPTY=function(a){a.closed=!0;return a}(new b);return b}(),Rb=function(b){function a(c,a){b.call(this);this._innerSub=c;this._parent=a}__extends(a, b);a.prototype._unsubscribe=function(){var c=this._innerSub;this._parent.remove(this);c.unsubscribe()};return a}(y),ja={closed:!0,next:function(b){},error:function(b){throw b;},complete:function(){}},ka=r.Symbol,U="function"===typeof ka&&"function"===typeof ka.for?ka.for("rxSubscriber"):"@@rxSubscriber",m=function(b){function a(c,f,d){b.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=ja;break;case 1:if(!c){this.destination= ja;break}if("object"===typeof c){c instanceof a?(this.destination=c,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new Na(this,c));break}default:this.syncErrorThrowable=!0,this.destination=new Na(this,c,f,d)}}__extends(a,b);a.prototype[U]=function(){return this};a.create=function(c,b,d){c=new a(c,b,d);c.syncErrorThrowable=!1;return c};a.prototype.next=function(c){this.isStopped||this._next(c)};a.prototype.error=function(c){this.isStopped||(this.isStopped=!0,this._error(c))}; a.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};a.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,b.prototype.unsubscribe.call(this))};a.prototype._next=function(c){this.destination.next(c)};a.prototype._error=function(c){this.destination.error(c);this.unsubscribe()};a.prototype._complete=function(){this.destination.complete();this.unsubscribe()};return a}(y),Na=function(b){function a(c,a,d,e){b.call(this);this._parent=c;var f;c=this;w(a)?f=a: a&&(c=a,f=a.next,d=a.error,e=a.complete,w(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this));this._context=c;this._next=f;this._error=d;this._complete=e}__extends(a,b);a.prototype.next=function(c){if(!this.isStopped&&this._next){var a=this._parent;a.syncErrorThrowable?this.__tryOrSetError(a,this._next,c)&&this.unsubscribe():this.__tryOrUnsub(this._next,c)}};a.prototype.error=function(c){if(!this.isStopped){var a=this._parent;if(this._error)a.syncErrorThrowable? this.__tryOrSetError(a,this._error,c):this.__tryOrUnsub(this._error,c),this.unsubscribe();else if(a.syncErrorThrowable)a.syncErrorValue=c,a.syncErrorThrown=!0,this.unsubscribe();else throw this.unsubscribe(),c;}};a.prototype.complete=function(){if(!this.isStopped){var c=this._parent;this._complete&&(c.syncErrorThrowable?this.__tryOrSetError(c,this._complete):this.__tryOrUnsub(this._complete));this.unsubscribe()}};a.prototype.__tryOrUnsub=function(c,a){try{c.call(this._context,a)}catch(d){throw this.unsubscribe(), d;}};a.prototype.__tryOrSetError=function(c,a,b){try{a.call(this._context,b)}catch(e){return c.syncErrorValue=e,c.syncErrorThrown=!0}return!1};a.prototype._unsubscribe=function(){var c=this._parent;this._parent=this._context=null;c.unsubscribe()};return a}(m),M=function(b){var a=b.Symbol;"function"===typeof a?a.observable?b=a.observable:(b=a("observable"),a.observable=b):b="@@observable";return b}(r),g=function(){function b(a){this._isScalar=!1;a&&(this._subscribe=a)}b.prototype.lift=function(a){var c= new b;c.source=this;c.operator=a;return c};b.prototype.subscribe=function(a,c,b){var f=this.operator;a:{if(a){if(a instanceof m)break a;if(a[U]){a=a[U]();break a}}a=a||c||b?new m(a,c,b):new m(ja)}f?f.call(a,this.source):a.add(this._subscribe(a));if(a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};b.prototype.forEach=function(a,c){var b=this;c||(r.Rx&&r.Rx.config&&r.Rx.config.Promise?c=r.Rx.config.Promise:r.Promise&&(c=r.Promise));if(!c)throw Error("no Promise impl found"); return new c(function(c,f){var d=b.subscribe(function(c){if(d)try{a(c)}catch(A){f(A),d.unsubscribe()}else a(c)},f,c)})};b.prototype._subscribe=function(a){return this.source.subscribe(a)};b.prototype[M]=function(){return this};b.create=function(a){return new b(a)};return b}(),O=function(b){function a(){var c=b.call(this,"object unsubscribed");this.name=c.name="ObjectUnsubscribedError";this.stack=c.stack;this.message=c.message}__extends(a,b);return a}(Error),Oa=function(b){function a(c,a){b.call(this); this.subject=c;this.subscriber=a;this.closed=!1}__extends(a,b);a.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var c=this.subject,a=c.observers;this.subject=null;!a||0===a.length||c.isStopped||c.closed||(c=a.indexOf(this.subscriber),-1!==c&&a.splice(c,1))}};return a}(y),Pa=function(b){function a(c){b.call(this,c);this.destination=c}__extends(a,b);return a}(m),z=function(b){function a(){b.call(this);this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null} __extends(a,b);a.prototype[U]=function(){return new Pa(this)};a.prototype.lift=function(c){var a=new da(this,this);a.operator=c;return a};a.prototype.next=function(c){if(this.closed)throw new O;if(!this.isStopped)for(var a=this.observers,b=a.length,a=a.slice(),e=0;e<b;e++)a[e].next(c)};a.prototype.error=function(c){if(this.closed)throw new O;this.hasError=!0;this.thrownError=c;this.isStopped=!0;for(var a=this.observers,b=a.length,a=a.slice(),e=0;e<b;e++)a[e].error(c);this.observers.length=0};a.prototype.complete= function(){if(this.closed)throw new O;this.isStopped=!0;for(var c=this.observers,a=c.length,c=c.slice(),b=0;b<a;b++)c[b].complete();this.observers.length=0};a.prototype.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};a.prototype._subscribe=function(c){if(this.closed)throw new O;if(this.hasError)return c.error(this.thrownError),y.EMPTY;if(this.isStopped)return c.complete(),y.EMPTY;this.observers.push(c);return new Oa(this,c)};a.prototype.asObservable=function(){var c=new g; c.source=this;return c};a.create=function(c,a){return new da(c,a)};return a}(g),da=function(b){function a(c,a){b.call(this);this.destination=c;this.source=a}__extends(a,b);a.prototype.next=function(c){var a=this.destination;a&&a.next&&a.next(c)};a.prototype.error=function(c){var a=this.destination;a&&a.error&&this.destination.error(c)};a.prototype.complete=function(){var c=this.destination;c&&c.complete&&this.destination.complete()};a.prototype._subscribe=function(c){return this.source?this.source.subscribe(c): y.EMPTY};return a}(z),P=function(b){function a(){b.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1}__extends(a,b);a.prototype._subscribe=function(c){return this.hasCompleted&&this.hasNext?(c.next(this.value),c.complete(),y.EMPTY):this.hasError?(c.error(this.thrownError),y.EMPTY):b.prototype._subscribe.call(this,c)};a.prototype.next=function(c){this.hasCompleted||(this.value=c,this.hasNext=!0)};a.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&b.prototype.next.call(this, this.value);b.prototype.complete.call(this)};return a}(z),Sb=function(b){function a(c,a,d,e){b.call(this);this.callbackFunc=c;this.selector=a;this.args=d;this.scheduler=e}__extends(a,b);a.create=function(c,b,d){void 0===b&&(b=void 0);return function(){for(var f=[],h=0;h<arguments.length;h++)f[h-0]=arguments[h];return new a(c,b,f,d)}};a.prototype._subscribe=function(c){var b=this.callbackFunc,d=this.args,e=this.scheduler,h=this.subject;if(e)return e.schedule(a.dispatch,0,{source:this,subscriber:c}); h||(h=this.subject=new P,e=function A(){for(var c=[],a=0;a<arguments.length;a++)c[a-0]=arguments[a];var b=A.source,a=b.selector,b=b.subject;a?(c=l(a).apply(this,c),c===p?b.error(p.e):(b.next(c),b.complete())):(b.next(1===c.length?c[0]:c),b.complete())},e.source=this,l(b).apply(this,d.concat(e))===p&&h.error(p.e));return h.subscribe(c)};a.dispatch=function(c){var a=this,b=c.source;c=c.subscriber;var e=b.callbackFunc,h=b.args,g=b.scheduler,A=b.subject;if(!A){var A=b.subject=new P,k=function ob(){for(var c= [],b=0;b<arguments.length;b++)c[b-0]=arguments[b];var f=ob.source,b=f.selector,f=f.subject;b?(c=l(b).apply(this,c),c===p?a.add(g.schedule(t,0,{err:p.e,subject:f})):a.add(g.schedule(x,0,{value:c,subject:f}))):a.add(g.schedule(x,0,{value:1===c.length?c[0]:c,subject:f}))};k.source=b;l(e).apply(this,h.concat(k))===p&&A.error(p.e)}a.add(A.subscribe(c))};return a}(g).create;g.bindCallback=Sb;var Tb=function(b){function a(c,a,d,e){b.call(this);this.callbackFunc=c;this.selector=a;this.args=d;this.scheduler= e}__extends(a,b);a.create=function(c,b,d){void 0===b&&(b=void 0);return function(){for(var f=[],h=0;h<arguments.length;h++)f[h-0]=arguments[h];return new a(c,b,f,d)}};a.prototype._subscribe=function(c){var a=this.callbackFunc,b=this.args,e=this.scheduler,h=this.subject;if(e)return e.schedule(nb,0,{source:this,subscriber:c});h||(h=this.subject=new P,e=function A(){for(var c=[],a=0;a<arguments.length;a++)c[a-0]=arguments[a];var b=A.source,a=b.selector,b=b.subject,f=c.shift();f?b.error(f):a?(c=l(a).apply(this, c),c===p?b.error(p.e):(b.next(c),b.complete())):(b.next(1===c.length?c[0]:c),b.complete())},e.source=this,l(a).apply(this,b.concat(e))===p&&h.error(p.e));return h.subscribe(c)};return a}(g).create;g.bindNodeCallback=Tb;var la=function(b){function a(c,a){b.call(this);this.value=c;this.scheduler=a;this._isScalar=!0;a&&(this._isScalar=!1)}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.dispatch=function(c){var a=c.value,b=c.subscriber;c.done?b.complete():(b.next(a),b.closed||(c.done=!0,this.schedule(c)))}; a.prototype._subscribe=function(c){var b=this.value,d=this.scheduler;if(d)return d.schedule(a.dispatch,0,{done:!1,value:b,subscriber:c});c.next(b);c.closed||c.complete()};return a}(g),L=function(b){function a(c){b.call(this);this.scheduler=c}__extends(a,b);a.create=function(c){return new a(c)};a.dispatch=function(c){c.subscriber.complete()};a.prototype._subscribe=function(c){var b=this.scheduler;if(b)return b.schedule(a.dispatch,0,{subscriber:c});c.complete()};return a}(g),K=function(b){function a(c, a){b.call(this);this.array=c;this.scheduler=a;a||1!==c.length||(this._isScalar=!0,this.value=c[0])}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.of=function(){for(var c=[],b=0;b<arguments.length;b++)c[b-0]=arguments[b];b=c[c.length-1];E(b)?c.pop():b=null;var d=c.length;return 1<d?new a(c,b):1===d?new la(c[0],b):new L(b)};a.dispatch=function(c){var a=c.array,b=c.index,e=c.subscriber;b>=c.count?e.complete():(e.next(a[b]),e.closed||(c.index=b+1,this.schedule(c)))};a.prototype._subscribe= function(c){var b=this.array,d=b.length,e=this.scheduler;if(e)return e.schedule(a.dispatch,0,{array:b,index:0,count:d,subscriber:c});for(e=0;e<d&&!c.closed;e++)c.next(b[e]);c.complete()};return a}(g),u=function(b){function a(){b.apply(this,arguments)}__extends(a,b);a.prototype.notifyNext=function(c,a,b,e,h){this.destination.next(a)};a.prototype.notifyError=function(c,a){this.destination.error(c)};a.prototype.notifyComplete=function(c){this.destination.complete()};return a}(m),G=function(b){var a= b.Symbol;if("function"===typeof a)return a.iterator||(a.iterator=a("iterator polyfill")),a.iterator;if((a=b.Set)&&"function"===typeof(new a)["@@iterator"])return"@@iterator";if(b=b.Map)for(var a=Object.getOwnPropertyNames(b.prototype),c=0;c<a.length;++c){var f=a[c];if("entries"!==f&&"size"!==f&&b.prototype[f]===b.prototype.entries)return f}return"@@iterator"}(r),ra=function(b){function a(c,a,d){b.call(this);this.parent=c;this.outerValue=a;this.outerIndex=d;this.index=0}__extends(a,b);a.prototype._next= function(c){this.parent.notifyNext(this.outerValue,c,this.outerIndex,this.index++,this)};a.prototype._error=function(c){this.parent.notifyError(c,this);this.unsubscribe()};a.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};return a}(m),Qa={},ma=function(){function b(a){this.project=a}b.prototype.call=function(a,c){return c.subscribe(new Ub(a,this.project))};return b}(),Ub=function(b){function a(c,a){b.call(this,c);this.project=a;this.active=0;this.values=[];this.observables= []}__extends(a,b);a.prototype._next=function(c){this.values.push(Qa);this.observables.push(c)};a.prototype._complete=function(){var c=this.observables,a=c.length;if(0===a)this.destination.complete();else{this.toRespond=this.active=a;for(var b=0;b<a;b++){var e=c[b];this.add(q(this,e,e,b))}}};a.prototype.notifyComplete=function(c){0===--this.active&&this.destination.complete()};a.prototype.notifyNext=function(c,a,b,e,h){c=this.values;e=c[b];e=this.toRespond?e===Qa?--this.toRespond:this.toRespond:0; c[b]=a;0===e&&(this.project?this._tryProject(c):this.destination.next(c.slice()))};a.prototype._tryProject=function(c){var a;try{a=this.project.apply(this,c)}catch(d){this.destination.error(d);return}this.destination.next(a)};return a}(u);g.combineLatest=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];var c=a=null;E(b[b.length-1])&&(c=b.pop());"function"===typeof b[b.length-1]&&(a=b.pop());1===b.length&&F(b[0])&&(b=b[0]);return(new K(b,c)).lift(new ma(a))};var ba=function(){function b(a){this.concurrent= a}b.prototype.call=function(a,c){return c.subscribe(new Vb(a,this.concurrent))};return b}(),Vb=function(b){function a(c,a){b.call(this,c);this.concurrent=a;this.hasCompleted=!1;this.buffer=[];this.active=0}__extends(a,b);a.prototype._next=function(c){this.active<this.concurrent?(this.active++,this.add(q(this,c))):this.buffer.push(c)};a.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete()};a.prototype.notifyComplete=function(c){var a= this.buffer;this.remove(c);this.active--;0<a.length?this._next(a.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};return a}(u);g.concat=T;var Xb=function(b){function a(c){b.call(this);this.observableFactory=c}__extends(a,b);a.create=function(c){return new a(c)};a.prototype._subscribe=function(c){return new Wb(c,this.observableFactory)};return a}(g),Wb=function(b){function a(c,a){b.call(this,c);this.factory=a;this.tryDefer()}__extends(a,b);a.prototype.tryDefer=function(){try{this._callFactory()}catch(c){this._error(c)}}; a.prototype._callFactory=function(){var c=this.factory();c&&this.add(q(this,c))};return a}(u);g.defer=Xb.create;g.empty=L.create;var Zb=function(b){function a(c,a){b.call(this);this.sources=c;this.resultSelector=a}__extends(a,b);a.create=function(){for(var c=[],b=0;b<arguments.length;b++)c[b-0]=arguments[b];if(null===c||0===arguments.length)return new L;b=null;"function"===typeof c[c.length-1]&&(b=c.pop());1===c.length&&F(c[0])&&(c=c[0]);return 0===c.length?new L:new a(c,b)};a.prototype._subscribe= function(c){return new Yb(c,this.sources,this.resultSelector)};return a}(g),Yb=function(b){function a(c,a,d){b.call(this,c);this.sources=a;this.resultSelector=d;this.haveValues=this.completed=0;this.total=c=a.length;this.values=Array(c);for(d=0;d<c;d++){var f=q(this,a[d],null,d);f&&(f.outerIndex=d,this.add(f))}}__extends(a,b);a.prototype.notifyNext=function(c,a,b,e,h){this.values[b]=a;h._hasValue||(h._hasValue=!0,this.haveValues++)};a.prototype.notifyComplete=function(c){var a=this.destination,b= this.haveValues,e=this.resultSelector,h=this.values,g=h.length;c._hasValue?(this.completed++,this.completed===g&&(b===g&&(c=e?e.apply(this,h):h,a.next(c)),a.complete())):a.complete()};return a}(u);g.forkJoin=Zb.create;var Ra=function(b){function a(c,a){b.call(this);this.promise=c;this.scheduler=a}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.prototype._subscribe=function(c){var a=this,b=this.promise,e=this.scheduler;if(null==e)this._isScalar?c.closed||(c.next(this.value),c.complete()): b.then(function(b){a.value=b;a._isScalar=!0;c.closed||(c.next(b),c.complete())},function(a){c.closed||c.error(a)}).then(null,function(c){r.setTimeout(function(){throw c;})});else if(this._isScalar){if(!c.closed)return e.schedule(sa,0,{value:this.value,subscriber:c})}else b.then(function(b){a.value=b;a._isScalar=!0;c.closed||c.add(e.schedule(sa,0,{value:b,subscriber:c}))},function(a){c.closed||c.add(e.schedule(pb,0,{err:a,subscriber:c}))}).then(null,function(c){r.setTimeout(function(){throw c;})})}; return a}(g),bc=function(b){function a(c,a){b.call(this);this.scheduler=a;if(null==c)throw Error("iterator cannot be null.");if((a=c[G])||"string"!==typeof c)if(a||void 0===c.length){if(!a)throw new TypeError("object is not iterable");c=c[G]()}else c=new $b(c);else c=new ac(c);this.iterator=c}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.dispatch=function(c){var a=c.index,b=c.iterator,e=c.subscriber;if(c.hasError)e.error(c.error);else{var h=b.next();h.done?e.complete():(e.next(h.value), c.index=a+1,e.closed?"function"===typeof b.return&&b.return():this.schedule(c))}};a.prototype._subscribe=function(c){var b=this.iterator,d=this.scheduler;if(d)return d.schedule(a.dispatch,0,{index:0,iterator:b,subscriber:c});do{d=b.next();if(d.done){c.complete();break}else c.next(d.value);if(c.closed){"function"===typeof b.return&&b.return();break}}while(1)};return a}(g),ac=function(){function b(a,c,b){void 0===c&&(c=0);void 0===b&&(b=a.length);this.str=a;this.idx=c;this.len=b}b.prototype[G]=function(){return this}; b.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}};return b}(),$b=function(){function b(a,c,b){void 0===c&&(c=0);if(void 0===b)if(b=+a.length,isNaN(b))b=0;else if(0!==b&&"number"===typeof b&&r.isFinite(b)){var f;f=+b;f=0===f?f:isNaN(f)?f:0>f?-1:1;b=f*Math.floor(Math.abs(b));b=0>=b?0:b>Sa?Sa:b}this.arr=a;this.idx=c;this.len=b}b.prototype[G]=function(){return this};b.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}: {done:!0,value:void 0}};return b}(),Sa=Math.pow(2,53)-1,cc=function(b){function a(c,a){b.call(this);this.arrayLike=c;this.scheduler=a;a||1!==c.length||(this._isScalar=!0,this.value=c[0])}__extends(a,b);a.create=function(c,b){var f=c.length;return 0===f?new L:1===f?new la(c[0],b):new a(c,b)};a.dispatch=function(c){var a=c.arrayLike,b=c.index,e=c.subscriber;e.closed||(b>=c.length?e.complete():(e.next(a[b]),c.index=b+1,this.schedule(c)))};a.prototype._subscribe=function(c){var b=this.arrayLike,d=this.scheduler, e=b.length;if(d)return d.schedule(a.dispatch,0,{arrayLike:b,index:0,length:e,subscriber:c});for(d=0;d<e&&!c.closed;d++)c.next(b[d]);c.complete()};return a}(g),B=function(){function b(a,c,b){this.kind=a;this.value=c;this.error=b;this.hasValue="N"===a}b.prototype.observe=function(a){switch(this.kind){case "N":return a.next&&a.next(this.value);case "E":return a.error&&a.error(this.error);case "C":return a.complete&&a.complete()}};b.prototype.do=function(a,c,b){switch(this.kind){case "N":return a&&a(this.value); case "E":return c&&c(this.error);case "C":return b&&b()}};b.prototype.accept=function(a,c,b){return a&&"function"===typeof a.next?this.observe(a):this.do(a,c,b)};b.prototype.toObservable=function(){switch(this.kind){case "N":return g.of(this.value);case "E":return g.throw(this.error);case "C":return g.empty()}throw Error("unexpected notification kind value");};b.createNext=function(a){return"undefined"!==typeof a?new b("N",a):this.undefinedValueNotification};b.createError=function(a){return new b("E", void 0,a)};b.createComplete=function(){return this.completeNotification};b.completeNotification=new b("C");b.undefinedValueNotification=new b("N",void 0);return b}(),dc=function(){function b(a,c){void 0===c&&(c=0);this.scheduler=a;this.delay=c}b.prototype.call=function(a,c){return c.subscribe(new na(a,this.scheduler,this.delay))};return b}(),na=function(b){function a(c,a,d){void 0===d&&(d=0);b.call(this,c);this.scheduler=a;this.delay=d}__extends(a,b);a.dispatch=function(c){var a=c.subscription;c.notification.observe(c.destination); a&&a.unsubscribe()};a.prototype.scheduleMessage=function(c){c=new ec(c,this.destination);c.subscription=this.add(this.scheduler.schedule(a.dispatch,this.delay,c))};a.prototype._next=function(c){this.scheduleMessage(B.createNext(c))};a.prototype._error=function(c){this.scheduleMessage(B.createError(c))};a.prototype._complete=function(){this.scheduleMessage(B.createComplete())};return a}(m),ec=function(){return function(b,a){this.notification=b;this.destination=a}}(),Ta=function(b){function a(c,a){b.call(this, null);this.ish=c;this.scheduler=a}__extends(a,b);a.create=function(c,b){if(null!=c){if("function"===typeof c[M])return c instanceof g&&!b?c:new a(c,b);if(F(c))return new K(c,b);if(aa(c))return new Ra(c,b);if("function"===typeof c[G]||"string"===typeof c)return new bc(c,b);if(c&&"number"===typeof c.length)return new cc(c,b)}throw new TypeError((null!==c&&typeof c||c)+" is not observable");};a.prototype._subscribe=function(c){var a=this.ish,b=this.scheduler;return null==b?a[M]().subscribe(c):a[M]().subscribe(new na(c, b,0))};return a}(g);g.from=Ta.create;var Ua=Object.prototype.toString,fc=function(b){function a(c,a,d,e){b.call(this);this.sourceObj=c;this.eventName=a;this.selector=d;this.options=e}__extends(a,b);a.create=function(c,b,d,e){w(d)&&(e=d,d=void 0);return new a(c,b,e,d)};a.setupSubscription=function(c,b,d,e,h){var f;if(c&&"[object NodeList]"===Ua.call(c)||c&&"[object HTMLCollection]"===Ua.call(c))for(var g=0,k=c.length;g<k;g++)a.setupSubscription(c[g],b,d,e,h);else if(c&&"function"===typeof c.addEventListener&& "function"===typeof c.removeEventListener)c.addEventListener(b,d,h),f=function(){return c.removeEventListener(b,d)};else if(c&&"function"===typeof c.on&&"function"===typeof c.off)c.on(b,d),f=function(){return c.off(b,d)};else if(c&&"function"===typeof c.addListener&&"function"===typeof c.removeListener)c.addListener(b,d),f=function(){return c.removeListener(b,d)};else throw new TypeError("Invalid event target");e.add(new y(f))};a.prototype._subscribe=function(c){var b=this.selector;a.setupSubscription(this.sourceObj, this.eventName,b?function(){for(var a=[],f=0;f<arguments.length;f++)a[f-0]=arguments[f];a=l(b).apply(void 0,a);a===p?c.error(p.e):c.next(a)}:function(a){return c.next(a)},c,this.options)};return a}(g).create;g.fromEvent=fc;var gc=function(b){function a(c,a,d){b.call(this);this.addHandler=c;this.removeHandler=a;this.selector=d}__extends(a,b);a.create=function(c,b,d){return new a(c,b,d)};a.prototype._subscribe=function(c){var a=this,b=this.removeHandler,e=this.selector?function(){for(var b=[],f=0;f< arguments.length;f++)b[f-0]=arguments[f];a._callSelector(c,b)}:function(a){c.next(a)};this._callAddHandler(e,c);c.add(new y(function(){b(e)}))};a.prototype._callSelector=function(c,a){try{var b=this.selector.apply(this,a);c.next(b)}catch(e){c.error(e)}};a.prototype._callAddHandler=function(c,a){try{this.addHandler(c)}catch(d){a.error(d)}};return a}(g).create;g.fromEventPattern=gc;g.fromPromise=Ra.create;var Va=function(b){return b},hc=function(b){function a(c,a,d,e,h){b.call(this);this.initialState= c;this.condition=a;this.iterate=d;this.resultSelector=e;this.scheduler=h}__extends(a,b);a.create=function(c,b,d,e,h){return 1==arguments.length?new a(c.initialState,c.condition,c.iterate,c.resultSelector||Va,c.scheduler):void 0===e||E(e)?new a(c,b,d,Va,e):new a(c,b,d,e,h)};a.prototype._subscribe=function(c){var b=this.initialState;if(this.scheduler)return this.scheduler.schedule(a.dispatch,0,{subscriber:c,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:b});var d= this.condition,e=this.resultSelector,h=this.iterate;do{if(d){var g=void 0;try{g=d(b)}catch(A){c.error(A);break}if(!g){c.complete();break}}g=void 0;try{g=e(b)}catch(A){c.error(A);break}c.next(g);if(c.closed)break;try{b=h(b)}catch(A){c.error(A);break}}while(1)};a.dispatch=function(c){var a=c.subscriber,b=c.condition;if(!a.closed){if(c.needIterate)try{c.state=c.iterate(c.state)}catch(D){a.error(D);return}else c.needIterate=!0;if(b){var e=void 0;try{e=b(c.state)}catch(D){a.error(D);return}if(!e){a.complete(); return}if(a.closed)return}var h;try{h=c.resultSelector(c.state)}catch(D){a.error(D);return}if(!a.closed&&(a.next(h),!a.closed))return this.schedule(c)}};return a}(g);g.generate=hc.create;var jc=function(b){function a(c,a,d){b.call(this);this.condition=c;this.thenSource=a;this.elseSource=d}__extends(a,b);a.create=function(c,b,d){return new a(c,b,d)};a.prototype._subscribe=function(c){return new ic(c,this.condition,this.thenSource,this.elseSource)};return a}(g),ic=function(b){function a(c,a,d,e){b.call(this, c);this.condition=a;this.thenSource=d;this.elseSource=e;this.tryIf()}__extends(a,b);a.prototype.tryIf=function(){var c=this.condition,a=this.thenSource,b=this.elseSource,e;try{(c=(e=c())?a:b)?this.add(q(this,c)):this._complete()}catch(h){this._error(h)}};return a}(u);g.if=jc.create;var V=function(b){function a(c,a){b.call(this,c,a);this.scheduler=c;this.work=a;this.pending=!1}__extends(a,b);a.prototype.schedule=function(c,a){void 0===a&&(a=0);if(this.closed)return this;this.state=c;this.pending=!0; c=this.id;var b=this.scheduler;null!=c&&(this.id=this.recycleAsyncId(b,c,a));this.delay=a;this.id=this.id||this.requestAsyncId(b,this.id,a);return this};a.prototype.requestAsyncId=function(c,a,b){void 0===b&&(b=0);return r.setInterval(c.flush.bind(c,this),b)};a.prototype.recycleAsyncId=function(c,a,b){void 0===b&&(b=0);return null!==b&&this.delay===b?a:(r.clearInterval(a),void 0)};a.prototype.execute=function(c,a){if(this.closed)return Error("executing a cancelled action");this.pending=!1;if(c=this._execute(c, a))return c;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};a.prototype._execute=function(c,a){a=!1;var b=void 0;try{this.work(c)}catch(e){a=!0,b=!!e&&e||Error(e)}if(a)return this.unsubscribe(),b};a.prototype._unsubscribe=function(){var c=this.id,a=this.scheduler,b=a.actions,e=b.indexOf(this);this.state=this.delay=this.work=null;this.pending=!1;this.scheduler=null;-1!==e&&b.splice(e,1);null!=c&&(this.id=this.recycleAsyncId(a,c,null))};return a}(function(b){function a(c, a){b.call(this)}__extends(a,b);a.prototype.schedule=function(c,a){return this};return a}(y)),W=function(b){function a(){b.apply(this,arguments);this.actions=[];this.active=!1;this.scheduled=void 0}__extends(a,b);a.prototype.flush=function(c){var a=this.actions;if(this.active)a.push(c);else{var b;this.active=!0;do if(b=c.execute(c.state,c.delay))break;while(c=a.shift());this.active=!1;if(b){for(;c=a.shift();)c.unsubscribe();throw b;}}};return a}(function(){function b(a,c){void 0===c&&(c=b.now);this.SchedulerAction= a;this.now=c}b.prototype.schedule=function(a,c,b){void 0===c&&(c=0);return(new this.SchedulerAction(this,a)).schedule(b,c)};b.now=Date.now?Date.now:function(){return+new Date};return b}()),C=new W(V),kc=function(b){function a(c,a){void 0===c&&(c=0);void 0===a&&(a=C);b.call(this);this.period=c;this.scheduler=a;if(!ha(c)||0>c)this.period=0;a&&"function"===typeof a.schedule||(this.scheduler=C)}__extends(a,b);a.create=function(c,b){void 0===c&&(c=0);void 0===b&&(b=C);return new a(c,b)};a.dispatch=function(c){var a= c.subscriber,b=c.period;a.next(c.index);a.closed||(c.index+=1,this.schedule(c,b))};a.prototype._subscribe=function(c){var b=this.period;c.add(this.scheduler.schedule(a.dispatch,b,{index:0,subscriber:c,period:b}))};return a}(g).create;g.interval=kc;g.merge=ta;var qb=function(){function b(){}b.prototype.call=function(a,c){return c.subscribe(new lc(a))};return b}(),lc=function(b){function a(c){b.call(this,c);this.hasFirst=!1;this.observables=[];this.subscriptions=[]}__extends(a,b);a.prototype._next= function(c){this.observables.push(c)};a.prototype._complete=function(){var c=this.observables,a=c.length;if(0===a)this.destination.complete();else{for(var b=0;b<a&&!this.hasFirst;b++){var e=c[b],e=q(this,e,e,b);this.subscriptions&&this.subscriptions.push(e);this.add(e)}this.observables=null}};a.prototype.notifyNext=function(c,a,b,e,h){if(!this.hasFirst){this.hasFirst=!0;for(c=0;c<this.subscriptions.length;c++)c!==b&&(e=this.subscriptions[c],e.unsubscribe(),this.remove(e));this.subscriptions=null}this.destination.next(a)}; return a}(u);g.race=ua;var mc=function(b){function a(){b.call(this)}__extends(a,b);a.create=function(){return new a};a.prototype._subscribe=function(c){};return a}(g).create;g.never=mc;g.of=K.of;var Wa=function(){function b(a){this.nextSources=a}b.prototype.call=function(a,c){return c.subscribe(new nc(a,this.nextSources))};return b}(),nc=function(b){function a(c,a){b.call(this,c);this.destination=c;this.nextSources=a}__extends(a,b);a.prototype.notifyError=function(c,a){this.subscribeToNextSource()}; a.prototype.notifyComplete=function(c){this.subscribeToNextSource()};a.prototype._error=function(c){this.subscribeToNextSource()};a.prototype._complete=function(){this.subscribeToNextSource()};a.prototype.subscribeToNextSource=function(){var c=this.nextSources.shift();c?this.add(q(this,c)):this.destination.complete()};return a}(u);g.onErrorResumeNext=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];1===b.length&&F(b[0])&&(b=b[0]);a=b.shift();return(new Ta(a,null)).lift(new Wa(b))}; var oc=function(b){function a(c,a){b.call(this);this.obj=c;this.scheduler=a;this.keys=Object.keys(c)}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.prototype._subscribe=function(c){var a=this.keys,b=this.scheduler,e=a.length;if(b)return b.schedule(rb,0,{obj:this.obj,keys:a,length:e,index:0,subscriber:c});for(b=0;b<e;b++){var h=a[b];c.next([h,this.obj[h]])}c.complete()};return a}(g).create;g.pairs=oc;var pc=function(b){function a(c,a,d){b.call(this);this.start=c;this._count=a;this.scheduler= d}__extends(a,b);a.create=function(c,b,d){void 0===c&&(c=0);void 0===b&&(b=0);return new a(c,b,d)};a.dispatch=function(c){var a=c.start,b=c.index,e=c.subscriber;b>=c.count?e.complete():(e.next(a),e.closed||(c.index=b+1,c.start=a+1,this.schedule(c)))};a.prototype._subscribe=function(c){var b=0,d=this.start,e=this._count,h=this.scheduler;if(h)return h.schedule(a.dispatch,0,{index:b,count:e,start:d,subscriber:c});do{if(b++>=e){c.complete();break}c.next(d++);if(c.closed)break}while(1)};return a}(g).create; g.range=pc;var rc=function(b){function a(c,a){b.call(this);this.resourceFactory=c;this.observableFactory=a}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.prototype._subscribe=function(c){var a=this.resourceFactory,b=this.observableFactory,e;try{return e=a(),new qc(c,e,b)}catch(h){c.error(h)}};return a}(g),qc=function(b){function a(c,a,d){b.call(this,c);this.resource=a;this.observableFactory=d;c.add(a);this.tryUse()}__extends(a,b);a.prototype.tryUse=function(){try{var c=this.observableFactory.call(this, this.resource);c&&this.add(q(this,c))}catch(f){this._error(f)}};return a}(u);g.using=rc.create;var sc=function(b){function a(c,a){b.call(this);this.error=c;this.scheduler=a}__extends(a,b);a.create=function(c,b){return new a(c,b)};a.dispatch=function(c){c.subscriber.error(c.error)};a.prototype._subscribe=function(c){var b=this.error,d=this.scheduler;if(d)return d.schedule(a.dispatch,0,{error:b,subscriber:c});c.error(b)};return a}(g).create;g.throw=sc;var tc=function(b){function a(c,a,d){void 0===c&& (c=0);b.call(this);this.period=-1;this.dueTime=0;ha(a)?this.period=1>Number(a)&&1||Number(a):E(a)&&(d=a);E(d)||(d=C);this.scheduler=d;this.dueTime=ca(c)?+c-this.scheduler.now():c}__extends(a,b);a.create=function(c,b,d){void 0===c&&(c=0);return new a(c,b,d)};a.dispatch=function(c){var a=c.index,b=c.period,e=c.subscriber;e.next(a);if(!e.closed){if(-1===b)return e.complete();c.index=a+1;this.schedule(c,b)}};a.prototype._subscribe=function(c){return this.scheduler.schedule(a.dispatch,this.dueTime,{index:0, period:this.period,subscriber:c})};return a}(g).create;g.timer=tc;var wa=function(){function b(a){this.project=a}b.prototype.call=function(a,c){return c.subscribe(new uc(a,this.project))};return b}(),uc=function(b){function a(c,a,d){void 0===d&&(d=Object.create(null));b.call(this,c);this.iterators=[];this.active=0;this.project="function"===typeof a?a:null;this.values=d}__extends(a,b);a.prototype._next=function(c){var a=this.iterators;F(c)?a.push(new vc(c)):"function"===typeof c[G]?a.push(new wc(c[G]())): a.push(new xc(this.destination,this,c))};a.prototype._complete=function(){var c=this.iterators,a=c.length;this.active=a;for(var b=0;b<a;b++){var e=c[b];e.stillUnsubscribed?this.add(e.subscribe(e,b)):this.active--}};a.prototype.notifyInactive=function(){this.active--;0===this.active&&this.destination.complete()};a.prototype.checkIterators=function(){for(var c=this.iterators,a=c.length,b=this.destination,e=0;e<a;e++){var h=c[e];if("function"===typeof h.hasValue&&!h.hasValue())return}for(var g=!1,k= [],e=0;e<a;e++){var h=c[e],l=h.next();h.hasCompleted()&&(g=!0);if(l.done){b.complete();return}k.push(l.value)}this.project?this._tryProject(k):b.next(k);g&&b.complete()};a.prototype._tryProject=function(c){var a;try{a=this.project.apply(this,c)}catch(d){this.destination.error(d);return}this.destination.next(a)};return a}(m),wc=function(){function b(a){this.iterator=a;this.nextResult=a.next()}b.prototype.hasValue=function(){return!0};b.prototype.next=function(){var a=this.nextResult;this.nextResult= this.iterator.next();return a};b.prototype.hasCompleted=function(){var a=this.nextResult;return a&&a.done};return b}(),vc=function(){function b(a){this.array=a;this.length=this.index=0;this.length=a.length}b.prototype[G]=function(){return this};b.prototype.next=function(a){a=this.index++;var c=this.array;return a<this.length?{value:c[a],done:!1}:{value:null,done:!0}};b.prototype.hasValue=function(){return this.array.length>this.index};b.prototype.hasCompleted=function(){return this.array.length=== this.index};return b}(),xc=function(b){function a(c,a,d){b.call(this,c);this.parent=a;this.observable=d;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1}__extends(a,b);a.prototype[G]=function(){return this};a.prototype.next=function(){var c=this.buffer;return 0===c.length&&this.isComplete?{value:null,done:!0}:{value:c.shift(),done:!1}};a.prototype.hasValue=function(){return 0<this.buffer.length};a.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};a.prototype.notifyComplete= function(){0<this.buffer.length?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()};a.prototype.notifyNext=function(c,a,b,e,h){this.buffer.push(a);this.parent.checkIterators()};a.prototype.subscribe=function(c,a){return q(this,this.observable,this,a)};return a}(u);g.zip=va;var ya=function(){function b(a,c){this.project=a;this.thisArg=c}b.prototype.call=function(a,c){return c.subscribe(new yc(a,this.project,this.thisArg))};return b}(),yc=function(b){function a(c,a,d){b.call(this, c);this.project=a;this.count=0;this.thisArg=d||this}__extends(a,b);a.prototype._next=function(c){var a;try{a=this.project.call(this.thisArg,c,this.count++)}catch(d){this.destination.error(d);return}this.destination.next(a)};return a}(m),Q=function(b){function a(c){b.call(this);var a={async:!0,createXHR:function(){var c;if(this.crossDomain)if(r.XMLHttpRequest)c=new r.XMLHttpRequest,"withCredentials"in c&&(c.withCredentials=!!this.withCredentials);else if(r.XDomainRequest)c=new r.XDomainRequest;else throw Error("CORS is not supported by your browser"); else if(r.XMLHttpRequest)c=new r.XMLHttpRequest;else{var a=void 0;try{for(var b=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],f=0;3>f;f++)try{a=b[f];new r.ActiveXObject(a);break}catch(J){}c=new r.ActiveXObject(a)}catch(J){throw Error("XMLHttpRequest is not supported by your browser");}}return c},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"===typeof c)a.url=c;else for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d]);this.request=a}__extends(a, b);a.prototype._subscribe=function(c){return new zc(c,this.request)};a.create=function(){var c=function(c){return new a(c)};c.get=sb;c.post=tb;c.delete=ub;c.put=vb;c.getJSON=wb;return c}();return a}(g),zc=function(b){function a(c,a){b.call(this,c);this.request=a;this.done=!1;c=a.headers=a.headers||{};a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");"Content-Type"in c||r.FormData&&a.body instanceof r.FormData||"undefined"===typeof a.body||(c["Content-Type"]="application/x-www-form-urlencoded; charset\x3dUTF-8"); a.body=this.serializeBody(a.body,a.headers["Content-Type"]);this.send()}__extends(a,b);a.prototype.next=function(c){this.done=!0;var a=this.destination;c=new Xa(c,this.xhr,this.request);a.next(c)};a.prototype.send=function(){var c=this.request,a=this.request,b=a.user,e=a.method,h=a.url,g=a.async,k=a.password,n=a.headers,a=a.body,m=l(c.createXHR).call(c);if(m===p)this.error(p.e);else{this.xhr=m;this.setupEvents(m,c);b=b?l(m.open).call(m,e,h,g,b,k):l(m.open).call(m,e,h,g);if(b===p)return this.error(p.e), null;m.timeout=c.timeout;m.responseType=c.responseType;this.setHeaders(m,n);b=a?l(m.send).call(m,a):l(m.send).call(m);if(b===p)return this.error(p.e),null}return m};a.prototype.serializeBody=function(c,a){if(!c||"string"===typeof c||r.FormData&&c instanceof r.FormData)return c;if(a){var b=a.indexOf(";");-1!==b&&(a=a.substring(0,b))}switch(a){case "application/x-www-form-urlencoded":return Object.keys(c).map(function(a){return encodeURI(a)+"\x3d"+encodeURI(c[a])}).join("\x26");case "application/json":return JSON.stringify(c); default:return c}};a.prototype.setHeaders=function(c,a){for(var b in a)a.hasOwnProperty(b)&&c.setRequestHeader(b,a[b])};a.prototype.setupEvents=function(c,a){function b(c){var a=b.subscriber,f=b.progressSubscriber,d=b.request;f&&f.error(c);a.error(new Ya(this,d))}function f(c){var a=f.subscriber,b=f.progressSubscriber,d=f.request;if(4===this.readyState){var e=1223===this.status?204:this.status,h="text"===this.responseType?this.response||this.responseText:this.response;0===e&&(e=h?200:0);200<=e&&300> e?(b&&b.complete(),a.next(c),a.complete()):(b&&b.error(c),a.error(new ea("ajax error "+e,this,d)))}}var h=a.progressSubscriber;c.ontimeout=b;b.request=a;b.subscriber=this;b.progressSubscriber=h;if(c.upload&&"withCredentials"in c){if(h){var g;g=function(c){g.progressSubscriber.next(c)};r.XDomainRequest?c.onprogress=g:c.upload.onprogress=g;g.progressSubscriber=h}var k;k=function(c){var a=k.progressSubscriber,b=k.subscriber,f=k.request;a&&a.error(c);b.error(new ea("ajax error",this,f))};c.onerror=k; k.request=a;k.subscriber=this;k.progressSubscriber=h}c.onreadystatechange=f;f.subscriber=this;f.progressSubscriber=h;f.request=a};a.prototype.unsubscribe=function(){var c=this.xhr;!this.done&&c&&4!==c.readyState&&"function"===typeof c.abort&&c.abort();b.prototype.unsubscribe.call(this)};return a}(m),Xa=function(){return function(b,a,c){this.originalEvent=b;this.xhr=a;this.request=c;this.status=a.status;this.responseType=a.responseType||c.responseType;switch(this.responseType){case "json":this.response= "response"in a?a.responseType?a.response:JSON.parse(a.response||a.responseText||"null"):JSON.parse(a.responseText||"null");break;case "xml":this.response=a.responseXML;break;default:this.response="response"in a?a.response:a.responseText}}}(),ea=function(b){function a(c,a,d){b.call(this,c);this.message=c;this.xhr=a;this.request=d;this.status=a.status}__extends(a,b);return a}(Error),Ya=function(b){function a(c,a){b.call(this,"ajax timeout",c,a)}__extends(a,b);return a}(ea);g.ajax=Q.create;var Ac=function(b){function a(c, a){b.call(this,c,a);this.scheduler=c;this.work=a}__extends(a,b);a.prototype.schedule=function(c,a){void 0===a&&(a=0);if(0<a)return b.prototype.schedule.call(this,c,a);this.delay=a;this.state=c;this.scheduler.flush(this);return this};a.prototype.execute=function(c,a){return 0<a||this.closed?b.prototype.execute.call(this,c,a):this._execute(c,a)};a.prototype.requestAsyncId=function(c,a,d){void 0===d&&(d=0);return null!==d&&0<d||null===d&&0<this.delay?b.prototype.requestAsyncId.call(this,c,a,d):c.flush(this)}; return a}(V),Za=new (function(b){function a(){b.apply(this,arguments)}__extends(a,b);return a}(W))(Ac),R=function(b){function a(c,a,d){void 0===c&&(c=Number.POSITIVE_INFINITY);void 0===a&&(a=Number.POSITIVE_INFINITY);b.call(this);this.scheduler=d;this._events=[];this._bufferSize=1>c?1:c;this._windowTime=1>a?1:a}__extends(a,b);a.prototype.next=function(c){var a=this._getNow();this._events.push(new Bc(a,c));this._trimBufferThenGetEvents();b.prototype.next.call(this,c)};a.prototype._subscribe=function(c){var a= this._trimBufferThenGetEvents(),b=this.scheduler,e;if(this.closed)throw new O;this.hasError?e=y.EMPTY:this.isStopped?e=y.EMPTY:(this.observers.push(c),e=new Oa(this,c));b&&c.add(c=new na(c,b));for(var b=a.length,h=0;h<b&&!c.closed;h++)c.next(a[h].value);this.hasError?c.error(this.thrownError):this.isStopped&&c.complete();return e};a.prototype._getNow=function(){return(this.scheduler||Za).now()};a.prototype._trimBufferThenGetEvents=function(){for(var c=this._getNow(),a=this._bufferSize,b=this._windowTime, e=this._events,h=e.length,g=0;g<h&&!(c-e[g].time<b);)g++;h>a&&(g=Math.max(g,h-a));0<g&&e.splice(0,g);return e};return a}(z),Bc=function(){return function(b,a){this.time=b;this.value=a}}(),Cc=r.Object.assign||xb,Dc=function(b){function a(c,a){if(c instanceof g)b.call(this,a,c);else{b.call(this);this.WebSocketCtor=r.WebSocket;this._output=new z;"string"===typeof c?this.url=c:Cc(this,c);if(!this.WebSocketCtor)throw Error("no WebSocket constructor can be found");this.destination=new R}}__extends(a,b); a.prototype.resultSelector=function(c){return JSON.parse(c.data)};a.create=function(c){return new a(c)};a.prototype.lift=function(c){var b=new a(this,this.destination);b.operator=c;return b};a.prototype._resetState=function(){this.socket=null;this.source||(this.destination=new R);this._output=new z};a.prototype.multiplex=function(c,a,b){var f=this;return new g(function(d){var e=l(c)();e===p?d.error(p.e):f.next(e);var h=f.subscribe(function(c){var a=l(b)(c);a===p?d.error(p.e):a&&d.next(c)},function(c){return d.error(c)}, function(){return d.complete()});return function(){var c=l(a)();c===p?d.error(p.e):f.next(c);h.unsubscribe()}})};a.prototype._connectSocket=function(){var c=this,a=this.WebSocketCtor,b=this._output,e=null;try{this.socket=e=this.protocol?new a(this.url,this.protocol):new a(this.url)}catch(D){b.error(D);return}var h=new y(function(){c.socket=null;e&&1===e.readyState&&e.close()});e.onopen=function(a){var f=c.openObserver;f&&f.next(a);a=c.destination;c.destination=m.create(function(c){return 1===e.readyState&& e.send(c)},function(a){var f=c.closingObserver;f&&f.next(void 0);a&&a.code?e.close(a.code,a.reason):b.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }"));c._resetState()},function(){var a=c.closingObserver;a&&a.next(void 0);e.close();c._resetState()});a&&a instanceof R&&h.add(a.subscribe(c.destination))};e.onerror=function(a){c._resetState();b.error(a)};e.onclose=function(a){c._resetState();var f= c.closeObserver;f&&f.next(a);a.wasClean?b.complete():b.error(a)};e.onmessage=function(a){a=l(c.resultSelector)(a);a===p?b.error(p.e):b.next(a)}};a.prototype._subscribe=function(c){var a=this,b=this.source;if(b)return b.subscribe(c);this.socket||this._connectSocket();b=new y;b.add(this._output.subscribe(c));b.add(function(){var c=a.socket;0===a._output.observers.length&&(c&&1===c.readyState&&c.close(),a._resetState())});return b};a.prototype.unsubscribe=function(){var c=this.source,a=this.socket;a&& 1===a.readyState&&(a.close(),this._resetState());b.prototype.unsubscribe.call(this);c||(this.destination=new R)};return a}(da).create;g.webSocket=Dc;var Fc=function(){function b(a){this.closingNotifier=a}b.prototype.call=function(a,c){return c.subscribe(new Ec(a,this.closingNotifier))};return b}(),Ec=function(b){function a(c,a){b.call(this,c);this.buffer=[];this.add(q(this,a))}__extends(a,b);a.prototype._next=function(c){this.buffer.push(c)};a.prototype.notifyNext=function(c,a,b,e,h){c=this.buffer; this.buffer=[];this.destination.next(c)};return a}(u);g.prototype.buffer=function(b){return this.lift(new Fc(b))};var Hc=function(){function b(a,c){this.bufferSize=a;this.startBufferEvery=c}b.prototype.call=function(a,c){return c.subscribe(new Gc(a,this.bufferSize,this.startBufferEvery))};return b}(),Gc=function(b){function a(c,a,d){b.call(this,c);this.bufferSize=a;this.startBufferEvery=d;this.buffers=[];this.count=0}__extends(a,b);a.prototype._next=function(c){var a=this.count++,b=this.destination, e=this.bufferSize,h=this.startBufferEvery,g=this.buffers;0===a%(null==h?e:h)&&g.push([]);for(a=g.length;a--;)h=g[a],h.push(c),h.length===e&&(g.splice(a,1),b.next(h))};a.prototype._complete=function(){for(var c=this.destination,a=this.buffers;0<a.length;){var d=a.shift();0<d.length&&c.next(d)}b.prototype._complete.call(this)};return a}(m);g.prototype.bufferCount=function(b,a){void 0===a&&(a=null);return this.lift(new Hc(b,a))};var Jc=function(){function b(a,c,b,d){this.bufferTimeSpan=a;this.bufferCreationInterval= c;this.maxBufferSize=b;this.scheduler=d}b.prototype.call=function(a,c){return c.subscribe(new Ic(a,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))};return b}(),Kc=function(){return function(){this.buffer=[]}}(),Ic=function(b){function a(c,a,d,e,h){b.call(this,c);this.bufferTimeSpan=a;this.bufferCreationInterval=d;this.maxBufferSize=e;this.scheduler=h;this.contexts=[];c=this.openContext();(this.timespanOnly=null==d||0>d)?this.add(c.closeAction=h.schedule(za,a,{subscriber:this, context:c,bufferTimeSpan:a})):(e={bufferTimeSpan:a,bufferCreationInterval:d,subscriber:this,scheduler:h},this.add(c.closeAction=h.schedule(Aa,a,{subscriber:this,context:c})),this.add(h.schedule(yb,d,e)))}__extends(a,b);a.prototype._next=function(c){for(var a=this.contexts,b=a.length,e,h=0;h<b;h++){var g=a[h],k=g.buffer;k.push(c);k.length==this.maxBufferSize&&(e=g)}if(e)this.onBufferFull(e)};a.prototype._error=function(a){this.contexts.length=0;b.prototype._error.call(this,a)};a.prototype._complete= function(){for(var a=this.contexts,f=this.destination;0<a.length;){var d=a.shift();f.next(d.buffer)}b.prototype._complete.call(this)};a.prototype._unsubscribe=function(){this.contexts=null};a.prototype.onBufferFull=function(a){this.closeContext(a);a=a.closeAction;a.unsubscribe();this.remove(a);if(!this.closed&&this.timespanOnly){a=this.openContext();var c=this.bufferTimeSpan;this.add(a.closeAction=this.scheduler.schedule(za,c,{subscriber:this,context:a,bufferTimeSpan:c}))}};a.prototype.openContext= function(){var a=new Kc;this.contexts.push(a);return a};a.prototype.closeContext=function(a){this.destination.next(a.buffer);var c=this.contexts;0<=(c?c.indexOf(a):-1)&&c.splice(c.indexOf(a),1)};return a}(m);g.prototype.bufferTime=function(b){var a=arguments.length,c=C;E(arguments[arguments.length-1])&&(c=arguments[arguments.length-1],a--);var f=null;2<=a&&(f=arguments[1]);var d=Number.POSITIVE_INFINITY;3<=a&&(d=arguments[2]);return this.lift(new Jc(b,f,d,c))};var Mc=function(){function b(a,c){this.openings= a;this.closingSelector=c}b.prototype.call=function(a,c){return c.subscribe(new Lc(a,this.openings,this.closingSelector))};return b}(),Lc=function(b){function a(a,f,d){b.call(this,a);this.openings=f;this.closingSelector=d;this.contexts=[];this.add(q(this,f))}__extends(a,b);a.prototype._next=function(a){for(var c=this.contexts,b=c.length,e=0;e<b;e++)c[e].buffer.push(a)};a.prototype._error=function(a){for(var c=this.contexts;0<c.length;){var d=c.shift();d.subscription.unsubscribe();d.buffer=null;d.subscription= null}this.contexts=null;b.prototype._error.call(this,a)};a.prototype._complete=function(){for(var a=this.contexts;0<a.length;){var f=a.shift();this.destination.next(f.buffer);f.subscription.unsubscribe();f.buffer=null;f.subscription=null}this.contexts=null;b.prototype._complete.call(this)};a.prototype.notifyNext=function(a,b,d,e,h){a?this.closeBuffer(a):this.openBuffer(b)};a.prototype.notifyComplete=function(a){this.closeBuffer(a.context)};a.prototype.openBuffer=function(a){try{var c=this.closingSelector.call(this, a);c&&this.trySubscribe(c)}catch(d){this._error(d)}};a.prototype.closeBuffer=function(a){var c=this.contexts;if(c&&a){var b=a.subscription;this.destination.next(a.buffer);c.splice(c.indexOf(a),1);this.remove(b);b.unsubscribe()}};a.prototype.trySubscribe=function(a){var c=this.contexts,b=new y,e={buffer:[],subscription:b};c.push(e);a=q(this,a,e);!a||a.closed?this.closeBuffer(e):(a.context=e,this.add(a),b.add(a))};return a}(u);g.prototype.bufferToggle=function(b,a){return this.lift(new Mc(b,a))};var Oc= function(){function b(a){this.closingSelector=a}b.prototype.call=function(a,c){return c.subscribe(new Nc(a,this.closingSelector))};return b}(),Nc=function(b){function a(a,f){b.call(this,a);this.closingSelector=f;this.subscribing=!1;this.openBuffer()}__extends(a,b);a.prototype._next=function(a){this.buffer.push(a)};a.prototype._complete=function(){var a=this.buffer;a&&this.destination.next(a);b.prototype._complete.call(this)};a.prototype._unsubscribe=function(){this.buffer=null;this.subscribing=!1}; a.prototype.notifyNext=function(a,b,d,e,h){this.openBuffer()};a.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()};a.prototype.openBuffer=function(){var a=this.closingSubscription;a&&(this.remove(a),a.unsubscribe());(a=this.buffer)&&this.destination.next(a);this.buffer=[];var b=l(this.closingSelector)();b===p?this.error(p.e):(this.closingSubscription=a=new y,this.add(a),this.subscribing=!0,a.add(q(this,b)),this.subscribing=!1)};return a}(u);g.prototype.bufferWhen= function(b){return this.lift(new Oc(b))};var zb=function(){function b(a){this.selector=a}b.prototype.call=function(a,c){return c.subscribe(new Pc(a,this.selector,this.caught))};return b}(),Pc=function(b){function a(a,f,d){b.call(this,a);this.selector=f;this.caught=d}__extends(a,b);a.prototype.error=function(a){if(!this.isStopped){var c=void 0;try{c=this.selector(a,this.caught)}catch(d){this.destination.error(d);return}this.unsubscribe();this.destination.remove(this);q(this,c)}};return a}(u);g.prototype.catch= Ba;g.prototype._catch=Ba;g.prototype.combineAll=function(b){return this.lift(new ma(b))};g.prototype.combineLatest=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];a=null;"function"===typeof b[b.length-1]&&(a=b.pop());1===b.length&&F(b[0])&&(b=b[0]);b.unshift(this);return this.lift.call(new K(b),new ma(a))};g.prototype.concat=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];return this.lift.call(T.apply(void 0,[this].concat(b)))};g.prototype.concatAll=function(){return this.lift(new ba(1))}; var Da=function(){function b(a,c,b){void 0===b&&(b=Number.POSITIVE_INFINITY);this.project=a;this.resultSelector=c;this.concurrent=b}b.prototype.call=function(a,c){return c.subscribe(new Qc(a,this.project,this.resultSelector,this.concurrent))};return b}(),Qc=function(b){function a(a,f,d,e){void 0===e&&(e=Number.POSITIVE_INFINITY);b.call(this,a);this.project=f;this.resultSelector=d;this.concurrent=e;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0}__extends(a,b);a.prototype._next=function(a){this.active< this.concurrent?this._tryNext(a):this.buffer.push(a)};a.prototype._tryNext=function(a){var c,b=this.index++;try{c=this.project(a,b)}catch(e){this.destination.error(e);return}this.active++;this._innerSub(c,a,b)};a.prototype._innerSub=function(a,b,d){this.add(q(this,a,b,d))};a.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete()};a.prototype.notifyNext=function(a,b,d,e,h){this.resultSelector?this._notifyResultSelector(a,b,d,e):this.destination.next(b)}; a.prototype._notifyResultSelector=function(a,b,d,e){var c;try{c=this.resultSelector(a,b,d,e)}catch(D){this.destination.error(D);return}this.destination.next(c)};a.prototype.notifyComplete=function(a){var c=this.buffer;this.remove(a);this.active--;0<c.length?this._next(c.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};return a}(u);g.prototype.concatMap=function(b,a){return this.lift(new Da(b,a,1))};var Fa=function(){function b(a,c,b){void 0===b&&(b=Number.POSITIVE_INFINITY); this.ish=a;this.resultSelector=c;this.concurrent=b}b.prototype.call=function(a,c){return c.subscribe(new Rc(a,this.ish,this.resultSelector,this.concurrent))};return b}(),Rc=function(b){function a(a,f,d,e){void 0===e&&(e=Number.POSITIVE_INFINITY);b.call(this,a);this.ish=f;this.resultSelector=d;this.concurrent=e;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0}__extends(a,b);a.prototype._next=function(a){if(this.active<this.concurrent){var c=this.resultSelector,b=this.index++,e=this.ish, h=this.destination;this.active++;this._innerSub(e,h,c,a,b)}else this.buffer.push(a)};a.prototype._innerSub=function(a,b,d,e,h){this.add(q(this,a,e,h))};a.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete()};a.prototype.notifyNext=function(a,b,d,e,h){h=this.destination;this.resultSelector?this.trySelectResult(a,b,d,e):h.next(b)};a.prototype.trySelectResult=function(a,b,d,e){var c=this.resultSelector,f=this.destination,g;try{g=c(a, b,d,e)}catch(J){f.error(J);return}f.next(g)};a.prototype.notifyError=function(a){this.destination.error(a)};a.prototype.notifyComplete=function(a){var c=this.buffer;this.remove(a);this.active--;0<c.length?this._next(c.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};return a}(u);g.prototype.concatMapTo=function(b,a){return this.lift(new Fa(b,a,1))};var Tc=function(){function b(a,c){this.predicate=a;this.source=c}b.prototype.call=function(a,c){return c.subscribe(new Sc(a,this.predicate, this.source))};return b}(),Sc=function(b){function a(a,f,d){b.call(this,a);this.predicate=f;this.source=d;this.index=this.count=0}__extends(a,b);a.prototype._next=function(a){this.predicate?this._tryPredicate(a):this.count++};a.prototype._tryPredicate=function(a){var c;try{c=this.predicate(a,this.index++,this.source)}catch(d){this.destination.error(d);return}c&&this.count++};a.prototype._complete=function(){this.destination.next(this.count);this.destination.complete()};return a}(m);g.prototype.count= function(b){return this.lift(new Tc(b,this))};var Vc=function(){function b(){}b.prototype.call=function(a,c){return c.subscribe(new Uc(a))};return b}(),Uc=function(b){function a(a){b.call(this,a)}__extends(a,b);a.prototype._next=function(a){a.observe(this.destination)};return a}(m);g.prototype.dematerialize=function(){return this.lift(new Vc)};var Xc=function(){function b(a){this.durationSelector=a}b.prototype.call=function(a,c){return c.subscribe(new Wc(a,this.durationSelector))};return b}(),Wc= function(b){function a(a,f){b.call(this,a);this.durationSelector=f;this.hasValue=!1;this.durationSubscription=null}__extends(a,b);a.prototype._next=function(a){try{var c=this.durationSelector.call(this,a);c&&this._tryNext(a,c)}catch(d){this.destination.error(d)}};a.prototype._complete=function(){this.emitValue();this.destination.complete()};a.prototype._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));c=q(this,b);c.closed||this.add(this.durationSubscription= c)};a.prototype.notifyNext=function(a,b,d,e,h){this.emitValue()};a.prototype.notifyComplete=function(){this.emitValue()};a.prototype.emitValue=function(){if(this.hasValue){var a=this.value,f=this.durationSubscription;f&&(this.durationSubscription=null,f.unsubscribe(),this.remove(f));this.value=null;this.hasValue=!1;b.prototype._next.call(this,a)}};return a}(u);g.prototype.debounce=function(b){return this.lift(new Xc(b))};var Zc=function(){function b(a,c){this.dueTime=a;this.scheduler=c}b.prototype.call= function(a,c){return c.subscribe(new Yc(a,this.dueTime,this.scheduler))};return b}(),Yc=function(b){function a(a,f,d){b.call(this,a);this.dueTime=f;this.scheduler=d;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1}__extends(a,b);a.prototype._next=function(a){this.clearDebounce();this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Ab,this.dueTime,this))};a.prototype._complete=function(){this.debouncedNext();this.destination.complete()};a.prototype.debouncedNext= function(){this.clearDebounce();this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)};a.prototype.clearDebounce=function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)};return a}(m);g.prototype.debounceTime=function(b,a){void 0===a&&(a=C);return this.lift(new Zc(b,a))};var ad=function(){function b(a){this.defaultValue=a}b.prototype.call=function(a,c){return c.subscribe(new $c(a,this.defaultValue))}; return b}(),$c=function(b){function a(a,f){b.call(this,a);this.defaultValue=f;this.isEmpty=!0}__extends(a,b);a.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};a.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};return a}(m);g.prototype.defaultIfEmpty=function(b){void 0===b&&(b=null);return this.lift(new ad(b))};var cd=function(){function b(a,c){this.delay=a;this.scheduler=c}b.prototype.call=function(a,c){return c.subscribe(new bd(a, this.delay,this.scheduler))};return b}(),bd=function(b){function a(a,f,d){b.call(this,a);this.delay=f;this.scheduler=d;this.queue=[];this.errored=this.active=!1}__extends(a,b);a.dispatch=function(a){for(var c=a.source,b=c.queue,e=a.scheduler,h=a.destination;0<b.length&&0>=b[0].time-e.now();)b.shift().notification.observe(h);0<b.length?(c=Math.max(0,b[0].time-e.now()),this.schedule(a,c)):c.active=!1};a.prototype._schedule=function(c){this.active=!0;this.add(c.schedule(a.dispatch,this.delay,{source:this, destination:this.destination,scheduler:c}))};a.prototype.scheduleNotification=function(a){if(!0!==this.errored){var c=this.scheduler;a=new dd(c.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(c)}};a.prototype._next=function(a){this.scheduleNotification(B.createNext(a))};a.prototype._error=function(a){this.errored=!0;this.queue=[];this.destination.error(a)};a.prototype._complete=function(){this.scheduleNotification(B.createComplete())};return a}(m),dd=function(){return function(b, a){this.time=b;this.notification=a}}();g.prototype.delay=function(b,a){void 0===a&&(a=C);b=ca(b)?+b-a.now():Math.abs(b);return this.lift(new cd(b,a))};var $a=function(){function b(a){this.delayDurationSelector=a}b.prototype.call=function(a,c){return c.subscribe(new ed(a,this.delayDurationSelector))};return b}(),ed=function(b){function a(a,f){b.call(this,a);this.delayDurationSelector=f;this.completed=!1;this.delayNotifierSubscriptions=[];this.values=[]}__extends(a,b);a.prototype.notifyNext=function(a, b,d,e,h){this.destination.next(a);this.removeSubscription(h);this.tryComplete()};a.prototype.notifyError=function(a,b){this._error(a)};a.prototype.notifyComplete=function(a){(a=this.removeSubscription(a))&&this.destination.next(a);this.tryComplete()};a.prototype._next=function(a){try{var c=this.delayDurationSelector(a);c&&this.tryDelay(c,a)}catch(d){this.destination.error(d)}};a.prototype._complete=function(){this.completed=!0;this.tryComplete()};a.prototype.removeSubscription=function(a){a.unsubscribe(); a=this.delayNotifierSubscriptions.indexOf(a);var c=null;-1!==a&&(c=this.values[a],this.delayNotifierSubscriptions.splice(a,1),this.values.splice(a,1));return c};a.prototype.tryDelay=function(a,b){a=q(this,a,b);this.add(a);this.delayNotifierSubscriptions.push(a);this.values.push(b)};a.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()};return a}(u),gd=function(b){function a(a,f){b.call(this);this.source=a;this.subscriptionDelay= f}__extends(a,b);a.prototype._subscribe=function(a){this.subscriptionDelay.subscribe(new fd(a,this.source))};return a}(g),fd=function(b){function a(a,f){b.call(this);this.parent=a;this.source=f;this.sourceSubscribed=!1}__extends(a,b);a.prototype._next=function(a){this.subscribeToSource()};a.prototype._error=function(a){this.unsubscribe();this.parent.error(a)};a.prototype._complete=function(){this.subscribeToSource()};a.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed= !0,this.unsubscribe(),this.source.subscribe(this.parent))};return a}(m);g.prototype.delayWhen=function(b,a){return a?(new gd(this,a)).lift(new $a(b)):this.lift(new $a(b))};var hd=r.Set||Bb(),jd=function(){function b(a,c){this.keySelector=a;this.flushes=c}b.prototype.call=function(a,c){return c.subscribe(new id(a,this.keySelector,this.flushes))};return b}(),id=function(b){function a(a,f,d){b.call(this,a);this.keySelector=f;this.values=new hd;d&&this.add(q(this,d))}__extends(a,b);a.prototype.notifyNext= function(a,b,d,e,h){this.values.clear()};a.prototype.notifyError=function(a,b){this._error(a)};a.prototype._next=function(a){this.keySelector?this._useKeySelector(a):this._finalizeNext(a,a)};a.prototype._useKeySelector=function(a){var c,b=this.destination;try{c=this.keySelector(a)}catch(e){b.error(e);return}this._finalizeNext(c,a)};a.prototype._finalizeNext=function(a,b){var c=this.values;c.has(a)||(c.add(a),this.destination.next(b))};return a}(u);g.prototype.distinct=function(b,a){return this.lift(new jd(b, a))};var Cb=function(){function b(a,c){this.compare=a;this.keySelector=c}b.prototype.call=function(a,c){return c.subscribe(new kd(a,this.compare,this.keySelector))};return b}(),kd=function(b){function a(a,f,d){b.call(this,a);this.keySelector=d;this.hasKey=!1;"function"===typeof f&&(this.compare=f)}__extends(a,b);a.prototype.compare=function(a,b){return a===b};a.prototype._next=function(a){var c=a;if(this.keySelector&&(c=l(this.keySelector)(a),c===p))return this.destination.error(p.e);var b=!1;if(this.hasKey){if(b= l(this.compare)(this.key,c),b===p)return this.destination.error(p.e)}else this.hasKey=!0;!1===!!b&&(this.key=c,this.destination.next(a))};return a}(m);g.prototype.distinctUntilChanged=Ga;g.prototype.distinctUntilKeyChanged=function(b,a){return Ga.call(this,function(c,f){return a?a(c[b],f[b]):c[b]===f[b]})};var Db=function(){function b(a,c,b){this.nextOrObserver=a;this.error=c;this.complete=b}b.prototype.call=function(a,c){return c.subscribe(new ld(a,this.nextOrObserver,this.error,this.complete))}; return b}(),ld=function(b){function a(a,f,d,e){b.call(this,a);a=new m(f,d,e);a.syncErrorThrowable=!0;this.add(a);this.safeSubscriber=a}__extends(a,b);a.prototype._next=function(a){var c=this.safeSubscriber;c.next(a);c.syncErrorThrown?this.destination.error(c.syncErrorValue):this.destination.next(a)};a.prototype._error=function(a){var c=this.safeSubscriber;c.error(a);c.syncErrorThrown?this.destination.error(c.syncErrorValue):this.destination.error(a)};a.prototype._complete=function(){var a=this.safeSubscriber; a.complete();a.syncErrorThrown?this.destination.error(a.syncErrorValue):this.destination.complete()};return a}(m);g.prototype.do=Ha;g.prototype._do=Ha;var nd=function(){function b(){}b.prototype.call=function(a,c){return c.subscribe(new md(a))};return b}(),md=function(b){function a(a){b.call(this,a);this.hasSubscription=this.hasCompleted=!1}__extends(a,b);a.prototype._next=function(a){this.hasSubscription||(this.hasSubscription=!0,this.add(q(this,a)))};a.prototype._complete=function(){this.hasCompleted= !0;this.hasSubscription||this.destination.complete()};a.prototype.notifyComplete=function(a){this.remove(a);this.hasSubscription=!1;this.hasCompleted&&this.destination.complete()};return a}(u);g.prototype.exhaust=function(){return this.lift(new nd)};var pd=function(){function b(a,c){this.project=a;this.resultSelector=c}b.prototype.call=function(a,c){return c.subscribe(new od(a,this.project,this.resultSelector))};return b}(),od=function(b){function a(a,f,d){b.call(this,a);this.project=f;this.resultSelector= d;this.hasCompleted=this.hasSubscription=!1;this.index=0}__extends(a,b);a.prototype._next=function(a){this.hasSubscription||this.tryNext(a)};a.prototype.tryNext=function(a){var c=this.index++,b=this.destination;try{var e=this.project(a,c);this.hasSubscription=!0;this.add(q(this,e,a,c))}catch(h){b.error(h)}};a.prototype._complete=function(){this.hasCompleted=!0;this.hasSubscription||this.destination.complete()};a.prototype.notifyNext=function(a,b,d,e,h){h=this.destination;this.resultSelector?this.trySelectResult(a, b,d,e):h.next(b)};a.prototype.trySelectResult=function(a,b,d,e){var c=this.resultSelector,f=this.destination;try{var g=c(a,b,d,e);f.next(g)}catch(J){f.error(J)}};a.prototype.notifyError=function(a){this.destination.error(a)};a.prototype.notifyComplete=function(a){this.remove(a);this.hasSubscription=!1;this.hasCompleted&&this.destination.complete()};return a}(u);g.prototype.exhaustMap=function(b,a){return this.lift(new pd(b,a))};var rd=function(){function b(a,c,b){this.project=a;this.concurrent=c; this.scheduler=b}b.prototype.call=function(a,c){return c.subscribe(new qd(a,this.project,this.concurrent,this.scheduler))};return b}(),qd=function(b){function a(a,f,d,e){b.call(this,a);this.project=f;this.concurrent=d;this.scheduler=e;this.active=this.index=0;this.hasCompleted=!1;d<Number.POSITIVE_INFINITY&&(this.buffer=[])}__extends(a,b);a.dispatch=function(a){a.subscriber.subscribeToProjection(a.result,a.value,a.index)};a.prototype._next=function(c){var b=this.destination;if(b.closed)this._complete(); else{var d=this.index++;if(this.active<this.concurrent){b.next(c);var e=l(this.project)(c,d);e===p?b.error(p.e):this.scheduler?this.add(this.scheduler.schedule(a.dispatch,0,{subscriber:this,result:e,value:c,index:d})):this.subscribeToProjection(e,c,d)}else this.buffer.push(c)}};a.prototype.subscribeToProjection=function(a,b,d){this.active++;this.add(q(this,a,b,d))};a.prototype._complete=function(){(this.hasCompleted=!0,0===this.active)&&this.destination.complete()};a.prototype.notifyNext=function(a, b,d,e,h){this._next(b)};a.prototype.notifyComplete=function(a){var c=this.buffer;this.remove(a);this.active--;c&&0<c.length&&this._next(c.shift());this.hasCompleted&&0===this.active&&this.destination.complete()};return a}(u);g.prototype.expand=function(b,a,c){void 0===a&&(a=Number.POSITIVE_INFINITY);void 0===c&&(c=void 0);a=1>(a||0)?Number.POSITIVE_INFINITY:a;return this.lift(new rd(b,a,c))};var X=function(b){function a(){var a=b.call(this,"argument out of range");this.name=a.name="ArgumentOutOfRangeError"; this.stack=a.stack;this.message=a.message}__extends(a,b);return a}(Error),td=function(){function b(a,c){this.index=a;this.defaultValue=c;if(0>a)throw new X;}b.prototype.call=function(a,c){return c.subscribe(new sd(a,this.index,this.defaultValue))};return b}(),sd=function(b){function a(a,f,d){b.call(this,a);this.index=f;this.defaultValue=d}__extends(a,b);a.prototype._next=function(a){0===this.index--&&(this.destination.next(a),this.destination.complete())};a.prototype._complete=function(){var a=this.destination; 0<=this.index&&("undefined"!==typeof this.defaultValue?a.next(this.defaultValue):a.error(new X));a.complete()};return a}(m);g.prototype.elementAt=function(b,a){return this.lift(new td(b,a))};var Eb=function(){function b(a,c){this.predicate=a;this.thisArg=c}b.prototype.call=function(a,c){return c.subscribe(new ud(a,this.predicate,this.thisArg))};return b}(),ud=function(b){function a(a,f,d){b.call(this,a);this.predicate=f;this.thisArg=d;this.count=0;this.predicate=f}__extends(a,b);a.prototype._next= function(a){var c;try{c=this.predicate.call(this.thisArg,a,this.count++)}catch(d){this.destination.error(d);return}c&&this.destination.next(a)};return a}(m);g.prototype.filter=ia;var Fb=function(){function b(a){this.callback=a}b.prototype.call=function(a,c){return c.subscribe(new vd(a,this.callback))};return b}(),vd=function(b){function a(a,f){b.call(this,a);this.add(new y(f))}__extends(a,b);return a}(m);g.prototype.finally=Ia;g.prototype._finally=Ia;var ab=function(){function b(a,c,b,d){this.predicate= a;this.source=c;this.yieldIndex=b;this.thisArg=d}b.prototype.call=function(a,c){return c.subscribe(new wd(a,this.predicate,this.source,this.yieldIndex,this.thisArg))};return b}(),wd=function(b){function a(a,f,d,e,h){b.call(this,a);this.predicate=f;this.source=d;this.yieldIndex=e;this.thisArg=h;this.index=0}__extends(a,b);a.prototype.notifyComplete=function(a){var c=this.destination;c.next(a);c.complete()};a.prototype._next=function(a){var c=this.predicate,b=this.thisArg,e=this.index++;try{c.call(b|| this,a,e,this.source)&&this.notifyComplete(this.yieldIndex?e:a)}catch(h){this.destination.error(h)}};a.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)};return a}(m);g.prototype.find=function(b,a){if("function"!==typeof b)throw new TypeError("predicate is not a function");return this.lift(new ab(b,this,!1,a))};g.prototype.findIndex=function(b,a){return this.lift(new ab(b,this,!0,a))};var fa=function(b){function a(){var a=b.call(this,"no elements in sequence");this.name= a.name="EmptyError";this.stack=a.stack;this.message=a.message}__extends(a,b);return a}(Error),yd=function(){function b(a,c,b,d){this.predicate=a;this.resultSelector=c;this.defaultValue=b;this.source=d}b.prototype.call=function(a,c){return c.subscribe(new xd(a,this.predicate,this.resultSelector,this.defaultValue,this.source))};return b}(),xd=function(b){function a(a,f,d,e,h){b.call(this,a);this.predicate=f;this.resultSelector=d;this.defaultValue=e;this.source=h;this.index=0;this._emitted=this.hasCompleted= !1}__extends(a,b);a.prototype._next=function(a){var c=this.index++;this.predicate?this._tryPredicate(a,c):this._emit(a,c)};a.prototype._tryPredicate=function(a,b){var c;try{c=this.predicate(a,b,this.source)}catch(e){this.destination.error(e);return}c&&this._emit(a,b)};a.prototype._emit=function(a,b){this.resultSelector?this._tryResultSelector(a,b):this._emitFinal(a)};a.prototype._tryResultSelector=function(a,b){var c;try{c=this.resultSelector(a,b)}catch(e){this.destination.error(e);return}this._emitFinal(c)}; a.prototype._emitFinal=function(a){var c=this.destination;this._emitted||(this._emitted=!0,c.next(a),c.complete(),this.hasCompleted=!0)};a.prototype._complete=function(){var a=this.destination;this.hasCompleted||"undefined"===typeof this.defaultValue?this.hasCompleted||a.error(new fa):(a.next(this.defaultValue),a.complete())};return a}(m);g.prototype.first=function(b,a,c){return this.lift(new yd(b,a,c,this))};var zd=function(){function b(){this.size=0;this._values=[];this._keys=[]}b.prototype.get= function(a){a=this._keys.indexOf(a);return-1===a?void 0:this._values[a]};b.prototype.set=function(a,c){var b=this._keys.indexOf(a);-1===b?(this._keys.push(a),this._values.push(c),this.size++):this._values[b]=c;return this};b.prototype.delete=function(a){a=this._keys.indexOf(a);if(-1===a)return!1;this._values.splice(a,1);this._keys.splice(a,1);this.size--;return!0};b.prototype.clear=function(){this._keys.length=0;this.size=this._values.length=0};b.prototype.forEach=function(a,c){for(var b=0;b<this.size;b++)a.call(c, this._values[b],this._keys[b])};return b}(),Ad=r.Map||zd,Bd=function(){function b(){this.values={}}b.prototype.delete=function(a){this.values[a]=null;return!0};b.prototype.set=function(a,c){this.values[a]=c;return this};b.prototype.get=function(a){return this.values[a]};b.prototype.forEach=function(a,c){var b=this.values,d;for(d in b)b.hasOwnProperty(d)&&null!==b[d]&&a.call(c,b[d],d)};b.prototype.clear=function(){this.values={}};return b}(),Dd=function(){function b(a,c,b,d){this.keySelector=a;this.elementSelector= c;this.durationSelector=b;this.subjectSelector=d}b.prototype.call=function(a,c){return c.subscribe(new Cd(a,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))};return b}(),Cd=function(b){function a(a,f,d,e,h){b.call(this,a);this.keySelector=f;this.elementSelector=d;this.durationSelector=e;this.subjectSelector=h;this.groups=null;this.attemptedToUnsubscribe=!1;this.count=0}__extends(a,b);a.prototype._next=function(a){var c;try{c=this.keySelector(a)}catch(d){this.error(d); return}this._group(a,c)};a.prototype._group=function(a,b){var c=this.groups;c||(c=this.groups="string"===typeof b?new Bd:new Ad);var f=c.get(b),h;if(this.elementSelector)try{h=this.elementSelector(a)}catch(D){this.error(D)}else h=a;if(!f&&(f=this.subjectSelector?this.subjectSelector():new z,c.set(b,f),a=new bb(b,f,this),this.destination.next(a),this.durationSelector)){a=void 0;try{a=this.durationSelector(new bb(b,f))}catch(D){this.error(D);return}this.add(a.subscribe(new Ed(b,f,this)))}f.closed|| f.next(h)};a.prototype._error=function(a){var c=this.groups;c&&(c.forEach(function(c,b){c.error(a)}),c.clear());this.destination.error(a)};a.prototype._complete=function(){var a=this.groups;a&&(a.forEach(function(a,c){a.complete()}),a.clear());this.destination.complete()};a.prototype.removeGroup=function(a){this.groups.delete(a)};a.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&b.prototype.unsubscribe.call(this))};return a}(m),Ed=function(b){function a(a, f,d){b.call(this);this.key=a;this.group=f;this.parent=d}__extends(a,b);a.prototype._next=function(a){this._complete()};a.prototype._error=function(a){var c=this.group;c.closed||c.error(a);this.parent.removeGroup(this.key)};a.prototype._complete=function(){var a=this.group;a.closed||a.complete();this.parent.removeGroup(this.key)};return a}(m),bb=function(b){function a(a,f,d){b.call(this);this.key=a;this.groupSubject=f;this.refCountSubscription=d}__extends(a,b);a.prototype._subscribe=function(a){var c= new y,b=this.refCountSubscription,e=this.groupSubject;b&&!b.closed&&c.add(new Fd(b));c.add(e.subscribe(a));return c};return a}(g),Fd=function(b){function a(a){b.call(this);this.parent=a;a.count++}__extends(a,b);a.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(b.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};return a}(y);g.prototype.groupBy=function(b,a,c,f){return this.lift(new Dd(b,a,c,f))};var Hd=function(){function b(){} b.prototype.call=function(a,c){return c.subscribe(new Gd(a))};return b}(),Gd=function(b){function a(){b.apply(this,arguments)}__extends(a,b);a.prototype._next=function(a){};return a}(m);g.prototype.ignoreElements=function(){return this.lift(new Hd)};var Jd=function(){function b(){}b.prototype.call=function(a,c){return c.subscribe(new Id(a))};return b}(),Id=function(b){function a(a){b.call(this,a)}__extends(a,b);a.prototype.notifyComplete=function(a){var c=this.destination;c.next(a);c.complete()}; a.prototype._next=function(a){this.notifyComplete(!1)};a.prototype._complete=function(){this.notifyComplete(!0)};return a}(m);g.prototype.isEmpty=function(){return this.lift(new Jd)};var Ld=function(){function b(a){this.durationSelector=a}b.prototype.call=function(a,c){return c.subscribe(new Kd(a,this.durationSelector))};return b}(),Kd=function(b){function a(a,f){b.call(this,a);this.durationSelector=f;this.hasValue=!1}__extends(a,b);a.prototype._next=function(a){this.value=a;this.hasValue=!0;this.throttled|| (a=l(this.durationSelector)(a),a===p?this.destination.error(p.e):this.add(this.throttled=q(this,a)))};a.prototype.clearThrottle=function(){var a=this.value,b=this.hasValue,d=this.throttled;d&&(this.remove(d),this.throttled=null,d.unsubscribe());b&&(this.value=null,this.hasValue=!1,this.destination.next(a))};a.prototype.notifyNext=function(a,b,d,e){this.clearThrottle()};a.prototype.notifyComplete=function(){this.clearThrottle()};return a}(u);g.prototype.audit=function(b){return this.lift(new Ld(b))}; var Nd=function(){function b(a,c){this.duration=a;this.scheduler=c}b.prototype.call=function(a,c){return c.subscribe(new Md(a,this.duration,this.scheduler))};return b}(),Md=function(b){function a(a,f,d){b.call(this,a);this.duration=f;this.scheduler=d;this.hasValue=!1}__extends(a,b);a.prototype._next=function(a){this.value=a;this.hasValue=!0;this.throttled||this.add(this.throttled=this.scheduler.schedule(Gb,this.duration,this))};a.prototype.clearThrottle=function(){var a=this.value,b=this.hasValue, d=this.throttled;d&&(this.remove(d),this.throttled=null,d.unsubscribe());b&&(this.value=null,this.hasValue=!1,this.destination.next(a))};return a}(m);g.prototype.auditTime=function(b,a){void 0===a&&(a=C);return this.lift(new Nd(b,a))};var Pd=function(){function b(a,c,b,d){this.predicate=a;this.resultSelector=c;this.defaultValue=b;this.source=d}b.prototype.call=function(a,c){return c.subscribe(new Od(a,this.predicate,this.resultSelector,this.defaultValue,this.source))};return b}(),Od=function(b){function a(a, f,d,e,h){b.call(this,a);this.predicate=f;this.resultSelector=d;this.defaultValue=e;this.source=h;this.hasValue=!1;this.index=0;"undefined"!==typeof e&&(this.lastValue=e,this.hasValue=!0)}__extends(a,b);a.prototype._next=function(a){var c=this.index++;this.predicate?this._tryPredicate(a,c):this.resultSelector?this._tryResultSelector(a,c):(this.lastValue=a,this.hasValue=!0)};a.prototype._tryPredicate=function(a,b){var c;try{c=this.predicate(a,b,this.source)}catch(e){this.destination.error(e);return}c&& (this.resultSelector?this._tryResultSelector(a,b):(this.lastValue=a,this.hasValue=!0))};a.prototype._tryResultSelector=function(a,b){var c;try{c=this.resultSelector(a,b)}catch(e){this.destination.error(e);return}this.lastValue=c;this.hasValue=!0};a.prototype._complete=function(){var a=this.destination;this.hasValue?(a.next(this.lastValue),a.complete()):a.error(new fa)};return a}(m);g.prototype.last=function(b,a,c){return this.lift(new Pd(b,a,c,this))};g.prototype.let=Ja;g.prototype.letBind=Ja;var Rd= function(){function b(a,c,b){this.predicate=a;this.thisArg=c;this.source=b}b.prototype.call=function(a,c){return c.subscribe(new Qd(a,this.predicate,this.thisArg,this.source))};return b}(),Qd=function(b){function a(a,f,d,e){b.call(this,a);this.predicate=f;this.thisArg=d;this.source=e;this.index=0;this.thisArg=d||this}__extends(a,b);a.prototype.notifyComplete=function(a){this.destination.next(a);this.destination.complete()};a.prototype._next=function(a){var c=!1;try{c=this.predicate.call(this.thisArg, a,this.index++,this.source)}catch(d){this.destination.error(d);return}c||this.notifyComplete(!1)};a.prototype._complete=function(){this.notifyComplete(!0)};return a}(m);g.prototype.every=function(b,a){return this.lift(new Rd(b,a,this))};g.prototype.map=xa;var Td=function(){function b(a){this.value=a}b.prototype.call=function(a,c){return c.subscribe(new Sd(a,this.value))};return b}(),Sd=function(b){function a(a,f){b.call(this,a);this.value=f}__extends(a,b);a.prototype._next=function(a){this.destination.next(this.value)}; return a}(m);g.prototype.mapTo=function(b){return this.lift(new Td(b))};var Vd=function(){function b(){}b.prototype.call=function(a,c){return c.subscribe(new Ud(a))};return b}(),Ud=function(b){function a(a){b.call(this,a)}__extends(a,b);a.prototype._next=function(a){this.destination.next(B.createNext(a))};a.prototype._error=function(a){var c=this.destination;c.next(B.createError(a));c.complete()};a.prototype._complete=function(){var a=this.destination;a.next(B.createComplete());a.complete()};return a}(m); g.prototype.materialize=function(){return this.lift(new Vd)};var oa=function(){function b(a,c,b){void 0===b&&(b=!1);this.accumulator=a;this.seed=c;this.hasSeed=b}b.prototype.call=function(a,c){return c.subscribe(new Wd(a,this.accumulator,this.seed,this.hasSeed))};return b}(),Wd=function(b){function a(a,f,d,e){b.call(this,a);this.accumulator=f;this.hasSeed=e;this.hasValue=!1;this.acc=d}__extends(a,b);a.prototype._next=function(a){this.hasValue||(this.hasValue=this.hasSeed)?this._tryReduce(a):(this.acc= a,this.hasValue=!0)};a.prototype._tryReduce=function(a){var c;try{c=this.accumulator(this.acc,a)}catch(d){this.destination.error(d);return}this.acc=c};a.prototype._complete=function(){(this.hasValue||this.hasSeed)&&this.destination.next(this.acc);this.destination.complete()};return a}(m);g.prototype.max=function(b){return this.lift(new oa("function"===typeof b?function(a,c){return 0<b(a,c)?a:c}:function(a,c){return a>c?a:c}))};g.prototype.merge=function(){for(var b=[],a=0;a<arguments.length;a++)b[a- 0]=arguments[a];return this.lift.call(ta.apply(void 0,[this].concat(b)))};g.prototype.mergeAll=function(b){void 0===b&&(b=Number.POSITIVE_INFINITY);return this.lift(new ba(b))};g.prototype.mergeMap=Ca;g.prototype.flatMap=Ca;g.prototype.flatMapTo=Ea;g.prototype.mergeMapTo=Ea;var Yd=function(){function b(a,c,b){this.project=a;this.seed=c;this.concurrent=b}b.prototype.call=function(a,c){return c.subscribe(new Xd(a,this.project,this.seed,this.concurrent))};return b}(),Xd=function(b){function a(a,f,d, e){b.call(this,a);this.project=f;this.acc=d;this.concurrent=e;this.hasCompleted=this.hasValue=!1;this.buffer=[];this.index=this.active=0}__extends(a,b);a.prototype._next=function(a){if(this.active<this.concurrent){var c=this.index++,b=l(this.project)(this.acc,a),e=this.destination;b===p?e.error(p.e):(this.active++,this._innerSub(b,a,c))}else this.buffer.push(a)};a.prototype._innerSub=function(a,b,d){this.add(q(this,a,b,d))};a.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0=== this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())};a.prototype.notifyNext=function(a,b,d,e,h){a=this.destination;this.acc=b;this.hasValue=!0;a.next(b)};a.prototype.notifyComplete=function(a){var c=this.buffer;this.remove(a);this.active--;0<c.length?this._next(c.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())};return a}(u);g.prototype.mergeScan=function(b,a,c){void 0=== c&&(c=Number.POSITIVE_INFINITY);return this.lift(new Yd(b,a,c))};g.prototype.min=function(b){return this.lift(new oa("function"===typeof b?function(a,c){return 0>b(a,c)?a:c}:function(a,c){return a<c?a:c}))};var Y=function(b){function a(a,f){b.call(this);this.source=a;this.subjectFactory=f;this._refCount=0}__extends(a,b);a.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};a.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory(); return this._subject};a.prototype.connect=function(){var a=this._connection;a||(a=this._connection=new y,a.add(this.source.subscribe(new Zd(this.getSubject(),this))),a.closed?(this._connection=null,a=y.EMPTY):this._connection=a);return a};a.prototype.refCount=function(){return this.lift(new $d(this))};return a}(g),Ib={operator:{value:null},_refCount:{value:0,writable:!0},_subscribe:{value:Y.prototype._subscribe},getSubject:{value:Y.prototype.getSubject},connect:{value:Y.prototype.connect},refCount:{value:Y.prototype.refCount}}, Zd=function(b){function a(a,f){b.call(this,a);this.connectable=f}__extends(a,b);a.prototype._error=function(a){this._unsubscribe();b.prototype._error.call(this,a)};a.prototype._complete=function(){this._unsubscribe();b.prototype._complete.call(this)};a.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._connection;a._refCount=0;a._subject=null;a._connection=null;b&&b.unsubscribe()}};return a}(Pa),$d=function(){function b(a){this.connectable=a}b.prototype.call= function(a,c){var b=this.connectable;b._refCount++;a=new ae(a,b);c=c.subscribe(a);a.closed||(a.connection=b.connect());return c};return b}(),ae=function(b){function a(a,f){b.call(this,a);this.connectable=f}__extends(a,b);a.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._refCount;0>=b?this.connection=null:(a._refCount=b-1,1<b?this.connection=null:(b=this.connection,a=a._connection,this.connection=null,!a||b&&a!==b||a.unsubscribe()))}else this.connection= null};return a}(m),Hb=function(){function b(a,c){this.subjectFactory=a;this.selector=c}b.prototype.call=function(a,c){var b=this.selector,d=this.subjectFactory();a=b(d).subscribe(a);a.add(c.subscribe(d));return a};return b}();g.prototype.multicast=N;g.prototype.observeOn=function(b,a){void 0===a&&(a=0);return this.lift(new dc(b,a))};g.prototype.onErrorResumeNext=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];1===b.length&&F(b[0])&&(b=b[0]);return this.lift(new Wa(b))};var ce= function(){function b(){}b.prototype.call=function(a,c){return c.subscribe(new be(a))};return b}(),be=function(b){function a(a){b.call(this,a);this.hasPrev=!1}__extends(a,b);a.prototype._next=function(a){this.hasPrev?this.destination.next([this.prev,a]):this.hasPrev=!0;this.prev=a};return a}(m);g.prototype.pairwise=function(){return this.lift(new ce)};g.prototype.partition=function(b,a){return[ia.call(this,b,a),ia.call(this,Jb(b,a))]};g.prototype.pluck=function(){for(var b=[],a=0;a<arguments.length;a++)b[a- 0]=arguments[a];a=b.length;if(0===a)throw Error("list of properties cannot be empty.");return xa.call(this,Kb(b,a))};g.prototype.publish=function(b){return b?N.call(this,function(){return new z},b):N.call(this,new z)};var cb=function(b){function a(a){b.call(this);this._value=a}__extends(a,b);Object.defineProperty(a.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0});a.prototype._subscribe=function(a){var c=b.prototype._subscribe.call(this,a);c&&!c.closed&&a.next(this._value); return c};a.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new O;return this._value};a.prototype.next=function(a){b.prototype.next.call(this,this._value=a)};return a}(z);g.prototype.publishBehavior=function(b){return N.call(this,new cb(b))};g.prototype.publishReplay=function(b,a,c){void 0===b&&(b=Number.POSITIVE_INFINITY);void 0===a&&(a=Number.POSITIVE_INFINITY);return N.call(this,new R(b,a,c))};g.prototype.publishLast=function(){return N.call(this,new P)}; g.prototype.race=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];1===b.length&&F(b[0])&&(b=b[0]);return this.lift.call(ua.apply(void 0,[this].concat(b)))};g.prototype.reduce=function(b,a){var c=!1;2<=arguments.length&&(c=!0);return this.lift(new oa(b,a,c))};var db=function(){function b(a,c){this.count=a;this.source=c}b.prototype.call=function(a,c){return c.subscribe(new de(a,this.count,this.source))};return b}(),de=function(b){function a(a,f,d){b.call(this,a);this.count=f;this.source= d}__extends(a,b);a.prototype.complete=function(){if(!this.isStopped){var a=this.source,f=this.count;if(0===f)return b.prototype.complete.call(this);-1<f&&(this.count=f-1);this.unsubscribe();this.closed=this.isStopped=!1;a.subscribe(this)}};return a}(m);g.prototype.repeat=function(b){void 0===b&&(b=-1);return 0===b?new L:0>b?this.lift(new db(-1,this)):this.lift(new db(b-1,this))};var fe=function(){function b(a,c){this.notifier=a;this.source=c}b.prototype.call=function(a,c){return c.subscribe(new ee(a, this.notifier,this.source))};return b}(),ee=function(b){function a(a,f,d){b.call(this,a);this.notifier=f;this.source=d}__extends(a,b);a.prototype.complete=function(){if(!this.isStopped){var a=this.notifications,f=this.retries,d=this.retriesSubscription;if(f)this.retriesSubscription=this.notifications=null;else{a=new z;f=l(this.notifier)(a);if(f===p)return b.prototype.complete.call(this);d=q(this,f)}this.unsubscribe();this.closed=!1;this.notifications=a;this.retries=f;this.retriesSubscription=d;a.next()}};
this.isStopped=!1;c.subscribe(this)}};return a}(m);g.prototype.retry=function(b){void 0===b&&(b=-1);return this.lift(new he(b,this))};var je=function(){function b(a,c){this.notifier=a;this.source=c}b.prototype.call=function(a,c){return c.subscribe(new ie(a,this.notifier,this.source))};return b}(),ie=function(b){function a(a,f,d){b.call(this,a);this.notifier=f;this.source=d}__extends(a,b);a.prototype.error=function(a){if(!this.isStopped){var c=this.errors,d=this.retries,e=this.retriesSubscription; if(d)this.retriesSubscription=this.errors=null;else{c=new z;d=l(this.notifier)(c);if(d===p)return b.prototype.error.call(this,p.e);e=q(this,d)}this.unsubscribe();this.closed=!1;this.errors=c;this.retries=d;this.retriesSubscription=e;c.next(a)}};a.prototype._unsubscribe=function(){var a=this.errors,b=this.retriesSubscription;a&&(a.unsubscribe(),this.errors=null);b&&(b.unsubscribe(),this.retriesSubscription=null);this.retries=null};a.prototype.notifyNext=function(a,b,d,e,h){a=this.errors;b=this.retries; d=this.retriesSubscription;this.retriesSubscription=this.retries=this.errors=null;this.unsubscribe();this.closed=this.isStopped=!1;this.errors=a;this.retries=b;this.retriesSubscription=d;this.source.subscribe(this)};return a}(u);g.prototype.retryWhen=function(b){return this.lift(new je(b,this))};var le=function(){function b(a){this.notifier=a}b.prototype.call=function(a,c){a=new ke(a);c=c.subscribe(a);c.add(q(a,this.notifier));return c};return b}(),ke=function(b){function a(){b.apply(this,arguments); this.hasValue=!1}__extends(a,b);a.prototype._next=function(a){this.value=a;this.hasValue=!0};a.prototype.notifyNext=function(a,b,d,e,h){this.emitValue()};a.prototype.notifyComplete=function(){this.emitValue()};a.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))};return a}(u);g.prototype.sample=function(b){return this.lift(new le(b))};var ne=function(){function b(a,c){this.period=a;this.scheduler=c}b.prototype.call=function(a,c){return c.subscribe(new me(a, this.period,this.scheduler))};return b}(),me=function(b){function a(a,f,d){b.call(this,a);this.period=f;this.scheduler=d;this.hasValue=!1;this.add(d.schedule(Lb,f,{subscriber:this,period:f}))}__extends(a,b);a.prototype._next=function(a){this.lastValue=a;this.hasValue=!0};a.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))};return a}(m);g.prototype.sampleTime=function(b,a){void 0===a&&(a=C);return this.lift(new ne(b,a))};var pe=function(){function b(a, c,b){void 0===b&&(b=!1);this.accumulator=a;this.seed=c;this.hasSeed=b}b.prototype.call=function(a,c){return c.subscribe(new oe(a,this.accumulator,this.seed,this.hasSeed))};return b}(),oe=function(b){function a(a,f,d,e){b.call(this,a);this.accumulator=f;this._seed=d;this.hasSeed=e;this.index=0}__extends(a,b);Object.defineProperty(a.prototype,"seed",{get:function(){return this._seed},set:function(a){this.hasSeed=!0;this._seed=a},enumerable:!0,configurable:!0});a.prototype._next=function(a){if(this.hasSeed)return this._tryNext(a); this.seed=a;this.destination.next(a)};a.prototype._tryNext=function(a){var c=this.index++,b;try{b=this.accumulator(this.seed,a,c)}catch(e){this.destination.error(e)}this.seed=b;this.destination.next(b)};return a}(m);g.prototype.scan=function(b,a){var c=!1;2<=arguments.length&&(c=!0);return this.lift(new pe(b,a,c))};var re=function(){function b(a,c){this.compareTo=a;this.comparor=c}b.prototype.call=function(a,c){return c.subscribe(new qe(a,this.compareTo,this.comparor))};return b}(),qe=function(b){function a(a, f,d){b.call(this,a);this.compareTo=f;this.comparor=d;this._a=[];this._b=[];this._oneComplete=!1;this.add(f.subscribe(new se(a,this)))}__extends(a,b);a.prototype._next=function(a){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(a),this.checkValues())};a.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0};a.prototype.checkValues=function(){for(var a=this._a,b=this._b,d=this.comparor;0<a.length&&0<b.length;){var e= a.shift(),h=b.shift();d?(e=l(d)(e,h),e===p&&this.destination.error(p.e)):e=e===h;e||this.emit(!1)}};a.prototype.emit=function(a){var c=this.destination;c.next(a);c.complete()};a.prototype.nextB=function(a){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(a),this.checkValues())};return a}(m),se=function(b){function a(a,f){b.call(this,a);this.parent=f}__extends(a,b);a.prototype._next=function(a){this.parent.nextB(a)};a.prototype._error=function(a){this.parent.error(a)};a.prototype._complete= function(){this.parent._complete()};return a}(m);g.prototype.sequenceEqual=function(b,a){return this.lift(new re(b,a))};g.prototype.share=function(){return N.call(this,Mb).refCount()};var ue=function(){function b(a,c){this.predicate=a;this.source=c}b.prototype.call=function(a,c){return c.subscribe(new te(a,this.predicate,this.source))};return b}(),te=function(b){function a(a,f,d){b.call(this,a);this.predicate=f;this.source=d;this.seenValue=!1;this.index=0}__extends(a,b);a.prototype.applySingleValue= function(a){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=a)};a.prototype._next=function(a){var c=this.predicate;this.index++;c?this.tryNext(a):this.applySingleValue(a)};a.prototype.tryNext=function(a){try{this.predicate(a,this.index,this.source)&&this.applySingleValue(a)}catch(f){this.destination.error(f)}};a.prototype._complete=function(){var a=this.destination;0<this.index?(a.next(this.seenValue?this.singleValue:void 0),a.complete()): a.error(new fa)};return a}(m);g.prototype.single=function(b){return this.lift(new ue(b,this))};var we=function(){function b(a){this.total=a}b.prototype.call=function(a,c){return c.subscribe(new ve(a,this.total))};return b}(),ve=function(b){function a(a,f){b.call(this,a);this.total=f;this.count=0}__extends(a,b);a.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};return a}(m);g.prototype.skip=function(b){return this.lift(new we(b))};var ye=function(){function b(a){this.notifier= a}b.prototype.call=function(a,c){return c.subscribe(new xe(a,this.notifier))};return b}(),xe=function(b){function a(a,f){b.call(this,a);this.isInnerStopped=this.hasValue=!1;this.add(q(this,f))}__extends(a,b);a.prototype._next=function(a){this.hasValue&&b.prototype._next.call(this,a)};a.prototype._complete=function(){this.isInnerStopped?b.prototype._complete.call(this):this.unsubscribe()};a.prototype.notifyNext=function(a,b,d,e,h){this.hasValue=!0};a.prototype.notifyComplete=function(){this.isInnerStopped= !0;this.isStopped&&b.prototype._complete.call(this)};return a}(u);g.prototype.skipUntil=function(b){return this.lift(new ye(b))};var Ae=function(){function b(a){this.predicate=a}b.prototype.call=function(a,c){return c.subscribe(new ze(a,this.predicate))};return b}(),ze=function(b){function a(a,f){b.call(this,a);this.predicate=f;this.skipping=!0;this.index=0}__extends(a,b);a.prototype._next=function(a){var c=this.destination;this.skipping&&this.tryCallPredicate(a);this.skipping||c.next(a)};a.prototype.tryCallPredicate= function(a){try{this.skipping=!!this.predicate(a,this.index++)}catch(f){this.destination.error(f)}};return a}(m);g.prototype.skipWhile=function(b){return this.lift(new Ae(b))};g.prototype.startWith=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];a=b[b.length-1];E(a)?b.pop():a=null;var c=b.length;return 1===c?T(new la(b[0],a),this):1<c?T(new K(b,a),this):T(new L(a),this)};var eb=new (function(){function b(a){this.root=a;a.setImmediate&&"function"===typeof a.setImmediate?(this.setImmediate= a.setImmediate.bind(a),this.clearImmediate=a.clearImmediate.bind(a)):(this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate= this.createSetTimeoutSetImmediate(),a=function f(a){delete f.instance.tasksByHandle[a]},a.instance=this,this.clearImmediate=a)}b.prototype.identify=function(a){return this.root.Object.prototype.toString.call(a)};b.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)};b.prototype.canUseMessageChannel=function(){return!!this.root.MessageChannel};b.prototype.canUseReadyStateChange=function(){var a=this.root.document;return!!(a&&"onreadystatechange"in a.createElement("script"))};b.prototype.canUsePostMessage=function(){var a=this.root;if(a.postMessage&&!a.importScripts){var c=!0,b=a.onmessage;a.onmessage=function(){c=!1};a.postMessage("","*");a.onmessage=b;return c}return!1};b.prototype.partiallyApplied=function(a){for(var c=[],b=1;b<arguments.length;b++)c[b-1]=arguments[b];b=function e(){var a=e.handler,c=e.args;"function"===typeof a?a.apply(void 0,c):(new Function(""+a))()};b.handler=a;b.args=c;return b};b.prototype.addFromSetImmediateArguments= function(a){this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,a);return this.nextHandle++};b.prototype.createProcessNextTickSetImmediate=function(){var a=function f(){var a=f.instance,b=a.addFromSetImmediateArguments(arguments);a.root.process.nextTick(a.partiallyApplied(a.runIfPresent,b));return b};a.instance=this;return a};b.prototype.createPostMessageSetImmediate=function(){var a=this.root,c="setImmediate$"+a.Math.random()+"$",b=function e(b){var f=e.instance;b.source===a&& "string"===typeof b.data&&0===b.data.indexOf(c)&&f.runIfPresent(+b.data.slice(c.length))};b.instance=this;a.addEventListener("message",b,!1);b=function h(){var a=h,b=a.messagePrefix,a=a.instance,c=a.addFromSetImmediateArguments(arguments);a.root.postMessage(b+c,"*");return c};b.instance=this;b.messagePrefix=c;return b};b.prototype.runIfPresent=function(a){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,a),0);else{var b=this.tasksByHandle[a];if(b){this.currentlyRunningATask= !0;try{b()}finally{this.clearImmediate(a),this.currentlyRunningATask=!1}}}};b.prototype.createMessageChannelSetImmediate=function(){var a=this,b=new this.root.MessageChannel;b.port1.onmessage=function(b){a.runIfPresent(b.data)};var f=function e(){var a=e,b=a.channel,a=a.instance.addFromSetImmediateArguments(arguments);b.port2.postMessage(a);return a};f.channel=b;f.instance=this;return f};b.prototype.createReadyStateChangeSetImmediate=function(){var a=function f(){var a=f.instance,b=a.root.document, h=b.documentElement,g=a.addFromSetImmediateArguments(arguments),k=b.createElement("script");k.onreadystatechange=function(){a.runIfPresent(g);k.onreadystatechange=null;h.removeChild(k);k=null};h.appendChild(k);return g};a.instance=this;return a};b.prototype.createSetTimeoutSetImmediate=function(){var a=function f(){var a=f.instance,b=a.addFromSetImmediateArguments(arguments);a.root.setTimeout(a.partiallyApplied(a.runIfPresent,b),0);return b};a.instance=this;return a};return b}())(r),Be=function(b){function a(a, f){b.call(this,a,f);this.scheduler=a;this.work=f}__extends(a,b);a.prototype.requestAsyncId=function(a,f,d){void 0===d&&(d=0);if(null!==d&&0<d)return b.prototype.requestAsyncId.call(this,a,f,d);a.actions.push(this);return a.scheduled||(a.scheduled=eb.setImmediate(a.flush.bind(a,null)))};a.prototype.recycleAsyncId=function(a,f,d){void 0===d&&(d=0);if(null!==d&&0<d||null===d&&0<this.delay)return b.prototype.recycleAsyncId.call(this,a,f,d);0===a.actions.length&&(eb.clearImmediate(f),a.scheduled=void 0)}; return a}(V),ga=new (function(b){function a(){b.apply(this,arguments)}__extends(a,b);a.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,e=-1,g=b.length;a=a||b.shift();do if(c=a.execute(a.state,a.delay))break;while(++e<g&&(a=b.shift()));this.active=!1;if(c){for(;++e<g&&(a=b.shift());)a.unsubscribe();throw c;}};return a}(W))(Be),Ce=function(b){function a(a,f,d){void 0===f&&(f=0);void 0===d&&(d=ga);b.call(this);this.source=a;this.delayTime=f;this.scheduler=d;if(!ha(f)|| 0>f)this.delayTime=0;d&&"function"===typeof d.schedule||(this.scheduler=ga)}__extends(a,b);a.create=function(b,f,d){void 0===f&&(f=0);void 0===d&&(d=ga);return new a(b,f,d)};a.dispatch=function(a){return this.add(a.source.subscribe(a.subscriber))};a.prototype._subscribe=function(b){return this.scheduler.schedule(a.dispatch,this.delayTime,{source:this.source,subscriber:b})};return a}(g),De=function(){function b(a,b){this.scheduler=a;this.delay=b}b.prototype.call=function(a,b){return(new Ce(b,this.delay, this.scheduler)).subscribe(a)};return b}();g.prototype.subscribeOn=function(b,a){void 0===a&&(a=0);return this.lift(new De(b,a))};var Nb=function(){function b(){}b.prototype.call=function(a,b){return b.subscribe(new Ee(a))};return b}(),Ee=function(b){function a(a){b.call(this,a);this.active=0;this.hasCompleted=!1}__extends(a,b);a.prototype._next=function(a){this.unsubscribeInner();this.active++;this.add(this.innerSubscription=q(this,a))};a.prototype._complete=function(){this.hasCompleted=!0;0===this.active&& this.destination.complete()};a.prototype.unsubscribeInner=function(){this.active=0<this.active?this.active-1:0;var a=this.innerSubscription;a&&(a.unsubscribe(),this.remove(a))};a.prototype.notifyNext=function(a,b,d,e,g){this.destination.next(b)};a.prototype.notifyError=function(a){this.destination.error(a)};a.prototype.notifyComplete=function(){this.unsubscribeInner();this.hasCompleted&&0===this.active&&this.destination.complete()};return a}(u);g.prototype.switch=Ka;g.prototype._switch=Ka;var Ge= function(){function b(a,b){this.project=a;this.resultSelector=b}b.prototype.call=function(a,b){return b.subscribe(new Fe(a,this.project,this.resultSelector))};return b}(),Fe=function(b){function a(a,f,d){b.call(this,a);this.project=f;this.resultSelector=d;this.index=0}__extends(a,b);a.prototype._next=function(a){var b,c=this.index++;try{b=this.project(a,c)}catch(e){this.destination.error(e);return}this._innerSub(b,a,c)};a.prototype._innerSub=function(a,b,d){var c=this.innerSubscription;c&&c.unsubscribe(); this.add(this.innerSubscription=q(this,a,b,d))};a.prototype._complete=function(){var a=this.innerSubscription;a&&!a.closed||b.prototype._complete.call(this)};a.prototype._unsubscribe=function(){this.innerSubscription=null};a.prototype.notifyComplete=function(a){this.remove(a);this.innerSubscription=null;this.isStopped&&b.prototype._complete.call(this)};a.prototype.notifyNext=function(a,b,d,e,g){this.resultSelector?this._tryNotifyNext(a,b,d,e):this.destination.next(b)};a.prototype._tryNotifyNext=function(a, b,d,e){var c;try{c=this.resultSelector(a,b,d,e)}catch(D){this.destination.error(D);return}this.destination.next(c)};return a}(u);g.prototype.switchMap=function(b,a){return this.lift(new Ge(b,a))};var Ie=function(){function b(a,b){this.observable=a;this.resultSelector=b}b.prototype.call=function(a,b){return b.subscribe(new He(a,this.observable,this.resultSelector))};return b}(),He=function(b){function a(a,f,d){b.call(this,a);this.inner=f;this.resultSelector=d;this.index=0}__extends(a,b);a.prototype._next= function(a){var b=this.innerSubscription;b&&b.unsubscribe();this.add(this.innerSubscription=q(this,this.inner,a,this.index++))};a.prototype._complete=function(){var a=this.innerSubscription;a&&!a.closed||b.prototype._complete.call(this)};a.prototype._unsubscribe=function(){this.innerSubscription=null};a.prototype.notifyComplete=function(a){this.remove(a);this.innerSubscription=null;this.isStopped&&b.prototype._complete.call(this)};a.prototype.notifyNext=function(a,b,d,e,g){g=this.destination;this.resultSelector? this.tryResultSelector(a,b,d,e):g.next(b)};a.prototype.tryResultSelector=function(a,b,d,e){var c=this.resultSelector,f=this.destination,g;try{g=c(a,b,d,e)}catch(J){f.error(J);return}f.next(g)};return a}(u);g.prototype.switchMapTo=function(b,a){return this.lift(new Ie(b,a))};var Ke=function(){function b(a){this.total=a;if(0>this.total)throw new X;}b.prototype.call=function(a,b){return b.subscribe(new Je(a,this.total))};return b}(),Je=function(b){function a(a,f){b.call(this,a);this.total=f;this.count= 0}__extends(a,b);a.prototype._next=function(a){var b=this.total,c=++this.count;c<=b&&(this.destination.next(a),c===b&&(this.destination.complete(),this.unsubscribe()))};return a}(m);g.prototype.take=function(b){return 0===b?new L:this.lift(new Ke(b))};var Me=function(){function b(a){this.total=a;if(0>this.total)throw new X;}b.prototype.call=function(a,b){return b.subscribe(new Le(a,this.total))};return b}(),Le=function(b){function a(a,f){b.call(this,a);this.total=f;this.ring=[];this.count=0}__extends(a, b);a.prototype._next=function(a){var b=this.ring,c=this.total,e=this.count++;b.length<c?b.push(a):b[e%c]=a};a.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var d=this.count>=this.total?this.total:this.count,e=this.ring,g=0;g<d;g++){var k=b++%d;a.next(e[k])}a.complete()};return a}(m);g.prototype.takeLast=function(b){return 0===b?new L:this.lift(new Me(b))};var Oe=function(){function b(a){this.notifier=a}b.prototype.call=function(a,b){return b.subscribe(new Ne(a,this.notifier))}; return b}(),Ne=function(b){function a(a,f){b.call(this,a);this.notifier=f;this.add(q(this,f))}__extends(a,b);a.prototype.notifyNext=function(a,b,d,e,g){this.complete()};a.prototype.notifyComplete=function(){};return a}(u);g.prototype.takeUntil=function(b){return this.lift(new Oe(b))};var Qe=function(){function b(a){this.predicate=a}b.prototype.call=function(a,b){return b.subscribe(new Pe(a,this.predicate))};return b}(),Pe=function(b){function a(a,f){b.call(this,a);this.predicate=f;this.index=0}__extends(a, b);a.prototype._next=function(a){var b=this.destination,c;try{c=this.predicate(a,this.index++)}catch(e){b.error(e);return}this.nextOrComplete(a,c)};a.prototype.nextOrComplete=function(a,b){var c=this.destination;b?c.next(a):c.complete()};return a}(m);g.prototype.takeWhile=function(b){return this.lift(new Qe(b))};var Se=function(){function b(a){this.durationSelector=a}b.prototype.call=function(a,b){return b.subscribe(new Re(a,this.durationSelector))};return b}(),Re=function(b){function a(a,f){b.call(this, a);this.destination=a;this.durationSelector=f}__extends(a,b);a.prototype._next=function(a){this.throttled||this.tryDurationSelector(a)};a.prototype.tryDurationSelector=function(a){var b=null;try{b=this.durationSelector(a)}catch(d){this.destination.error(d);return}this.emitAndThrottle(a,b)};a.prototype.emitAndThrottle=function(a,b){this.add(this.throttled=q(this,b));this.destination.next(a)};a.prototype._unsubscribe=function(){var a=this.throttled;a&&(this.remove(a),this.throttled=null,a.unsubscribe())}; a.prototype.notifyNext=function(a,b,d,e,g){this._unsubscribe()};a.prototype.notifyComplete=function(){this._unsubscribe()};return a}(u);g.prototype.throttle=function(b){return this.lift(new Se(b))};var Ue=function(){function b(a,b){this.duration=a;this.scheduler=b}b.prototype.call=function(a,b){return b.subscribe(new Te(a,this.duration,this.scheduler))};return b}(),Te=function(b){function a(a,f,d){b.call(this,a);this.duration=f;this.scheduler=d}__extends(a,b);a.prototype._next=function(a){this.throttled|| (this.add(this.throttled=this.scheduler.schedule(Ob,this.duration,{subscriber:this})),this.destination.next(a))};a.prototype.clearThrottle=function(){var a=this.throttled;a&&(a.unsubscribe(),this.remove(a),this.throttled=null)};return a}(m);g.prototype.throttleTime=function(b,a){void 0===a&&(a=C);return this.lift(new Ue(b,a))};var fb=function(){return function(b,a){this.value=b;this.interval=a}}(),We=function(){function b(a){this.scheduler=a}b.prototype.call=function(a,b){return b.subscribe(new Ve(a, this.scheduler))};return b}(),Ve=function(b){function a(a,f){b.call(this,a);this.scheduler=f;this.lastTime=0;this.lastTime=f.now()}__extends(a,b);a.prototype._next=function(a){var b=this.scheduler.now(),c=b-this.lastTime;this.lastTime=b;this.destination.next(new fb(a,c))};return a}(m);g.prototype.timeInterval=function(b){void 0===b&&(b=C);return this.lift(new We(b))};var gb=function(b){function a(){var a=b.call(this,"Timeout has occurred");this.name=a.name="TimeoutError";this.stack=a.stack;this.message= a.message}__extends(a,b);return a}(Error),Ye=function(){function b(a,b,f,d){this.waitFor=a;this.absoluteTimeout=b;this.scheduler=f;this.errorInstance=d}b.prototype.call=function(a,b){return b.subscribe(new Xe(a,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))};return b}(),Xe=function(b){function a(a,f,d,e,g){b.call(this,a);this.absoluteTimeout=f;this.waitFor=d;this.scheduler=e;this.errorInstance=g;this._previousIndex=this.index=0;this._hasCompleted=!1;this.scheduleTimeout()}__extends(a, b);Object.defineProperty(a.prototype,"previousIndex",{get:function(){return this._previousIndex},enumerable:!0,configurable:!0});Object.defineProperty(a.prototype,"hasCompleted",{get:function(){return this._hasCompleted},enumerable:!0,configurable:!0});a.dispatchTimeout=function(a){var b=a.subscriber;a=a.index;b.hasCompleted||b.previousIndex!==a||b.notifyTimeout()};a.prototype.scheduleTimeout=function(){var b=this.index;this.scheduler.schedule(a.dispatchTimeout,this.waitFor,{subscriber:this,index:b}); this.index++;this._previousIndex=b};a.prototype._next=function(a){this.destination.next(a);this.absoluteTimeout||this.scheduleTimeout()};a.prototype._error=function(a){this.destination.error(a);this._hasCompleted=!0};a.prototype._complete=function(){this.destination.complete();this._hasCompleted=!0};a.prototype.notifyTimeout=function(){this.error(this.errorInstance)};return a}(m);g.prototype.timeout=function(b,a){void 0===a&&(a=C);var c=ca(b);b=c?+b-a.now():Math.abs(b);return this.lift(new Ye(b,c, a,new gb))};var $e=function(){function b(a,b,f,d){this.waitFor=a;this.absoluteTimeout=b;this.withObservable=f;this.scheduler=d}b.prototype.call=function(a,b){return b.subscribe(new Ze(a,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))};return b}(),Ze=function(b){function a(a,f,d,e,g){b.call(this);this.destination=a;this.absoluteTimeout=f;this.waitFor=d;this.withObservable=e;this.scheduler=g;this.timeoutSubscription=void 0;this._previousIndex=this.index=0;this._hasCompleted=!1; a.add(this);this.scheduleTimeout()}__extends(a,b);Object.defineProperty(a.prototype,"previousIndex",{get:function(){return this._previousIndex},enumerable:!0,configurable:!0});Object.defineProperty(a.prototype,"hasCompleted",{get:function(){return this._hasCompleted},enumerable:!0,configurable:!0});a.dispatchTimeout=function(a){var b=a.subscriber;a=a.index;b.hasCompleted||b.previousIndex!==a||b.handleTimeout()};a.prototype.scheduleTimeout=function(){var b=this.index;this.scheduler.schedule(a.dispatchTimeout, this.waitFor,{subscriber:this,index:b});this.index++;this._previousIndex=b};a.prototype._next=function(a){this.destination.next(a);this.absoluteTimeout||this.scheduleTimeout()};a.prototype._error=function(a){this.destination.error(a);this._hasCompleted=!0};a.prototype._complete=function(){this.destination.complete();this._hasCompleted=!0};a.prototype.handleTimeout=function(){if(!this.closed){var a=this.withObservable;this.unsubscribe();this.destination.add(this.timeoutSubscription=q(this,a))}};return a}(u); g.prototype.timeoutWith=function(b,a,c){void 0===c&&(c=C);var f=ca(b);b=f?+b-c.now():Math.abs(b);return this.lift(new $e(b,f,a,c))};var hb=function(){return function(b,a){this.value=b;this.timestamp=a}}(),bf=function(){function b(a){this.scheduler=a}b.prototype.call=function(a,b){return b.subscribe(new af(a,this.scheduler))};return b}(),af=function(b){function a(a,f){b.call(this,a);this.scheduler=f}__extends(a,b);a.prototype._next=function(a){var b=this.scheduler.now();this.destination.next(new hb(a, b))};return a}(m);g.prototype.timestamp=function(b){void 0===b&&(b=C);return this.lift(new bf(b))};var df=function(){function b(){}b.prototype.call=function(a,b){return b.subscribe(new cf(a))};return b}(),cf=function(b){function a(a){b.call(this,a);this.array=[]}__extends(a,b);a.prototype._next=function(a){this.array.push(a)};a.prototype._complete=function(){this.destination.next(this.array);this.destination.complete()};return a}(m);g.prototype.toArray=function(){return this.lift(new df)};g.prototype.toPromise= function(b){var a=this;b||(r.Rx&&r.Rx.config&&r.Rx.config.Promise?b=r.Rx.config.Promise:r.Promise&&(b=r.Promise));if(!b)throw Error("no Promise impl found");return new b(function(b,f){var c;a.subscribe(function(a){return c=a},function(a){return f(a)},function(){return b(c)})})};var ff=function(){function b(a){this.windowBoundaries=a}b.prototype.call=function(a,b){a=new ef(a);b=b.subscribe(a);b.closed||a.add(q(a,this.windowBoundaries));return b};return b}(),ef=function(b){function a(a){b.call(this, a);this.window=new z;a.next(this.window)}__extends(a,b);a.prototype.notifyNext=function(a,b,d,e,g){this.openWindow()};a.prototype.notifyError=function(a,b){this._error(a)};a.prototype.notifyComplete=function(a){this._complete()};a.prototype._next=function(a){this.window.next(a)};a.prototype._error=function(a){this.window.error(a);this.destination.error(a)};a.prototype._complete=function(){this.window.complete();this.destination.complete()};a.prototype._unsubscribe=function(){this.window=null};a.prototype.openWindow= function(){var a=this.window;a&&a.complete();var a=this.destination,b=this.window=new z;a.next(b)};return a}(u);g.prototype.window=function(b){return this.lift(new ff(b))};var hf=function(){function b(a,b){this.windowSize=a;this.startWindowEvery=b}b.prototype.call=function(a,b){return b.subscribe(new gf(a,this.windowSize,this.startWindowEvery))};return b}(),gf=function(b){function a(a,f,d){b.call(this,a);this.destination=a;this.windowSize=f;this.startWindowEvery=d;this.windows=[new z];this.count= 0;a.next(this.windows[0])}__extends(a,b);a.prototype._next=function(a){for(var b=0<this.startWindowEvery?this.startWindowEvery:this.windowSize,c=this.destination,e=this.windowSize,g=this.windows,k=g.length,l=0;l<k&&!this.closed;l++)g[l].next(a);a=this.count-e+1;0<=a&&0===a%b&&!this.closed&&g.shift().complete();0!==++this.count%b||this.closed||(b=new z,g.push(b),c.next(b))};a.prototype._error=function(a){var b=this.windows;if(b)for(;0<b.length&&!this.closed;)b.shift().error(a);this.destination.error(a)}; a.prototype._complete=function(){var a=this.windows;if(a)for(;0<a.length&&!this.closed;)a.shift().complete();this.destination.complete()};a.prototype._unsubscribe=function(){this.count=0;this.windows=null};return a}(m);g.prototype.windowCount=function(b,a){void 0===a&&(a=0);return this.lift(new hf(b,a))};var kf=function(){function b(a,b,f){this.windowTimeSpan=a;this.windowCreationInterval=b;this.scheduler=f}b.prototype.call=function(a,b){return b.subscribe(new jf(a,this.windowTimeSpan,this.windowCreationInterval, this.scheduler))};return b}(),jf=function(b){function a(a,f,d,e){b.call(this,a);this.destination=a;this.windowTimeSpan=f;this.windowCreationInterval=d;this.scheduler=e;this.windows=[];if(null!==d&&0<=d){a={subscriber:this,window:this.openWindow(),context:null};var c={windowTimeSpan:f,windowCreationInterval:d,subscriber:this,scheduler:e};this.add(e.schedule(La,f,a));this.add(e.schedule(Qb,d,c))}else d={subscriber:this,window:this.openWindow(),windowTimeSpan:f},this.add(e.schedule(Pb,f,d))}__extends(a, b);a.prototype._next=function(a){for(var b=this.windows,c=b.length,e=0;e<c;e++){var g=b[e];g.closed||g.next(a)}};a.prototype._error=function(a){for(var b=this.windows;0<b.length;)b.shift().error(a);this.destination.error(a)};a.prototype._complete=function(){for(var a=this.windows;0<a.length;){var b=a.shift();b.closed||b.complete()}this.destination.complete()};a.prototype.openWindow=function(){var a=new z;this.windows.push(a);this.destination.next(a);return a};a.prototype.closeWindow=function(a){a.complete(); var b=this.windows;b.splice(b.indexOf(a),1)};return a}(m);g.prototype.windowTime=function(b,a,c){void 0===a&&(a=null);void 0===c&&(c=C);return this.lift(new kf(b,a,c))};var mf=function(){function b(a,b){this.openings=a;this.closingSelector=b}b.prototype.call=function(a,b){return b.subscribe(new lf(a,this.openings,this.closingSelector))};return b}(),lf=function(b){function a(a,f,d){b.call(this,a);this.openings=f;this.closingSelector=d;this.contexts=[];this.add(this.openSubscription=q(this,f,f))}__extends(a, b);a.prototype._next=function(a){var b=this.contexts;if(b)for(var c=b.length,e=0;e<c;e++)b[e].window.next(a)};a.prototype._error=function(a){var c=this.contexts;this.contexts=null;if(c)for(var d=c.length,e=-1;++e<d;){var g=c[e];g.window.error(a);g.subscription.unsubscribe()}b.prototype._error.call(this,a)};a.prototype._complete=function(){var a=this.contexts;this.contexts=null;if(a)for(var f=a.length,d=-1;++d<f;){var e=a[d];e.window.complete();e.subscription.unsubscribe()}b.prototype._complete.call(this)}; a.prototype._unsubscribe=function(){var a=this.contexts;this.contexts=null;if(a)for(var b=a.length,d=-1;++d<b;){var e=a[d];e.window.unsubscribe();e.subscription.unsubscribe()}};a.prototype.notifyNext=function(a,b,d,e,g){if(a===this.openings){e=l(this.closingSelector)(b);if(e===p)return this.error(p.e);a=new z;b=new y;d={window:a,subscription:b};this.contexts.push(d);e=q(this,e,d);e.closed?this.closeWindow(this.contexts.length-1):(e.context=d,b.add(e));this.destination.next(a)}else this.closeWindow(this.contexts.indexOf(a))}; a.prototype.notifyError=function(a){this.error(a)};a.prototype.notifyComplete=function(a){a!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(a.context))};a.prototype.closeWindow=function(a){if(-1!==a){var b=this.contexts,c=b[a],e=c.window,c=c.subscription;b.splice(a,1);e.complete();c.unsubscribe()}};return a}(u);g.prototype.windowToggle=function(b,a){return this.lift(new mf(b,a))};var of=function(){function b(a){this.closingSelector=a}b.prototype.call=function(a,b){return b.subscribe(new nf(a, this.closingSelector))};return b}(),nf=function(b){function a(a,f){b.call(this,a);this.destination=a;this.closingSelector=f;this.openWindow()}__extends(a,b);a.prototype.notifyNext=function(a,b,d,e,g){this.openWindow(g)};a.prototype.notifyError=function(a,b){this._error(a)};a.prototype.notifyComplete=function(a){this.openWindow(a)};a.prototype._next=function(a){this.window.next(a)};a.prototype._error=function(a){this.window.error(a);this.destination.error(a);this.unsubscribeClosingNotification()}; a.prototype._complete=function(){this.window.complete();this.destination.complete();this.unsubscribeClosingNotification()};a.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()};a.prototype.openWindow=function(a){void 0===a&&(a=null);a&&(this.remove(a),a.unsubscribe());(a=this.window)&&a.complete();a=this.window=new z;this.destination.next(a);a=l(this.closingSelector)();a===p?(a=p.e,this.destination.error(a),this.window.error(a)):this.add(this.closingNotification= q(this,a))};return a}(u);g.prototype.windowWhen=function(b){return this.lift(new of(b))};var qf=function(){function b(a,b){this.observables=a;this.project=b}b.prototype.call=function(a,b){return b.subscribe(new pf(a,this.observables,this.project))};return b}(),pf=function(b){function a(a,f,d){b.call(this,a);this.observables=f;this.project=d;this.toRespond=[];a=f.length;this.values=Array(a);for(d=0;d<a;d++)this.toRespond.push(d);for(d=0;d<a;d++){var c=f[d];this.add(q(this,c,c,d))}}__extends(a,b);a.prototype.notifyNext= function(a,b,d,e,g){this.values[d]=b;a=this.toRespond;0<a.length&&(d=a.indexOf(d),-1!==d&&a.splice(d,1))};a.prototype.notifyComplete=function(){};a.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(this.values),this.project?this._tryProject(a):this.destination.next(a))};a.prototype._tryProject=function(a){var b;try{b=this.project.apply(this,a)}catch(d){this.destination.error(d);return}this.destination.next(b)};return a}(u);g.prototype.withLatestFrom=function(){for(var b=[],a=0;a< arguments.length;a++)b[a-0]=arguments[a];var c;"function"===typeof b[b.length-1]&&(c=b.pop());return this.lift(new qf(b,c))};g.prototype.zip=function(){for(var b=[],a=0;a<arguments.length;a++)b[a-0]=arguments[a];return this.lift.call(va.apply(void 0,[this].concat(b)))};g.prototype.zipAll=function(b){return this.lift(new wa(b))};var Z=function(){return function(b,a){void 0===a&&(a=Number.POSITIVE_INFINITY);this.subscribedFrame=b;this.unsubscribedFrame=a}}(),ib=function(){function b(){this.subscriptions= []}b.prototype.logSubscribedFrame=function(){this.subscriptions.push(new Z(this.scheduler.now()));return this.subscriptions.length-1};b.prototype.logUnsubscribedFrame=function(a){var b=this.subscriptions;b[a]=new Z(b[a].subscribedFrame,this.scheduler.now())};return b}(),pa=function(b){function a(a,f){b.call(this,function(a){var b=this,c=b.logSubscribedFrame();a.add(new y(function(){b.logUnsubscribedFrame(c)}));b.scheduleMessages(a);return a});this.messages=a;this.subscriptions=[];this.scheduler=f} __extends(a,b);a.prototype.scheduleMessages=function(a){for(var b=this.messages.length,c=0;c<b;c++){var e=this.messages[c];a.add(this.scheduler.schedule(function(a){a.message.notification.observe(a.subscriber)},e.frame,{message:e,subscriber:a}))}};return a}(g);Ma(pa,[ib]);var jb=function(b){function a(a,f){b.call(this);this.messages=a;this.subscriptions=[];this.scheduler=f}__extends(a,b);a.prototype._subscribe=function(a){var c=this,d=c.logSubscribedFrame();a.add(new y(function(){c.logUnsubscribedFrame(d)})); return b.prototype._subscribe.call(this,a)};a.prototype.setup=function(){for(var a=this,b=a.messages.length,d=0;d<b;d++)(function(){var b=a.messages[d];a.scheduler.schedule(function(){b.notification.observe(a)},b.frame)})()};return a}(z);Ma(jb,[ib]);var lb=function(b){function a(a,f){var c=this;void 0===a&&(a=kb);void 0===f&&(f=Number.POSITIVE_INFINITY);b.call(this,a,function(){return c.frame});this.maxFrames=f;this.frame=0;this.index=-1}__extends(a,b);a.prototype.flush=function(){for(var a=this.actions, b=this.maxFrames,d,e;(e=a.shift())&&(this.frame=e.delay)<=b&&!(d=e.execute(e.state,e.delay)););if(d){for(;e=a.shift();)e.unsubscribe();throw d;}};a.frameTimeFactor=10;return a}(W),kb=function(b){function a(a,f,d){void 0===d&&(d=a.index+=1);b.call(this,a,f);this.scheduler=a;this.work=f;this.index=d;this.index=a.index=d}__extends(a,b);a.prototype.schedule=function(c,f){void 0===f&&(f=0);if(!this.id)return b.prototype.schedule.call(this,c,f);var d=new a(this.scheduler,this.work);this.add(d);return d.schedule(c, f)};a.prototype.requestAsyncId=function(b,f,d){void 0===d&&(d=0);this.delay=b.frame+d;b=b.actions;b.push(this);b.sort(a.sortActions);return!0};a.prototype.recycleAsyncId=function(a,b,d){};a.sortActions=function(a,b){return a.delay===b.delay?a.index===b.index?0:a.index>b.index?1:-1:a.delay>b.delay?1:-1};return a}(V),rf=function(b){function a(a){b.call(this,kb,750);this.assertDeepEqual=a;this.hotObservables=[];this.coldObservables=[];this.flushTests=[]}__extends(a,b);a.prototype.createTime=function(b){b= b.indexOf("|");if(-1===b)throw Error('marble diagram for time should have a completion marker "|"');return b*a.frameTimeFactor};a.prototype.createColdObservable=function(b,f,d){if(-1!==b.indexOf("^"))throw Error('cold observable cannot have subscription offset "^"');if(-1!==b.indexOf("!"))throw Error('cold observable cannot have unsubscription marker "!"');b=a.parseMarbles(b,f,d);b=new pa(b,this);this.coldObservables.push(b);return b};a.prototype.createHotObservable=function(b,f,d){if(-1!==b.indexOf("!"))throw Error('hot observable cannot have unsubscription marker "!"'); b=a.parseMarbles(b,f,d);b=new jb(b,this);this.hotObservables.push(b);return b};a.prototype.materializeInnerObservable=function(a,b){var c=this,e=[];a.subscribe(function(a){e.push({frame:c.frame-b,notification:B.createNext(a)})},function(a){e.push({frame:c.frame-b,notification:B.createError(a)})},function(){e.push({frame:c.frame-b,notification:B.createComplete()})});return e};a.prototype.expectObservable=function(b,f){var c=this;void 0===f&&(f=null);var e=[],h={actual:e,ready:!1};f=a.parseMarblesAsSubscriptions(f).unsubscribedFrame; var k;this.schedule(function(){k=b.subscribe(function(a){var b=a;a instanceof g&&(b=c.materializeInnerObservable(b,c.frame));e.push({frame:c.frame,notification:B.createNext(b)})},function(a){e.push({frame:c.frame,notification:B.createError(a)})},function(){e.push({frame:c.frame,notification:B.createComplete()})})},0);f!==Number.POSITIVE_INFINITY&&this.schedule(function(){return k.unsubscribe()},f);this.flushTests.push(h);return{toBe:function(b,c,d){h.ready=!0;h.expected=a.parseMarbles(b,c,d,!0)}}}; a.prototype.expectSubscriptions=function(b){var c={actual:b,ready:!1};this.flushTests.push(c);return{toBe:function(b){b="string"===typeof b?[b]:b;c.ready=!0;c.expected=b.map(function(b){return a.parseMarblesAsSubscriptions(b)})}}};a.prototype.flush=function(){for(var a=this.hotObservables;0<a.length;)a.shift().setup();b.prototype.flush.call(this);for(a=this.flushTests.filter(function(a){return a.ready});0<a.length;){var f=a.shift();this.assertDeepEqual(f.actual,f.expected)}};a.parseMarblesAsSubscriptions= function(a){if("string"!==typeof a)return new Z(Number.POSITIVE_INFINITY);for(var b=a.length,c=-1,e=Number.POSITIVE_INFINITY,g=Number.POSITIVE_INFINITY,k=0;k<b;k++){var l=k*this.frameTimeFactor,m=a[k];switch(m){case "-":case " ":break;case "(":c=l;break;case ")":c=-1;break;case "^":if(e!==Number.POSITIVE_INFINITY)throw Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");e=-1<c?c:l;break;case "!":if(g!==Number.POSITIVE_INFINITY)throw Error("found a second subscription point '^' in a subscription marble diagram. There can only be one."); g=-1<c?c:l;break;default:throw Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+m+"'.");}}return 0>g?new Z(e):new Z(e,g)};a.parseMarbles=function(a,b,d,e){void 0===e&&(e=!1);if(-1!==a.indexOf("!"))throw Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var c=a.length,f=[],g=a.indexOf("^"),g=-1===g?0:g*-this.frameTimeFactor,k="object"!==typeof b?function(a){return a}:function(a){return e&&b[a]instanceof pa?b[a].messages: b[a]},l=-1,m=0;m<c;m++){var n=m*this.frameTimeFactor+g,p=void 0,q=a[m];switch(q){case "-":case " ":break;case "(":l=n;break;case ")":l=-1;break;case "|":p=B.createComplete();break;case "^":break;case "#":p=B.createError(d||"error");break;default:p=B.createNext(k(q))}p&&f.push({frame:-1<l?l:n,notification:p})}return f};return a}(lb),mb=new (function(){return function(b){b.requestAnimationFrame?(this.cancelAnimationFrame=b.cancelAnimationFrame.bind(b),this.requestAnimationFrame=b.requestAnimationFrame.bind(b)): b.mozRequestAnimationFrame?(this.cancelAnimationFrame=b.mozCancelAnimationFrame.bind(b),this.requestAnimationFrame=b.mozRequestAnimationFrame.bind(b)):b.webkitRequestAnimationFrame?(this.cancelAnimationFrame=b.webkitCancelAnimationFrame.bind(b),this.requestAnimationFrame=b.webkitRequestAnimationFrame.bind(b)):b.msRequestAnimationFrame?(this.cancelAnimationFrame=b.msCancelAnimationFrame.bind(b),this.requestAnimationFrame=b.msRequestAnimationFrame.bind(b)):b.oRequestAnimationFrame?(this.cancelAnimationFrame= b.oCancelAnimationFrame.bind(b),this.requestAnimationFrame=b.oRequestAnimationFrame.bind(b)):(this.cancelAnimationFrame=b.clearTimeout.bind(b),this.requestAnimationFrame=function(a){return b.setTimeout(a,1E3/60)})}}())(r),sf=function(b){function a(a,f){b.call(this,a,f);this.scheduler=a;this.work=f}__extends(a,b);a.prototype.requestAsyncId=function(a,f,d){void 0===d&&(d=0);if(null!==d&&0<d)return b.prototype.requestAsyncId.call(this,a,f,d);a.actions.push(this);return a.scheduled||(a.scheduled=mb.requestAnimationFrame(a.flush.bind(a, null)))};a.prototype.recycleAsyncId=function(a,f,d){void 0===d&&(d=0);if(null!==d&&0<d||null===d&&0<this.delay)return b.prototype.recycleAsyncId.call(this,a,f,d);0===a.actions.length&&(mb.cancelAnimationFrame(f),a.scheduled=void 0)};return a}(V),tf=new (function(b){function a(){b.apply(this,arguments)}__extends(a,b);a.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,e=-1,g=b.length;a=a||b.shift();do if(c=a.execute(a.state,a.delay))break;while(++e<g&&(a=b.shift())); this.active=!1;if(c){for(;++e<g&&(a=b.shift());)a.unsubscribe();throw c;}};return a}(W))(sf),uf={rxSubscriber:U,observable:M,iterator:G};k.Scheduler={asap:ga,queue:Za,animationFrame:tf,async:C};k.Symbol=uf;k.Subject=z;k.AnonymousSubject=da;k.Observable=g;k.Subscription=y;k.Subscriber=m;k.AsyncSubject=P;k.ReplaySubject=R;k.BehaviorSubject=cb;k.ConnectableObservable=Y;k.Notification=B;k.EmptyError=fa;k.ArgumentOutOfRangeError=X;k.ObjectUnsubscribedError=O;k.TimeoutError=gb;k.UnsubscriptionError=S;k.TimeInterval= fb;k.Timestamp=hb;k.TestScheduler=rf;k.VirtualTimeScheduler=lb;k.AjaxResponse=Xa;k.AjaxError=ea;k.AjaxTimeoutError=Ya;Object.defineProperty(k,"__esModule",{value:!0})});
a.prototype._unsubscribe=function(){var a=this.notifications,b=this.retriesSubscription;a&&(a.unsubscribe(),this.notifications=null);b&&(b.unsubscribe(),this.retriesSubscription=null);this.retries=null};a.prototype.notifyNext=function(a,b,d,e,h){a=this.notifications;b=this.retries;d=this.retriesSubscription;this.retriesSubscription=this.retries=this.notifications=null;this.unsubscribe();this.closed=this.isStopped=!1;this.notifications=a;this.retries=b;this.retriesSubscription=d;this.source.subscribe(this)}; return a}(u);g.prototype.repeatWhen=function(b){return this.lift(new fe(b,this))};var he=function(){function b(a,c){this.count=a;this.source=c}b.prototype.call=function(a,c){return c.subscribe(new ge(a,this.count,this.source))};return b}(),ge=function(b){function a(a,f,d){b.call(this,a);this.count=f;this.source=d}__extends(a,b);a.prototype.error=function(a){if(!this.isStopped){var c=this.source,d=this.count;if(0===d)return b.prototype.error.call(this,a);-1<d&&(this.count=d-1);this.unsubscribe();this.closed=
entities.js
import {combineReducers} from "redux"; import {tasks} from "./tasks"; import {teams} from "./teams"; import {phases} from "./phases"; import {statuses} from "./statuses"; import {WO} from "./WO"; export const entities = combineReducers({ WO, tasks,
});
statuses, teams, phases,
custom_class.rs
#[macro_use] extern crate objc; extern crate objc_foundation; use std::sync::{Once, ONCE_INIT}; use objc::Message; use objc::declare::ClassDecl; use objc::runtime::{Class, Object, Sel}; use objc_foundation::{INSObject, NSObject}; pub enum MYObject { } impl MYObject { fn number(&self) -> u32 { unsafe { let obj = &*(self as *const _ as *const Object); *obj.get_ivar("_number") } } fn set_number(&mut self, number: u32) { unsafe { let obj = &mut *(self as *mut _ as *mut Object); obj.set_ivar("_number", number); } } } unsafe impl Message for MYObject { } static MYOBJECT_REGISTER_CLASS: Once = ONCE_INIT; impl INSObject for MYObject { fn class() -> &'static Class { MYOBJECT_REGISTER_CLASS.call_once(|| { let superclass = NSObject::class(); let mut decl = ClassDecl::new("MYObject", superclass).unwrap(); decl.add_ivar::<u32>("_number"); // Add ObjC methods for getting and setting the number extern fn
(this: &mut Object, _cmd: Sel, number: u32) { unsafe { this.set_ivar("_number", number); } } extern fn my_object_get_number(this: &Object, _cmd: Sel) -> u32 { unsafe { *this.get_ivar("_number") } } unsafe { let set_number: extern fn(&mut Object, Sel, u32) = my_object_set_number; decl.add_method(sel!(setNumber:), set_number); let get_number: extern fn(&Object, Sel) -> u32 = my_object_get_number; decl.add_method(sel!(number), get_number); } decl.register(); }); Class::get("MYObject").unwrap() } } fn main() { let mut obj = MYObject::new(); obj.set_number(7); println!("Number: {}", unsafe { let number: u32 = msg_send![obj, number]; number }); unsafe { let _: () = msg_send![obj, setNumber:12u32]; } println!("Number: {}", obj.number()); }
my_object_set_number
env-source_test.go
package confunc_test import ( "github.com/alperkose/confunc" "os" "testing" ) func Test_EnvSource(t *testing.T)
func Test_EnvSource_WhenTheConfigurationDoesNotExist(t *testing.T) { expectedValue := "" configurationKey := "TEST_NOT_EXISTING_PARAM" var sut confunc.Source sut = confunc.Env() actualValue, err := sut.Value(configurationKey) if err == nil { t.Errorf("an error should have occurred") } if actualValue != expectedValue { t.Errorf("expected %v to be %v", actualValue, expectedValue) } }
{ expectedValue := "TEST_VALUE" configurationKey := "TEST_PARAM" os.Setenv(configurationKey, expectedValue) var sut confunc.Source sut = confunc.Env() actualValue, err := sut.Value(configurationKey) if err != nil { t.Errorf("error should not have occurred : %v", err.Error()) } if actualValue != expectedValue { t.Errorf("expected %v to be %v", actualValue, expectedValue) } }
batcher.rs
use criterion::*; use memflow::prelude::v1::*; //use memflow::mem::dummy::DummyMemory as Memory; struct NullMem {} impl NullMem { pub fn new(_: usize) -> Self { Self {} } } impl PhysicalMemory for NullMem { fn phys_read_raw_list(&mut self, data: &mut [PhysicalReadData]) -> Result<()> { black_box(data.iter_mut().count()); Ok(()) } fn phys_write_raw_list(&mut self, data: &[PhysicalWriteData]) -> Result<()> { black_box(data.iter().count()); Ok(()) } fn metadata(&self) -> PhysicalMemoryMetadata { PhysicalMemoryMetadata { size: 0, readonly: true, } } } use NullMem as Memory; use rand::prelude::*; use rand::{Rng, SeedableRng}; use rand_xorshift::XorShiftRng as CurRng; static mut TSLICE: [[u8; 16]; 0x10000] = [[0; 16]; 0x10000]; fn read_test_nobatcher<T: PhysicalMemory>( chunk_size: usize, mem: &mut T, mut rng: CurRng, size: usize, tbuf: &mut [PhysicalReadData], ) { let base_addr = Address::from(rng.gen_range(0, size)); for PhysicalReadData(addr, _) in tbuf.iter_mut().take(chunk_size) { *addr = (base_addr + rng.gen_range(0, 0x2000)).into(); } let _ = black_box(mem.phys_read_raw_list(&mut tbuf[..chunk_size])); } fn read_test_batcher<T: PhysicalMemory>( chunk_size: usize, mem: &mut T, mut rng: CurRng, size: usize, ) { let base_addr = Address::from(rng.gen_range(0, size)); let mut batcher = mem.phys_batcher(); batcher.read_prealloc(chunk_size); for i in unsafe { TSLICE.iter_mut().take(chunk_size) } { batcher.read_into((base_addr + rng.gen_range(0, 0x2000)).into(), i); } let _ = black_box(batcher.commit_rw()); } fn read_test_with_ctx<T: PhysicalMemory>( bench: &mut Bencher, chunk_size: usize, use_batcher: bool, mem: &mut T, ) { let rng = CurRng::from_rng(thread_rng()).unwrap(); let mem_size = size::mb(64); let mut tbuf = vec![]; tbuf.extend( unsafe { TSLICE } .iter_mut() .map(|arr| { PhysicalReadData(PhysicalAddress::INVALID, unsafe { std::mem::transmute(&mut arr[..]) }) }) .take(chunk_size), ); if !use_batcher { bench.iter(move || { read_test_nobatcher(chunk_size, mem, rng.clone(), mem_size, &mut tbuf[..]) }); } else { bench.iter(|| read_test_batcher(chunk_size, mem, rng.clone(), mem_size)); } } fn chunk_read_params<T: PhysicalMemory>( group: &mut BenchmarkGroup<'_, measurement::WallTime>, func_name: String, use_batcher: bool, initialize_ctx: &dyn Fn() -> T, ) { for &chunk_size in [1, 4, 16, 64, 256, 1024, 4096, 16384, 65536].iter() { group.throughput(Throughput::Bytes(chunk_size)); group.bench_with_input( BenchmarkId::new(func_name.clone(), chunk_size), &chunk_size, |b, &chunk_size| { read_test_with_ctx( b, black_box(chunk_size as usize), use_batcher, &mut initialize_ctx(), ) }, ); } } fn
<T: PhysicalMemory>( c: &mut Criterion, backend_name: &str, initialize_ctx: &dyn Fn() -> T, ) { let plot_config = PlotConfiguration::default().summary_scale(AxisScale::Logarithmic); let group_name = format!("{}_batched_read", backend_name); let mut group = c.benchmark_group(group_name.clone()); group.plot_config(plot_config); chunk_read_params( &mut group, format!("{}_without", group_name), false, initialize_ctx, ); chunk_read_params( &mut group, format!("{}_with", group_name), true, initialize_ctx, ); } criterion_group! { name = dummy_read; config = Criterion::default() .warm_up_time(std::time::Duration::from_millis(300)) .measurement_time(std::time::Duration::from_millis(2700)); targets = dummy_read_group } fn dummy_read_group(c: &mut Criterion) { chunk_read(c, "dummy", &|| Memory::new(size::mb(64))); } criterion_main!(dummy_read);
chunk_read
app.module.ts
import { NgModule } from "@angular/core"; import { FormsModule } from "@angular/forms"; import { BrowserModule } from "@angular/platform-browser"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { AppComponent } from "./app.component"; import { IgxCalendarModule, IgxCardModule } from "igniteui-angular"; import { CalendarYearsViewComponent } from "./calendar-years-view/calendar-years-view.component"; @NgModule({ bootstrap: [AppComponent], declarations: [ AppComponent, CalendarYearsViewComponent ], imports: [ BrowserModule, BrowserAnimationsModule, FormsModule, IgxCalendarModule, IgxCardModule ], providers: [],
entryComponents: [], schemas: [] }) export class AppModule {}
vibedb.py
# #################################################################################################################################################### # ______ _______ _______ _ _______ _______ _ _______ _______ ______ _____ # ( __ \ ( ___ ) ( ____ ) | \ /\ ( ____ \ ( ___ ) |\ /| ( \ / ___ ) ( __ ) / ____ \ / ___ \ # | ( \ ) | ( ) | | ( )| | \ / / | ( \/ | ( ) | | ) ( | | ( \/ ) | | ( ) | ( ( \/ ( ( ) ) # | | ) | | (___) | | (____)| | (_/ / | (_____ | | | | | | | | | | / ) | | / | | (____ ( (___) | # | | | | | ___ | | __) | _ ( (_____ ) | | | | | | | | | | _/ / | (/ /) | | ___ \ \____ | # | | ) | | ( ) | | (\ ( | ( \ \ ) | | | | | | | | | | | / _/ | / | | | ( ) ) ) | # | (__/ ) | ) ( | | ) \ \__ | / \ \ /\____) | | (___) | | (___) | | (____/\ ( (__/\ | (__) | ( (___) ) /\____) ) # (______/ |/ \| |/ \__/ |_/ \/ \_______) (_______) (_______) (_______/ \_______/ (_______) \_____/ \______/ # ################################### VIBE SCRAPER - (ANIDB.NET SCRAPER) BY ([email protected]) ########################################## import requests import re from bs4 import BeautifulSoup headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'} #User Agent cuz we are trynna scrape a site and the site will automatically block bots n stuff so u need this to bypass any kinda of blocked response print('==============================================' + '\n' + 'This Anime Scraper [for AniDB.net (http://anidb.net)] (Project/Scraper) was made by darksoul2069 if you face any problem you can mail me- "[email protected]"' + '\n' + 'Hope you loved this python program/scraper!' + '\n' + 'Check out my anime site http://AnimeVibe.ml' + '\n' + '==============================================' + '\n') url = input("Enter AniDB.net URL of the Anime you want to scrape/crawl (Example : https://anidb.net/perl-bin/animedb.pl?show=anime&aid=69) : " ) source_code = requests.get(url, headers=headers) #requesting the site's page source... plain_text = source_code.text #turning the source code to a readable format :P soup = BeautifulSoup(plain_text, "html.parser") #parsing the page source code...
image = soup.find_all('div',{"class": "g_section info"}) #getting div for getting the image source img = soup.find('img',{"itemprop": "image"}) # getting the precise location of the animes cover. lol = img.get('src') # getting the animes image url # well everything is pretty easy to grasp and understandable until now xD anim = anime_name.text.strip() # Getting the text as a string out of the html tag we grabbed as a whole print(anim) anim = input("Give The File Name where you want to store the Anime Information (Anime Name): ") #Taking File name from the user as input anim_desc = anime_desc.text.strip() # Stripping out the text from the html tags max_num = int(input('Total or Number of Episodes to Fetch (Should be a number): ')) #letting user input the number of episodes to grab (titles only) for i in range(max_num): #Setting a range to grab the lists of episode titles episode = episodes[i].find("label", {"itemprop": "name"}) #Grabbing the Episode Titles print(f'Fetched- Episode {i+1}') with open(anim+".txt", "w") as f: #Writing it to a text file f.write('==============================================================' + '\n' + '|||Vibe Scraper|||darksoul2069|||AniDB.net|||'+'\n'+'Thank you for using Vibe Scraper for AniDB.net'+'\n'+'||| http://AnimeVibe.xyz |||' + '\n' + '==============================================================' + "\n" + 'Anime Name - ' + anim + "\n" + 'Poster/Image URL of ' + anim + ' - ' + lol + '\n') f.write('------------------' + "\n") f.write('Anime Description: ' + '\n' + '------------------' + "\n" + "\n" + anim_desc+"\n"+"\n") f.write('------------' + "\n" + 'Episode List' + "\n" + '------------' + "\n") for i in range(max_num): episode = episodes[i].find("label", {"itemprop": "name"}) f.write('Episode ' + str(i+1) + ':' + ' ' + episode.text.strip() + "\n") print('\n' + '============================' + '\n' + 'Anime Information/Episodes is stored in ||"' + str(anim) + '.txt"||' + '\n' + '============================') # AND YOU ARE DONE xD | ENJOY :/
anime_name = soup.find("h1", {"class": "anime"}) #fetching the anime title anime_desc = soup.find("div", {"itemprop": "description"}) # fetching the summary/description. episodes = soup.find_all("td", {"class": "title name episode"}) # getting the place where the episode titles are kept (here the episode titles are in a table)
FlightTracker.js
import moment from 'moment' const DATE_FORMAT = 'YYYY-MM-DD' const FEET_PER_FLIGHT = 13 class
{ constructor() { this.store = new Map() } get(date = moment()) { return this.store.get(date.format(DATE_FORMAT)) || 0 } set(date = moment(), flights = 0) { if (flights < 0) flights = 0 this.store.set(date.format(DATE_FORMAT), flights) return self } add(date = moment(), flights = 1) { const newFlights = this.get(date) + flights this.set(date, newFlights) return self } subtract(date = moment(), flights = 1) { const newFlights = this.get(date) - flights this.set(date, newFlights) return self } totalFlights() { let flightTotal = 0 this.store.forEach(val => flightTotal += val) return flightTotal } totalElevation() { return this.totalFlights() * FEET_PER_FLIGHT } } class FlightTracker { constructor() { this.store = new Map() } new(person) { const flightsClimbed = new PersonFlights() this.store.set(person.id, flightsClimbed) return flightsClimbed } get(person) { return this.store.get(person) } totalFlights() { let flightsTotal = 0 this.store.forEach(val => flightsTotal += val.totalFlights()) return flightsTotal } totalElevation() { return this.totalFlights() * FEET_PER_FLIGHT } } export default new FlightTracker()
PersonFlights
reconciler.go
package resources import ( "context" "errors" "fmt" productsConfig "github.com/integr8ly/integreatly-operator/pkg/config" integreatlyv1alpha1 "github.com/integr8ly/integreatly-operator/pkg/apis/integreatly/v1alpha1" "github.com/sirupsen/logrus" "github.com/integr8ly/integreatly-operator/pkg/resources/backup" "github.com/integr8ly/integreatly-operator/pkg/resources/marketplace" oauthv1 "github.com/openshift/api/oauth/v1" projectv1 "github.com/openshift/api/project/v1" operatorsv1alpha1 "github.com/operator-framework/operator-lifecycle-manager/pkg/api/apis/operators/v1alpha1" "github.com/operator-framework/operator-lifecycle-manager/pkg/lib/ownerutil" corev1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1" k8serr "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" k8sclient "sigs.k8s.io/controller-runtime/pkg/client" ) var ( OwnerLabelKey = integreatlyv1alpha1.SchemeGroupVersion.Group + "/installation-uid" ) // This is the base reconciler that all the other reconcilers extend. It handles things like namespace creation, subscription creation etc type Reconciler struct { mpm marketplace.MarketplaceInterface } func NewReconciler(mpm marketplace.MarketplaceInterface) *Reconciler { return &Reconciler{ mpm: mpm, } } func (r *Reconciler) ReconcileOauthClient(ctx context.Context, inst *integreatlyv1alpha1.RHMI, client *oauthv1.OAuthClient, apiClient k8sclient.Client) (integreatlyv1alpha1.StatusPhase, error) { // Make sure to use the redirect URIs supplied to the reconcile function and // not those that are currently on the client. Copy the uris because arrays // are references. redirectUris := make([]string, len(client.RedirectURIs)) for index, uri := range client.RedirectURIs { redirectUris[index] = uri } // Preserve secret and grant method too secret := client.Secret grantMethod := client.GrantMethod if err := apiClient.Get(ctx, k8sclient.ObjectKey{Name: client.Name}, client); err != nil { if k8serr.IsNotFound(err) { PrepareObject(client, inst, true, false) if err := apiClient.Create(ctx, client); err != nil { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("failed to create oauth client: %s. %w", client.Name, err) } return integreatlyv1alpha1.PhaseCompleted, nil } return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("failed to get oauth client: %s. %w", client.Name, err) } PrepareObject(client, inst, true, false) client.RedirectURIs = redirectUris client.GrantMethod = grantMethod client.Secret = secret if err := apiClient.Update(ctx, client); err != nil { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("failed to update oauth client: %s. %w", client.Name, err) } return integreatlyv1alpha1.PhaseCompleted, nil } // GetNS gets the specified corev1.Namespace from the k8s API server func GetNS(ctx context.Context, namespace string, client k8sclient.Client) (*corev1.Namespace, error) { ns := &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: namespace, }, } err := client.Get(ctx, k8sclient.ObjectKey{Name: ns.Name}, ns) if err == nil { // workaround for https://github.com/kubernetes/client-go/issues/541 ns.TypeMeta = metav1.TypeMeta{Kind: "Namespace", APIVersion: metav1.SchemeGroupVersion.Version} } return ns, err } func CreateNSWithProjectRequest(ctx context.Context, namespace string, client k8sclient.Client, inst *integreatlyv1alpha1.RHMI, addRHMIMonitoringLabels bool, addClusterMonitoringLabel bool) (*v1.Namespace, error) { projectRequest := &projectv1.ProjectRequest{ ObjectMeta: metav1.ObjectMeta{ Name: namespace, }, } if err := client.Create(ctx, projectRequest); err != nil { return nil, fmt.Errorf("could not create %s ProjectRequest: %v", projectRequest.Name, err) } // when a namespace is created using the ProjectRequest object it drops labels and annotations // so we need to retrieve the project as namespace and add them ns, err := GetNS(ctx, namespace, client) if err != nil { return nil, fmt.Errorf("could not retrieve %s namespace: %v", ns.Name, err) } PrepareObject(ns, inst, addRHMIMonitoringLabels, addClusterMonitoringLabel) if err := client.Update(ctx, ns); err != nil { return nil, fmt.Errorf("failed to update the %s namespace definition: %v", ns.Name, err) } return ns, err } func (r *Reconciler) ReconcileNamespace(ctx context.Context, namespace string, inst *integreatlyv1alpha1.RHMI, client k8sclient.Client) (integreatlyv1alpha1.StatusPhase, error) { ns, err := GetNS(ctx, namespace, client) if err != nil { // Since we are using ProjectRequests and limited permissions, // request can return "forbidden" error even when Namespace simply doesn't exist yet if !k8serr.IsNotFound(err) && !k8serr.IsForbidden(err) { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("could not retrieve namespace: %s. %w", namespace, err) } ns, err = CreateNSWithProjectRequest(ctx, namespace, client, inst, true, false) if err != nil { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("failed to create %s namespace: %v", namespace, err) } return integreatlyv1alpha1.PhaseCompleted, nil } if inst.Spec.PullSecret.Name != "" { _, err := r.ReconcilePullSecret(ctx, namespace, inst.Spec.PullSecret.Name, inst, client) if err != nil { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("Failed to reconcile %s pull secret", inst.Spec.PullSecret.Name) } } PrepareObject(ns, inst, true, false) if err := client.Update(ctx, ns); err != nil
if ns.Status.Phase == corev1.NamespaceTerminating { logrus.Debugf("namespace %s is terminating, maintaining phase to try again on next reconcile", namespace) return integreatlyv1alpha1.PhaseInProgress, nil } if ns.Status.Phase != corev1.NamespaceActive { return integreatlyv1alpha1.PhaseInProgress, nil } return integreatlyv1alpha1.PhaseCompleted, nil } type finalizerFunc func() (integreatlyv1alpha1.StatusPhase, error) func (r *Reconciler) ReconcileFinalizer(ctx context.Context, client k8sclient.Client, inst *integreatlyv1alpha1.RHMI, productName string, finalFunc finalizerFunc) (integreatlyv1alpha1.StatusPhase, error) { finalizer := "finalizer." + productName + ".integreatly.org" // Add finalizer if not there err := AddFinalizer(ctx, inst, client, finalizer) if err != nil { logrus.Error(fmt.Sprintf("Error adding finalizer %s to installation", finalizer), err) return integreatlyv1alpha1.PhaseFailed, err } // Run finalization logic. If it fails, don't remove the finalizer // so that we can retry during the next reconciliation if inst.GetDeletionTimestamp() != nil { if Contains(inst.GetFinalizers(), finalizer) { phase, err := finalFunc() if err != nil || phase != integreatlyv1alpha1.PhaseCompleted { return phase, err } // Remove the finalizer to allow for deletion of the installation cr logrus.Infof("Removing finalizer: %s", finalizer) err = RemoveProductFinalizer(ctx, inst, client, productName) if err != nil { return integreatlyv1alpha1.PhaseFailed, err } } // Don't continue reconciling the product return integreatlyv1alpha1.PhaseNone, nil } return integreatlyv1alpha1.PhaseCompleted, nil } func (r *Reconciler) ReconcilePullSecret(ctx context.Context, destSecretNamespace, destSecretName string, inst *integreatlyv1alpha1.RHMI, client k8sclient.Client) (integreatlyv1alpha1.StatusPhase, error) { err := CopySecret(ctx, client, inst.Spec.PullSecret.Name, inst.Spec.PullSecret.Namespace, destSecretName, destSecretNamespace) if err != nil { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("error creating/updating secret '%s' in namespace: '%s': %w", destSecretName, destSecretNamespace, err) } return integreatlyv1alpha1.PhaseCompleted, nil } // TODO change catalogSourceReconciler ...CatalogSourceReconciler by just CatalogSourceReconciler func (r *Reconciler) ReconcileSubscription(ctx context.Context, owner ownerutil.Owner, target marketplace.Target, operandNS []string, preUpgradeBackupExecutor backup.BackupExecutor, client k8sclient.Client, catalogSourceReconciler marketplace.CatalogSourceReconciler) (integreatlyv1alpha1.StatusPhase, error) { logrus.Infof("reconciling subscription %s from channel %s in namespace: %s", target.Pkg, marketplace.IntegreatlyChannel, target.Namespace) err := r.mpm.InstallOperator(ctx, client, owner, target, operandNS, operatorsv1alpha1.ApprovalManual, catalogSourceReconciler) if err != nil && !k8serr.IsAlreadyExists(err) { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("could not create subscription in namespace: %s: %w", target.Namespace, err) } ips, _, err := r.mpm.GetSubscriptionInstallPlans(ctx, client, target.Pkg, target.Namespace) if err != nil { // this could be the install plan or subscription so need to check if sub nil or not TODO refactor if k8serr.IsNotFound(err) || k8serr.IsNotFound(errors.Unwrap(err)) { return integreatlyv1alpha1.PhaseAwaitingOperator, nil } return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("could not retrieve installplan and subscription in namespace: %s: %w", target.Namespace, err) } if len(ips.Items) == 0 { return integreatlyv1alpha1.PhaseInProgress, nil } for _, ip := range ips.Items { err = upgradeApproval(ctx, preUpgradeBackupExecutor, client, &ip) if err != nil { return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("error approving installplan for %v: %w", target.Pkg, err) } //if it's approved but not complete, then it's in progress if ip.Status.Phase != operatorsv1alpha1.InstallPlanPhaseComplete && ip.Spec.Approved { logrus.Infof("%s install plan is not complete yet ", target.Pkg) return integreatlyv1alpha1.PhaseInProgress, nil //if it's not approved by now, then it will not be approved by this version of the integreatly-operator } else if !ip.Spec.Approved { logrus.Infof("%s has an upgrade installplan above the maximum allowed version", target.Pkg) } } return integreatlyv1alpha1.PhaseCompleted, nil } func PrepareObject(ns metav1.Object, install *integreatlyv1alpha1.RHMI, addRHMIMonitoringLabels bool, addClusterMonitoringLabel bool) { labels := ns.GetLabels() if labels == nil { labels = map[string]string{} } if addRHMIMonitoringLabels { labels["monitoring-key"] = "middleware" monitoringConfig := productsConfig.NewMonitoring(productsConfig.ProductConfig{}) labels[monitoringConfig.GetLabelSelectorKey()] = monitoringConfig.GetLabelSelector() } else { delete(labels, "monitoring-key") } if addClusterMonitoringLabel { labels["openshift.io/cluster-monitoring"] = "true" } else { delete(labels, "openshift.io/cluster-monitoring") } labels["integreatly"] = "true" labels[OwnerLabelKey] = string(install.GetUID()) ns.SetLabels(labels) } func IsOwnedBy(o metav1.Object, owner *integreatlyv1alpha1.RHMI) bool { // TODO change logic to check for our finalizer? for k, v := range o.GetLabels() { if k == OwnerLabelKey && v == string(owner.UID) { return true } } return false }
{ return integreatlyv1alpha1.PhaseFailed, fmt.Errorf("failed to update the ns definition: %w", err) }
logger.py
import logging import traceback import config import pathlib class Logger(logging.getLoggerClass()): def __init__(self, name, level=logging.NOTSET): super().__init__(name, level=logging.DEBUG) formatter = logging.Formatter('%(levelname)s %(asctime)s [ %(name)s ] %(message)s') self.sh = logging.StreamHandler() self.sh.setFormatter(formatter) if 'db' in config.runtime_mode: self.sh.setLevel(logging.DEBUG) else: self.sh.setLevel(logging.INFO) self.addHandler(self.sh) # \TODO: Maybe break up the logging file if it goes over 1MB # get file size # if over 1MB, then rename current logging file to '{start_date}_{end_date}_{logger_name}.log' # cut-paste into logging folder named '{logger_name}' self.fh = logging.FileHandler(str(config.log_path / (name + '.log'))) self.fh.setFormatter(formatter) self.fh.setLevel(logging.INFO) self.addHandler(self.fh) def __del__(self): self.sh.close(); self.removeHandler(self.sh) self.fh.close(); self.removeHandler(self.fh) ''' def error(self, msg): msg = msg.strip() if msg == 'None' or msg == 'N/A' or len(msg) == 0: self.exception(msg) else: self.error(msg) def critical(self, msg): msg = msg.strip() if msg == 'None' or msg == 'N/A' or len(msg) == 0: self.exception(msg) else: self.critical(msg) ''' def exception(self, msg):
def testbench(self, msg): if 'tb' not in config.runtime_mode: return self.debug(msg)
msg = msg.strip() msg += '\n' + traceback.format_exc() self.error(msg)
metrics-helper.ts
import { Metric } from '../domain/metric' import { Statistics } from '../domain/statistics' export class MetricsHelper { static getDatabaseConnections (object: any): Metric { return MetricsHelper.getMetric(object, 'AWS/RDS.DatabaseConnections') } static getGcpDatabaseConnections (object: any): Metric { return MetricsHelper.getGcpMetric(object, [ 'cloudsql.googleapis.com/database/network/connections', 'cloudsql.googleapis.com/database/postgresql/num_backends' ]) } static getDatabaseIOPS (object: any): Metric { return MetricsHelper.getMetric(object, 'AWS/RDS.IOPS') } static getCpuUtilization (object: any): Metric { return MetricsHelper.getMetric(object, 'AWS/EC2.CPUUtilization') } static getGcpCpuUtilization (object: any): Metric { return MetricsHelper.getGcpMetric(object, [ 'compute.googleapis.com/instance/cpu/utilization' ]) } static getNetworkIn (object: any): Metric { return MetricsHelper.getMetric(object, 'AWS/EC2.NetworkIn') } static getGcpNetworkIn (object: any): Metric { return MetricsHelper.getGcpMetric(object, [ 'compute.googleapis.com/instance/network/received_bytes_count' ]) } static getNetworkOut (object: any): Metric { return MetricsHelper.getMetric(object, 'AWS/EC2.NetworkOut') } static getGcpNetworkOut (object: any): Metric { return MetricsHelper.getGcpMetric(object, [ 'compute.googleapis.com/instance/network/sent_bytes_count' ]) } private static getMetric (object: any, key: string): Metric { const metricObject = object?.['c7n.metrics']?.[this.getMetricKey(object, key)] const sum = metricObject?.reduce(function (prev: number, current: C7nMetric) { return prev + (current.Average ?? current.Maximum ?? current.Minimum ?? current.Sum) }, 0) return new Metric( sum > 0 ? sum / metricObject?.length : 0, this.getMetricType(object, key), '' ) } private static getGcpMetric (object: any, keys: string[]): Metric { for (const key of keys) { const metricObject = object?.['c7n.metrics']?.[this.getMetricKey(object, key)] ?? {} if (!('points' in metricObject)) { continue } const points = metricObject.points const value = points[0].value.doubleValue ?? points[0].value.int64Value ?? 0 return new Metric(value, this.getMetricType(object, key), '') } return new Metric(0, this.getMetricType({}, ''), '') } private static getMetricType (object: any, key: string): Statistics { if (object?.['c7n.metrics'] === undefined) { return Statistics.Unspecified } switch (true) { case (key + '.Average' in object?.['c7n.metrics']): case (key + '.ALIGN_MEAN.REDUCE_NONE' in object?.['c7n.metrics']): return Statistics.Average case (key + '.Maximum' in object?.['c7n.metrics']): case (key + '.ALIGN_MAX.REDUCE_NONE' in object?.['c7n.metrics']): return Statistics.Maximum case (key + '.Minimum' in object?.['c7n.metrics']): case (key + '.ALIGN_MIN.REDUCE_NONE' in object?.['c7n.metrics']): return Statistics.Minimum case (key + '.Sum' in object?.['c7n.metrics']): case (key + '.ALIGN_SUM.REDUCE_NONE' in object?.['c7n.metrics']): return Statistics.Sum default: return Statistics.Unspecified } } private static getMetricKey (object: any, key: string): string { switch (true) { case (key + '.Average' in object?.['c7n.metrics']): return key + '.Average' case (key + '.Maximum' in object?.['c7n.metrics']): return key + '.Maximum' case (key + '.Minimum' in object?.['c7n.metrics']): return key + '.Minimum' case (key + '.Sum' in object?.['c7n.metrics']): return key + '.Sum' case (key + '.ALIGN_MEAN.REDUCE_NONE' in object?.['c7n.metrics']): return key + '.ALIGN_MEAN.REDUCE_NONE' case (key + '.ALIGN_MAX.REDUCE_NONE' in object?.['c7n.metrics']): return key + '.ALIGN_MAX.REDUCE_NONE' case (key + '.ALIGN_MIN.REDUCE_NONE' in object?.['c7n.metrics']): return key + '.ALIGN_MIN.REDUCE_NONE' case (key + '.ALIGN_SUM.REDUCE_NONE' in object?.['c7n.metrics']): return key + '.ALIGN_SUM.REDUCE_NONE' default: return '' } } } class
{ public Average: number; public Maximum: number; public Minimum: number; public Sum: number; public Unit: string; constructor (Average: number, Maximum: number, Minimum: number, Sum: number, Unit: string) { this.Average = Average this.Maximum = Maximum this.Minimum = Minimum this.Sum = Sum this.Unit = Unit } }
C7nMetric
client_time.py
import logging import copy import pytz import emission.core.wrapper.consentconfig as ecws import emission.net.usercache.formatters.common as fc # Currently, we just reflect this back to the user, so not much editing to do # here. Since we get the timezone from javascript guessing, though, let's just # verify that it is correct. def
(entry): formatted_entry = entry metadata = entry.metadata try: valid_tz = pytz.timezone(entry.metadata.time_zone) except pytz.UnknownTimeZoneError, e: logging.warn("Got error %s while checking format validity" % e) # Default timezone in for the Bay Area, which is probably a fairly safe # assumption for now metadata.time_zone = "America/Los_Angeles" # adds the python datetime and fmt_time entries. important for future searches! fc.expand_metadata_times(metadata) formatted_entry.metadata = metadata formatted_entry.data = entry.data return formatted_entry;
format
h5peditor-ssc-editor.js
/** @namespace H5PEditor */ var H5PEditor = H5PEditor || {}; H5PEditor.SingleChoiceSetTextualEditor = (function ($) { /** * Creates a text input widget for editing ssc. * * @class * @param {List} */ function
(list) { var self = this; var recreation = false; var shouldWarn = false; /** * Instructions as to how this editor widget is used. * @public */ self.helpText = t('helpText'); // Create list html var $input = $('<textarea/>', { rows: 20, css: { resize: 'none' }, placeholder: t('example'), on: { change: function () { recreateList(); } } }); // Used to convert HTML to text and vice versa var $cleaner = $('<div/>'); /** * Clears all items from the list, processes the text and add the items * from the text. This makes it possible to switch to another widget * without losing datas. * * @private */ var recreateList = function () { // Get text input var textLines = $input.val().split("\n"); textLines.push(''); // Add separator // Reset list list.removeAllItems(); recreation = true; // TODO: recreation can be dropped when group structure can be created without being appended. // Then the fields can be added back to the textarea like a validation. // Go through text lines and add questions to list var question = undefined; var answers = []; for (var i = 0; i < textLines.length; i++) { var textLine = textLines[i].trim(); if (textLine === '') { // Task seperator if (answers.length) { // Add question & answers to list list.addItem({ question: question, answers: answers }); // Start new question answers = []; question = undefined; } continue; } // Convert text to html textLine = $cleaner.text(textLine).html(); if (!question) { // First line is the question question = textLine; } else { // Add answer answers.push(textLine); } } recreation = false; }; /** * Find the name of the given field. * * @private * @param {Object} field * @return {String} */ var getName = function (field) { return (field.getName !== undefined ? field.getName() : field.field.name); }; /** * Add items to the text input. * * @public * @param {Object} item instance */ self.addItem = function (item) { if (recreation) { return; } if (!(item instanceof H5PEditor.Group)) { return; } var text = ''; item.forEachChild(function (child) { switch (getName(child)) { case 'question': // Grab HTML from text fields var html = child.validate(); if (html !== false) { // Strip all html tags and remove line breaks. html = html.replace(/(<[^>]*>|\r\n|\n|\r)/gm, '').trim(); if (html !== '') { text += html + '\n'; } } break; case 'answers': // Cycle through the answers child.forEachChild(function (grandChild) { // Found text field containing answer var answer = grandChild.validate(); if (answer !== false) { answer = answer.trim(); if (answer !== '') { text += answer + '\n'; } } }); break; } }); if (text !== '') { // Convert all escaped html to text $cleaner.html(text); text = $cleaner.text(); // Append text var current = $input.val(); if (current !== '') { current += '\n'; } $input.val(current + text); shouldWarn = !warned && !shouldWarn; } }; /** * Puts this widget at the end of the given container. * * @public * @param {jQuery} $container */ self.appendTo = function ($container) { $input.appendTo($container); if (shouldWarn && !warned) { alert(t('warning')); warned = true; } }; /** * Remove this widget from the editor DOM. * * @public */ self.remove = function () { $input.remove(); }; } /** * Helps localize strings. * * @private * @param {String} identifier * @param {Object} [placeholders] * @returns {String} */ var t = function (identifier, placeholders) { return H5PEditor.t('H5PEditor.SingleChoiceSetTextualEditor', identifier, placeholders); }; /** * Warn user the first time he uses the editor. */ var warned = false; return SSCEditor; })(H5P.jQuery);
SSCEditor
unpack_error_info.rs
// Copyright 2021-2022 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 use crate::parse::{parse_kv, parse_kv_after_comma, skip_stream}; use syn::{ parse::{Parse, ParseStream}, parse_quote, Attribute, Error, Expr, Result, }; pub(crate) struct UnpackErrorInfo { pub(crate) unpack_error: syn::Type, pub(crate) with: Expr, } struct Type(syn::Type);
fn parse(input: ParseStream) -> Result<Self> { syn::Type::parse(input).map(Self).map_err(|err| { Error::new( err.span(), "The `unpack_error` attribute requires a type for its value.", ) }) } } impl UnpackErrorInfo { pub(crate) fn new<'a>( filtered_attrs: impl Iterator<Item = &'a Attribute>, default_unpack_error: impl FnOnce() -> syn::Type, ) -> Result<Self> { for attr in filtered_attrs { let opt_info = attr.parse_args_with(|stream: ParseStream| { match parse_kv::<Type>("unpack_error", stream)? { Some(Type(unpack_error)) => { let with = match parse_kv_after_comma("with", stream)? { Some(with) => with, None => parse_quote!(core::convert::identity), }; Ok(Some(Self { unpack_error, with })) } None => { skip_stream(stream)?; Ok(None) } } })?; if let Some(info) = opt_info { return Ok(info); } } Ok(Self { unpack_error: default_unpack_error(), with: parse_quote!(core::convert::identity), }) } }
impl Parse for Type {
config.py
import falcon import json from .base import BaseResource class ConfigResource(BaseResource): '''Falcon resource to get form entries''' def __init__(self, *args, **kwargs): super(ConfigResource, self).__init__(*args, **kwargs) def
(self, req, resp): '''Get configuration page to create a new notebook/job/report''' resp.content_type = 'application/json' type = req.params.get('type', None) if type is None: resp.body = json.dumps(self.config.to_dict()) elif type == 'notebooks': resp.body = json.dumps(self.db.notebooks.form()) elif type == 'jobs': resp.body = json.dumps(self.db.jobs.form()) elif type == 'reports': resp.body = json.dumps(self.db.reports.form()) else: resp.status = falcon.HTTP_404
on_get
index.js
import styles from './template.css'; import template from './template'; import AoflElement from '@aofl/web-components/aofl-element'; /** * @summary IconTwotoneWifiOffElement * @class IconTwotoneWifiOffElement * @extends {AoflElement} */ class IconTwotoneWifiOffElement extends AoflElement { /** * Creates an instance of IconTwotoneWifiOffElement. */ constructor() { super(); } /** * @readonly */ static get is() { return 'icon-twotone-wifi-off'; } /** * * @return {Object} */ render() { return super.render(template, [styles]); } }
export default IconTwotoneWifiOffElement;
window.customElements.define(IconTwotoneWifiOffElement.is, IconTwotoneWifiOffElement);
entityresult.js
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // // See the License for the specific language governing permissions and // limitations under the License. // // Module dependencies. var azureCommon = require('./../../../common/common.core'); var Constants = azureCommon.Constants; var TableConstants = Constants.TableConstants; var HeaderConstants = Constants.HeaderConstants;
exports = module.exports; exports.serialize = function (entity) { return odataHandler.serializeJson(entity); }; exports.parseQuery = function (response, autoResolveProperties, propertyResolver, entityResolver) { var result = {}; if (response.body) { result = odataHandler.parseJsonEntities(response.body, autoResolveProperties, propertyResolver, entityResolver); } return result; }; exports.parseEntity = function (response, autoResolveProperties, propertyResolver, entityResolver) { var result = {}; if (response.body) { result = odataHandler.parseJsonSingleEntity(response.body, autoResolveProperties, propertyResolver, entityResolver); } if (response.headers && response.headers[HeaderConstants.ETAG.toLowerCase()]) { if (!result[TableConstants.ODATA_METADATA_MARKER]) { result[TableConstants.ODATA_METADATA_MARKER] = {}; } result[TableConstants.ODATA_METADATA_MARKER].etag = response.headers[HeaderConstants.ETAG.toLowerCase()]; } return result; }; exports.getEtag = function (entity) { var etag; if (entity && entity[TableConstants.ODATA_METADATA_MARKER]) { etag = entity[TableConstants.ODATA_METADATA_MARKER].etag; } return etag; };
var odataHandler = require('../internal/odatahandler');
transfer.go
/* * Tencent is pleased to support the open source community by making 蓝鲸 available. * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * http://opensource.org/licenses/MIT * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language governing permissions and * limitations under the License. */ package service import ( "fmt" "sort" "strconv" "sync" "configcenter/src/common" "configcenter/src/common/auditlog" "configcenter/src/common/blog" "configcenter/src/common/errors" "configcenter/src/common/http/rest" "configcenter/src/common/metadata" "configcenter/src/common/util" ) /* transfer模块 实现带实例自动清除的主机转移操作 */ // TransferHostWithAutoClearServiceInstance 主机转移接口(带服务实例自动清除功能) // 1. 将主机 bk_host_ids 从 remove_from_modules 指定的拓扑节点移除 // 2. 移入到 add_to_modules 指定的模块中 // 3. 自动删除主机在移除模块下的服务实例 // 4. 自动添加主机在新模块上的服务实例 // note: // - 不允许 remove_from_modules 和 add_to_modules 同时为空 // - bk_host_ids 不允许为空 // - 如果 is_remove_from_all 为true,则接口行为是:覆盖更新 // - 如果 remove_from_modules 没有指定,仅仅是增量更新,无移除操作 // - 如果 add_to_modules 没有指定,主机将仅仅从 remove_from_modules 指定的模块中移除 // - 如果 add_to_modules 是空闲机/故障机/待回收模块中的一个,必须显式指定 remove_from_modules(可指定成业务节点), // 否则报主机不能属于互斥模块错误 // - 如果 add_to_modules 是普通模块,主机当前数据空闲机/故障机/待回收模块中的一个,必须显式指定 remove_from_modules // (可指定成业务节点), 否则报主机不能属于互斥模块错误 // - 模块同时出现在 add_to_modules 和 remove_from_modules 时,不会导致对应的服务实例被删除然后重新添加 // - 主机从 remove_from_modules 移除后如果不再属于其它模块, 默认转移到空闲机模块,default_internal_module 可以指定为空闲机/故障机/ // 待回收模块中的一个,表示主机移除全部模块后默认转移到的模块 // - 不允许 add_to_modules 和 default_internal_module 同时指定 func (s *Service) TransferHostWithAutoClearServiceInstance(ctx *rest.Contexts) { bizIDStr := ctx.Request.PathParameter(common.BKAppIDField) bizID, err := strconv.ParseInt(bizIDStr, 10, 64) if err != nil { blog.V(7).Infof("parse bizID from url failed, bizID: %s, err: %+v, rid: %s", bizIDStr, ctx.Kit.Rid) ctx.RespAutoError(ctx.Kit.CCError.Errorf(common.CCErrCommParamsNeedInt, common.BKAppIDField)) return } option := metadata.TransferHostWithAutoClearServiceInstanceOption{} if err := ctx.DecodeInto(&option); nil != err { ctx.RespAutoError(err) return } if ccErr := s.validateTransferHostWithAutoClearServiceInstanceOption(ctx.Kit, bizID, &option); ccErr != nil { ctx.RespAutoError(ccErr) return } transferPlans, err := s.generateTransferPlans(ctx.Kit, bizID, false, option) if err != nil { blog.ErrorJSON("generate transfer plans failed, bizID: %s, option: %s, err: %s, rid: %s", bizID, option, err, ctx.Kit.Rid) ctx.RespAutoError(err) return } // parse service instances to map[hostID->map[moduleID->processes]], skip those that do not belong to host modules svcInstMap := make(map[int64]map[int64][]metadata.ProcessInstanceDetail) svrInstOp := append(option.Options.ServiceInstanceOptions.Created, option.Options.ServiceInstanceOptions.Updated...) for _, svcInst := range svrInstOp { if _, exists := svcInstMap[svcInst.HostID]; !exists { svcInstMap[svcInst.HostID] = make(map[int64][]metadata.ProcessInstanceDetail) } svcInstMap[svcInst.HostID][svcInst.ModuleID] = svcInst.Processes } transToInnerOpt, transToNormalPlans := s.parseTransferPlans(bizID, option.IsRemoveFromAll, len(option.RemoveFromModules) == 0, transferPlans, svcInstMap) transferResult := make([]metadata.HostTransferResult, 0) txnErr := s.Engine.CoreAPI.CoreService().Txn().AutoRunTxn(ctx.Kit.Ctx, ctx.Kit.Header, func() error { return s.transferHostWithAutoClearServiceInstance(ctx.Kit, bizID, option, transToInnerOpt, transToNormalPlans, svcInstMap) }) if txnErr != nil { ctx.RespEntityWithError(transferResult, txnErr) return } ctx.RespEntity(transferResult) return } // parseTransferPlans aggregate transfer plans into transfer to inner/normal module options by module ids and increment func (s *Service) parseTransferPlans(bizID int64, isRemoveFromAll, isRemoveFromNone bool, transferPlans []metadata.HostTransferPlan, svcInstMap map[int64]map[int64][]metadata.ProcessInstanceDetail) ( *metadata.TransferHostToInnerModule, map[string]*metadata.HostsModuleRelation) { // when hosts are removed from all or no current modules, the plans are the same, we use a special key for this case const sameKey = "same" transferToInnerHostIDs := make([]int64, 0) var innerModuleID int64 transferToNormalPlans := make(map[string]*metadata.HostsModuleRelation) for _, plan := range transferPlans { // do not need to transfer, skip if len(plan.ToAddToModules) == 0 && len(plan.ToRemoveFromModules) == 0 { delete(svcInstMap, plan.HostID) continue } // transfer to inner modules if plan.IsTransferToInnerModule { innerModuleID = plan.FinalModules[0] transferToInnerHostIDs = append(transferToInnerHostIDs, plan.HostID) if len(svcInstMap[plan.HostID]) != 0 { delete(svcInstMap, plan.HostID) } continue } var transKey string var isIncrement bool var moduleIDs []int64 if len(plan.ToRemoveFromModules) == 0 { isIncrement = true moduleIDs = plan.ToAddToModules } else { isIncrement = false moduleIDs = plan.FinalModules } if isRemoveFromAll || isRemoveFromNone { transKey = sameKey } else { // we use is increment and sorted module ids to aggregate hosts with the same transfer option sort.Slice(moduleIDs, func(i, j int) bool { return moduleIDs[i] < moduleIDs[j] }) transKey = fmt.Sprintf("%v%v", isIncrement, moduleIDs) } if _, exists := transferToNormalPlans[transKey]; !exists { transferToNormalPlans[transKey] = &metadata.HostsModuleRelation{ ApplicationID: bizID, HostID: []int64{plan.HostID}, DisableAutoCreateSvcInst: true, IsIncrement: isIncrement, ModuleID: moduleIDs, } } else { transferToNormalPlans[transKey].HostID = append(transferToNormalPlans[transKey].HostID, plan.HostID) } for moduleID := range svcInstMap[plan.HostID] { if !util.InArray(moduleID, plan.FinalModules) { delete(svcInstMap[plan.HostID], moduleID) } } } var transToInnerOpt *metadata.TransferHostToInnerModule if len(transferToInnerHostIDs) > 0 { transToInnerOpt = &metadata.TransferHostToInnerModule{ApplicationID: bizID, HostID: transferToInnerHostIDs, ModuleID: innerModuleID} } return transToInnerOpt, transferToNormalPlans } func (s *Service) transferHostWithAutoClearServiceInstance( kit *rest.Kit, bizID int64, option metadata.TransferHostWithAutoClearServiceInstanceOption, transToInnerOpt *metadata.TransferHostToInnerModule, transToNormalPlans map[string]*metadata.HostsModuleRelation, svcInstMap map[int64]map[int64][]metadata.ProcessInstanceDetail) error { audit := auditlog.NewHostModuleLog(s.CoreAPI.CoreService(), option.HostIDs) if err := audit.WithPrevious(kit); err != nil { blog.Errorf("generate host transfer audit failed, err: %v, HostIDs: %+v, rid: %s", err, option.HostIDs, kit.Rid) return err } // hosts that are transferred to inner module or removed from all previous modules have the same destination // if there's no remove module, hosts are appended to same modules, can transfer together if transToInnerOpt != nil { res, err := s.CoreAPI.CoreService().Host().TransferToInnerModule(kit.Ctx, kit.Header, transToInnerOpt) if err != nil { blog.Errorf("transfer host failed, err: %v, res: %v, opt: %#v, rid: %s", err, res, transToInnerOpt, kit.Rid) return err } } var firstErr errors.CCErrorCoder pipeline := make(chan bool, 20) wg := sync.WaitGroup{} for _, plan := range transToNormalPlans { if firstErr != nil { break } pipeline <- true wg.Add(1) go func(kit *rest.Kit, plan *metadata.HostsModuleRelation) { defer func() { <-pipeline wg.Done() }() // transfer hosts in 2 scenario, add to modules and transfer to other modules res, ccErr := s.CoreAPI.CoreService().Host().TransferToNormalModule(kit.Ctx, kit.Header, plan) if ccErr != nil { if firstErr == nil { firstErr = ccErr } blog.Errorf("transfer host failed, err: %v, res: %v, opt: %#v, rid: %s", ccErr, res, plan, kit.Rid) return } }(kit, plan) } wg.Wait() if firstErr != nil { return firstErr } if err := s.upsertServiceInstance(kit, bizID, svcInstMap); err != nil { blog.Errorf("upsert service instance(%#v) failed, err: %v, svcInstMap: %#v, rid: %s", err, svcInstMap, kit.Rid) return err } // update host by host apply rule conflict resolvers err := s.updateHostByHostApplyConflictResolvers(kit, option.Options.HostApplyConflictResolvers) if err != nil { blog.Errorf("update host by host apply rule conflict resolvers(%#v) failed, err: %v, rid: %s", option.Options.HostApplyConflictResolvers, err, kit.Rid) return err } if err := audit.SaveAudit(kit); err != nil { blog.Errorf("save audit log failed, err: %v, HostIDs: %+v, rid: %s", err, option.HostIDs, kit.Rid) return err } return nil } // upsertServiceInstance create or update related service instance in host transfer option func (s *Service) upsertServiceInstance(kit *rest.Kit, bizID int64, svcInstMap map[int64]map[int64][]metadata.ProcessInstanceDetail) error { moduleSvcInstMap := make(map[int64][]metadata.CreateServiceInstanceDetail) for hostID, moduleProcMap := range svcInstMap { for moduleID, processes := range moduleProcMap { moduleSvcInstMap[moduleID] = append(moduleSvcInstMap[moduleID], metadata.CreateServiceInstanceDetail{ HostID: hostID, Processes: processes, }) } } wg := sync.WaitGroup{} var firstErr errors.CCErrorCoder pipeline := make(chan bool, 20) for moduleID, svcInst := range moduleSvcInstMap { if firstErr != nil { break } pipeline <- true wg.Add(1) svrInstOpt := &metadata.CreateServiceInstanceInput{ BizID: bizID, ModuleID: moduleID, Instances: svcInst, } go func(svrInstOpt *metadata.CreateServiceInstanceInput) { defer func() { <-pipeline wg.Done() }() _, ccErr := s.CoreAPI.ProcServer().Service().CreateServiceInstance(kit.Ctx, kit.Header, svrInstOpt) if ccErr != nil { if firstErr == nil { firstErr = ccErr } blog.Errorf("create service instance failed, err: %v, option: %#v, rid: %s", ccErr, svrInstOpt, kit.Rid) return } }(svrInstOpt) } wg.Wait() if firstErr != nil { return firstErr } return nil } func (s *Service) updateHostByHostApplyConflictResolvers(kit *rest.Kit, resolvers []metadata.HostApplyConflictResolver) errors.CCErrorCoder { if len(resolvers) == 0 { return nil } attributeIDs := make([]int64, 0) for _, rule := range resolvers { attributeIDs = append(attributeIDs, rule.AttributeID) } attCond := &metadata.QueryCondition{ Fields: []string{common.BKFieldID, common.BKPropertyIDField}, Page: metadata.BasePage{Limit: common.BKNoLimit}, Condition: map[string]interface{}{ common.BKFieldID: map[string]interface{}{ common.BKDBIN: attributeIDs, }, }, } attrRes, err := s.CoreAPI.CoreService().Model().ReadModelAttr(kit.Ctx, kit.Header, common.BKInnerObjIDHost, attCond) if err != nil { blog.Errorf("read model attr failed, err: %v, attrCond: %#v, rid: %s", err, attCond, kit.Rid) return kit.CCError.CCError(common.CCErrCommHTTPDoRequestFailed) } if ccErr := attrRes.CCError(); ccErr != nil { blog.Errorf("read model attr failed, err: %v, attrCond: %#v, rid: %s", err, attCond, kit.Rid) return ccErr } attrMap := make(map[int64]string) for _, attr := range attrRes.Data.Info { attrMap[attr.ID] = attr.PropertyID } hostAttrMap := make(map[int64]map[string]interface{}) for _, rule := range resolvers { if hostAttrMap[rule.HostID] == nil { hostAttrMap[rule.HostID] = make(map[string]interface{}) } hostAttrMap[rule.HostID][attrMap[rule.AttributeID]] = rule.PropertyValue } for hostID, hostData := range hostAttrMap { updateOption := &metadata.UpdateOption{ Data: hostData, Condition: map[string]interface{}{ common.BKHostIDField: hostID, }, } updateResult, err := s.CoreAPI.CoreService().Instance().UpdateInstance(kit.Ctx, kit.Header, common.BKInnerObjIDHost, updateOption) if err != nil { blog.ErrorJSON("update host failed, option: %#v, err: %v, rid: %s", updateOption, err, kit.Rid) return kit.CCError.CCError(common.CCErrCommHTTPDoRequestFailed) } if ccErr := updateResult.CCError(); ccErr != nil { blog.ErrorJSON("update host failed, option: %#v, err: %v, rid: %s", updateOption, ccErr, kit.Rid) return ccErr } } return nil } func (s *Service) generateTransferPlans(kit *rest.Kit, bizID int64, withHostApply bool, option metadata.TransferHostWithAutoClearServiceInstanceOption) ([]metadata.HostTransferPlan, errors.CCErrorCoder) { rid := kit.Rid // get host module config hostModuleOption := &metadata.HostModuleRelationRequest{ ApplicationID: bizID, HostIDArr: option.HostIDs, Page: metadata.BasePage{Limit: common.BKNoLimit}, Fields: []string{common.BKModuleIDField, common.BKHostIDField}, } hostModuleResult, err := s.CoreAPI.CoreService().Host().GetHostModuleRelation(kit.Ctx, kit.Header, hostModuleOption) if err != nil { blog.ErrorJSON("get host module relation failed, option: %s, err: %s, rid: %s", hostModuleOption, err, rid) return nil, kit.CCError.CCError(common.CCErrCommHTTPDoRequestFailed) } if err := hostModuleResult.CCError(); err != nil { blog.ErrorJSON("get host module relation failed, option: %s, err: %s, rid: %s", hostModuleOption, err, rid) return nil, err } hostModulesIDMap := make(map[int64][]int64) for _, item := range hostModuleResult.Data.Info { if _, exist := hostModulesIDMap[item.HostID]; !exist { hostModulesIDMap[item.HostID] = make([]int64, 0) } hostModulesIDMap[item.HostID] = append(hostModulesIDMap[item.HostID], item.ModuleID) } // get inner modules and default inner module to transfer when hosts is removed from all modules innerModules, ccErr := s.getInnerModules(kit, bizID) if ccErr != nil { return nil, ccErr } innerModuleIDMap := make(map[int64]struct{}, 0) innerModuleIDs := make([]int64, 0) defaultInternalModuleID := int64(0) for _, module := range innerModules { innerModuleIDMap[module.ModuleID] = struct{}{} innerModuleIDs = append(innerModuleIDs, module.ModuleID) if module.Default == int64(common.DefaultResModuleFlag) { defaultInternalModuleID = module.ModuleID } } if defaultInternalModuleID == 0 { blog.InfoJSON("default internal module ID not found, bizID: %s, modules: %s, rid: %s", bizID, innerModules, rid) } if option.DefaultInternalModule != 0 { if _, exists := innerModuleIDMap[option.DefaultInternalModule]; !exists { return nil, kit.CCError.CCErrorf(common.CCErrCommParamsInvalid, "default_internal_module") } defaultInternalModuleID = option.DefaultInternalModule } transferPlans := make([]metadata.HostTransferPlan, 0) for hostID, currentInModules := range hostModulesIDMap { // if host is currently in inner module and is going to append to another module, transfer to that module if len(option.RemoveFromModules) == 0 { option.RemoveFromModules = innerModuleIDs } transferPlan := generateTransferPlan(currentInModules, option.RemoveFromModules, option.AddToModules, defaultInternalModuleID) transferPlan.HostID = hostID // check module compatibility finalModuleCount := len(transferPlan.FinalModules) for _, moduleID := range transferPlan.FinalModules { if _, exists := innerModuleIDMap[moduleID]; !exists { continue } if finalModuleCount != 1 { return nil, kit.CCError.CCError(common.CCErrHostTransferFinalModuleConflict) } transferPlan.IsTransferToInnerModule = true } transferPlans = append(transferPlans, transferPlan) } // if do not need host apply, then return directly. if !withHostApply { return transferPlans, nil } // generate host apply plans return s.generateHostApplyPlans(kit, bizID, transferPlans, option.Options.HostApplyConflictResolvers) } func (s *Service) generateHostApplyPlans(kit *rest.Kit, bizID int64, plans []metadata.HostTransferPlan, resolvers []metadata.HostApplyConflictResolver) ([]metadata.HostTransferPlan, errors.CCErrorCoder) { if len(plans) == 0 { return plans, nil } // get final modules' host apply rules finalModuleIDs := make([]int64, 0) for _, item := range plans { finalModuleIDs = append(finalModuleIDs, item.FinalModules...) } ruleOpt := metadata.ListHostApplyRuleOption{ ModuleIDs: finalModuleIDs, Page: metadata.BasePage{Limit: common.BKNoLimit}, } rules, ccErr := s.CoreAPI.CoreService().HostApplyRule().ListHostApplyRule(kit.Ctx, kit.Header, bizID, ruleOpt) if ccErr != nil { blog.Errorf("list apply rule failed, bizID: %s, option: %#v, err: %s, rid: %s", bizID, ruleOpt, ccErr, kit.Rid) return plans, ccErr } // get modules that enabled host apply moduleCondition := metadata.QueryCondition{ Page: metadata.BasePage{Limit: common.BKNoLimit}, Fields: []string{common.BKModuleIDField}, Condition: map[string]interface{}{ common.BKModuleIDField: map[string]interface{}{common.BKDBIN: finalModuleIDs}, common.HostApplyEnabledField: true, }, } enabledModules, err := s.CoreAPI.CoreService().Instance().ReadInstance(kit.Ctx, kit.Header, common.BKInnerObjIDModule, &moduleCondition) if err != nil { blog.ErrorJSON("get apply enabled modules failed, filter: %s, err: %s, rid: %s", moduleCondition, err, kit.Rid) return plans, kit.CCError.CCError(common.CCErrCommDBSelectFailed) } enableModuleMap := make(map[int64]bool) for _, item := range enabledModules.Data.Info { moduleID, err := util.GetInt64ByInterface(item[common.BKModuleIDField]) if err != nil { blog.ErrorJSON("parse module from db failed, module: %s, err: %s, rid: %s", item, err, kit.Rid) return plans, kit.CCError.CCError(common.CCErrCommParseDBFailed) } enableModuleMap[moduleID] = true } // generate host apply plans hostModules := make([]metadata.Host2Modules, 0) for _, item := range plans { host2Module := metadata.Host2Modules{ HostID: item.HostID, ModuleIDs: make([]int64, 0), } for _, moduleID := range item.FinalModules { if _, exist := enableModuleMap[moduleID]; exist { host2Module.ModuleIDs = append(host2Module.ModuleIDs, moduleID) } } hostModules = append(hostModules, host2Module) } planOpt := metadata.HostApplyPlanOption{ Rules: rules.Info, HostModules: hostModules, ConflictResolvers: resolvers, } hostApplyPlanResult, ccErr := s.CoreAPI.CoreService().HostApplyRule().GenerateApplyPlan(kit.Ctx, kit.Header, bizID, planOpt) if ccErr != nil { blog.Errorf("generate apply plan failed, biz: %d, opt: %#v, err: %v, rid: %s", bizID, planOpt, ccErr, kit.Rid) return plans, ccErr } hostApplyPlanMap := make(map[int64]metadata.OneHostApplyPlan) for _, item := range hostApplyPlanResult.Plans { hostApplyPlanMap[item.HostID] = item } for index, transferPlan := range plans { if applyPlan, ok := hostApplyPlanMap[transferPlan.HostID]; ok { plans[index].HostApplyPlan = applyPlan } } return plans, nil } // generateTransferPlan 实现计算主机将从哪个模块移除,添加到哪个模块,最终在哪些模块 // param hostID: 主机ID // param currentIn: 主机当前所属模块 // param removeFrom: 从哪些模块中移除 // param addTo: 添加到哪些模块 // param defaultInternalModuleID: 默认内置模块ID func generateTransferPlan(currentIn []int64, removeFrom []int64, addTo []int64, defaultInternalModuleID int64) metadata.HostTransferPlan { removeFromModuleMap := make(map[int64]struct{}) for _, moduleID := range removeFrom { removeFromModuleMap[moduleID] = struct{}{} } // 主机最终所在模块列表,包括当前所在模块和新增模块,不包括移出模块 // 主机将会被移出的模块列表,包括当前所在模块里在移出模块且不在新增模块中的模块 realRemoveModuleMap := make(map[int64]struct{}) finalModules := make([]int64, 0) finalModuleMap := make(map[int64]struct{}) currentModuleMap := make(map[int64]struct{}) for _, moduleID := range currentIn { currentModuleMap[moduleID] = struct{}{} if _, exists := finalModuleMap[moduleID]; exists { continue } if _, exists := removeFromModuleMap[moduleID]; exists { if _, exists := realRemoveModuleMap[moduleID]; !exists { realRemoveModuleMap[moduleID] = struct{}{} } continue } finalMo
struct{}{} finalModules = append(finalModules, moduleID) } // 主机将会被新加到的模块列表,包括新增模块里不在当前模块的模块 realAddModules := make([]int64, 0) for _, moduleID := range addTo { if _, exists := finalModuleMap[moduleID]; exists { continue } finalModuleMap[moduleID] = struct{}{} finalModules = append(finalModules, moduleID) delete(realRemoveModuleMap, moduleID) if _, exists := currentModuleMap[moduleID]; exists { continue } realAddModules = append(realAddModules, moduleID) } realRemoveModules := make([]int64, 0) for moduleID := range realRemoveModuleMap { realRemoveModules = append(realRemoveModules, moduleID) } if len(finalModules) == 0 { finalModules = []int64{defaultInternalModuleID} } return metadata.HostTransferPlan{ FinalModules: finalModules, ToRemoveFromModules: realRemoveModules, ToAddToModules: realAddModules, } } func (s *Service) validateModules(kit *rest.Kit, bizID int64, moduleIDs []int64, field string) errors.CCErrorCoder { if len(moduleIDs) == 0 { return nil } moduleIDs = util.IntArrayUnique(moduleIDs) filter := []map[string]interface{}{{ common.BKAppIDField: bizID, common.BKModuleIDField: map[string]interface{}{ common.BKDBIN: moduleIDs, }, }} moduleCounts, err := s.CoreAPI.CoreService().Count().GetCountByFilter(kit.Ctx, kit.Header, common.BKTableNameBaseModule, filter) if err != nil { return err } if len(moduleCounts) == 0 || moduleCounts[0] != int64(len(moduleIDs)) { return kit.CCError.CCErrorf(common.CCErrCommParamsInvalid, field) } return nil } func (s *Service) getModules(kit *rest.Kit, bizID int64, ids []int64) ([]metadata.ModuleInst, errors.CCErrorCoder) { query := &metadata.QueryCondition{ Page: metadata.BasePage{ Limit: common.BKNoLimit, }, Fields: []string{ common.BKModuleIDField, common.BKServiceTemplateIDField, }, Condition: map[string]interface{}{ common.BKAppIDField: bizID, common.BKModuleIDField: map[string]interface{}{ common.BKDBIN: ids, }, }, } moduleRes := new(metadata.ResponseModuleInstance) err := s.CoreAPI.CoreService().Instance().ReadInstanceStruct(kit.Ctx, kit.Header, common.BKInnerObjIDModule, query, &moduleRes) if err != nil { blog.Errorf("get modules failed, input: %#v, err: %v, rid:%s", query, err, kit.Rid) return nil, err } if err := moduleRes.CCError(); err != nil { blog.Errorf("get modules failed, input: %#v, err: %v, rid:%s", query, err, kit.Rid) return nil, err } return moduleRes.Data.Info, nil } func (s *Service) getInnerModules(kit *rest.Kit, bizID int64) ([]metadata.ModuleInst, errors.CCErrorCoder) { query := &metadata.QueryCondition{ Page: metadata.BasePage{ Limit: common.BKNoLimit, }, Fields: []string{ common.BKModuleIDField, common.BKDefaultField, }, Condition: map[string]interface{}{ common.BKAppIDField: bizID, common.BKDefaultField: map[string]interface{}{ common.BKDBNE: common.DefaultFlagDefaultValue, }, }, } moduleRes := new(metadata.ResponseModuleInstance) err := s.CoreAPI.CoreService().Instance().ReadInstanceStruct(kit.Ctx, kit.Header, common.BKInnerObjIDModule, query, &moduleRes) if err != nil { blog.Errorf("get modules failed, input: %#v, err: %v, rid:%s", query, err, kit.Rid) return nil, err } if err := moduleRes.CCError(); err != nil { blog.Errorf("get modules failed, input: %#v, err: %v, rid:%s", query, err, kit.Rid) return nil, err } return moduleRes.Data.Info, nil } // TransferHostWithAutoClearServiceInstancePreview generate a preview of changes for // TransferHostWithAutoClearServiceInstance operation // 接口请求参数跟转移是一致的 // 主机从模块删除时提供了将要删除的服务实例信息 // 主机添加到新模块时,提供了模块对应的服务模板(如果有) func (s *Service) TransferHostWithAutoClearServiceInstancePreview(ctx *rest.Contexts) { bizIDStr := ctx.Request.PathParameter(common.BKAppIDField) bizID, err := strconv.ParseInt(bizIDStr, 10, 64) if err != nil { blog.V(7).Infof("parse bizID from url failed, bizID: %s, err: %+v, rid: %s", bizIDStr, ctx.Kit.Rid) ctx.RespAutoError(ctx.Kit.CCError.Errorf(common.CCErrCommParamsNeedInt, common.BKAppIDField)) return } option := metadata.TransferHostWithAutoClearServiceInstanceOption{} if err := ctx.DecodeInto(&option); nil != err { ctx.RespAutoError(err) return } if ccErr := s.validateTransferHostWithAutoClearServiceInstanceOption(ctx.Kit, bizID, &option); ccErr != nil { ctx.RespAutoError(ccErr) return } transferPlans, ccErr := s.generateTransferPlans(ctx.Kit, bizID, true, option) if ccErr != nil { blog.ErrorJSON("generate transfer plans failed, bizID: %s, option: %s, err: %s, rid: %s", bizID, option, ccErr, ctx.Kit.Rid) ctx.RespAutoError(ccErr) return } addModuleIDs := make([]int64, 0) removeModuleIDs := make([]int64, 0) for _, plan := range transferPlans { addModuleIDs = append(addModuleIDs, plan.ToAddToModules...) removeModuleIDs = append(removeModuleIDs, plan.ToRemoveFromModules...) } // get to remove service instances moduleHostSrvInstMap := make(map[int64]map[int64][]metadata.ServiceInstance) if len(removeModuleIDs) > 0 { listSrvInstOption := &metadata.ListServiceInstanceOption{ BusinessID: bizID, HostIDs: option.HostIDs, ModuleIDs: removeModuleIDs, Page: metadata.BasePage{ Limit: common.BKNoLimit, }, } srvInstResult, ccErr := s.CoreAPI.CoreService().Process().ListServiceInstance(ctx.Kit.Ctx, ctx.Kit.Header, listSrvInstOption) if ccErr != nil { blog.ErrorJSON("list service instance failed, bizID: %s, option: %s, err: %s, rid: %s", bizID, listSrvInstOption, ccErr, ctx.Kit.Rid) ctx.RespAutoError(ccErr) return } for _, item := range srvInstResult.Info { if _, exist := moduleHostSrvInstMap[item.ModuleID]; !exist { moduleHostSrvInstMap[item.ModuleID] = make(map[int64][]metadata.ServiceInstance, 0) } if _, exist := moduleHostSrvInstMap[item.ModuleID][item.HostID]; !exist { moduleHostSrvInstMap[item.ModuleID][item.HostID] = make([]metadata.ServiceInstance, 0) } moduleHostSrvInstMap[item.ModuleID][item.HostID] = append(moduleHostSrvInstMap[item.ModuleID][item.HostID], item) } } moduleServiceTemplateMap := make(map[int64]metadata.ServiceTemplateDetail) if len(addModuleIDs) > 0 { // get add to modules modules, ccErr := s.getModules(ctx.Kit, bizID, addModuleIDs) if ccErr != nil { blog.Errorf("get modules failed, err: %v, bizID: %d, module ids: %+v, rid: %s", ccErr, bizID, addModuleIDs, ctx.Kit.Rid) ctx.RespAutoError(ccErr) return } // get service template related to add modules serviceTemplateIDs := make([]int64, 0) for _, module := range modules { if module.ServiceTemplateID == common.ServiceTemplateIDNotSet { continue } serviceTemplateIDs = append(serviceTemplateIDs, module.ServiceTemplateID) } if len(serviceTemplateIDs) > 0 { serviceTemplateDetails, ccErr := s.CoreAPI.CoreService().Process().ListServiceTemplateDetail(ctx.Kit.Ctx, ctx.Kit.Header, bizID, serviceTemplateIDs...) if ccErr != nil { blog.Errorf("list service template detail failed, bizID: %s, option: %s, err: %s, rid: %s", bizID, serviceTemplateIDs, ccErr, ctx.Kit.Rid) ctx.RespAutoError(ccErr) return } serviceTemplateMap := make(map[int64]metadata.ServiceTemplateDetail) for _, templateDetail := range serviceTemplateDetails.Info { serviceTemplateMap[templateDetail.ServiceTemplate.ID] = templateDetail } for _, module := range modules { templateDetail, exist := serviceTemplateMap[module.ServiceTemplateID] if exist { moduleServiceTemplateMap[module.ModuleID] = templateDetail } } } } previews := make([]metadata.HostTransferPreview, 0) for _, plan := range transferPlans { preview := metadata.HostTransferPreview{ HostID: plan.HostID, FinalModules: plan.FinalModules, ToRemoveFromModules: make([]metadata.RemoveFromModuleInfo, 0), ToAddToModules: make([]metadata.AddToModuleInfo, 0), HostApplyPlan: plan.HostApplyPlan, } for _, moduleID := range plan.ToRemoveFromModules { removeInfo := metadata.RemoveFromModuleInfo{ ModuleID: moduleID, ServiceInstances: make([]metadata.ServiceInstance, 0), } hostSrvInstMap, exist := moduleHostSrvInstMap[moduleID] if !exist { preview.ToRemoveFromModules = append(preview.ToRemoveFromModules, removeInfo) continue } serviceInstances, exist := hostSrvInstMap[plan.HostID] if exist { removeInfo.ServiceInstances = append(removeInfo.ServiceInstances, serviceInstances...) } preview.ToRemoveFromModules = append(preview.ToRemoveFromModules, removeInfo) } for _, moduleID := range plan.ToAddToModules { addInfo := metadata.AddToModuleInfo{ ModuleID: moduleID, ServiceTemplate: nil, } serviceTemplateDetail, exist := moduleServiceTemplateMap[moduleID] if exist { addInfo.ServiceTemplate = &serviceTemplateDetail } preview.ToAddToModules = append(preview.ToAddToModules, addInfo) } previews = append(previews, preview) } ctx.RespEntity(previews) return } func (s *Service) validateTransferHostWithAutoClearServiceInstanceOption(kit *rest.Kit, bizID int64, option *metadata.TransferHostWithAutoClearServiceInstanceOption) errors.CCErrorCoder { if option == nil { return kit.CCError.CCErrorf(common.CCErrCommParamsNeedSet, "bk_host_ids") } if len(option.HostIDs) == 0 { return kit.CCError.CCErrorf(common.CCErrCommParamsNeedSet, "bk_host_ids") } if option.IsRemoveFromAll { moduleFilter := &metadata.DistinctFieldOption{ TableName: common.BKTableNameModuleHostConfig, Field: common.BKModuleIDField, Filter: map[string]interface{}{ common.BKAppIDField: bizID, common.BKHostIDField: map[string]interface{}{common.BKDBIN: option.HostIDs}, }, } rawModuleIDs, ccErr := s.CoreAPI.CoreService().Common().GetDistinctField(kit.Ctx, kit.Header, moduleFilter) if ccErr != nil { blog.Errorf("get host module ids failed, err: %v, filter: %#v, rid: %s", ccErr, moduleFilter, kit.Rid) return ccErr } moduleIDs, err := util.SliceInterfaceToInt64(rawModuleIDs) if err != nil { blog.Errorf("parse module ids(%#v) failed, err: %v, rid: %s", rawModuleIDs, err, kit.Rid) return ccErr } option.RemoveFromModules = moduleIDs } if len(option.RemoveFromModules) == 0 && len(option.AddToModules) == 0 { return kit.CCError.CCErrorf(common.CCErrCommParamsNeedSet, "remove_from_modules or add_to_modules") } if option.DefaultInternalModule != 0 && len(option.AddToModules) != 0 { return kit.CCError.CCErrorf(common.CCErrCommParamsInvalid, "add_to_modules & default_internal_module") } if len(option.AddToModules) != 0 { return s.validateModules(kit, bizID, option.AddToModules, "add_to_modules") } if option.DefaultInternalModule != 0 { return s.validateModules(kit, bizID, []int64{option.DefaultInternalModule}, "default_internal_module") } return nil }
duleMap[moduleID] =
result-container.component.ts
import {Component, Input, OnInit} from '@angular/core'; @Component({ selector: 'app-result-container', templateUrl: './result-container.component.html', styleUrls: ['./result-container.component.scss'] }) export class ResultContainerComponent implements OnInit {
constructor() { } ngOnInit(): void { } }
@Input() public results: string[];
auth-icon.component.ts
import { Component, OnInit, Inject, Input, } from '@angular/core'; import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { AuthenticationService } from '../auth.service'; import { AUTHENTICATION_AUTH_PAGE_ROOT_URI, AUTHENTICATION_DROPDOWN_ITEMS } from '../tokens'; import { DropdownItem } from './dropdown-item'; @Component({ selector: 'lib-auth-icon', templateUrl: 'auth-icon.component.html', styleUrls: ['auth-icon.component.css'] }) export class AuthIconComponent implements OnInit { @Input() showUserName: boolean = true; public popup = false; public popupStyle: any = {}; public userName = 'Please login'; public userNameShort = 'Please login'; public userNameFirst = ''; public loginPageUri: string; public changePassPageUri: string; public profileUri: string; constructor( private router: Router, private authService: AuthenticationService, @Inject(AUTHENTICATION_AUTH_PAGE_ROOT_URI) private authPageRootUri: string, @Inject(AUTHENTICATION_DROPDOWN_ITEMS) public dropdownItems: DropdownItem[]) { } ngOnInit() { this.authPageRootUri = this.authPageRootUri.replace(/\/$/, ''); // remove trailing slash this.loginPageUri = this.authPageRootUri + '/login'; this.changePassPageUri = this.authPageRootUri + '/changepass'; this.profileUri = this.authPageRootUri + '/profile'; this.isAuthorized(); } public toggle(event) { if (!this.popup) { const right = (window.innerWidth - event.x) - 2; const top = event.y + 15; this.popupStyle = { right: right.toString() + 'px', top: top.toString() + 'px', }; } this.popup = !this.popup; } public closePopup() { this.popup = false; } public isAuthorized() { const name = this.authService.getUserName(); const isAuth = this.authService.isAuthorized(); if (name) { this.userName = name; this.userNameFirst = name.substr(0,1).toUpperCase(); if (isAuth) { if (name.length > 12) {
} } else { this.userNameShort = 'Please login'; } } return isAuth; } public dropdownItemClicked(i: number): void { const item = this.dropdownItems[i]; this.router.navigate([item.routerLink]); this.popup = false; } public login() { // not logged in so redirect to login page with the return url const state: RouterStateSnapshot = this.router.routerState.snapshot; this.authService.setInterruptedUrl(state.url); this.popup = false; this.router.navigate([this.loginPageUri]); } public changePassword() { const state: RouterStateSnapshot = this.router.routerState.snapshot; this.authService.setInterruptedUrl(state.url); this.popup = false; this.router.navigate([this.changePassPageUri]); } public myProfile() { const state: RouterStateSnapshot = this.router.routerState.snapshot; this.authService.setInterruptedUrl(state.url); this.popup = false; this.router.navigate([this.profileUri]); } public logout() { // not logged in so redirect to login page with the return url this.authService.logout(); this.popup = false; this.router.navigated = false; // refresh current page; this.router.navigate(['/']); // home page } }
this.userNameShort = name.substring(0, 10) + '...'; } else { this.userNameShort = name.substring(0, 13);
impl_trait_fallback2.rs
#![feature(type_alias_impl_trait)] fn main() {} trait T {} impl T for i32 {} fn should_ret_unit() -> impl T {
//~^ ERROR `(): T` is not satisfied panic!() } type Foo = impl T; fn a() -> Foo { panic!() } fn b() -> Foo { 42 }
socialbuttons.min.js
(function(context){context.SocialButtons=function(options){this.options=utils.extend({},[defaultOptions,options]);this._shareOptions=this._createShareOptions();this._storageButtons={};this._lastShareUrl="";this._renderComponents=this._createRenderComponents();this._containerDOM=document.createElement("div");this._containerDOM.className="container-social-buttons";if(this.options.services&&this.options.services.length>0){this._begin();}};SocialButtons.prototype._begin=function(){var self=this;var length=this.options.services.length;var quantity=0;var id=this.options.id;if(id in initIds){return;}initIds[id]=true;this.options.services.forEach(function(service){if(service in services){self._createHTML(services[service]).then(function(button){self._storageButtons[service]=button;quantity++;if(quantity===length){self._renderHTML();}});}});};SocialButtons.prototype._createHTML=function(service){var self=this;var currentHelpers=self.options.helpers[service.name];var customClass=currentHelpers.customClass||"";var button=utils.createElement("div","b-social-button b-social-button--"+service.name+" b-social-button--"+self.options.theme+" "+customClass,{title:currentHelpers.title});var size=self._getButtonsSize(this.options.buttonSize);if(size){button.style.fontSize=size+"px";}var components=utils.createElement("div","social-button__components");button.appendChild(components);if(self._renderComponents.icon===true){var icon=utils.createElement("div","social-button__icon");components.appendChild(icon);}if(self._renderComponents.text===true){var text=utils.createElement("div","social-button__text");text.innerHTML=currentHelpers.text;components.appendChild(text);}button.addEventListener("click",function(){self._openPopup(service);self._countIncrement(button,{name:service.name,url:self._lastShareUrl});});if(((self.options.counter&&service.getCountUrl!=null)||currentHelpers.counter!=null)&&self._renderComponents.count){var countElement=utils.createElement("div","social-button__count");return self._getCounter(service,currentHelpers.counter).then(function(count){countElement.setAttribute("data-count",count);count=counterRules(count,self.options.showZeros,self.options.outputCountCallback);if(count===""){countElement.className+=" social-button__count--empty";}countElement.innerHTML=count;components.appendChild(countElement);return button;});}return Promise.resolve(button);};SocialButtons.prototype._renderHTML=function(){var self=this;var whereToInsert=document.querySelector("#"+this.options.id);if(whereToInsert){this.options.services.forEach(function(service){if(service in self._storageButtons){var button=self._storageButtons[service];self._containerDOM.appendChild(button);}});whereToInsert.appendChild(this._containerDOM);var callbackCreate=self.options.callbacks.create;if(typeof callbackCreate==="function"){callbackCreate({self:whereToInsert,options:self.options});}}else{console.error("#"+this.options.id,"not found!");}};SocialButtons.prototype._getButtonsSize=function(size){switch(size){case"small":size=22;break;case"middle":size=28;break;case"large":size=34;break;default:var parseSize=parseFloat(size);if(!isNaN(parseSize)){size=parseSize;}}return size;};SocialButtons.prototype._getCounter=function(service,userFunctionCounter){var url=this.options.url;var cacheValue=counterControl.caching[url];if(cacheValue!=null){return Promise.resolve(cacheValue);}if(userFunctionCounter!=null&&typeof userFunctionCounter==="function"){return Promise.resolve(userFunctionCounter());}return counterControl.get(service,url).then(function(count){counterControl.caching[url]=count;return count;});};SocialButtons.prototype._parseTemplate=function(template,objectCallback){if(!template){return"";}var pattern=/{{[^{{]+}}/gi;return template.replace(pattern,function(foundString){foundString=foundString.replace(/\s+/g,"");var property=foundString.split("").filter(function(current,index,array){if(index>1&&array.length-2>index){return true;}}).join("");if(property in objectCallback){return encodeURIComponent(objectCallback[property]);}else{return"";}});};SocialButtons.prototype._openPopup=function(service){var url=this._parseTemplate(service.shareUrl,this._shareOptions);this._lastShareUrl=url;window.open(url,"share","toolbar=0,status=0,scrollbars=0,width=600,height=450");};SocialButtons.prototype._countIncrement=function(button,service){var countElement=button.querySelector(".social-button__count");var count;if(countElement!=null){count=countElement.getAttribute("data-count");count++;if(!isNaN(count)){countElement.setAttribute("data-count",count);var outCountCallback=this.options.outputCountCallback;if(typeof outCountCallback==="function"){count=outCountCallback(count);}countElement.innerHTML=count;var callbackShare=this.options.callbacks.share;if(typeof callbackShare==="function"){callbackShare({self:button,service:service});}}}};SocialButtons.prototype._createRenderComponents=function(){var components={icon:false,text:false,count:false};for(var component in components){if(components.hasOwnProperty(component)){if(this.options.components.indexOf(component)>=0){components[component]=true;}}}return components;};SocialButtons.prototype._createShareOptions=function(){var OG={url:document.querySelector('[property="og:url"]'),title:document.querySelector('[property="og:title"]'),description:document.querySelector('[property="og:description"]'),image:document.querySelector('[property="og:image"]')};for(var meta in OG){if(OG.hasOwnProperty(meta)){if(OG[meta]){OG[meta]=OG[meta].getAttribute("content");}}}return{url:this.options.url||OG.url||window.location.href,title:this.options.title||OG.title||document.title,description:this.options.description||OG.description||"",image:this.options.image||OG.image||""};};var defaultOptions={components:["icon","text","count"],theme:"default",callbacks:{create:null,share:null},outputCountCallback:null,helpers:{vkontakte:{text:"Рассказать",title:"Рассказать в Вконтакте",customClass:"",counter:null},facebook:{text:"Поделиться",title:"Поделиться в Facebook",customClass:"",counter:null},googleplus:{text:"Это интересно",title:"Это интересно Google Plus",customClass:"",counter:null},odnoklassniki:{text:"Написать",title:"Написать в Одноклассниках",customClass:"",counter:null},moimir:{text:"Поделиться",title:"Поделиться ссылкой в Мой Мир",customClass:"",counter:null},twitter:{text:"Ретвит",title:"Написать в Twitter",customClass:"",counter:null},lj:{text:"Написать",title:"Разместить запись в LiveJournal",customClass:"",counter:null},linkedin:{text:"Поделиться",title:"Поделиться в Linkedin",customClass:"",counter:null}}};var protocol=location.protocol==="https:"?"https":"http";var services={vkontakte:{name:"vkontakte",promises:[],shareUrl:protocol+"://vk.com/share.php?url={{ url }}&title={{ title }}&description={{ description }}&image={{ image }}",getCountUrl:protocol+"://vk.com/share.php?act=count&url=",counter:function(url,promise){var request=new RequestManager();var index=this.promises.length;request.create(this.getCountUrl+url+"&index="+index);this.promises.push(promise);if(!context.VK){context.VK={};}window.VK.Share={count:function(index,count){services.vkontakte.promises[index].resolve(count);}};}},facebook:{name:"facebook",shareUrl:protocol+"://www.facebook.com/sharer/sharer.php?u={{ url }}&title={{ title }}&description={{ description }}&image={{ image }}",getCountUrl:protocol+"://graph.facebook.com/?id=",counter:function(url,promise){var request=new RequestManager();request.create(this.getCountUrl+url).then(function(data){var count=0;if(data.share!=null&&data.share.share_count!=null){count=data.share.share_count;}promise.resolve(count);});}},googleplus:{name:"googleplus",shareUrl:protocol+"://plus.google.com/share?url={{ url }}",getCountUrl:protocol+"://share.yandex.ru/gpp.xml?url=",counter:function(url,promise){var request=new RequestManager();request.create(this.getCountUrl+url).then(function(count){if(count==null){count=0;}promise.resolve(count);});}},odnoklassniki:{name:"odnoklassniki",promises:[],shareUrl:protocol+"://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl={{ url }}&st.comments={{ title }}",getCountUrl:protocol+"://connect.ok.ru/dk?st.cmd=extLike&ref=",counter:function(url,promise){var request=new RequestManager();var index=this.promises.length;request.create(this.getCountUrl+url+"&uid="+index);this.promises.push(promise);if(!context.ODKL){context.ODKL={};}context.ODKL.updateCount=function(index,count){services.odnoklassniki.promises[index].resolve(count);};}},moimir:{name:"moimir",shareUrl:protocol+"://connect.mail.ru/share?url={{ url }}&title={{ title }}&description={{ description }}",getCountUrl:protocol+"://appsmail.ru/share/count/",counter:function(url,promise){var position=url.indexOf("//");url=url.slice(position+2);var request=new RequestManager();request.create(this.getCountUrl+url).then(function(data){var count=data.share_mm;if(count==null){count=0;}promise.resolve(count);});}},twitter:{name:"twitter",shareUrl:protocol+"://twitter.com/share?={{ url }}&text={{ description }}",getCountUrl:null,counter:function(url,promise){promise.resolve(0);}},lj:{name:"lj",shareUrl:protocol+"://www.livejournal.com/update.bml?subject={{ title }}&event={{ description }}",getCountUrl:null,counter:function(url,promise){promise.resolve(0);}},linkedin:{name:"linkedin",shareUrl:protocol+"://www.linkedin.com/shareArticle?mini=true&url={{ url }}&title={{ title }}&summary={{ description }}",getCountUrl:null,counter:function(url,promise){promise.resolve(0);}}};var initIds={};var counterControl={caching:{},get:function(service,url){var defer=utils.deferred();service.counter(url,defer);return defer.promise;}};function counterRules(count,showZeros,outputCountCallback){if(!count&&!showZeros){count="";}if(typeof outputCountCallback==="function"){count=outputCountCallback(parseInt(count));}return count;}function RequestManager(){this.uniqueName=null;this.script=null;this.data=null;}RequestManager.prototype.create=function(src){var self=this;var defer=utils.deferred();var separator=(src.indexOf("?")>0)?"&":"?";this.uniqueName="f_"+String(Math.random()).slice(2);this.script=document.createElement("script");this.script.src=src+separator+"callback="+this.uniqueName;document.head.appendChild(this.script);context[this.uniqueName]=function(data){self.data=data;};self.script.onload=function(){self.remove();defer.resolve(self.data);};return defer.promise;};RequestManager.prototype.remove=function(){delete context[this.uniqueName];this.script.parentNode.removeChild(this.script);};var utils={deferred:function(){var result={};result.promise=new Promise(function(resolve,reject){result.resolve=resolve;result.reject=reject;});return result;},extend:function(target,objects){for(var object in objects){if(objects.hasOwnProperty(object)){recursiveMerge(target,objects[object]);}}function recursiveMerge(target,object){for(var property in object){if(object.hasOwnProperty(property)){var current=object[property];if(utils.getConstructor(current)==="Object"){if(!target[property]){target[property]={};}recursiveMerge(target[property],current);}else{target[property]=current;}}}}return target;},createElement:function(element,className,attrs){var newElement=document.createElement(element);if(className){newElement.className=className;}if(attrs){for(var attr in attrs){if(attrs.hasOwnProperty(attr)){var value=attrs[attr];newElement.setAttribute(attr,value);}}}return newElement;},getConstructor:function(object){return Object.prototype.toString.call(object).slice(8,-1);}};})(window);
blueprint.py
# This file is part of the CERN Indico plugins. # Copyright (C) 2014 - 2019 CERN # # The CERN Indico plugins are free software; you can redistribute # them and/or modify them under the terms of the MIT License; see # the LICENSE file for more details. from __future__ import unicode_literals from indico.core.plugins import IndicoPluginBlueprint
blueprint = IndicoPluginBlueprint('audiovisual', __name__, url_prefix='/service/audiovisual') blueprint.add_url_rule('/', 'request_list', RHRequestList)
from indico_audiovisual.controllers import RHRequestList
digest.go
package main import ( "context" "flag" "fmt" "github.com/genuinetools/reg/registry" ) const digestHelp = `Get the digest for a repository.` func (cmd *digestCommand) Name() string { return "digest" } func (cmd *digestCommand) Args() string { return "[OPTIONS] NAME[:TAG]" } func (cmd *digestCommand) ShortHelp() string { return digestHelp } func (cmd *digestCommand) LongHelp() string { return digestHelp } func (cmd *digestCommand) Hidden() bool { return false } func (cmd *digestCommand) Register(fs *flag.FlagSet) { fs.BoolVar(&cmd.index, "index", false, "get manifest index (multi-architecture images, docker apps)") fs.BoolVar(&cmd.oci, "oci", false, "use OCI media type only") } type digestCommand struct { index bool oci bool } func (cmd *digestCommand) Run(ctx context.Context, args []string) error { if len(args) < 1 { return fmt.Errorf("pass the name of the repository") } image, err := registry.ParseImage(args[0]) if err != nil
// Create the registry client. r, err := createRegistryClient(ctx, image.Domain) if err != nil { return err } // Get the digest. digest, err := r.Digest(ctx, image, mediatypes(cmd.index, cmd.oci)...) if err != nil { return err } fmt.Println(digest.String()) return nil }
{ return err }
mpcf.go
package main import ( "crypto/md5" "database/sql" "flag" "fmt" _ "github.com/mattn/go-sqlite3" "io" "io/ioutil" "log" "os" "strings" ) var ( verp = flag.Bool("version", false, "Show version info") facetp = flag.Bool("facets", false, "List facets") scanp = flag.Bool("scan", false, "Check for new/modified files and sweep db for orphan records") cleanp = flag.Bool("cleandb", false, "Just clean db (no file scan)") tagp = flag.Bool("tag", false, "Tag [dir] with [facet]") getp = flag.Bool("get", false, "Get filenames for tracks tagged with [facet]") mdflag = flag.String("musicdir", "", "Set location of your mpd music directory") musicdir = "" seen int64 touched int64 ) func init() { flag.Parse() config := os.Getenv("HOME") + "/.mpcf" if *mdflag != "" { err := ioutil.WriteFile(config, []byte(*mdflag), 0644) if err != nil { log.Fatal(err) } musicdir = *mdflag } else { mdbytes, err := ioutil.ReadFile(config) if err != nil { log.Fatal("Please run 'mpcf -musicdir /path/to/music' to set your musicdir path.") } musicdir = string(mdbytes) } } func main() { db, err := sql.Open("sqlite3", musicdir+"/.mpcf.db") if err != nil { log.Fatal(err) } defer db.Close() // create db if needed var tracks int res := db.QueryRow("select count(id) from tracks") err = res.Scan(&tracks) if err != nil { db.Exec("PRAGMA synchronous=0") log.Println("Creating db") createdb(db) log.Println("Updating track list") scandir("", db) } if *verp { fmt.Println("This is mpcf v0.5.3") os.Exit(0) } if *scanp { db.Exec("PRAGMA synchronous=0") scandir("", db) cleandb(db) os.Exit(0) } if *cleanp { cleandb(db) os.Exit(0) } if *tagp { tagdir(flag.Args(), db) os.Exit(0) } if *getp { getfacettracks(flag.Args(), db) os.Exit(0) } if *facetp { lsfacets(db) os.Exit(0) } var taggedtracks, tags, facets int db.QueryRow("select count(tid) from t2f").Scan(&tags) db.QueryRow("select count(distinct tid) from t2f").Scan(&taggedtracks) db.QueryRow("select count(id) from facets").Scan(&facets) fmt.Printf("%v tracks (%v tagged)\n%v tags\n%v facets\n", tracks, taggedtracks, tags, facets) } func lsfacets(db *sql.DB) { rows, err := db.Query("SELECT facet FROM facets ORDER BY facet") if err != nil { log.Fatal(err) } defer rows.Close() var f string for rows.Next() { if err := rows.Scan(&f); err != nil { log.Fatal(err) } fmt.Println(f) } if err := rows.Err(); err != nil { log.Fatal(err) } } func getfacettracks(args []string, db *sql.DB) { if len(args) != 1 { log.Fatal("Too many/few arguments to -get; need a facet name") } var fid int db.QueryRow("select id from facets where facet = ?", args[0]).Scan(&fid) if fid == 0 { return } rows, err := db.Query("SELECT filename FROM tracks WHERE id IN (SELECT DISTINCT tid FROM t2f WHERE fid = ?)", fid) if err != nil { log.Fatal(err) } defer rows.Close() var name string for rows.Next() { if err := rows.Scan(&name); err != nil { log.Fatal(err) } fmt.Println(name) } if err := rows.Err(); err != nil { log.Fatal(err) } } func tagdir(args []string, db *sql.DB) { if len(args) != 2 { log.Fatal("Too many/few arguments to -tag; need a directory and a facet") } // create the tag if it doesn't exist var fid int db.QueryRow("select id from facets where facet = ?", args[1]).Scan(&fid) if fid == 0 { db.Exec("insert into facets (facet) values (?)", args[1]) db.QueryRow("select id from facets where facet = ?", args[1]).Scan(&fid) } // now actually tag tracks under this dir args[0] = strings.TrimRight(args[0], "/") args[0] = strings.TrimLeft(args[0], "./") args[0] = strings.TrimLeft(args[0], musicdir) tagdir2(args[0], fid, db) } func
(dir string, fid int, db *sql.DB) { err := os.Chdir(musicdir + "/" + dir) if err != nil { log.Fatalf("Can't chdir to %v", dir) } ls, err := ioutil.ReadDir(".") for _, direntry := range ls { name := dir + "/" + direntry.Name() if direntry.IsDir() { tagdir2(name, fid, db) } else { var tid, fcnt int db.QueryRow("select id from tracks where filename = ?", name).Scan(&tid) db.QueryRow("select count(tid) from t2f where tid = ? and fid = ?", tid, fid).Scan(&fcnt) if fcnt > 0 { continue } db.Exec("insert into t2f (tid, fid) values (?, ?)", tid, fid) } } } func createdb(db *sql.DB) { var err error var stmts = []string{ "create table tracks (id integer primary key, filename text unique, hash text unique)", "create table facets (id integer primary key, facet text)", "create table t2f (tid integer, fid integer)", "create index fididx on t2f(fid)", "create table config (key text, value text)", "insert into config (key, value) values('mpdconf', '/etc/mpd.conf')", } for _, stmt := range stmts { if err != nil { break } _, err = db.Exec(stmt) } if err != nil { log.Fatal(err) } } func scandir(dir string, db *sql.DB) { os.Chdir(musicdir + "/" + dir) ls, err := ioutil.ReadDir(".") if err != nil { log.Fatal(err, dir) } for _, direntry := range ls { if direntry.IsDir() { if dir == "" { scandir(direntry.Name(), db) } else { scandir(dir+"/"+direntry.Name(), db) } } else { seen++ if seen%100 == 0 { log.Printf("Processed %v tracks; updated %v\n", seen, touched) } name := dir + "/" + direntry.Name() md5 := fmt.Sprintf("%x", calcMD5(direntry.Name())) // _, err := db.Exec("INSERT OR REPLACE INTO tracks (filename, hash) VALUES(COALESCE((SELECT filename FROM tracks WHERE filename = ?),?), COALESCE((SELECT hash FROM tracks WHERE hash = ?), ?))", name, name, md5, md5) r, err := db.Exec("INSERT OR IGNORE INTO tracks (filename, hash) VALUES(?, ?)", name, md5) if err != nil { log.Fatal(err) } touch, _ := r.RowsAffected() touched += touch //r, err = db.Exec("UPDATE tracks SET filename = ?, hash = ? WHERE filename = ?", name, md5, name) //if err != nil { // log.Fatal(err) //} } } } func cleandb(db *sql.DB) { log.Printf("Scanning db for orphaned records") rows, err := db.Query("SELECT id, filename FROM tracks") if err != nil { log.Fatal(err) } defer rows.Close() var id int64 var name string for rows.Next() { if err := rows.Scan(&id, &name); err != nil { log.Fatal(err) } _, err = os.Stat(musicdir + "/" + name) if err == nil { continue } // remove track entry _, err = db.Exec("delete from tracks where id = ?", id) if err != nil { log.Fatal(err) } // remove tag links _, err = db.Exec("delete from t2f where tid = ?", id) if err != nil { log.Fatal(err) } log.Printf("Removed orphan record for %v\n", name) } if err := rows.Err(); err != nil { log.Fatal(err) } _, err = db.Exec("vacuum") } func calcMD5(filename string) []byte { file, err := os.Open(filename) if err != nil { log.Fatal(err) } defer file.Close() hash := md5.New() if _, err := io.CopyN(hash, file, 524288); err != nil && err != io.EOF { log.Fatal(err) } return hash.Sum(nil) }
tagdir2
proto.go
package proto import ( "errors" "fmt" "io" "reflect" "strconv" ) // Indicates a packet was known and successfully decoded by it's registered decoder, // but the decoder has not read all of the packet's bytes. // // This may happen in cases where // - the decoder has a bug // - the decoder does not handle the case for the new protocol version of the packet changed by Mojang/Minecraft // - someone (server/client) has sent valid bytes in the beginning of the packet's data that the packet's // decoder could successfully decode, but then the data contains even more bytes (the left bytes) var ErrDecoderLeftBytes = errors.New("decoder did not read all bytes of packet") // PacketDecoder decodes packets from an underlying // source and returns them with additional context. type PacketDecoder interface { Decode() (*PacketContext, error) } // PacketEncoder encodes packets to an underlying // destination using the additional context. type PacketEncoder interface { Encode(*PacketContext) error } // Packet represents a packet type in a Minecraft edition. // // It is the data layer of a packet in a and shall support // multiple protocols up- and/or downwards by testing the // Protocol contained in the passed PacketContext. // // The passed PacketContext is read-only and must not be modified. type Packet interface { // Encode encodes the packet data into the writer. Encode(c *PacketContext, wr io.Writer) error // Decode expected data from a reader into the packet. Decode(c *PacketContext, rd io.Reader) (err error) } // PacketContext carries context information for a // received packet or packet that is about to be send. type PacketContext struct { Direction Direction // The direction the packet is bound to. Protocol Protocol // The protocol version of the packet. PacketID PacketID // The ID of the packet, is always set. // Whether the PacketID is known in the connection's current state.ProtocolRegistry. // If false field Packet is nil, which in most cases indicates a forwarded packet that // is just going to be proxy-ed through to client <--> backend connection. KnownPacket bool // Is the decoded type that is found by PacketID in the connections // current state.ProtocolRegistry. Otherwise nil, the PacketID is unknown // and KnownPacket is false. Packet Packet // The unencrypted and uncompressed form of packet id + data. // It contains the actual received payload (may be longer than what the Packet's Decode read). // This can be used to skip encoding Packet. Payload []byte // Empty when encoding. } // PacketID identifies a packet in a protocol version. // PacketIDs vary by Protocol version and different // packet types exist in each Minecraft edition. type PacketID int // String implements fmt.Stringer. func (id PacketID) String() string { return fmt.Sprintf("%x", int(id)) } // String implements fmt.Stringer. func (c *PacketContext) String() string { return fmt.Sprintf("PacketContext:direction=%s,Protocol=%s,"+ "KnownPacket=%t,PacketID=%s,PacketType=%s,Payloadlen=%d", c.Direction, c.Protocol, c.KnownPacket, c.PacketID, reflect.TypeOf(c.Packet), len(c.Payload)) } // Direction is the direction a packet is bound to. // - Receiving a packet from a client is ServerBound. // - Receiving a packet from a server is ClientBound. // - Sending a packet to a client is ClientBound. // - Sending a packet to a server is ServerBound. type Direction uint8 // Available packet bound directions. const ( ClientBound Direction = iota // A packet is bound to a client. ServerBound // A packet is bound to a server. ) // String implements fmt.Stringer. func (d Direction) String() string { switch d { case ServerBound: return "ServerBound" case ClientBound: return "ClientBound" } return "UnknownBound" } // Version is a named protocol version. type Version struct { Protocol Name string } // Protocol is a Minecraft edition agnostic protocol version id specified by Mojang. type Protocol int // String implements fmt.Stringer. func (p Protocol) String() string { return strconv.Itoa(int(p)) } // String implements fmt.Stringer. func (v Version) String() string { return v.Name } // GreaterEqual is true when this Protocol is // greater or equal then another Version's Protocol. func (p Protocol) GreaterEqual(then *Version) bool { return p >= then.Protocol } // LowerEqual is true when this Protocol is // lower or equal then another Version's Protocol. func (p Protocol) LowerEqual(then *Version) bool { return p <= then.Protocol } // Lower is true when this Protocol is // lower then another Version's Protocol. func (p Protocol) Lower(then *Version) bool { return p < then.Protocol } // Greater is true when this Protocol is // greater then another Version's Protocol. func (p Protocol) Greater(then *Version) bool { return p > then.Protocol } // PacketType is the non-pointer reflect.Type of a packet. // Use TypeOf helper function to for convenience. type PacketType reflect.Type // TypeOf returns a non-pointer type of p. func
(p Packet) PacketType { t := reflect.TypeOf(p) for t.Kind() == reflect.Ptr { t = t.Elem() } return t }
TypeOf
system.rs
// Copyright Materialize, Inc. and contributors. All rights reserved. // // Use of this software is governed by the Business Source License // included in the LICENSE file. //
// As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. //! System data types. /// A Rust type representing a PostgreSQL "char". #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct PgLegacyChar(pub u8); /// A Rust type representing a PostgreSQL object identifier (OID). #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct Oid(pub u32); /// A Rust type representing the OID of a PostgreSQL class. #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct RegClass(pub u32); /// A Rust type representing the OID of a PostgreSQL function name. #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct RegProc(pub u32); /// A Rust type representing the OID of a PostgreSQL type. #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct RegType(pub u32);
utils.rs
use crate::Unsigned; use argmm::ArgMinMax; use ndarray::{ArrayView1, ArrayView2}; pub fn
<U: Unsigned>( pred: &ArrayView2<f32>, labels: &ArrayView1<U>, ) -> usize { let (batch_size, nclasses) = pred.dim(); debug_assert_eq!(labels.dim(), batch_size); let mut correct = 0; pred.outer_iter().zip(labels.iter()).for_each(|(y, &c)| { if y.as_slice().unwrap().argmax() == Some(c.to_usize().unwrap()) { correct += 1; } }); correct }
classification_accuracy
urlcaching.py
import logging import shelve from ftplib import FTP import requests import requests_cache from io import BytesIO _cache_file_path = None def set_cache_http(cache_file_path): requests_cache.install_cache(cache_file_path) def open_url(url): return requests.get(url).text def
(cache_file_path): global _cache_file_path _cache_file_path = cache_file_path def ftp_retrieve(server, path, filename): logging.info('loading: ftp://%s/%s/%s' % (server, path, filename)) ftp = FTP(server) ftp.login() ftp.cwd(path) buffer = BytesIO() ftp.retrbinary('RETR %s' % filename, buffer.write) return buffer def download_ftp(server, path, filename, refresh_cache=False): """ TODO: drop shelve (too unstable) and use a simple filesystem implementation. :param server: :param path: :param filename: :param refresh_cache: :return: """ if _cache_file_path: with shelve.open(_cache_file_path) as url_cache: location = '/'.join([server, path, filename]) if location not in url_cache or refresh_cache: url_cache[location] = ftp_retrieve(server, path, filename) try: output = url_cache[location] except KeyError: del url_cache[location] raise except EOFError: del url_cache[location] raise else: output = ftp_retrieve(server, path, filename) return output
set_cache_ftp
discreteSplitEdge.py
#!/usr/bin/python #============================================================================= # # Copyright (c) Kitware, Inc. # All rights reserved. # See LICENSE.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the above copyright notice for more information. # #============================================================================= import os import sys import smtk import smtk.testing from smtk.simple import * def hex2rgb(hexstr): hh = hexstr[1:] if hexstr[0] == '#' else hexstr rr = int(hh[0:2],16) / 255. gg = int(hh[2:4],16) / 255. bb = int(hh[4:6],16) / 255. return (rr, gg, bb) class TestDiscreteSplitEdge(smtk.testing.TestCase): def resetTestFiles(self): self.filesToTest = [] def addExternalFile(self, pathStr, splits, validator = None): self.filesToTest += [{'filename':pathStr, 'splits':splits, 'validator':validator}] def addTestFile(self, pathList, splits, validator = None):
def findSplitsTest2D(self, model): "Find a repeatable edge to split in test2D.cmb" faces = [smtk.model.Face(x) for x in model.cells()] f4l = [f for f in faces if f.name() == 'Face4'] self.assertEqual(len(f4l), 1, 'Could not find test2D "Face4"') face4 = f4l[0] outer = face4.positiveUse().loops() self.assertEqual(len(outer), 1, 'Face4 should have 1 outer loop') inner = outer[0].containedLoops() self.assertEqual(len(inner), 1, 'Face4\'s outer loop should have 1 inner loop') self.assertEqual(len(inner[0].edgeUses()), 1, 'Face4\'s inner loop should have 1 edge use') innerEdge = inner[0].edgeUses()[0].edge() self.assertEqual(innerEdge.name(), 'Edge10', 'Face4\'s inner loop should one edge named "Edge10"') # We will split Edge10 at an inner vertex of its Tessellation. etess = innerEdge.hasTessellation() # We should verify that etess.conn() self.assertEqual(etess.conn(), [2048, 2, 0, 1, 2048, 2, 1, 2, 2048, 2, 2, 3, 2048, 2, 3, 0], 'Unexpected connectivity for Edge10') splits = [(innerEdge.entity(), [2,]),] return splits def validateTest2D(self, model): "Verify that the test2D model is imported correctly." faces = [smtk.model.Face(x) for x in model.cells()] f4l = [f for f in faces if f.name() == 'Face4'] self.assertEqual(len(f4l), 1, 'Could not find test2D "Face4"') face4 = f4l[0] outer = face4.positiveUse().loops() self.assertEqual(len(outer), 1, 'Face4 should have 1 outer loop') inner = outer[0].containedLoops() self.assertEqual(len(inner), 1, 'Face4\'s outer loop should have 1 inner loop') self.assertEqual(len(inner[0].edgeUses()), 2, 'Face4\'s inner loop should now have 2 edge uses') innerNames = [eu.edge().name() for eu in inner[0].edgeUses()] self.assertIn('Edge10', innerNames, 'Expected Edge10 to remain') self.assertIn('Edge11', innerNames, 'Expected Edge11 to appear') if self.haveVTK() and self.haveVTKExtension(): self.startRenderTest() # Color some things on the model before we return. # This will help with debugging and verify that # color properties are preserved. entityColors = { 'Face4': '#875d4f', 'Face1': '#896f59', 'Face2': '#a99b86', 'Face3': '#5c3935', 'Edge9': '#093020', 'Edge10': '#0e433b', 'Edge11': '#104c57' } for (name, color) in entityColors.iteritems(): SetEntityProperty( self.mgr.findEntitiesByProperty('name',name), 'color', as_float=hex2rgb(color)) mbs = self.addModelToScene(model) self.renderer.SetBackground(0.5,0.5,1) ac = self.renderer.GetActors() ac.InitTraversal() act = ac.GetNextActor() act.GetProperty().SetLineWidth(2) act.GetProperty().SetPointSize(8) act.GetMapper().SetResolveCoincidentTopologyToPolygonOffset() cam = self.renderer.GetActiveCamera() self.renderer.ResetCamera() self.renderWindow.Render() self.assertImageMatch(['baselines', 'discrete', 'edge-split-test2D.png']) self.interact() def setUp(self): import os, sys self.resetTestFiles() self.addTestFile(['cmb', 'test2D.cmb'], self.findSplitsTest2D, self.validateTest2D) #self.addTestFile(['cmb', 'SimpleBox.cmb'], 1, 2) #self.addTestFile(['cmb', 'smooth_surface.cmb'], 6, 0) #self.addTestFile(['cmb', 'pmdc.cmb'], 7, 13, self.validatePMDC) self.mgr = smtk.model.Manager.create() sess = self.mgr.createSession('discrete') sess.assignDefaultName() SetActiveSession(sess) self.shouldSave = False def verifySplitEdge(self, filename, findSplits, validator): """Read a single file and validate that the operator worked. This is done by checking loops and shells around the split vertex reported by the output model as well as running an optional function on the model to do further model-specific testing.""" print '\n\nFile: {fname}'.format(fname=filename) mod = smtk.model.Model(Read(filename)[0]) # Find the edges to split for this given model splits = findSplits(mod) spl = GetActiveSession().op('modify edge') self.assertIsNotNone(spl, 'Missing modify edge operator.') SetVectorValue(spl.findAsModelEntity('model'), [mod,]) sel = spl.specification().findMeshSelection('selection') sel.setModifyMode(smtk.attribute.ACCEPT) [sel.setValues(ent, tess) for (ent, tess) in splits] res = spl.operate() self.assertEqual(res.findInt('outcome').value(0), smtk.model.OPERATION_SUCCEEDED, 'Split failed.') if validator: validator(mod) print ' Success' def testSplitEdge(self): "Read each file named in setUp and validate the reader worked." for test in self.filesToTest: self.verifySplitEdge(test['filename'], test['splits'], test['validator']) if self.shouldSave: out = file('test.json', 'w') print >>out, smtk.io.ExportJSON.fromModelManager(self.mgr) out.close() if __name__ == '__main__': smtk.testing.process_arguments() smtk.testing.main()
self.addExternalFile( os.path.join(*([smtk.testing.DATA_DIR,] + pathList)), splits, validator)
main.go
// Copyright 2020 Chaos Mesh Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // See the License for the specific language governing permissions and // limitations under the License. package main import ( "flag" "fmt" "io/ioutil" "net/http" "os" "time" ) func main()
type server struct { mux *http.ServeMux dataDir string } func newServer(dataDir string) *server { s := &server{ mux: http.NewServeMux(), dataDir: dataDir, } s.mux.HandleFunc("/ping", pong) s.mux.HandleFunc("/time", s.timer) s.mux.HandleFunc("/io", s.ioTest) return s } func pong(w http.ResponseWriter, _ *http.Request) { w.Write([]byte("pong")) } // a handler to print out the current time func (s *server) timer(w http.ResponseWriter, _ *http.Request) { w.Write([]byte(time.Now().Format(time.RFC3339Nano))) } // a handler to test io chaos func (s *server) ioTest(w http.ResponseWriter, _ *http.Request) { t1 := time.Now() f, err := ioutil.TempFile(s.dataDir, "e2e-test") if err != nil { w.Write([]byte(fmt.Sprintf("failed to create temp file %v", err))) return } if _, err := f.Write([]byte("hello world")); err != nil { w.Write([]byte(fmt.Sprintf("failed to write file %v", err))) return } t2 := time.Now() w.Write([]byte(t2.Sub(t1).String())) }
{ port := flag.Int("port", 8080, "listen port") dataDir := flag.String("data-dir", "/var/run/data/test", "data dir is the dir to write temp file, only used in io test") flag.Parse() s := newServer(*dataDir) addr := fmt.Sprintf("0.0.0.0:%d", *port) if err := http.ListenAndServe(addr, s.mux); err != nil { fmt.Println("failed to serve http server", err) os.Exit(1) } }
base.py
import json import uuid from django.contrib.contenttypes.models import ContentType from django.db import models from django.db.models.constants import LOOKUP_SEP from django.db.models.signals import post_delete from django.dispatch import receiver from django.urls import reverse from django.utils.crypto import get_random_string from django.utils.functional import cached_property from pretix.helpers.json import CustomJSONEncoder def cachedfile_name(instance, filename: str) -> str: secret = get_random_string(length=12) return 'cachedfiles/%s.%s.%s' % (instance.id, secret, filename.split('.')[-1]) class CachedFile(models.Model): """ An uploaded file, with an optional expiry date. """ id = models.UUIDField(primary_key=True, default=uuid.uuid4) expires = models.DateTimeField(null=True, blank=True) date = models.DateTimeField(null=True, blank=True) filename = models.CharField(max_length=255) type = models.CharField(max_length=255) file = models.FileField(null=True, blank=True, upload_to=cachedfile_name, max_length=255) @receiver(post_delete, sender=CachedFile) def cached_file_delete(sender, instance, **kwargs): if instance.file: # Pass false so FileField doesn't save the model. instance.file.delete(False) class LoggingMixin: def
(self, action, data=None, user=None, api_token=None, auth=None, save=True): """ Create a LogEntry object that is related to this object. See the LogEntry documentation for details. :param action: The namespaced action code :param data: Any JSON-serializable object :param user: The user performing the action (optional) """ from pretix.api.models import OAuthAccessToken, OAuthApplication from pretix.api.webhooks import get_all_webhook_events, notify_webhooks from ..notifications import get_all_notification_types from ..services.notifications import notify from .devices import Device from .event import Event from .log import LogEntry from .organizer import TeamAPIToken event = None if isinstance(self, Event): event = self elif hasattr(self, 'event'): event = self.event if user and not user.is_authenticated: user = None kwargs = {} if isinstance(auth, OAuthAccessToken): kwargs['oauth_application'] = auth.application elif isinstance(auth, OAuthApplication): kwargs['oauth_application'] = auth elif isinstance(auth, TeamAPIToken): kwargs['api_token'] = auth elif isinstance(auth, Device): kwargs['device'] = auth elif isinstance(api_token, TeamAPIToken): kwargs['api_token'] = api_token logentry = LogEntry(content_object=self, user=user, action_type=action, event=event, **kwargs) if isinstance(data, dict): sensitivekeys = ['password', 'secret', 'api_key'] for sensitivekey in sensitivekeys: for k, v in data.items(): if (sensitivekey in k) and v: data[k] = "********" logentry.data = json.dumps(data, cls=CustomJSONEncoder, sort_keys=True) elif data: raise TypeError("You should only supply dictionaries as log data.") if save: logentry.save() no_types = get_all_notification_types() wh_types = get_all_webhook_events() no_type = None wh_type = None typepath = logentry.action_type while (not no_type or not wh_types) and '.' in typepath: wh_type = wh_type or wh_types.get(typepath + ('.*' if typepath != logentry.action_type else '')) no_type = no_type or no_types.get(typepath + ('.*' if typepath != logentry.action_type else '')) typepath = typepath.rsplit('.', 1)[0] if no_type: notify.apply_async(args=(logentry.pk,)) if wh_type: notify_webhooks.apply_async(args=(logentry.pk,)) return logentry class LoggedModel(models.Model, LoggingMixin): class Meta: abstract = True @cached_property def logs_content_type(self): return ContentType.objects.get_for_model(type(self)) @cached_property def all_logentries_link(self): from pretix.base.models import Event if isinstance(self, Event): event = self elif hasattr(self, 'event'): event = self.event else: return None return reverse( 'control:event.log', kwargs={ 'event': event.slug, 'organizer': event.organizer.slug, } ) + '?content_type={}&object={}'.format( self.logs_content_type.pk, self.pk ) def top_logentries(self): qs = self.all_logentries() if self.all_logentries_link: qs = qs[:25] return qs def top_logentries_has_more(self): return self.all_logentries().count() > 25 def all_logentries(self): """ Returns all log entries that are attached to this object. :return: A QuerySet of LogEntry objects """ from .log import LogEntry return LogEntry.objects.filter( content_type=self.logs_content_type, object_id=self.pk ).select_related('user', 'event', 'oauth_application', 'api_token', 'device') class LockModel: def refresh_for_update(self, fields=None, using=None, **kwargs): """ Like refresh_from_db(), but with select_for_update(). See also https://code.djangoproject.com/ticket/28344 """ if fields is not None: if not fields: return if any(LOOKUP_SEP in f for f in fields): raise ValueError( 'Found "%s" in fields argument. Relations and transforms ' 'are not allowed in fields.' % LOOKUP_SEP) hints = {'instance': self} db_instance_qs = self.__class__._base_manager.db_manager(using, hints=hints).filter(pk=self.pk).select_for_update(**kwargs) # Use provided fields, if not set then reload all non-deferred fields. deferred_fields = self.get_deferred_fields() if fields is not None: fields = list(fields) db_instance_qs = db_instance_qs.only(*fields) elif deferred_fields: fields = [f.attname for f in self._meta.concrete_fields if f.attname not in deferred_fields] db_instance_qs = db_instance_qs.only(*fields) db_instance = db_instance_qs.get() non_loaded_fields = db_instance.get_deferred_fields() for field in self._meta.concrete_fields: if field.attname in non_loaded_fields: # This field wasn't refreshed - skip ahead. continue setattr(self, field.attname, getattr(db_instance, field.attname)) # Clear cached foreign keys. if field.is_relation and field.is_cached(self): field.delete_cached_value(self) # Clear cached relations. for field in self._meta.related_objects: if field.is_cached(self): field.delete_cached_value(self) self._state.db = db_instance._state.db
log_action
secret-key-generator.ts
import { ComponentBuilder, Component, EventHub } from '@cryptographix/sim-core'; import { Kind, KindConstructor, KindBuilder, Direction, Protocol } from '@cryptographix/sim-core'; export class SecretKeyGenerator extends EventHub implements Component { } class
{ } new KindBuilder(SecretKeyGeneratorConfig, 'Parameters for SymmetricSigner') .enumField('algo', 'Signing Algorithm', { 1: 'AES-CBC-MAC', 2: 'DES-CBC-MAC' }); new ComponentBuilder(SecretKeyGenerator, 'SecretKey Generator', 'Generate or build a secret cryptographic key', 'crypto', ) .config(SecretKeyGeneratorConfig) .port('key', 'Cryptographic Key', Direction.OUT, { required: true }) ;
SecretKeyGeneratorConfig
create_test.go
// Copyright 2015 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // See the License for the specific language governing permissions and // limitations under the License. package stmts_test import ( "database/sql" "fmt" "testing" "github.com/ngaut/log" . "github.com/pingcap/check" "github.com/pingcap/tidb" ) func TestT(t *testing.T) { TestingT(t) } var _ = Suite(&testStmtSuite{}) type testStmtSuite struct { dbName string testDB *sql.DB createDBSql string dropDBSql string useDBSql string createTableSql string insertSql string selectSql string } func (s *testStmtSuite) SetUpTest(c *C) { log.SetLevelByString("error") s.dbName = "test" var err error s.testDB, err = sql.Open(tidb.DriverName, tidb.EngineGoLevelDBMemory+s.dbName) c.Assert(err, IsNil) // create db s.createDBSql = fmt.Sprintf("create database if not exists %s;", s.dbName) s.dropDBSql = fmt.Sprintf("drop database if exists %s;", s.dbName) s.useDBSql = fmt.Sprintf("use %s;", s.dbName) s.createTableSql = ` CREATE TABLE test(id INT NOT NULL DEFAULT 1, name varchar(255), PRIMARY KEY(id)); CREATE TABLE test1(id INT NOT NULL DEFAULT 2, name varchar(255), PRIMARY KEY(id), INDEX name(name)); CREATE TABLE test2(id INT NOT NULL DEFAULT 3, name varchar(255), PRIMARY KEY(id));` s.selectSql = `SELECT * from test limit 2;` mustExec(c, s.testDB, s.createDBSql) mustExec(c, s.testDB, s.useDBSql) } func (s *testStmtSuite) TearDownTest(c *C) { // drop db mustExec(c, s.testDB, s.dropDBSql) } func (s *testStmtSuite) TestCreateTable(c *C) { stmtList, err := tidb.Compile(s.createDBSql + " CREATE TABLE if not exists test(id INT NOT NULL DEFAULT 1, name varchar(255), PRIMARY KEY(id));") c.Assert(err, IsNil) for _, stmt := range stmtList { c.Assert(len(stmt.OriginText()), Greater, 0) mf := newMockFormatter() stmt.Explain(nil, mf) c.Assert(mf.Len(), Greater, 0) } // Test create an exist database tx := mustBegin(c, s.testDB) _, err = tx.Exec(fmt.Sprintf("CREATE database %s;", s.dbName)) c.Assert(err, NotNil) tx.Rollback() // Test create an exist table mustExec(c, s.testDB, "CREATE TABLE test(id INT NOT NULL DEFAULT 1, name varchar(255), PRIMARY KEY(id));") tx = mustBegin(c, s.testDB) _, err = tx.Exec("CREATE TABLE test(id INT NOT NULL DEFAULT 1, name varchar(255), PRIMARY KEY(id));") c.Assert(err, NotNil) tx.Rollback() // Test "if not exist" mustExec(c, s.testDB, "CREATE TABLE if not exists test(id INT NOT NULL DEFAULT 1, name varchar(255), PRIMARY KEY(id));") } func (s *testStmtSuite) TestCreateIndex(c *C) { mustExec(c, s.testDB, s.createTableSql) stmtList, err := tidb.Compile("CREATE index name_idx on test (name)") c.Assert(err, IsNil) str := stmtList[0].OriginText() c.Assert(0, Less, len(str)) mf := newMockFormatter() stmtList[0].Explain(nil, mf) c.Assert(mf.Len(), Greater, 0) tx := mustBegin(c, s.testDB) _, err = tx.Exec("CREATE TABLE test(id INT NOT NULL DEFAULT 1, name varchar(255), PRIMARY KEY(id));") c.Assert(err, NotNil) tx.Rollback() // Test not exist mustExec(c, s.testDB, "CREATE index name_idx on test (name)") } func mustBegin(c *C, currDB *sql.DB) *sql.Tx { tx, err := currDB.Begin() c.Assert(err, IsNil) return tx } func mustCommit(c *C, tx *sql.Tx) { err := tx.Commit() c.Assert(err, IsNil) } func
(c *C, tx *sql.Tx, sql string) sql.Result { r, err := tx.Exec(sql) c.Assert(err, IsNil) return r } func mustExec(c *C, currDB *sql.DB, sql string) sql.Result { tx := mustBegin(c, currDB) r := mustExecuteSql(c, tx, sql) mustCommit(c, tx) return r } func checkResult(c *C, r sql.Result, affectedRows int64, insertID int64) { gotRows, err := r.RowsAffected() c.Assert(err, IsNil) c.Assert(gotRows, Equals, affectedRows) gotID, err := r.LastInsertId() c.Assert(err, IsNil) c.Assert(gotID, Equals, insertID) }
mustExecuteSql