-
Install Google Cloud SDK: to manipulate cloud resources
-
Install Terraform: to create/destroy clusters from pre-defined specs
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2022 Pi-Yueh Chuang <[email protected]> | |
# | |
# Distributed under terms of the BSD 3-Clause license. | |
"""List files in each layer of an image tarball created through `docker save`. | |
""" |
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2022 Pi-Yueh Chuang <[email protected]> | |
# | |
# Distributed under terms of the BSD 3-Clause license. | |
"""Test. | |
""" |
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
# reference: https://github.com/morhetz/gruvbox | |
background #1d2021 | |
foreground #ebdbb2 | |
selection_background #ebdbb2 | |
selection_foreground #928374 | |
cursor #ebdbb2 | |
cursor_text_color #1d2021 | |
url_color #fe8019 |
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 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2021 Pi-Yueh Chuang <[email protected]> | |
# | |
# Distributed under terms of the BSD 3-Clause license. | |
"""Functions used by an offlineimap instance. |
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 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2021 Pi-Yueh Chuang <[email protected]> | |
# | |
# Distributed under terms of the BSD 3-Clause license. | |
"""Test the difference between Requires=, PartOf=, and BindsTo= of a systemd.unit. | |
""" |
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 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2020 Pi-Yueh Chuang <[email protected]> | |
# | |
# Distributed under terms of the MIT license. | |
""" | |
Profile torch.sum (torch.Tensor.sum) with different shape arrangements. |
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 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2019 Pi-Yueh Chuang <[email protected]> | |
# | |
# Distributed under terms of the MIT license. | |
"""An example of using tfp.optimizer.lbfgs_minimize to optimize a TensorFlow model. |