Skip to content

Instantly share code, notes, and snippets.

View Senarin's full-sized avatar
💼
Somewhat Busy or Lazy

Serina Takamatsu Senarin

💼
Somewhat Busy or Lazy
View GitHub Profile
@Senarin
Senarin / bmsreader.class.py
Last active June 13, 2017 08:38
Python version of BMS Parser core class (non-complete)
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os, sys, math, cmath, hashlib, codecs
def md5_file(fname):
md5ob = hashlib.md5()
with open(fname,"rb") as f:
for chunk in iter(lambda: f.read(8192), ""):
@coolaj86
coolaj86 / github-pages-https-lets-encrypt.md
Last active November 16, 2021 22:36
Github Pages: Let's Encrypt!
@Senarin
Senarin / lib.lunarcal.public.js
Last active December 21, 2023 17:10
An standalone JavaScript library file for Korean lunar calendar calculation :3
/**************************************************
* 양음력 계산 라이브러리 -- Library file for Korean Lunar Calendar
* by Senarin
**************************************************/
var DAY0000=1721424.5; // 0000/12/31
var SOLAR_EPOCH=1721425.5; // 0001/1/1
var YEAR_MIN=1583; // Min. Year
var YEAR_MAX=2100; // Max. Year
var LUNAR_EPOCH=2299261.5;
var LOWER_LIMIT=LUNAR_EPOCH;
@Brainiarc7
Brainiarc7 / refind-setup.md
Last active March 15, 2024 17:53
Setting up rEFInd on Ubuntu 16.04 LTS for multi-boot purposes with secure boot enabled.

Deploying rEFInd on Ubuntu 16.04 LTS with secure boot enabled

Hello guys,

For these dual-booting Ubuntu 16.04 with an alternate operating system in UEFI boot mode, it may often be necessary to use a third-party boot manager such as rEFInd, as it's significantly superior to grub2's on UEFI-capable systems.

This write-up assumes that:

(a). The user is running a current Ubuntu 16.04LTS operating system installation (preferably on a dual-boot system)

@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active April 22, 2024 09:01
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여