I hereby claim:
- I am neta1 on github.
- I am neta (https://keybase.io/neta) on keybase.
- I have a public key ASBzFvX933j0KrevWJHjq4ASrrKvVPPbK4FsXpvOrl07nwo
To claim this, I am signing this object:
| import re | |
| filename = avsp.GetFilename(_('Select a file'), filefilter= | |
| _('.trim.avs files') + ' (*.avs)|*.avs|'+ | |
| _('All files') + ' (*.*)|*.*') | |
| if not filename: | |
| return | |
| lines = avsp.GetWindow().GetTextFromFile(filename)[0] |
I hereby claim:
To claim this, I am signing this object:
| using System; | |
| using System.Runtime.InteropServices; | |
| using Microsoft.Win32.SafeHandles; | |
| public static class PriorityHelper | |
| { | |
| [DllImport("kernel32.dll", SetLastError = true)] | |
| static extern SafeProcessHandle OpenProcess( | |
| ProcessAccessFlags processAccess, | |
| bool bInheritHandle, |
| @echo off | |
| :check | |
| if "%~1"=="" goto break | |
| echo on | |
| ffmpeg -i "%~1" -vsync cfr -r 60 -vf drawtext=fontfile="C\\:/Windows/Fonts/YuGothB.ttc":box=1:[email protected]:fontcolor=00FF00:fontsize=50:x=50:y=20:text="%%{pts\\:hms}",setpts=PTS/32 -af atempo=2,atempo=2,atempo=2,atempo=2,atempo=2 -c:v libx264 -preset veryfast -c:a aac -ab 192k "%~dpn1_digest32x.mkv" | |
| @echo off | |
| shift | |
| goto check | |
| :break | |
| pause |
基本的には Archiso - ArchWiki の releng プロファイルを使用した手順通り進めます。
自動実行に必要な作業だけをまとめておきます。
※ CD/DVD からの BIOS ブートを前提としています。UEFI ブート等では修正箇所が異なります。
| #!/bin/bash | |
| ARCEXT="btrfs.xz" | |
| NICE="nice -n 19 ionice -c 2 -n 7" | |
| cd "$(dirname "$(readlink -f "${BASH_SOURCE:-$0}")")" | |
| do_backup () { | |
| CONFIG="$1" | |
| SSPATH="$2" | |
| if [ ! -d "$CONFIG" ]; then | |
| mkdir "$CONFIG" || exit |
| #!/bin/sh | |
| CURDIR=$(pwd) | |
| SCRDIR=$(dirname `readlink -f ${BASH_SOURCE:-$0}`) | |
| cd $SCRDIR | |
| mv -f merged.txt merged.old | |
| dl() | |
| { | |
| curl -LRfsS --compressed -z "$1" -o "$1" "$2" | |
| sed -e "s/\r//g" -e "s/#.*$//g" -e "s/^\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}\s*//" -e "s/\s*$//" -e "/^$/d" -e "/localhost$/d" "$1" >> merged.txt |