-- How to use PC-98 extension bus (C-bus) on OMRON LUNA-88K2 --
LUNA-88K2にはNEC PC-9801用の拡張ボードを装着することができるPC-98拡張バス(Cバス)が搭載されています。その(OSからの)使い方を説明します。
※重要※
ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
王 | |
江 | |
周 | |
胡 | |
刘 | |
李 | |
吴 | |
毛 | |
温 | |
习 |
# coding:utf-8 | |
import struct | |
import os | |
import os.path as opth | |
import sys | |
__version__ = 1.0 | |
getPATH0 = lambda: sys.path[0].decode(sys.getfilesystemencoding()) | |
# 命令行处理 |
#ifndef _UNISTD_H | |
#define _UNISTD_H 1 | |
/* This file intended to serve as a drop-in replacement for | |
* unistd.h on Windows. | |
* Please add functionality as neeeded. | |
* Original file from: http://stackoverflow.com/a/826027 | |
*/ | |
#include <stdlib.h> |
#!/bin/python3 | |
import struct | |
import argparse | |
# tested on: | |
# - Sorcery Jokers (works) | |
# - Tekoire Princess (needs manual tweaks to work) | |
# so it's only semi-automatic. | |
def read_u16(data, offset): |
#!/bin/bash | |
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7 | |
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n | |
# Install Oracle JDK 8 | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
apt-get install -y unzip make # NDK stuff |
#!/bin/bash -e | |
# Creates a systemd-nspawn container with Alpine | |
MIRROR=http://dl-cdn.alpinelinux.org/alpine | |
VERSION=${VERSION:-v3.19} | |
APKTOOLS_VERSION=2.14.4-r0 | |
wget_or_curl () { | |
if command -v wget >/dev/null; then |
:: Made by Hoang Hung | |
@echo off | |
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | |
if "%errorlevel%" NEQ "0" ( | |
echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | |
echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" | |
"%temp%\getadmin.vbs" & exit | |
) | |
if exist "%temp%\getadmin.vbs" del /f /q "%temp%\getadmin.vbs" |