- WebStorm, Rider
- Partial support, not enough intelli hints
- Toggle on TypeScript language service
- VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
load-nvmrc() { | |
local nvmrc_path | |
nvmrc_path="$(nvm_find_nvmrc)" | |
if [ ! -e "${nvmrc_path}" ]; then | |
local LOCAL_NODE_VERSION_DOTFILE_PATH | |
LOCAL_NODE_VERSION_DOTFILE_PATH="${PWD}/.node-version" | |
if [ -e "${LOCAL_NODE_VERSION_DOTFILE_PATH}" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Atom One Dark" version="142" parent_scheme="Darcula"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<metaInfo> | |
<property name="created">2023-06-20T08:52:34</property> | |
<property name="ide">WebStorm</property> | |
<property name="ideVersion">2023.1.2.0.0</property> | |
<property name="modified">2023-06-20T08:52:47</property> | |
<property name="originalScheme">_@user_Atom One Dark</property> | |
</metaInfo> | |
<option name="LINE_SPACING" value="1.2" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function continueLearn() { | |
const continueButton = document.querySelector('body .person > .personal-classcenter iframe')?.contentDocument.querySelector('.layui-layer-content iframe')?.contentDocument.querySelector('button'); | |
if (continueButton) { | |
console.log("Click continue button!"); | |
continueButton.click(); | |
} else { | |
console.log("Continue button not found!") | |
} | |
const playButton = document.querySelector('body .person > .personal-classcenter iframe')?.contentDocument.querySelector('.qplayer-play.qplayer-active'); |
New to TypeScript? No worries, this homework will help you better understand TypeScript.
First, the following link will help to answer the questions.
- https://www.typescriptlang.org/docs/home.html TypeScript official site
- https://basarat.gitbooks.io/typescript/ TypeScript Deep Dive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ssContainer="" | |
get_ss_container(){ | |
ssContainer="$(sudo docker container list --all | grep shadowsocks)" | |
} | |
# Return 0 if ssContianer is UP | |
get_ss_status() | |
{ | |
isUp="$(echo $ssContainer | grep Up)" |