Skip to content

Instantly share code, notes, and snippets.

View i_love_you.md
@xiupos
xiupos / d-ribbon.json5
Last active May 14, 2023 03:37
"Ribbon Dark" a dark theme for Misskey v13
View d-ribbon.json5
{
id: '4f36ff7f-f087-45bd-bbbe-83b9a8e412d8',
base: 'dark',
name: 'Ribbon Dark',
props: {
X2: ':darken<2<@panel',
X3: 'rgba(255, 255, 255, 0.05)',
X4: 'rgba(255, 255, 255, 0.1)',
X5: 'rgba(255, 255, 255, 0.05)',
X6: 'rgba(255, 255, 255, 0.15)',
View Radio.m3u8
#EXTM3U
#EXT-X-RATING:0
#EXTINF:-1,BBC Radio Cambridgeshire
http://stream.live.vc.bbcmedia.co.uk/bbc_radio_cambridge
#EXT-X-RATING:0
#EXTINF:-1,Radio SRF 3
http://stream.srg-ssr.ch/m/drs3/mp3_128
#EXT-X-RATING:0
#EXTINF:-1,BR-Klassik
https://dispatcher.rndfnk.com/br/brklassik/live/mp3/high
@xiupos
xiupos / manjaro.md
Last active February 18, 2023 06:18
View manjaro.md

sudo without password

sudo bash -c "echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers"

logout & login

yay

View keybase.md

Keybase proof

I hereby claim:

  • I am xiupos on github.
  • I am xiupos (https://keybase.io/xiupos) on keybase.
  • I have a public key ASB-fY0z2cNx9LuSB2tB6gIM1b0NB-CMKbaxO1qzwHXyBgo

To claim this, I am signing this object:

@xiupos
xiupos / en.md
Last active September 30, 2023 01:44
Monoarkhism
View en.md

EN / JA

Monoarkhism

Experimental faith for the modern age

Bible

In the beginning they created the principle. Now the world was derived from it.

@xiupos
xiupos / 0gentoo.md
Last active June 18, 2023 07:28
Gentoo Linux インストールメモ
View 0gentoo.md
View keybase.md

Keybase proof

I hereby claim:

  • I am ha2zakura on github.
  • I am ha2zakura (https://keybase.io/ha2zakura) on keybase.
  • I have a public key ASBXf14_VgJlobfkmwHznpVO3hqwpDWbRjPrySpIy9ti4Qo

To claim this, I am signing this object:

@xiupos
xiupos / example.nim
Created April 29, 2020 06:54
Feedforward neural network on Nim
View example.nim
import math, random, sugar
type
Matrix[T; M, N: static[int]] = array[1..M, array[1..N, T]]
# 加法
proc `+`[T, I, J](a: Matrix[T, I, J], b: T): Matrix[T, I, J] =
var c: Matrix[T, I, J]
for i in 1..I:
for j in 1..J: