This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app.h b/app.h | |
| index 423adb9..d1ea127 100644 | |
| --- a/app.h | |
| +++ b/app.h | |
| @@ -77,10 +77,11 @@ struct tagPIEMU_CONTEXT; | |
| #define KEY_DOWN SDL_SCANCODE_DOWN | |
| #define KEY_LEFT SDL_SCANCODE_LEFT | |
| #define KEY_RIGHT SDL_SCANCODE_RIGHT | |
| -#define KEY_A SDL_SCANCODE_Z | |
| -#define KEY_B SDL_SCANCODE_X |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -hwaccel cuvid -c:v mpeg2_cuvid -deint 2 -drop_second_field 1 -i V:\[181007-0130][BSBS9_0]ゴブリンスレイ ヤー.m2ts -r 59.94 -c:v h264_nvenc -threads 8 -c:a copy -bsf:a aac_adtstoasc -movflags +faststart gs1.di.m4v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:stretch | |
| RUN apt-get update && \ | |
| apt-get install -y build-essential gcc make distcc ccache && \ | |
| apt-get clean && \ | |
| rm -rf /var/lib/apt/lists | |
| EXPOSE 3632 | |
| CMD ["/usr/bin/distccd", "--allow", "0.0.0.0/0", "--daemon", "--no-detach", "--log-stderr"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include <algorithm> | |
| #include <iterator> | |
| int main(int ac, char** av) | |
| { | |
| if(ac < 2) { | |
| std::cerr << "Usage: " << *av << " *.ogg..." << std::endl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [C523.pmd] | |
| Title=Beginning | |
| Artist=米村高広 | |
| Album=Black Wings | |
| [c526.pmd] | |
| Title=Black Wings | |
| Artist=米村高広 | |
| Album=Black Wings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ARGV.each do |filename| | |
| File.open(filename, 'rb') do |f| | |
| musname = File.basename(filename, '.POS') + '.m4a' | |
| start, end_pos = f.read(8).unpack('VV') | |
| printf("[%s]\n", musname) | |
| printf("LOOPSTART=%d\n", start) | |
| printf("LOOPLENGTH=%d\n", end_pos - start) | |
| puts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Title ウシャス MOHENJO DARO (STAGE 5) 【楽】 | |
| #Title2 (C)KONAMI 1987/WAIENDEE 1991/arr: Autch 2018 | |
| !bg @6 V125 ; bass drum | |
| !Sg @8 V125 ; snare drum 1 | |
| !sg @7 V125 ; snare drum 2 | |
| !og @9 V100 ; open H.H. | |
| !hg @10 V120 ; closeH.H. | |
| !cg @11 V125 ; crush cymbal | |
| !tg @13 V125 ; synth tom (hi) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from __future__ import print_function | |
| import argparse | |
| from Crypto.Cipher import AES | |
| READ_AT_ONCE = 1 << 16 | |
| ap = argparse.ArgumentParser() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| gst-launch-1.0 -qe v4l2src ! \ | |
| videorate ! \ | |
| video/x-raw,width=320,height=240,framerate=30/1 ! \ | |
| clockoverlay time-format="%m/%d %H:%M:%S" shaded-background=true font-desc="Sans 24px" ! \ | |
| omxh264enc target-bitrate=320000 control-rate=variable ! \ | |
| video/x-h264,profile=baseline ! \ | |
| h264parse ! \ | |
| mp4mux ! \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <ctype.h> | |
| #include <stdint.h> | |
| #include <unistd.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| #include <netdb.h> |