Awesome talk by Jenn Schiffer
Nice introduction to RxJS by Gerard Sans.
Gerard is awesome, i had the pleasure to talk (and have a beer) with him during angularconnect in 2015.
“We call it a klassiker!”
Yesterday i found this one in my archives. It is a clip made out of many images, that have been taken during the development of COPE at Bechtle back in 2014/2015.
If you like it and want to create something like this on your own. Here is a short step by step guide on how to do it on Mac OS X.
Step 1: Install imagesnap
brew install imagesnap
Step 2: Create post-commit hook
Add the following code from the gist below to a file called
post-commit in your repo’s
Step 3: Enable permissions
Lets give the file some permission (making it executable by everyone).
sudo chmod +x ~/.git/hooks/post-commit
Step 4: Start committing and smiling
On first run, the script will create a folder called
commit_images in your repo’s root. Then every time you commit code, a photo is added to the folder and to
.gitignore automatically so you don’t have to.
The only downfall to this solution is you have to add it to each of your git repos manually. So if you have a lot of repos it might be a pain, but then again thats what writing a script is for, right? So behold…the global solution (for new repos)!
1. Enable git templates. This will copy everything in the
.git-templates folder to any new git repositories when you
git config --global init.templatedir '~/.git-templates'
2. Create our hooks folder for the post-commit template.
mkdir -p ~/.git-templates/hooks
3. Add the
post-commit file in
~/.git-templates/hooks/. We can use the same script from above in step 2.
4. Make our post-commit executable. We are giving it executable permission to all users in this case.
sudo chmod +x ~/.git-templates/hooks/post-commit
5. Start committing and smiling. Every time we
git init, we now have the post-commit hook in all of our new repos.
Nice to Have
Here are some things I am looking into:
- Store pictures from all repos into one folder instead of in each individual repo. eg. in ~/.commit_images
- More to come…