- Drew Petersen (Spotify) on “Developing Games Using Data not Trees”: cons and pros of using data-oriented approach in game development.
- Daniel Espeset (Etsy) on “The role of Front-end Infrastructure at Etsy”: continuos deployment and experimentation-driven development, instruments that help to delete old code constantly.
Often I finish working day without committing changes to the repository. Thus, next morning I need to open all the files I was working yesterday. And I found an efficient way to do this.
$ vim -p $(git diff --name-only HEAD | sed "s,$(git rev-parse --show-prefix),," | tr "\n" " ")
It opens Vim and loads all modified files in tabs. You could add this command as an alias to your
but adding this to
.gitconfig seems like a better option. This is what you need to add to your
[alias] open = "!vim -c \"cd $GIT_PREFIX\" -p $(git diff --name-only HEAD | tr '\\n' ' ')"
To run this command you need to type
git open in the terminal. Since all commands prefixed with an exclamation
point are executed from the top-level directory of a repository, we need to change working directory in Vim to
the current one. And of course you can replace Vim by your favorite editor or event by
Besides, If you use sort of file watchers to perform certain operations when files change, then you would find the following command quite helpful. It changes modification time of all modified files at once.
[alias] touch = "!touch -c $(git diff --name-only HEAD | tr '\\n' ' ')"
You can find more handy aliases in .dotfiles of mine.
- Bred Victor (MIT) on “Media for Thinking the Unthinkable”: incredible ideas that will probably change the way we present and understand things.
- Facebook’s way to Flux and React in “Rethinking Web App Development at Facebook”.
- Patrick Hamann (The Guardian) on “CSS and the Critical Path”: dealing with performance bottlenecks in the browser from network to painting.
- Tim Berglund (GitHub) on “Advanced Git”: low-level commands, interactive rebase, external diff & merge tools, reflog and reset.
- Ilya Grigorik (Google) on “Breaking the 1000ms time to glass mobile barrier”: how to build a mobile website that loads as quickly as possible.
- Parikh (Facebook) on “Building for a billion users”.
- Michael Starzinger (V8) on the memory usage optimizations while keeping performance fast.
- Science paper begins with “Once upon a time…” — inspiring TED talk by Beau Lotto and Amy O’Toole.