Snapshot của dwmkerr/effective-shell: 779★ · JavaScript · Developer Tools. Text, samples and website for my 'Effective Shell' series.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Text, samples and references for my 'Effective Shell' series. This website is hosted at effective-shell.com.
Introduction
Installing the Samples
The Website
Building the Website
Custom Components
Versioning
Contributing
Copyright & Licensing
ASCII Terminal Recordings
Thanks!
Contributors ✨
Introduction
This repository contains all of the content for the Effective Shell online book. If you find this book useful, please do consider sponsoring me to help support my open-source work!
Installing the Samples
You can install the samples into your ~/effective-shell folder with this command:
curl effective.sh | sh
Or can also manually download them using from any of these locations:
Components can be added to global scope, i.e. available in call pages, by adding to the MDXComponents.js swizzled file:
src/theme/MDXComponents.js
Analytics
The site uses Google Analytics 4 (G-8HZFMZV9Z4), loaded through Google Tag
Manager (GTM-WS7KMPTS). Pageviews and outbound clicks are tracked
automatically. Two GTM tags fire custom events when a reader clicks through to
buy the book: amazon_click (any amzn.to link) and nostarch_click (any
nostarch.com link). Both are marked as key events in GA4.
Book click attribution
To see which button a buy-click came from — the chapter lead banner, the
chapter footer, the homepage hero, or the menu bar — each book link carries a
data-book-cta attribute:
Value
Where
lead
Chapter lead banner (BookBanner)
finale-cover / finale-button
Chapter footer cover image / buttons (BookFooter)
home-hero-button / home-hero-cover / home-nav
Homepage hero and nav (src/pages/index.tsx)
menubar
Docusaurus navbar (toolbar) links, matched by their header-amazon-link / header-nostarch-link class
sitefooter
Docusaurus theme footer links, matched by the theme's .footer container
The last two are config-driven (docusaurus.config.js)
and can't take a data-book-cta attribute cleanly, so GTM matches them by class
and container instead — no attribute needed.
GTM reads all this with the CJS - Book CTA Location variable, which returns the
clicked link's data-book-cta, else menubar for the header links, else
sitefooter for anything inside the theme footer, and (unmarked) otherwise. It
is sent as the link_location event parameter and surfaced in GA4 as the
event-scoped custom dimension Book CTA location.
Attribution is not retroactive: GA4 only records link_location from the point
the tag is live, so newly added CTAs start showing up once this markup deploys.
When you add a new book link, give it a data-book-cta value — a missing
attribute never breaks tracking (the click still fires), it just reports as
(unmarked).
Versioning
The version of the site and the code is defined in the package.json file.
Releasing in managed via Release Please in the release-please.yaml workflow file.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
ASCII Terminal Recordings
All terminal recordings used in this project are built using the superb 'asciinema' tool. Many thanks to Marcin Kulik for building such an excellent piece of software.
Thanks!
Thanks to the following people who have helped with reviews, comments, suggestions.
Andrew Bestbier, Thomas Neumann, Tam Nguyen, Rahul Maliakkal, Peter Mondlock, Samantha Baldwin, Niklas Schmuecker for the proofing, comments and suggestions
Ogus Ismail for helping me understand some of the nuances of word splitting and filename expansion
Josh Timmons for proof-reading and suggesting structural improvements as well as grammar and spelling fixes
Joel Schwarzmann for proofing and adding content on the Python code in the 'How to avoid shell scripting' chapter
Xiaoyou "Elsie" Jiang for proof-reading and improvements to Chapter 30
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Xiaoyou "Elsie" Jiang 📖 👀
Tobias Büschel 👀
Doug Foo 📖 👀
Sallah Kokaina 📖 👀
samhinton88 📖 👀
Alex Vinall 📖 👀
Joseph Knight 📖 👀
Doug Todd 📖 👀
jdhzzz 📖 👀
valankar 📖 👀
Denpeer 👀 📖
Marek Bogatzki 📖 👀
MWarnecke 📖 👀 🐛
Spike 👀 🐛
Dong Zhou 👀 🐛 📖
Dror Maman 🐛 📖 👀
Michael Chui 👀
Saroj Sangphongamphai 👀
Lee Li 👀 🐛 📖
Lee Li 🐛
Trevor Brown 🐛 👀
Philipp Frischmuth 👀
Daniel Wagner-Hall 📖
This project follows the all-contributors specification. Contributions of any kind welcome!
dwmkerr/effective-shell thuộc nhóm Developer Tools trên TopGit, cùng 9 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về dwmkerr/effective-shell ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/dwmkerr/effective-shell là nguồn chính thức.
dwmkerr/effective-shell có bao nhiêu sao?
dwmkerr/effective-shell có 779 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/dwmkerr/effective-shell. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
dwmkerr/effective-shell có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho dwmkerr/effective-shell. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
dwmkerr/effective-shell còn đang phát triển không?
Commit gần nhất trên dwmkerr/effective-shell là 3 ngày trước (theo timestamp GitHub). Repo có 95 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
dwmkerr/effective-shell là gì?
dwmkerr/effective-shell (dwmkerr/effective-shell) là dự án JavaScript trên GitHub. Theo mô tả gốc: Text, samples and website for my 'Effective Shell' series.
dwmkerr/effective-shell viết bằng ngôn ngữ gì?
dwmkerr/effective-shell chủ yếu viết bằng JavaScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về effective-shell?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về effective-shell.