! spanningの情報を出力する。
# show spanning-tree vlan xx
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
# 1. test | |
Hello, my gist ! |
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
! | |
version 12.2 | |
no service pad | |
service timestamps debug datetime msec | |
service timestamps log datetime msec | |
no service password-encryption | |
! | |
hostname 000sw01 | |
! | |
boot-start-marker |
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
# | |
# | |
# JuniperのFirewall Logをicmpを除いてstart_time,duration(sec),src_ip,dst_ip,protocol,dst_port_numで出力する | |
# なぜ空白区切りでなくキャプションにしたかというと,"service=msrpc 何たら 何たら"みたいなログがあり、 | |
# 空白区切りが厳密にはできなかったからである・・・。 | |
# | |
# TODO: | |
# キャプション用の正規表現を成形する。 | |
# -> 正規表現のマッチが適当グリーディングマッチにしたりしなかったり、区切りごとの文字をどこまで使うかがバラバラなのを整理する | |
# |
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
$ bundle exec rake release | |
sample_gem 0.1.0 built to pkg/sample_gem-0.1.0.gem. | |
Tag v0.1.0 has already been created. | |
rake aborted! | |
ERROR: "https://rubygems.org" is not allowed by the gemspec, which only allows "TODO: Set to 'http://mygemserver.com'" | |
Pushing gem to https://rubygems.org... | |
Tasks: TOP => release => release:rubygem_push | |
(See full trace by running task with --trace) |
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
#gem削除 | |
gem yank sample_gem -v 0.1.0 |
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
# 直前のコミットまですべてのファイルの状態を戻す | |
git reset --hard HEAD | |
#最初のコミットに対して歴史圧縮 | |
git rebase -i HEAD~2 --root |
set-window-option syncronize-panes on #pane間でコマンド同期
set-window-option syncronize-panes on #pane間でコマンド同期解除
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
gem install パッケージ名 -r -p http://username:password@proxy.hostname:port |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<meta charset="utf-8"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href=""> |