Skip to content

Instantly share code, notes, and snippets.

# base
smtp (simple mail transfer protocol)
# telnet
telnet <host> // port: 23
telnet <host> <port>
telnet localhost 25 // enter interactive interface
# interactive (with hMailServer)
220 xxx ESMTP // xxx is server name
# base
NOTE: download 'sqlite3.exe' for windows
sqlite-tools-win-x64-3440000.zip // a bundle of command-line tools (sqlite3.exe, sqldiff.exe, sqlite3_analyzer.exe)
=> ref: https://sqlite.org/download.html
# cmd
sqlite3 -help
sqlite3 -version
sqlite3 <db-name.db> // enter sqlite shell
# base
# tools
android sdk command-line tools
android sdk build tools
android sdk platform tools
=> ref: https://developer.android.com/tools
NOTE: platform-tools
android sdk 'platform-tools' is a component for the android sdk
# base
# RubyInstaller (install ruby for windows)
ridk --help // RubyInstaller Development Kit
ridk version // print RubyInstaller and MSYS2 versions
ridk install // install MSYS2 and MINGW dev tools (development toolchain)
ridk use // switch to a different ruby version
NOTE:
MSYS2 is required to install gems with C extensions
# ftp client
ftp -h
ftp -s:filepath // specify a text file containing ftp commands
ftp // goto interactive, exit by quit
# base
# common
echo $0 // show the using shell
chsh -s /bin/bash // bash: bourne again shell
chsh -s /bin/zsh // zsh: z shell
open . // open a folder with current path
# Homebrew
brew help // command not found
# mongo shell
mongosh -h
mongosh --version
mongosh <db-address>
mongosh mongodb://<ip>
mongosh mongodb://<ip>:<port>
mongosh mongodb://<ip>:<port>/<db>
mongosh --host <ip>
mongosh --host <ip> --port <port>
mongosh --nodb // don't connect to mongod on startup - no 'db address' [arg] expected
# local
- Fig (https://github.com/withfig/autocomplete)
- Final Cut Pro (https://www.apple.com/tw/final-cut-pro/)
- ScreenBrush (https://imagestudiopro.com/screenbrush/)
- Paint X (https://paint-x.com/)
- Skitch (https://evernote.com/intl/zh-tw/products/skitch)
- Snipaste (https://www.snipaste.com/)
- GifCapture (https://github.com/onmyway133/GifCapture)
- OBS (https://obsproject.com/)
- BlackHole (https://github.com/ExistentialAudio/BlackHole)
# local
- Arc (https://arc.net/)
- Brave (https://brave.com/)
- Biscuit (https://eatbiscuit.com/)
- Waterfox (https://www.waterfox.net/)
- Vivaldia (https://vivaldi.com/)
- Everything (https://www.voidtools.com/downloads/)
- SearchMyFiles (https://www.nirsoft.net/utils/search_my_files.html#DownloadLinks)
- grepWin (https://tools.stefankueng.com/grepWin.html)
- GIMP (https://www.gimp.org/)
@hochun836
hochun836 / [adb] cmd
Last active September 20, 2022 02:28
# base
adb (android debug bridge)
# command
adb devices
# [note] how to install adb
# [note] debug android webview by edge
step1.