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
-- testing with a table "foo" like following | |
-- | |
-- start_ymd |end_ymd |val | |
-- ----------+----------+--- | |
-- 2019-12-01|2020-02-29|bar | |
-- 2020-03-01|2020-05-31|qux | |
-- | |
-- to convert it like | |
-- | |
-- 201912|bar |
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 bash | |
# | |
# Create a base CentOS 3 Docker image. | |
# | |
# This script is useful on systems with yum installed (e.g., building | |
# a CentOS 3 image on CentOS 3). It is taken from | |
# https://github.com/docker/docker/blob/master/contrib/mkimage-yum.sh | |
# and modified for CentOS 3 | |
usage() { |
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
package MyApp::DB::Schema; | |
use strict; | |
use warnings; | |
use utf8; | |
use Teng::Schema::Declare; | |
base_row_class 'MyApp::DB::Row'; | |
table { |