Skip to content

Instantly share code, notes, and snippets.

@Semant1ka
Semant1ka / programming_langs_1.md
Last active October 4, 2017 16:00
How it feels like switching between various programming languages

Python

Me: I feel I need to use indexes..

Python: Sorry, I can't increment values.

Me: Oh, well..

i+=1

Java

illustration

Recently, I have set up an interaction between TFS and Jenkins, fortunately, there are some decent articles available on this topic:

However, I run into some uneven issues that I solved only after playing around with both TFS and Jenkins.

My setup was TFS 2015 and latest Jenkins TFS Plugin. Jenkins build was a pipeline which accepts parameters and generates unittests results.

@Semant1ka
Semant1ka / debian_on_imx.md
Last active December 19, 2017 08:56
Run Debian Stretch on arm (NXP Freescale IMX6qpsabreai board).

Recently, I was looking for an operating system to install on IMX6qpsabreai board and first tried to build all components of the system with Yосto framework.

While the framework is well-documented and easy to use the file system that I have obtained with it had a primary drawback: it was difficult to customize the set of packages on the installed system and required to setup local http server for package management. Also, to effectively build a new package for custom Yocto image one need to get familiar with Bitbake build system syntax which migth take some time to master.

So I decided to use Debian file system which allowed me to use Debian servers for update along with u-boot and kernel image build with Yocto and fsl-community-bsp

@Semant1ka
Semant1ka / how_to_use_esys.md
Last active January 10, 2018 10:41
Code_FDL

Prepare soft:

  1. Change windows to English local
  2. Download all soft(https://yadi.sk/d/CfG_rwsdj67EJ)
  3. Install Esys
  4. Install E-sys launcher (on this step key for coding will be generated)
  5. Unpack psdzdata to C:\data\psdzdata
  6. Start e-sys from launcher

Coding:

  • Click to Coding window on the left
@Semant1ka
Semant1ka / api.md
Last active April 4, 2018 20:37
Filtering API research

GET vs POST endpoint

TL;DR

If we are going to allow users to save requests we should create a resouce Search, if not we will allow users to bookmark query.

We can use Mongo query language in this manner

Actual example of API with uses Mongo query syntax

? I don't know how we will validate those queries ?

@Semant1ka
Semant1ka / etl_tools.csv
Created April 18, 2019 17:35
ETL tools
Name Price Link Language
Apache Airflow Free (Paid cloud integrations available) https://airflow.apache.org/ Python
Luigi Free https://luigi.readthedocs.io Python
Scriptella Free http://scriptella.org/#usage SQL and JavaScript
Talend Available for free https://www.talend.com/
Matillion Prices from $1.37 per hour https://www.matillion.com/
@Semant1ka
Semant1ka / simple_data_solution_comparison.md
Last active April 22, 2019 00:34
simple_data_solution_comparison
Stack Performance Cost Usage Maintenance Scalability
Elasticsearch
Kibana dashboard
Depends on amount or RAM for cluster, if full index is RAM will have close to zero latency, also supports storing similar information in one cluster to enhance speed Elastic Only - $265.63/month
Elastic + Kibana by ElasticCloud on Google Cloud -$1464.16/month
Free trial available
Needs a special query language. Has beta SQL intefrace. Will be realized this year, beta is available now for usage. Easy Scalable - each node store some indexes, scaled by adding nodes.
MongoDb
BI connector
Visuablization
Free for Atlas users. Build to support SQL. Easy Not That Scalable, still needs SQL like schema, can’t do joins between collections."Scalability - if your queries will bring back millions of rows the BI Connector (an ODBC driver) will fall over. You'll need to do something on the software or hardware side to chunk the queries"
MongoDbETLAWS redshiftVisualizatio
{"nodes": [{"name": "Improve CX Flow"}, {"name": "Nevermind Response"}, {"name": "Download Resources"}, {"name": "Our Amazing Customers"}, {"name": "Last Response"}, {"name": "Emoji Response"}, {"name": "Greeting"}, {"name": "Abandoned"}, {"name": "About Ada"}, {"name": "Customers"}, {"name": "Customer's Bot On Site"}, {"name": "Mike Murchison"}, {"name": "David Hariri"}, {"name": "How much can I save"}, {"name": "Ada in the Press"}, {"name": "Positive Review"}, {"name": "Careers"}, {"name": "Mikael"}, {"name": "1000-5000"}, {"name": "Wolfram Alpha API"}, {"name": "About"}, {"name": "Price"}, {"name": "Channels"}, {"name": "> 5000"}, {"name": "Sad"}, {"name": "Acknowledgement"}, {"name": "No, I'm just browsing"}, {"name": "Wolfram API - II"}, {"name": "Competition"}, {"name": "24/7 Office Hours"}, {"name": "Personalize - Website Landing Page"}, {"name": "Personalize - Customize every convo"}, {"name": "Optimize - Calculate your savings"}, {"name": "Languages"}, {"name": "Self-Learning"}, {"name": "Common Ques
@Semant1ka
Semant1ka / index.html
Last active May 14, 2019 17:04 — forked from soxofaan/index.html
d3-plugins sankey cycle support
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v2.js"></script>
<script type="text/javascript" src="./sankey.js"></script>
<title>Sankey Diagram</title>
<style>