This file contains 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 | |
# | |
# http://www.jp.netbsd.org/ja/docs/current/ | |
usage() { | |
cat <<_EOF | |
usage: | |
$ ./install-current-release.sh <-d|--dist> <DIST_DIR> |
This file contains 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 | |
BASE_URL=http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest | |
ARCH=amd64 | |
rm -rf working | |
mkdir -p working | |
cd working | |
if [ ! -f tmp.txt ]; then |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
/* | |
* NetBSD filemonのファイル書き込みの監視サンプル。 | |
* | |
* $ gcc -Wall -Werror -g -o nbsd_filemon_watch_any_event nbsd_filemon_watch_any_event.c | |
*/ | |
#include <dev/filemon/filemon.h> | |
#include <sys/wait.h> | |
#include <sys/ioctl.h> |
This file contains 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
/* | |
* NetBSD filemonのファイル書き込みの監視サンプル。 | |
* | |
* $ gcc -Wall -Werror -g -o nbsd_filemon_watch_write_event nbsd_filemon_watch_write_event.c | |
*/ | |
#include <dev/filemon/filemon.h> | |
#include <sys/wait.h> | |
#include <sys/ioctl.h> |
This file contains 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 <dev/filemon/filemon.h> | |
#include <sys/wait.h> | |
#include <sys/ioctl.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
int main(int argc, char *argv[]) |
This file contains 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
/* | |
* krpn.c - 逆ポーランド計算機カーネルモジュール(仮) | |
* | |
* ビルド方法: | |
* * /usr/src/samples/krpn にソースコードを置いてください。 | |
* * 同じディレクトリにKbuildファイルを作成し、以下を記載します。 | |
* | |
* obj-m := krpn.o | |
* | |
* * 以下の手順でビルドします。 |
This file contains 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 <libxo/xo.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(int argc, char *argv[]) | |
{ | |
char buf[BUFSIZ]; | |
char *c = NULL; | |
char *pid; |
This file contains 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
--- csv-map.js.ORIG 2021-08-14 17:39:28.172959000 +0900 | |
+++ csv-map.js 2021-08-14 17:40:28.675902000 +0900 | |
@@ -156,8 +156,6 @@ | |
} | |
} | |
- const marker = L.marker(ll, opt); | |
- | |
const d2 = (() => { | |
if (!filter) { |
This file contains 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
/* | |
FUSE: Filesystem in Userspace | |
Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> | |
Copyright (C) 2020 furandon_pig <furandon.pig@gmail.com> | |
This program can be distributed under the terms of the GNU GPLv2. | |
See the file COPYING. | |
*/ | |
/* |
NewerOlder