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
{master}[edit] | |
[email protected]# run show route 140.82.122.250/32 | |
inet.0: 847263 destinations, 6002716 routes (846764 active, 0 holddown, 1140 hidden) | |
+ = Active Route, - = Last Active, * = Both | |
140.82.122.250/32 *[IS-IS/18] 00:00:51, metric 211 | |
> to 10.255.0.24 via et-3/1/5.0 | |
[BGP/170] 00:00:50, MED 200, localpref 500, from 140.82.120.250 | |
AS path: I, validation-state: unverified |
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
{master} | |
[email protected]> show route 192.30.252.250 | |
inet.0: 847157 destinations, 6001625 routes (846642 active, 14 holddown, 1142 hidden) | |
+ = Active Route, - = Last Active, * = Both | |
192.30.252.250/32 *[IS-IS/18] 13:10:39, metric 201 | |
> to 10.255.0.24 via et-3/1/5.0 | |
[BGP/170] 13:10:39, MED 190, localpref 500, from 140.82.120.250 | |
AS path: I, validation-state: unverified |
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
bootstrap@ubnt1804template:~$ sudo tcpdump -ln -i ens160 net 151.101.0.0/16 | |
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | |
listening on ens160, link-type EN10MB (Ethernet), capture size 262144 bytes | |
07:47:32.104821 IP 10.10.0.100.50406 > 151.101.64.70.443: Flags [S], seq 3008037005, win 29200, options [mss 1460,sackOK,TS val 2040635067 ecr 0,nop,wscale 7], length 0 | |
07:47:32.105277 IP 151.101.64.70.443 > 10.10.0.100.50406: Flags [S.], seq 1697483880, ack 3008037006, win 43440, options [mss 1460,sackOK,TS val 1925858942 ecr 2040635067,nop,wscale 9], length 0 | |
07:47:32.105317 IP 10.10.0.100.50406 > 151.101.64.70.443: Flags [.], ack 1, win 229, options [nop,nop,TS val 2040635068 ecr 1925858942], length 0 | |
07:47:32.105708 IP 10.10.0.100.50406 > 151.101.64.70.443: Flags [P.], seq 1:315, ack 1, win 229, options [nop,nop,TS val 2040635068 ecr 1925858942], length 314 | |
07:47:32.106184 IP 151.101.64.70.443 > 10.10.0.100.50406: Flags [.], ack 315, win 85, options [nop,nop,TS val 1925858943 ecr 20 |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG/MacGPG2 v2 | |
mQINBFHK/YsBEAC1mc4P3UjHptuFGA+nEvQeD3KqJ9bMdrOpiJU4XYwOch3JmFVt | |
D9kPupvaBU9ERDXol2GJ37dInaY1Z6w7dcCr89ZJxseix6+r6Q4Dd5RtGuj6Km1s | |
lmJSjBZW7gvgXo7hzipAIVlemEZFRkupZiMrn0Tq/yk2mAt9IC9Kg2PopP1qTImG | |
d9OWFueM6SHSgymg5+Ya+YoBRj4gTxHKqcYLooupHBnssSO4q9oRCid2BbGvhEV3 | |
WRQKndfkJS3Q6qCIJnSGor5Zxg1z+SLe0r8qm2szdPRTEi/gi/rb4mquQwfqIpD0 | |
4rxrYBmZeDUOhD/oiXp7qxHribf/DSBEKqPppTpBjcaUotwoqOjSHqxKWVVZPBL9 | |
/tUNdYla5P/zruSyeeP26sYgqiSk6SSDCKT0oy3RYaldblEkx/mRc/fW4+9cMpsM |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG/MacGPG2 v2 | |
mQINBFHK/YsBEAC1mc4P3UjHptuFGA+nEvQeD3KqJ9bMdrOpiJU4XYwOch3JmFVt | |
D9kPupvaBU9ERDXol2GJ37dInaY1Z6w7dcCr89ZJxseix6+r6Q4Dd5RtGuj6Km1s | |
lmJSjBZW7gvgXo7hzipAIVlemEZFRkupZiMrn0Tq/yk2mAt9IC9Kg2PopP1qTImG | |
d9OWFueM6SHSgymg5+Ya+YoBRj4gTxHKqcYLooupHBnssSO4q9oRCid2BbGvhEV3 | |
WRQKndfkJS3Q6qCIJnSGor5Zxg1z+SLe0r8qm2szdPRTEi/gi/rb4mquQwfqIpD0 | |
4rxrYBmZeDUOhD/oiXp7qxHribf/DSBEKqPppTpBjcaUotwoqOjSHqxKWVVZPBL9 | |
/tUNdYla5P/zruSyeeP26sYgqiSk6SSDCKT0oy3RYaldblEkx/mRc/fW4+9cMpsM |
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
for i in $* ; do | |
SWITCH_DIFF=${i/tmp\/diffs\//} | |
SWITCH=${SWITCH_DIFF/.diff/} | |
echo "diff -r -u /dev/null ${SWITCH_DIFF}" | |
echo "--- /dev/null" | |
echo "+++ ${SWITCH} `date +%Y-%m-%d\ %H:%M:%S`.000000000 +0000" | |
cat <$i | |
echo | |
echo | |
done|source-highlight --failsafe -f esc --style-file=esc.style -s diff | less -cex4MRFX |
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
commit 1553d30965356c68c2fcaac99e2be0ad94d47675 | |
Author: Charlie Allom <[email protected]> | |
Date: Thu Nov 9 10:42:52 2017 +0000 | |
flip | |
--- | |
src/chunk.hh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git src/chunk.hh src/chunk.hh |
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
/* $Id: aggregate.c,v 1.12 2002/03/06 16:55:38 jabley Exp $ | |
* | |
* Copyright (c) 2000-2001 by Metromedia Fiber Network Services, Inc. | |
* | |
* Permission to use, copy, modify, and distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS" AND METROMEDIA FIBER NETWORK SERVICES, | |
* INC. ("MFN") DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE |
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/bash | |
# 20171007 | |
# Open in GitHub, astroidmail hook for message-view | |
# OSX only | |
# thread_view.run(hooks::github-go.sh %2)=G | |
ID=$1 | |
FILE=$(notmuch search --output=files id:"$ID") | |
URL=$(for i in $FILE ; do | |
grep -iA1 'View it on GitHub:' $i |tail -1 |
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
#!/usr/bin/python | |
# | |
# Copyright (c) 2013, Arista Networks, Inc. | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: | |
# - Redistributions of source code must retain the above copyright notice, | |
# this list of conditions and the following disclaimer. |
NewerOlder