Commands to get commit statistics for a Git repository from the command line -
using git log
, git shortlog
and friends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def identity(nums): | |
"""Identity: | |
Given a list of numbers, write a list comprehension that produces a copy of the list. | |
>>> identity([1, 2, 3, 4, 5]) | |
[1, 2, 3, 4, 5] | |
>>> identity([]) | |
[] |
The recent LTS release of Ubuntu introduced some more strict apparmor policies that are affecting many packages. To fix it is quite simple, add a file so apparmor don't deny Unityhub actions.
You can do it by yourself or use the script utility I wrote. For the script checkout Using the script
If you installed using the .deb
distribution, your Unity Hub binary file is probably at /opt/unityhub/unityhub-bin
, so you can just copy-paste the snippet to /etc/apparmor.d/unityhub