随笔分类 -  Tools

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要:A learning resource for Vite https://vite-workshop.vercel.app/introduction 阅读全文
posted @ 2024-04-28 22:24 Zhentiw 阅读(6) 评论(0) 推荐(0)
摘要://////////////////////////////////////////////////////// // @filename: berries/raspberry.ts export class Raspberry { constructor(public color: 'red' | 阅读全文
posted @ 2024-01-28 20:14 Zhentiw 阅读(11) 评论(0) 推荐(0)
摘要:In package management systems like npm (for JavaScript/Node.js projects), dependencies are typically fetched from a remote registry. However, there ar 阅读全文
posted @ 2023-08-16 15:40 Zhentiw 阅读(15) 评论(0) 推荐(0)
摘要:Go ahead and install the Remote - Containers extension. This takes everything one step further: you can actually set up someone's editor for them when 阅读全文
posted @ 2023-08-09 14:36 Zhentiw 阅读(79) 评论(0) 推荐(0)
摘要:Run: pnpm create vite Give a project name, select framework & Typescript. Run: pnpm devto start the dev server 阅读全文
posted @ 2023-02-18 17:05 Zhentiw 阅读(26) 评论(0) 推荐(0)
摘要:import "./styles.css"; import React from "react"; import ReactDOM from "react-dom"; import { createMachine, assign } from "xstate"; import { useMachin 阅读全文
posted @ 2022-11-23 03:24 Zhentiw 阅读(76) 评论(0) 推荐(0)
摘要:If the server starts on a different port, such as 3001 or 3002, this is because another process is currently running on port 3000. This is ok, but you 阅读全文
posted @ 2022-09-14 14:09 Zhentiw 阅读(20) 评论(0) 推荐(0)
摘要:In VSCode, install REST Clinet Extension: Create API_EXAMPLE.http file in root folder: ### Get mock GET http://localhost:3000/data HTTP/1.1 ### Post m 阅读全文
posted @ 2022-08-22 17:51 Zhentiw 阅读(31) 评论(0) 推荐(0)
摘要:Step 1 — Find chromedriver binary path To find chromedriver binary path, run the following command in the terminal: which chromedriver The output shou 阅读全文
posted @ 2022-06-02 14:58 Zhentiw 阅读(191) 评论(0) 推荐(0)
摘要:lib.js import { parse, evaluate } from "groq-js" export let groq = async ([query]) => { let tree = parse(query) return async dataset => { let result = 阅读全文
posted @ 2021-11-21 18:07 Zhentiw 阅读(171) 评论(0) 推荐(0)
摘要:1) There's a connection timeout This is a security group issue. Any timeout (not just for SSH) is related to security groups or a firewall. Ensure you 阅读全文
posted @ 2021-07-11 20:48 Zhentiw 阅读(66) 评论(0) 推荐(0)
摘要:If you are new to YAML, here is a useful link to a blog on YAML. YAML tutorial Here is a free tool that was mentioned in the video that can convert YA 阅读全文
posted @ 2021-05-02 17:08 Zhentiw 阅读(49) 评论(0) 推荐(0)
摘要:1 Move next line ESC j 2 Move previous line ESC k 3 Delete whole line ECS dd 4 Insert ESC i 5 Save ESC :wq! ! for overwrite 阅读全文
posted @ 2021-04-23 14:44 Zhentiw 阅读(51) 评论(0) 推荐(0)
摘要:1. add a new user sudo adduser <admin_user_name> 2. set new user to be admin sudo usermod -aG sudo <admin_user_name>su - <admin_user_name> 3. create n 阅读全文
posted @ 2021-04-22 01:34 Zhentiw 阅读(81) 评论(0) 推荐(0)
摘要:Find: sudo lsof -i :8080 Kill: kill -9 <PID> 阅读全文
posted @ 2021-04-08 15:16 Zhentiw 阅读(64) 评论(0) 推荐(0)
摘要:1. Shell - Linux/Mac Users For Unix/Linux/Mac operating systems, a shell is a command-line program that accepts users' commands and executes those com 阅读全文
posted @ 2021-03-23 01:47 Zhentiw 阅读(134) 评论(0) 推荐(0)
摘要:In Postman, you can create a collection of API requests. Those collection can be save into json file as well. { "info": { "_postman_id": "9c5a8003-1c5 阅读全文
posted @ 2021-03-20 17:24 Zhentiw 阅读(52) 评论(0) 推荐(0)
摘要:Schedule timed jobs on macOS with launchd launchd is a robust scheduled job automation tool on macOS that allows you to schedule a task to be run at r 阅读全文
posted @ 2021-02-12 20:40 Zhentiw 阅读(324) 评论(0) 推荐(0)
摘要:Getopts Let’s say you want to allow a user to pass a -v flag to turn on verbose logging in a script. Manually parsing out options passed to a script i 阅读全文
posted @ 2021-02-12 16:13 Zhentiw 阅读(46) 评论(0) 推荐(0)
摘要:Case Basic case "$1" in a) echo "a match";; b) echo "b match";; c) echo "c match" ;; *) echo "none of the case match" exit 1;; esac If we run: ./case_ 阅读全文
posted @ 2021-02-12 15:44 Zhentiw 阅读(78) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页