Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
| #!/usr/bin/env python3 | |
| # Note: you might need to run "pip install halo tabulate tqdm" if these dependencies are missing on your machine | |
| import argparse | |
| import json | |
| import requests | |
| from datetime import datetime | |
| from halo import Halo |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| /** | |
| * A {@link ViewGroup.OnHierarchyChangeListener hierarchy change listener} which recursively | |
| * monitors an entire tree of views. | |
| */ | |
| public final class HierarchyTreeChangeListener implements ViewGroup.OnHierarchyChangeListener { | |
| /** | |
| * Wrap a regular {@link ViewGroup.OnHierarchyChangeListener hierarchy change listener} with one |
As pointed out by @johntyree in the comments, using git reflog is easier and more reliable. Thanks for the suggestion!
$ git reflog
1ed7510 HEAD@{1}: checkout: moving from develop to 1ed7510
3970d09 HEAD@{2}: checkout: moving from b-fix-build to develop
1ed7510 HEAD@{3}: commit: got everything working the way I want
70b3696 HEAD@{4}: commit: upgrade rails, do some refactoring