Skip to content
View willfolsom's full-sized avatar
🎾
🎾

Block or report willfolsom

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
willfolsom/README.md

Langs

🕹️ Protips

  • Serve your sites locally when doing simple local web development to bypass CORS issues and such. Run this in the base directory of whatever you're working on (instead of opening index.html): python -m SimpleHTTPServer 8080
  • Clean install your Node modules: rm -rf node_modules; npm i
  • I use Cmder as my Windows terminal.
  • Spectacle (on Macs) is a must.
  • See your installed VSCode extensions with code --list-extensions | xargs -L 1 echo. I use all of these.
  • Use tput and variables to make shell script output cooler
  • Use console.table({someObject}) instead of logs.
  • Five layer networking model example
  • Profile and optimize your regex.

💾 Git / Github

  • Change your email per Git repo: git config user.email "whatever@cool.com"
  • Rollback commits: git reset HEAD~{number to rollback}
  • git clean -dfX will remove untracked directories and files (forcefully) from the working tree that are ignored by Git.
  • See git blame line numbers per author per repo. Run: git ls-tree -r -z --name-only HEAD | xargs -0 -n1 git blame --line-porcelain HEAD |grep "^author "|sort|uniq -c|sort -nr (it can be slow)
  • Add GitHub actions badges to a Readme (the workflow name is in the .yml, i.e. "Go", "Android", etc):
    ![](https://github.com/{owner}/{repo}/workflows/{workflow_name}/badge.svg?branch={targeted_branch})
  • I use zsh-completions so that I have tab completions specifically for Git branches and npm run scripts.
  • .zshrc for showing current Git branch, e.g.:

    curl https://gist.githubusercontent.com/willfolsom/43d26018be685c651968431124a79906/raw/3f6bc3976448134f14e6cca2d68a71b85eb32b0a/.zshrc -so .zshrc

🖲️ Links

Pinned Loading

  1. pokechrome pokechrome Public

    Chrome Extension and React App using Typescript, Webpack, SASS, and the PokeAPI to create a Pokedex that identifies tabs (websites) as Pokemon, similar to walking in tall grass in the original game.

    TypeScript 3

  2. react-mirror react-mirror Public

    Create a React App and mirror it in a Chrome Extension.

    TypeScript 1

  3. browserwars browserwars Public

    Turn based Angular 2 Advance Wars style game.

    TypeScript 1 1

  4. waterstreetclock waterstreetclock Public

    200 Water St, NY, NY

    JavaScript

  5. zomgular zomgular Public

    Angular 2 zombie organizer.

    TypeScript

  6. willfolsom.github.io willfolsom.github.io Public

    3D rotating business card (follows mouse or device orientation) with star field parallax background.

    HTML 1