Skip to content

Instantly share code, notes, and snippets.

@MagicJohnJang
MagicJohnJang / Prerequisites.md
Last active August 16, 2021 08:18
D3-Sankey on Angular component + Typescript

(It's not a file, do this before using)

  1. Have D3.js v4 implement in your project first.
  2. npm install --save d3-sankey

npm install --save @types/d3-sankey

@MagicJohnJang
MagicJohnJang / install_docker_package_win_server.ps1
Last active December 26, 2018 10:37
Install Docker on Windows Server 2016 Core
param (
[string]$RequiredVersion = $args[0],
[string]$RequiredZipName = $args[1],
[string]$Username = $args[2]
)
$downloadURL = "https://dockermsft.blob.core.windows.net/dockercontainer/$($RequiredZipName)"
$copyPath = "C:\Users\$($Username)\AppData\Local\Temp\1\DockerMsftProvider\"
# Install the Docker Module Provider
Install-Module -Name DockerMsftProvider -Repository PSGallery
# Make the folder in Temp
@MagicJohnJang
MagicJohnJang / sample.screenrc
Created August 22, 2017 08:54
linux screen config sample
# look and feel
#caption always "%{= bb}%{+b w}%h %=%{=b rw} %l %{= db} ${USER}%S@%H %{= dg}%c"
caption always "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%H %Y-%m-%d %c %p.%S"
#hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
# skip the startup message
startup_message off
# go to home dir
#chdir