Skip to content

Instantly share code, notes, and snippets.

View eshrh's full-sized avatar

esrh eshrh

  • Institute of Science Tokyo
  • Tokyo
View GitHub Profile
@eshrh
eshrh / WeatherStem.hs
Created August 17, 2024 05:15
Haskell Weatherstem parser & monitor for xmobar
{-# LANGUAGE DeriveGeneric #-}
module WeatherStem (WeatherStem(..)) where
import Xmobar ( Exec(alias, rate, run) )
import Data.Aeson ( decode, FromJSON, Value(Number) )
import qualified Data.Text as T
import Data.Text (Text)
import qualified Data.ByteString.Lazy as B
import Network.HTTP.Conduit (simpleHttp)
import Data.Scientific (Scientific, toRealFloat)
@eshrh
eshrh / pitch_number.ipynb
Created June 17, 2021 20:59
Add pitch numbers to yomichan cards using ankipandas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eshrh
eshrh / vns-on-linux.md
Last active September 27, 2024 03:53
Personal guide to visual novels on linux

Concise visual novel setup on linux

also see this guide which has better compatibility. This guide is forked from it. written by kamui-7

This guide is very close to exactly how I run vn's on my setup. I can't guarantee it'll work for everyone (in fact, i can probably guarantee it's broken for someone/some game)

Packages i use

sudo pacman -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs lib32-gst-plugins-goo