I wanted to implement SHA-256. I found an explanation of the algorithm in the PDF document (https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf) and implemented it based on that.
Continue reading SHA-256 Implementation in PythonCategory Archives: [:ja]プログラミング[:en]Programming[:]
(日本語) ハッシュ値 SHA-256 in Python – 数値計算関数の実装
Create a list of classification items/classification table header
How to generate code_verifier and code_challenge for OIDC Authorization
You can generate code_verifier
and code_challenge
for OIDC authorization as follows. The following codes are also on Gist.
Shell: Terminating Long-Running Processes
I’m sure everyone has had the experience of a server process that was created by some developer and continues to run indefinitely without ending. This script comes in handy in such situations. When you schedule it to run regularly with tools like crontab, it will terminate these seemingly never-ending processes for you. It’s similar to scripts like Terminating Excessive Apache (httpd) Child Processes and Listing Process Execution Directories.
Continue reading Shell: Terminating Long-Running Processes