Skip to content

Instantly share code, notes, and snippets.

MagicJohnJang

View GitHub Profile
@MagicJohnJang
MagicJohnJang / install_docker_package_win_server.ps1
Last active Dec 26, 2018
Install Docker on Windows Server 2016 Core
View install_docker_package_win_server.ps1
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 / Prerequisites.md
Last active Apr 8, 2020
D3-Sankey on Angular component + Typescript
View Prerequisites.md

(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 / sample.screenrc
Created Aug 22, 2017
linux screen config sample
View sample.screenrc
# 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
You can’t perform that action at this time.