Skip to content

Instantly share code, notes, and snippets.

# 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
- ScreenBrush (https://imagestudiopro.com/screenbrush/)
- Presentify (https://presentifyapp.com/)
- PhotoScape X (http://x.photoscape.org/)
- Paint X (https://paint-x.com/)
- Skitch (https://evernote.com/intl/zh-tw/products/skitch)
- Seashore (https://github.com/robaho/seashore)
- CleanShot X (https://cleanshot.com/)
- Snipaste (https://www.snipaste.com/)
- GifCapture (https://github.com/onmyway133/GifCapture)
# local
- Arc (https://arc.net/)
- Brave (https://brave.com/)
- Biscuit (https://eatbiscuit.com/)
- Waterfox (https://www.waterfox.net/)
- Vivaldia (https://vivaldi.com/)
- Tor Browser (https://www.torproject.org/)
- HTTrack (https://github.com/xroche/httrack)
- Listary (https://www.listary.com/)
- Everything (https://www.voidtools.com/downloads/)
@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.
# base
Swagger // tools from SmartBear Software corp.
OpenAPI // the Swagger project was donated to the OpenAPI Initiative in 2015 and has since been referred to as OpenAPI
OAI (OpenAPI Initiative)
OAS (OpenAPI Specification) // previously known as Swagger Specification
Definition // ex. swagger.json, swagger.yaml
Document // generated by swagger.json (Definition)
# Specification
Swagger v2
# base
search engine ex. google, bing, baidu, ...
seo (search engine optimization)
seo is known as improving website ranking // website ranking => traffic => money
search algorithm is different from each search engine
seo is built on rules and strategies
tdk (title, description, keyword)
<title>Ho.Chun's Blog</title>
<meta name="description" content="xxx">
<meta name="keywords" content="yyy">
# base
html (hypertext markup language)
# content categories
=> ref: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories
# element (aka. tag)
## <ul>, <ol>
ul: unordered list
ol: ordered list
# base
css (cascading style sheets)
# box model
block box
inline box
=> ref: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model
# stacking context
=> ref: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
# base
#
# [note] learn
=> ref:
=> ref:
=> ref:
=> ref:
#
Request.Headers["xx"];
Request.QueryString["xx"];
Request.Form["xx"];
Request.Files["xx"];
Request.MapPath();
Response.Headers["xx"] = "yy";
Response.Write("Hello World");
Response.Redirect("https://google.com");