stanzheng / dotfiles_and_utils

:cloud: dot files, utils, and configs on my machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Dotfiles for my computer and utilities.

These are configurations for the current computers I'm currently using and server stuff.

PAST

  • OSX NOW
  • Lenovo Carbon X1 Black
    • MX Linux
    • Windows 10
  • Server
    • Debian
    • Ubuntu

VSCode Sync Settings

Commands

Interesting commands you can use.

  • Directory Tabs to (2) spaces -> does not recurse
find . -name '*.js' ! -type d -exec bash -c 'expand -t 2 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;
  • Git push to all remotes
alias gpar='git remote | xargs -L1 git push --all' # git remote | xargs -l git push --all
  • Git history
git log --raw | grep "^Author: " | sort | uniq -c
  • Clone all github repos from an org
wget -qO- https://api.github.com/orgs/ORG/repos | jq ".[].html_url" | xargs -L 1 git clone

About

:cloud: dot files, utils, and configs on my machines


Languages

Language:Shell 85.5%Language:JavaScript 14.4%Language:Vim Script 0.2%