Skip to content

Instantly share code, notes, and snippets.

View onceupon's full-sized avatar
🎯
Focusing

Bonnie I-Man Ng onceupon

🎯
Focusing
  • Amazon Web Services (AWS)
  • Taipei
View GitHub Profile
@onceupon
onceupon / awscc_ecr_public_repository_debug.txt
Created August 21, 2023 01:23
awscc_ecr_public_repository_debug
This file has been truncated, but you can view the full file.
2023-08-21T01:22:04.729Z [INFO] Terraform version: 1.4.2
2023-08-21T01:22:04.729Z [DEBUG] using github.com/hashicorp/go-tfe v1.18.0
2023-08-21T01:22:04.729Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2
2023-08-21T01:22:04.729Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-08-21T01:22:04.729Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0
2023-08-21T01:22:04.729Z [DEBUG] using github.com/zclconf/go-cty v1.12.1
2023-08-21T01:22:04.729Z [INFO] Go runtime version: go1.19.6
2023-08-21T01:22:04.729Z [INFO] CLI args: []string{"terraform", "apply", "-auto-approve"}
2023-08-21T01:22:04.729Z [DEBUG] Attempting to open CLI config file: /home/mde-user/.terraformrc
2023-08-21T01:22:04.729Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
@onceupon
onceupon / jinja2_file_less.py
Created October 25, 2018 09:01 — forked from wrunk/jinja2_file_less.py
python jinja2 examples
#!/usr/bin/env/python
#
# More of a reference of using jinaj2 without actual template files.
# This is great for a simple output transformation to standard out.
#
# Of course you will need to "sudo pip install jinja2" first!
#
# I like to refer to the following to remember how to use jinja2 :)
# http://jinja.pocoo.org/docs/templates/
#
@onceupon
onceupon / bash-oneliner.sh
Last active September 15, 2017 03:09
Bash Oneliner will focus on bash commands for parsing plain text and biological data, which usually are tsv files(tab-separated values); some of the commands are for Linux system maintenance. I apologize that there won't be any citation of the code, but they are probably from dear Google and Stackoverflow.
# ### Bash-Oneliner
# Hi bash learners and bioinformaticans, welcome to Bash Oneliner. I started studying bioinformatics data three years ago (recently started working on cloud computing), and was amazed by those single-word bash commands which are much faster than my dull scripts, so i started bash. Not all the code here is oneliner (if the ';' counts..), but i put effort on making them brief and fast.
# This blog will focus on simple bash commands for parsing data, most of which are for tsv files (tab-separated values); some of them are for Linux system maintenance. I apologize that there won't be any citation for the codes, but they are probably from dear Google and Stackoverflow.
# English and bash are not my first language, so... correct me anytime, thank you
# In case you would like to check and vote up my questions on Stackoverflow, here's my page:
# http://stackoverflow.com/users/4290753/once
@onceupon
onceupon / README.md
Last active March 10, 2017 07:35
Sequence alignment viewer

Feel free to scroll and drag!

Aligned sequences: AGAP001010-RA,CPIJ015759-RA

Identity: 1910/2702 (70.7%)

Gaps: 229/2702 ( 8.5%) Score: 6082