This file contains hidden or 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} | |
fluong@network-router-re0> show configuration protocols oam | display set | grep inter | trim 108 | |
Apr 09 18:13:47 | |
router2-0/0/0-router-0/1/2 mep 2 interface xe-0/1/2 | |
fluong@network-router-re0> monitor ethernet delay-measurement two-way maintenance-association router2-0/0/0-router-0/1/2 maintenance-domain md-WWAN | |
Two-way ETH-DM request to 5c:5e:ab:da:07:cb, Interface xe-0/1/2.32767 | |
DMR received from 5c:5e:ab:da:07:cb Delay: 3791 usec Delay variation: 0 usec | |
DMR received from 5c:5e:ab:da:07:cb Delay: 3797 usec Delay variation: 6 usec | |
DMR received from 5c:5e:ab:da:07:cb Delay: 3798 usec Delay variation: 1 usec |
This file contains hidden or 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
file archive compress source /var/log/* destination /var/tmp/re0-var-log.tgz | |
request routing-engine login other | |
file archive compress source /var/log/* destination re0:/var/tmp/re1-var-log.tgz |
This file contains hidden or 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
Sub csv_config_audit_2() | |
' | |
' csv_config_audit_2 Macro | |
' | |
' | |
Range("A1").CurrentRegion.Select | |
ActiveSheet.ListObjects.Add(xlSrcRange, Range("A1").CurrentRegion, , xlYes).Name = _ | |
"Table1" | |
Range("Table1[#All]").Select |
This file contains hidden or 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
Sub AAA_underline_uber() | |
' | |
' underline_fluong Macro | |
' Find instances of text from searchTextArray which are not underlined and: | |
' - extend selection to end of line` | |
' - underline it | |
' |
This file contains hidden or 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
Sub ewan_description_3() | |
Columns("B:G").Select | |
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove | |
Rows("1:1").Select | |
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove | |
Range("A1").Select | |
ActiveCell.FormulaR1C1 = "mx" | |
Range("B1").Select |
This file contains hidden or 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
<rpc message-id="1002 Tue Jun 17 23:25:48 -0400 2014"> | |
<get-config> | |
<source><candidate/></source> | |
<filter type="subtree"> | |
<configuration> | |
<protocols> | |
<l2circuit> | |
<neighbor> | |
<name>1.2.3.4/name> | |
</neighbor> |
This file contains hidden or 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
<rpc> | |
<request-monitor-ethernet-delay-measurement> | |
<two-way/> | |
<maintenance-domain>md-NAME</maintenance-domain> | |
<maintenance-association>ma-NAME</maintenance-association> | |
<mep>2</mep> | |
</request-monitor-ethernet-delay-measurement> | |
</rpc> |
This file contains hidden or 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
Sub cfm_latency_report() | |
' | |
' cfm_latency_report Macro | |
' | |
' | |
Range("A1").CurrentRegion.Select | |
ActiveSheet.ListObjects.Add(xlSrcRange, Range("A1").CurrentRegion, , xlYes).Name = _ | |
"Table1" | |
Range("Table1[#All]").Select |
This file contains hidden or 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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="xml" indent="no"/> | |
<!-- stylesheet to remove all namespaces from a document --> | |
<!-- note: this will lead to attribute name clash if an element contains two attributes with same local name but different namespace prefix --> | |
<!-- template to copy elements --> | |
<xsl:template match="*"> | |
<xsl:element name="{local-name()}"> |
This file contains hidden or 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
# Reset | |
Color_Off='\[\e[0m\]' # Text Reset | |
# Regular Colors | |
Black='\[\e[0;30m\]' # Black | |
Red='\[\e[0;31m\]' # Red | |
Green='\[\e[0;32m\]' # Green | |
Yellow='\[\e[0;33m\]' # Yellow | |
Blue='\[\e[0;34m\]' # Blue | |
Purple='\[\e[0;35m\]' # Purple |
OlderNewer