Skip to content

A collection of development and research tips from experience

Notifications You must be signed in to change notification settings

subinium/Misc-Cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Misc Cheatsheet

한국어 버전 (Korean)

This repo contains the following:

  • A collection of development and research tips from experience
  • Resources recommended for junior developers
  • For those who love the terminal

Linux

  • Transfer files between servers (scp)
  • Access localhost externally (ngrok)
  • Change server password (passwd)
  • Use remote server ports on localhost (ssh -L or ssh -R)
  • Use server GUI on local machine (ssh -X or ssh -Y)
  • SSH key-based passwordless login (ssh-keygen)
  • Simplify connections with ssh config (~/.ssh/config)
  • Specify GPU for Python (CUDA_VISIBLE_DEVICES)
  • Check CUDA version (nvcc)
  • Monitor GPU usage (nvidia-smi)
  • Monitor GPU usage 2 (nvtop)
  • Monitor GPU usage 3 (nvitop)
  • Simpler GPU monitoring (gpustat)
  • Prevent laptop from sleeping (caffeinate)
  • Count files in a directory (ls -l | grep ^- | wc -l)
  • Check remaining disk space (df -h)
  • Use cat with syntax highlighting (bat)
  • Keep directory when opening new tab in iTerm
  • Create shortcuts with symbolic links (ln -s)
  • Suppress pip install output (pip install with -q, -qq, -qqq)
  • Enable mouse in tmux (set -g mouse on)
  • Pretty-print JSON files (jq)
  • Font recommendation (D2 Coding)
  • Simplified man pages (tldr)
  • Fuzzy finder for everything (fzf)
  • Modern ls replacement (eza)
  • Modern find replacement (fd)
  • Smarter cd (zoxide)
  • Better git diff (delta)
  • Shell history search (atuin)
  • Terminal git UI (lazygit)
  • System monitor (btop)
  • Disk usage visualizer (dust)

Advanced Utils

  • starship : Fast, customizable cross-shell prompt
  • say : macOS built-in TTS command
  • Combined vimrc
  • (vimrc) File type detection and syntax highlighting (syntax on, filetype indent plugin on)
  • (vimrc) Highlight search results, brackets, etc. (hlsearch, ruler, showmatch)
  • (vimrc) Convenient settings for Python editing (tab sizes, autoindent)
  • (vimrc) Show line numbers (nu or number)
  • (vimrc) Change cursor shape per mode
  • Multi-line commenting in vim (norm i#, norm 1x)
  • Save with sudo in vim (w sudo! tee %)
  • Github Profile Badge List: Customize your GitHub profile with badges
  • Create and checkout a branch in one step (git checkout -b or git switch -c)
  • Change commit date (git commit --amend --no-edit --date)
  • Prevent Korean character errors (core.precomposeunicode, core.quotepath)

Data Science

Computer Vision

  • albumentations : Image data augmentation library
  • ttach : Image Test Time Augmentation with PyTorch
  • timm : PyTorch pre-trained SOTA image models
  • smp : PyTorch pre-trained SOTA image segmentation models

Prototype

  • Streamlit : Open-source tool to easily build web-based GUIs for ML models
  • Gradio : Open-source tool to easily build web-based GUIs for ML models

Tools

ETC

  • watermark : Jupyter extension to display library versions
  • holidays : Get public holidays. Useful for time series data
  • pprint : Built-in library for pretty-printing

Web

  • What to do when Flask cache prevents refresh?

Library & Service

Data Visualization (JS)

Tool

Website

  • Open Source
    • Codepen : HTML/CSS/JS code snippet sharing site. Great for learning techniques from others
  • Writing
  • Design
  • Trends
    • GeekNews : Great for following the latest dev/tech/startup news
    • Product Hunt : Platform for sharing startup products. Browse the latest SaaS and more
    • Disquiet : Platform connecting makers. Can be used similarly to Product Hunt
  • ETC
    • Ghost : Paid blogging platform if you don't like GitHub Pages or Tistory
    • StackShare : Tech stack sharing platform

Note Taking

  • Notion : The go-to note-taking tool
    • oopy : Turn Notion pages into websites
  • Obsidian : Tool with features similar to Roam
  • Craft : Similar to Notion, cleaner feel on macOS
  • Bear : Lightweight markdown tool
  • Roam Research : Graph-based markdown note-taking tool

VSCode Extension

Chrome Extension

  • Arxive : Renames Arxiv paper titles from year-based to title-author format
  • Google Scholar Button : Search Google Scholar directly from the extension

Application

  • Todoist : Todo list manager - great usability
  • TickTick : Todo list manager - feature-rich
  • Mathpix Snip : Convert math equation screenshots to LaTeX
  • 1password : Password manager
  • Habitica : Gamified habit/routine tracker

Articles & Repo

About

A collection of development and research tips from experience

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •