Skip to content

Instantly share code, notes, and snippets.

View monodera's full-sized avatar

Masato Onodera monodera

  • Subaru Telescope, National Astronomical Observatory of Japan
  • Hilo, HI, USA
View GitHub Profile
@monodera
monodera / # gcc - 2025-09-19_00-08-03.txt
Created September 19, 2025 18:38
gcc on AlmaLinux 9.5 (Teal Serval) - Homebrew build logs
Homebrew build logs for gcc on AlmaLinux 9.5 (Teal Serval)
Build date: 2025-09-19 00:08:03
@monodera
monodera / # binutils - 2025-09-18_14-25-33.txt
Created September 19, 2025 00:33
binutils on AlmaLinux 9.5 (Teal Serval) - Homebrew build logs
Homebrew build logs for binutils on AlmaLinux 9.5 (Teal Serval)
Build date: 2025-09-18 14:25:33
@monodera
monodera / # binutils - 2025-09-18_11-59-17.txt
Created September 18, 2025 22:00
binutils on AlmaLinux 9.5 (Teal Serval) - Homebrew build logs
Homebrew build logs for binutils on AlmaLinux 9.5 (Teal Serval)
Build date: 2025-09-18 11:59:17
@monodera
monodera / install_cigale_via_uv.md
Created July 1, 2025 05:26
Installation of CIGALE via uv

Download the tarball

Go to Download on the CIGALE website and download the tarball from the link, say the version 2025.0.

You can use wget to do this.

wget https://gitlab.lam.fr/cigale/cigale/-/archive/v2025.0/cigale-v2025.0.tar.gz
@monodera
monodera / .block
Last active January 20, 2023 15:40
Earthquakes on the Big Island in late 2022
license: gpl-3.0
height: 500
border: no
@monodera
monodera / test_logger.py
Created May 25, 2022 23:38
import section for logzero and switch to logging but setting formatter like logzero
#!/usr/bin/env python3
try:
from logzero import logger
except ImportError:
from logging import DEBUG
from logging import Formatter
from logging import StreamHandler
from logging import getLogger
@monodera
monodera / test_mcmc_emcee.py
Created July 23, 2020 05:17
https://qiita.com/niikura/items/79dc6837f017c05afaa7 を参考に lmfit + emcee でフィットした場合にどうなるか検証してみました
#!/usr/bin/env python
import numpy as np
import lmfit
import matplotlib.pyplot as plt
# reference: https://qiita.com/niikura/items/79dc6837f017c05afaa7
data = np.loadtxt("data.txt")
xx = data.T[0]
yy = data.T[1]
@monodera
monodera / .block
Last active December 21, 2020 00:27
test scatter plot for covid-19 cases per us states
license: MIT
height: 1800
scrolling: no
border: no
#!/usr/bin/env python
# %%
from datetime import datetime, timedelta, date
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from functools import reduce
import colorcet as cc
from bokeh.plotting import figure, output_file, show
@monodera
monodera / .block
Last active June 2, 2022 20:16
Time series of COVID-19 cases (see the texts below)
license: MIT
height: 1600
scrolling: no
border: no