Install-Module oh-my-posh -Scope CurrentUser -SkipPublisherCheck
Install-Module posh-git -Scope CurrentUser
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
notepad.exe $PROFILE
# install docker | |
curl -fsSL get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
if [ ! $(getent group docker) ]; | |
then | |
sudo groupadd docker; | |
else | |
echo "docker user group already exists" | |
fi |
import dash | |
from dash.dependencies import Input, Output | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from pandas_datareader import data as web | |
from datetime import datetime as dt | |
app = dash.Dash('Hello World') |
Install-Module oh-my-posh -Scope CurrentUser -SkipPublisherCheck
Install-Module posh-git -Scope CurrentUser
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
notepad.exe $PROFILE
from github import Github | |
from rich.console import Console | |
from rich.table import Table | |
from rich import box | |
github_access_token = "ghp_****************************" | |
github_id = "xiaopeng163" | |
g = Github(github_access_token) |
FROM alpine:latest | |
RUN apk update | |
RUN apk --no-cache add curl | |
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64 \ | |
SUPERCRONIC=supercronic-linux-amd64 \ | |
SUPERCRONIC_SHA1SUM=048b95b48b708983effb2e5c935a1ef8483d9e3e | |
RUN curl -fsSLO "$SUPERCRONIC_URL" \ | |
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \ | |
&& chmod +x "$SUPERCRONIC" \ | |
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \ |