Skip to content

Instantly share code, notes, and snippets.

View vladkorotnev's full-sized avatar
💭
What's happening?

Akasaka Ryuunosuke vladkorotnev

💭
What's happening?
View GitHub Profile
@vladkorotnev
vladkorotnev / 0001-Show-NSX-1-lyrics.patch
Last active July 3, 2023 12:03
Patch for Sekaiju1.8 to show NSX-1 lyrics
From a5446728d4610365746dba91cd996d646914d33c Mon Sep 17 00:00:00 2001
From: akasaka <[email protected]>
Date: Sat, 17 Jun 2023 11:41:35 +0900
Subject: [PATCH] Show NSX-1 lyrics
---
Sekaiju7.8/src/PianoRollKeyTimeView.cpp | 77 +++++++++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/Sekaiju7.8/src/PianoRollKeyTimeView.cpp b/Sekaiju7.8/src/PianoRollKeyTimeView.cpp
@vladkorotnev
vladkorotnev / 0_memo.md
Last active November 24, 2022 08:24
D-VHS bitstream dump memo

Glitch setup

  1. Power on DIGA
  2. Plug in and power on TV Tuner, set DIGA to TS mode 2 input
  3. Power on DVHS and plug into TV Tuner
  4. Select iLink Dubbing from the menu and wait for error to appear. Clear the error and wait until TV picture appears again
  5. Go to DIGA TS mode settings
  6. Play tape, set TS mode to 1, exit fast and smash record
  7. If you're lucky it ignores the DRM flag and recording
  8. If you're even luckier timecode breaks and tape swaps don't stop the recording
@vladkorotnev
vladkorotnev / svx2wav.c
Last active May 28, 2023 00:57
Small sunvox to wav converter based upon the example from the library archive
//
// * Using SunVox as a filter for some user-generated signal
// (with export to WAV)
//
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <dlfcn.h>
#include <signal.h>
@vladkorotnev
vladkorotnev / ksh.userscript.js
Last active November 13, 2018 12:24
KuroShiro furigana for Pentadactyl
// ==UserScript==
// @name auto kuroshiro
// @namespace jkss
// @include http://*.co.jp
// @version 1
// @grant none
// ==/UserScript==
var kspool = 0;
function textNodesUnder(el) {
@vladkorotnev
vladkorotnev / convert_itm.sh
Created October 2, 2018 12:18
Convert iTunes Music folder into a simple directory, preserving structure, and converting the ALAC files into MP3 (leaving the rest untouched). Requires: ffmpeg with LAME, mediainfo
#!/usr/bin/env bash
IN="/media/Music/iTunes Media/Music/"
OUT="/home/akasaka/Music/From_iTunes"
FILES=$(find "$IN/" -type f ! -name '.DS_Store')
IFS=$'\n'
mkdir -p "$OUT"
cd "$OUT"
for file in $FILES
@vladkorotnev
vladkorotnev / mpdwatchd
Last active July 22, 2020 04:59
MPD notififcations and VK status updates
#!/bin/bash
#### CONFIG ####
vk_token= # Oauth token with status scope
vk_prefix="✇"
notify_time=5000
MPD_HOST="/mpd/socket"
LCD_HOST="127.0.0.1"
LCD_PORT="13666"
@vladkorotnev
vladkorotnev / fuck-emoji.patch
Created August 23, 2018 16:12
Patch for purple-vk-plugin (https://bitbucket.org/olegoandreev/purple-vk-plugin) to send smileys as HTML entity and avoid server-side emoji auto-substitute. Screenshot: http://i.imgur.com/llQ5npd.png
*** src/vk-smileys.orig.cpp 2018-08-23 21:07:33.069290031 +0500
--- src/vk-smileys.cpp 2018-08-23 21:06:30.741934284 +0500
***************
*** 1,7 ****
#include <fstream>
#include <glib.h>
#include <util.h>
!
#include <cpputils/trie.h>
@vladkorotnev
vladkorotnev / Alerts.strings
Last active November 16, 2016 03:31
TypeStatus Plus 1.1 日本語
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Title. -->
<key>ALERTS</key>
<string>通知</string>
<!-- Header for alert type selection. -->
<key>ALERT_TYPE</key>
@vladkorotnev
vladkorotnev / Credits.md
Last active November 16, 2016 03:22
TermHere 1.2 日本語翻訳

Acknowledgements:

Terminal toolbar icon is licensed under the SIL Open Font License, version 1.1.

このアプリは有用である場合には、開発者に小さな寄付を送ることを検討してください Donate

@vladkorotnev
vladkorotnev / example.asm
Created November 5, 2016 09:38
Fade in and out for ZX Spectrum
; Example code for Fade-In and Fade-Out
DEVICE ZXSPECTRUM128
ORG 40000
INCBIN "my_picture.scr"
ORG 30000
TEST
EI
CALL CLR_ATTR