Skip to content

Instantly share code, notes, and snippets.

View wataash's full-sized avatar

Wataru Ashihara wataash

View GitHub Profile
/* 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)
@wataash
wataash / juniper-ipsec.md
Last active September 13, 2019 03:52
Juniper SRX日本語マニュアル 05.ポリシーベース IPsec VPNのCLI設定 の正誤
@wataash
wataash / homebrew_wireshark_2.6.5._error.md
Created December 25, 2018 02:19
Homebrew wireshark 2.6.5 error

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

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
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