Skip to content

Instantly share code, notes, and snippets.

@oeegee
oeegee / Redis Cluster 설치 (3 Master 3 Slave)
Created November 22, 2017 12:47
Redis Cluster 설치 (3 Master/3 Slave)
개발서버에 Redis 를 구성해보자
Redis Cluster가 나온지 어언 1년이 넘었다.
이제 사용할만하다는 소문이 들린다.
구성 참조 : https://www.linode.com/docs/applications/big-data/how-to-install-and-configure-a-redis-cluster-on-ubuntu-1604
(Ubuntu 버전이지만, 그래도 괜찮아~)
http://redisgate.com/redis/configuration/persistence.php (한국어)
http://intro2libsys.com/focused-redis-topics/day-one/intro-redis-cluster
@oeegee
oeegee / MovieSimilarities.scala
Created January 31, 2018 05:01 — forked from MLnick/MovieSimilarities.scala
Movie Similarities with Spark
import spark.SparkContext
import SparkContext._
/**
* A port of [[http://blog.echen.me/2012/02/09/movie-recommendations-and-more-via-mapreduce-and-scalding/]]
* to Spark.
* Uses movie ratings data from MovieLens 100k dataset found at [[http://www.grouplens.org/node/73]]
*/
object MovieSimilarities {
@oeegee
oeegee / DotProduct.scala
Created January 31, 2018 15:49 — forked from samklr/DotProduct.scala
DotProduct matrix in scala and on spark
def dotProduct(vector: Array[Int], matrix: Array[Array[Int]]): Array[Int] = {
// ignore dimensionality checks for simplicity of example
(0 to (matrix(0).size - 1)).toArray.map( colIdx => {
val colVec: Array[Int] = matrix.map( rowVec => rowVec(colIdx) )
val elemWiseProd: Array[Int] = (vector zip colVec).map( entryTuple => entryTuple._1 * entryTuple._2 )
elemWiseProd.sum
} )
}
@oeegee
oeegee / Zeppelin Open Source 기여 방법
Last active November 9, 2024 04:02
Zeppelin Open Source 기여 방법
부록 A Zeppelin Open Source 기여 방법
나에게 필요한 기능 구현 또는 버그를 개선하고 싶다면 - jira 확인
[이슈검색 하기]
오래전에 fork 해두었다면, 여기 참조 http://www.notforme.kr/archives/1631
+ jira 이슈 고르기 (쉬운 것부터)
기능개발 또는 버그픽스
@oeegee
oeegee / macOS_thunderbolt3_enable.md
Created March 10, 2020 06:57
How to enable windows's thunderbolt3 device on macOS

How to enable windows's thunderbolt3 device on macOS

This solution is how to succeed in macOS Catalina 10.15.3 (19D76).

Dell TB16 Dock on Macbook Pro Thunderbolt does not work (macOS = 10.15.x)

Nice meet you and this page is @tomjyoutwit's update version!! (https://superuser.com/a/1354399/1147451)

Please follow this manual process carefully. It worked for me but i'm yet to get the display(s) working, but you may have more luck using the other display outputs on the dock.