Skip to content

Instantly share code, notes, and snippets.

View jj1bdx's full-sized avatar
🏠
Working from home

Kenji Rikitake jj1bdx

🏠
Working from home
View GitHub Profile
@trueroad
trueroad / Makefile
Last active August 23, 2023 08:04
ipsj.cls を upLaTeX 用にしてみる(源ノ明朝・源ノ角ゴシックを使う)
#
# ipsj.cls を upLaTeX 用にしてみる(源ノ明朝・源ノ角ゴシックを使う)
# https://gist.github.com/trueroad/c44312923bf02226c2274388941d0453
#
# ipsj.cls は pLaTeX 専用のようなのですが、
# 試しに upLaTeX で使えるようにした up-ipsj.cls を作ってみました。
# upLaTeX なので pLaTeX では難しかった源ノ明朝・源ノ角ゴシックの利用が
# できるようになります。
#
# 無保証です。これを使った結果何が起きても責任は取りません。
@trueroad
trueroad / Makefile
Last active August 4, 2021 02:26
upTeX 用 jis 互換メトリックセットを取得してインストールする
#
# upTeX 用 jis 互換メトリックセットを取得してインストールする
# https://gist.github.com/trueroad/50db8b8c8152e151dc85aedbc84be173
#
# upTeX 用 jis 互換メトリックセットは、
# 通常 upTeX をインストールしただけではインストールされません。
# これをインストールするものです。
#
# 無保証です。これを使った結果何が起きても責任は取りません。
#
@chetstone
chetstone / EncryptedHomeFolder.md
Last active November 28, 2023 20:35
Encrypted APFS Home Folder on Mac OSX

Encrypted APFS Home Folder on Mac OSX

Note: This is an update of Will Haley's excellent post to use APFS instead of CoreStorage.

UPDATE: Doesn't work on Catalina

The script can't read the file containing the password on the USB thumb drive. When formatted as FAT32 as described below, the user/group of the file is unknown/unknown. But I also tried formatting the USB thumb drive in HFS+, unchecking "Ignore permissions on this volume" and changing the file owner to root:wheel. The file is still not readable to the boot process. Probably something to do with new security restrictions in Catalina. A script running as root reading data from a thumb drive? Makes sense.

Back to previous program

@voluntas
voluntas / shiguredo_webtransport.rst
Last active March 24, 2024 12:49
時雨堂 WebTransport Streaming Server (仮) 開発ログ

時雨堂 Media over QUIC Transport 開発ログ

日時

2024-03-24

時雨堂

バージョン

2024.1

概要

@hikalium
hikalium / getroot.c
Created December 3, 2018 02:25
Compute (inaccurate) square root (2012)
#include <stdio.h>
#include <stdlib.h>
typedef struct MATH_BIGNUMBER {
unsigned int size_word; //value size in unsigned short(word).
unsigned short *value; //pointer to value array in unsigned short.
} MATH_BigNumber;
typedef union MATH_BIGNUMBER_WORK32 {
@jj1bdx
jj1bdx / Cable-and-Terrestrial-radio-freq.md
Last active March 29, 2020 02:20
FM Frequency List of J:COM Cable TV and terrestrial radio waves

FM Radio frequencies around our office

See Radio frequencies around KRPEO office/house for the latest updates.

Sakurajousui Gardens (Setagaya, Tokyo)

  • Cable FM: J:COM Chofu
Station name J:COM Cable terrestrial radio
@Dzol
Dzol / BEAM.ipynb
Created October 17, 2018 13:10
16TILUTB
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@teamon
teamon / Dockerfile
Created August 31, 2018 10:28
elixir + phoenix + node dockerfile
########################################
# 1. Build nodejs frontend
########################################
FROM node:10.9-alpine as build-node
# prepare build dir
RUN mkdir -p /app/assets
WORKDIR /app
# set build ENV
<div id=root />
<script type=module>
import React from 'https://dev.jspm.io/react@16'
import ReactDOM from 'https://dev.jspm.io/react-dom@16'
ReactDOM.render(
React.createElement('h1', null, 'hello'),
document.querySelector('#root')
)
</script>