Skip to content

Instantly share code, notes, and snippets.

View nguyenvietyen's full-sized avatar
🌏
Taking AI Global

Viet Yen Nguyen nguyenvietyen

🌏
Taking AI Global
View GitHub Profile
package com.hypefactors.mediaflow
import com.sksamuel.elastic4s.ElasticDsl._
import com.sksamuel.elastic4s.ElasticDsl.{bulk, indexInto}
import com.sksamuel.elastic4s.{ElasticsearchClientUri, TcpClient}
import com.sksamuel.elastic4s.xpack.security.XPackElasticClient
import org.apache.beam.sdk.transforms.DoFn._
import org.apache.beam.sdk.transforms.{DoFn, PTransform, ParDo}
import org.apache.beam.sdk.values.{PCollection, PDone}
import org.elasticsearch.common.settings.Settings
/*
Copyright 2020 Hypefactors A/S
Author: Viet Yen Nguyen
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
@nguyenvietyen
nguyenvietyen / bash.md
Last active September 2, 2020 10:31
My frequently used shell scripts

Bash Cheatsheet

This extends upon https://devhints.io/bash

CHANGELOG

Version When Who What
1.0.0 2020-09-02 Viet Yen Nguyen First version

String Manipulation