Skip to content

Instantly share code, notes, and snippets.

View mykola-den's full-sized avatar
🇺🇦

Nick mykola-den

🇺🇦
  • Kyiv, Ukraine
View GitHub Profile
var encodedCommand = "96 D9 24 31 38 33 33 65 61 36 38 2D 64 36 34 38 2D 34 61 38 65 2D 39 61 30 64 2D 64 30 38 30 61 63 32 32 30 65 34 30 00 01 00 A2 65 6E C4 14 92 B1 24 66 69 6C 74 65 72 3D 69 64 20 6E 65 20 27 30 27 C0"
var binCommand = new Uint8Array(encodedCommand.replace(' ','').match(/[\da-f]{2}/gi).map(function (h) {
return parseInt(h, 16)
}))
var sock = new WebSocket('ws://localhost:5005/api/sportsdata/v2');
sock.onopen = ()=>{ sock.send(binCommand) }
sock.onmessage=( msg )=>{
MessagePack.decodeAsync(msg.data.stream()).then(envelope=>{
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApp3
{
//2397819672
//50000
//55363
//34758755
@mykola-den
mykola-den / 03_02_algo_club_intrro.md
Created February 3, 2018 12:46
Котаны. Алгоритмы 1-ая встреча. Конспект

Что случилось?

Мы провели первую встречу. Раззнакомились, поговорили что будем делать и как быть. Ура.

И что делать ?

  • принять приглашение в комманду чтобы мы могли создать вам issue.
  • форкнуть репозиторий.
  • пройти наш MOOC курс до HOMEWORK 1 включительно

что прям все-все проходить?

  • Да. Но если не успеваете, не расстраивайтесь
var result1=[];
var result2=[];
var attrs=Xrm.Page.getAttribute().map(function(x){return x.getName()})
var SetRedLabel = function (attirbuteNameArray) {
var start=Date.now();
/// <summary>Set redlabel for the crm field</summary>
Xrm.Page.ui.controls.get(function (control) {
return (control.getAttribute && attirbuteNameArray.contains(control.getAttribute().getName()))
})
.forEach(function (control) {
@mykola-den
mykola-den / math_channels.md
Last active March 6, 2017 23:25
Youtube channels devoted to math and math-related stuff
var tab=Xrm.Page.ui.tabs.get().filter(x=>x.getName().indexOf('oss')!=-1)[0]
tab.sections.get().map(s=>{
console.log(`******${s.getName()}
${s.controls.get().map(contr=>{return contr.getName()}).join(';')}`)
})

Всім привіт, хто читає це. Виконую обіцянку дану на нашій зустрічі трохи розказати про IT і як почати. Напевно у форматі питання-відповідь.

хто з наших в ІТ коментуйте-доповнюйте))

#TL;DR (Too long didn't Read)

  1. Треба вчитии англійську
  2. http://kottans.org/ //спільнота ітшніків які раді поділитись тим що знають
  3. https://github.com/Kottans/web //курс по веб-розробці з 0 від котанів
  4. Компьютерні науки від Гарварду+ КПІ
  5. Дошка куди я накидую інфу по тому де і що повчити