sudo pkgin in autoconf automake ncurses pcre2
./configure --without-included-pcre2 LDFLAGS='-L/usr/pkg/lib -R/usr/pkg/lib -lpcre2-posix' CPPFLAGS='-I/usr/pkg/include/ncurses -I/usr/pkg/include' CXXFLAGS='-I/usr/pkg/include/ncurses -I/usr/pkg/include'
gmake
sudo gmake install
Of course fzf runs on NetBSD.
sudo pkgin install go ncurses
git clone https://github.com/junegunn/fzf.git
env CGO_CPPFLAGS='-I/usr/pkg/include -I/usr/pkg/include/ncurses' CGO_LDFLAGS='-L/usr/pkg/lib -R/usr/pkg/lib' fzf/install
If you got errors below while installing wireshark, brew unlink binutils
may resolves it.
env HOMEBREW_MAKE_JOBS=1 brew install -d -v --keep-tmp wireshark
Ignoring debase-0.2.2.beta8 because its extensions are not built. Try: gem pristine debase --version 0.2.2.beta8
Ignoring debase-0.2.2.beta8 because its extensions are not built. Try: gem pristine debase --version 0.2.2.beta8
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/wireshark.rb
==> Upgrading 1 outdated package:
wireshark 2.6.4 -> 2.6.5
https://www.slideshare.net/Juniper_Networks_Japan_Tech/juniper-srx05-ipsec-vpncli
④ セキュリティゾーン設定 の
※機器 A の設定
user@srx# set security zones security-zone VPN address-book address 192.168.2.0 192.168.2.0/24
※機器 B の設定
user@srx# set security zones security-zone VPN address-book address 192.168.1.0 192.168.1.0/24
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
/* A Bison parser, made by GNU Bison 2.3. */ | |
/* Skeleton implementation for Bison's Yacc-like parsers in C | |
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | |
Free Software Foundation, Inc. | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2, or (at your option) |
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> | |
#define loop() do { \ | |
fprintf(stderr, "\x1b[36m %s loop \x1b[0m\n", __func__); \ | |
_loop(); \ | |
fprintf(stderr, "\x1b[36m %s exit loop \x1b[0m\n", __func__); \ | |
} while (0) | |
void _loop(void); |
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
# based on | |
# https://qiita.com/saba/items/107c4237206e31acdbef | |
# Pythonのスタックとキューには何を使えばいいのか(各データ構造の速度比較) | |
# by @saba (https://qiita.com/saba) | |
from collections import deque | |
import logging | |
from queue import Queue | |
import time | |
import typing as t |
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
# MIT License | |
# | |
# Copyright (c) 2020 Wataru Ashihara | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
// Compilers: Principles, Techniques, and Tools, 1st Edition (1986) | |
// by Alfred V. Aho, Ravi. Sethi, Jeffrey D. Ullman | |
// Section 2.9 | |
// http://basen.oru.se/kurser/koi/2010-2011-p1/asu-86/29/files.html | |
/* global.h */ | |
#include <stdio.h> /* include declarations for i/o routines */ | |
#include <ctype.h> /* ... and for character test routines */ |
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
[ | |
{ | |
"arguments": [ | |
"gcc", | |
"-c", | |
"-Wp,-MMD,drivers/tty/vt/.vt.o.d", | |
"-nostdinc", | |
"-isystem", | |
"/usr/lib/gcc/x86_64-linux-gnu/9/include", | |
"-I/home/wsh/qc/linux/arch/x86/include", |
OlderNewer