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
-- I'd gladly pay you Tuesday for a hamburger today! | |
-- OK, see you next Tuesday. | |
SELECT * | |
FROM generate_series | |
( | |
current_date + '1 day'::interval, -- in case now() is same dow | |
current_date + '7 days'::interval, | |
'1 day' | |
) as s(a) |
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
docker logs nginx 2>&1 | grep "127." | |
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container |