Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| # First navigate to the /ect/default | |
| cd /ect/default | |
| # Then open grub in nano | |
| sudo nano grub | |
| # Change the defaults then press command X save and exit nano. | |
| sudo update-grub |
| name: py27 | |
| channels: | |
| - conda-forge | |
| - anaconda-fusion | |
| - defaults | |
| dependencies: | |
| - backports=1.0=py27_0 | |
| - backports_abc=0.5=py27_0 | |
| - colorama=0.3.9=py27_0 | |
| - cycler=0.10.0=py27_0 |
| [color] | |
| status = auto | |
| diff = auto | |
| branch = auto | |
| interactive = auto | |
| ui = true | |
| [alias] | |
| amend = !"git commit --amend -C HEAD" | |
| st = status | |
| ci = commit |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| from datetime import datetime | |
| from ipywidgets import widgets | |
| from dominate import tags | |
| def timestamp(): | |
| """Return a ipywidget timestamp.""" | |
| ts = tags.h4("{:%I:%M:%S %p %A %B %d %Y}".format(datetime.now())) | |
| ts_widget = widgets.HTML(ts.render()) | |
| return ts_widget |