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
| /* | |
| The filesystem package provides a unified interface to a real backed filesystem. | |
| An example use case for this might be a server that wants serve up directory | |
| listings/information and provide CRUD access to a filesystem. | |
| */ | |
| package filesystem | |
| import ( | |
| trie "github.com/tchap/go-patricia/patricia" | |
| "os" |
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
| period_dates, period_extent = self.date_range(ytd=True) | |
| org = self.org() | |
| all_periods = org.student_period_attendance.filter( | |
| date__gte=period_extent[0], date__lte=period_extent[1], archived__exact=False, deleted__isnull=True | |
| ) | |
| attended_periods = all_periods.filter(is_absent__exact=False) |
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
| # modified from: | |
| # https://raw.githubusercontent.com/kubernetes/kubernetes/master/examples/guestbook/all-in-one/guestbook-all-in-one.yaml | |
| # | |
| # - Changed frontend service type to NodePort | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: redis-master | |
| labels: | |
| app: redis |
OlderNewer