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
    
  
  
    
  | #!/bin/bash | |
| for i in `locate .git | grep Code | awk -F'.git' '{print $1}' | sort | uniq` | |
| do | |
| cd $i | |
| echo $i | |
| git status | |
| done | less | 
  
    
      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
    
  
  
    
  | # an example of class method inheritance | |
| class DetectableEnum(Enum): | |
| @classmethod | |
| def detect(cls, inp): | |
| return inp if type(inp) == cls else cls[inp] | |
| @classmethod | |
| def help(cls): | |
| return "|".join(map(str, cls)) | 
NewerOlder