daemon [フラグ] -- コマンド [引数...]
| フラグ | 意味 |
|---|
| #!/bin/sh | |
| # | |
| # PROVIDE: llama | |
| # REQUIRE: DAEMON networking | |
| # KEYWORD: shutdown | |
| # | |
| # /usr/local/etc/rc.d/llama (chmod 555) | |
| # | |
| # /etc/rc.conf に追加して有効化する: | |
| # |
| using System.Diagnostics; | |
| class Program | |
| { | |
| static FileInfo? SearchExecutable(string cmd) | |
| { | |
| var envpath = Environment.GetEnvironmentVariable("PATH") ?? ""; | |
| string[]? paths; |
| import math | |
| import numpy | |
| import pedalboard.io | |
| wav_hz = 44100 | |
| musictime = wav_hz * 5 | |
| root = 1/(2**(1/2)) | |
| frq1 = 1./440. | |
| frq2 = 440. * root * root |
| import math | |
| import numpy | |
| import pedalboard.io | |
| wav_hz = 44100 | |
| musictime = wav_hz * 5 | |
| root = 1/(2**(1/2)) | |
| frq1 = 1./440. | |
| frq2 = 440. * root * root |
| import math | |
| import numpy | |
| import pedalboard.io | |
| wav_hz = 44100 | |
| musictime = wav_hz * 5 | |
| frq = 440.0 | |
| def main(): | |
| rawframes = [] |
| import math | |
| import array | |
| import io | |
| import os | |
| import os.path as path | |
| import wave | |
| import winsound | |
| wav_hz = 44100 | |
| musictime = wav_hz * 5 |
| # See: https://github.com/openwrt/openwrt/issues/9619#issuecomment-1722333145 | |
| from tkinter import * | |
| from tkinter import filedialog | |
| from tkinter import messagebox | |
| import gzip | |
| import os | |
| import os.path | |
| def find_gzip_size(gz_filepath): | |
| st = os.stat(gz_filepath) |
| # *********************************************************************** | |
| # WindowsPathChecker | |
| # A simple console application to check | |
| # the validity of paths in the Windows PATH environment variable. | |
| # *********************************************************************** | |
| using namespace System | |
| using namespace System.IO | |
| using namespace System.Collections.Generic |
| # システムにインストールされているパッケージをすべて更新して再起動する。 | |
| apt update && apt upgrade | |
| reboot | |
| # 再びrootとしてログインし、GNU ScreenとFreecivサーバをインストールする。 | |
| apt install screen freeciv-server | |
| # Freecivサーバを動かすユーザfreecivを作り、パスワードを設定する。 | |
| useradd -m -s /bin/bash freeciv | |
| passwd freeciv |