- Are responsibilities well defined?
- Are the collaborations well defined?
- Is coupling minimized?
- Can you identify potential duplication?
- Are interface definitions and constraints acceptable?
- Can modules access needed data—when needed?
This file contains 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 | |
''' | |
Conduct rolling backups of a mysql DB server. | |
Daily backups are kept for the previous 7 days, | |
weekly for the previous 4 weeks, and monthly backups | |
for the previous 12 months. | |
Run ./mysql_backup --help for usage instructions |
This file contains 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
<section id="archive"> | |
{% capture this_year %}{{ site.time | date: '%Y' }}{% endcapture %} | |
{% capture post_year %}{{ site.posts[0].date | date: '%Y' }}{% endcapture %} | |
{% if this_year == post_year %} | |
<h3>This year's posts</h3> | |
{% else %} | |
<h3>{{ post_year }}</h3> | |
{% endif %} |
This file contains 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 | |
""" | |
Very simple HTTP server in python. | |
Usage:: | |
./dummy-web-server.py [<port>] | |
Send a GET request:: | |
curl http://localhost |