title | sub_title | author | theme | options | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Know Your Tools |
Work Smarter, Not Harder |
Munif Tanjim |
|
|
"A poor workman always blames his tools" β but even the best workman struggles with dull blades.
You simply can't do your best work without amazing tools and the skills to wield them well.
β Marc Edwards @ https://hackdesign.org/lessons/4
Tools give us super powers.
- Know your tools so well that you can only focus on the work at hand
- Do things that others think are impractical and impossible
The tool you'll be using almost everyday.
- VSCode
- NeoVim
The tool that warns you about silly mistakes.
- ESLint
- Ruff
(Sometimes you probably won't appreciate it, but it IS your friend)
The tool that makes your code look consistently aligned...
- Prettier
- Ruff
...and keeps you from arguing endlessly with other engineers.
The tool you probably didn't even know you're using.
- Diagnostic
- Code Actions
- Code Completion
- ...Sweet Stuffs π¬
- TSServer
- Pyright
Make sure your editor is properly set up.
- Linter
- Formatter
- LSP
- Language specific plugins
- ...whatever makes your life easy π€πΌ
- iTerm2
- Kitty
- WezTerm
- Bash
- ZSH
- Fish
echo "Hello Optimizely!"
echo "I'm ${USER}..."
Print Working Directory
pwd
Change Directory
cd .. && pwd
List files
ls
ls -al
Tool for making network request.
curl -s https://jsonplaceholder.typicode.com/posts
JSON Query
curl -s https://jsonplaceholder.typicode.com/posts | jq -C
curl -s https://jsonplaceholder.typicode.com/posts | jq -C 'length'
curl -s https://jsonplaceholder.typicode.com/posts | jq -C '.[0:3] | .[].title'
/// touch .is_running
curl -s https://jsonplaceholder.typicode.com/posts \
| jq '.[].title' > post_titles.txt
/// rm .is_running
/// sleep 0.5
/// while test -f .is_running; do sleep 0.1; done
ls
echo "---"
cat post_titles.txt
/// rm post_titles.txt
Fuzzy Search and Select
ls -1 | fzf
Process Viewer
htop
Bash / Python / JavaScript
- Automate repetitive tasks
- Simplify frequently used workflows
- ... 'cause Β―\_(γ)_/Β―
function insult() {
wget http://www.randominsults.net -O - 2>/dev/null |
grep '<strong>' |
sed "s:^.*<i>\(.*\)</i>.*$:\1:"
}
insult
Source: https://github.com/MunifTanjim/scripts.sh/blob/main/aws-whoami
aws-whoami
/// # export PATH="${PATH}:/Users/munif.tanjim/.local/share/chezmoi/.scripts.sh"
ncd on:vpn
/// sleep 1 && echo "VPN Connected!"
- Inspecting
- Debugging
- Profiling
- Extensions
- JSON Viewer
- React Developer Tools
- CLI Commands
awk
grep
sed
- HTTP Client
- Hoppscotch
- Postman
- Database Client
- DataGrip (SQL)
- Studio 3T (MongoDB)
- SSH
- MacOS
- GitHub CLI:
gh
- Shell Prompt:
starship
- Tmux
- ...
Keep Learning...
Keep Exploring...
Stay Curious...
formatter.png
:How To Run:
presenterm -x Optimizely-Internship-2024-Training-Session-KnowYourTools.md