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
| <html> | |
| <head> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script> | |
| </head> | |
| <body> | |
| <div ng-app="app"> | |
| <div ng-controller="Ctrl"> | |
| <select ng-options="idx as item.label for (idx, item) in items" ng-model="selected"></select> | |
| <br/> | |
| {{ selected }} |
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
| #!/usr/bin/env python | |
| ''' | |
| generates call graph of given python code file | |
| in dot format input for graphviz. | |
| limitations: | |
| * statically tried to figure out functions calls | |
| * does not understand classes | |
| * algorithm is naive and may not statically find |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder