<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://camarreal.dedyn.io/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://camarreal.dedyn.io/feed.php">
        <title>dokucama - scripting</title>
        <description></description>
        <link>https://camarreal.dedyn.io/</link>
        <image rdf:resource="https://camarreal.dedyn.io/lib/exe/fetch.php?media=wiki:logo.png" />
       <dc:date>2026-05-01T15:02:05+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:bash&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:c&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:desktop_applications&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:golang&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:ios&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:netconf&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:netdevops&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:python_class&amp;rev=1718997386&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:python_sdk&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:python&amp;rev=1734961599&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=scripting:restapi&amp;rev=1698935895&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://camarreal.dedyn.io/lib/exe/fetch.php?media=wiki:logo.png">
        <title>dokucama</title>
        <link>https://camarreal.dedyn.io/</link>
        <url>https://camarreal.dedyn.io/lib/exe/fetch.php?media=wiki:logo.png</url>
    </image>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:bash&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:bash&amp;rev=1698935895&amp;do=diff</link>
        <description>BASH CONDITIONS:
# run ssh agent in /etc/bashrc
if [ ! -S ~/.ssh/ssh_auth_sock ]; then # if file does(&#039;nt) exist and is socket
  eval `ssh-agent`
  ln -sf &quot;$SSH_AUTH_SOCK&quot; ~/.ssh/ssh_auth_sock
fi
ssh-add -l &gt; /dev/null || ssh-add
#run ssh agent
ssh-add ~/.ssh/* &gt;/dev/null 2&gt;&amp;1</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:c&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>c</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:c&amp;rev=1698935895&amp;do=diff</link>
        <description>*  Install compiler/linker and vstool plugin
		*  sudo apt install build-essential
		*  compile and execute: &#039;&#039;gcc source.c -o myexe &amp;&amp; ./myexe</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:desktop_applications&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>desktop_applications</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:desktop_applications&amp;rev=1698935895&amp;do=diff</link>
        <description>SLACK


	*  Hide any channels unless they have any messages for you: 
		*  Preferences &gt; Notifications &gt; Channel-specific notifications &gt;&gt; add and mute

	*  Leave a channel: right click channel gear



SEARCH AND FIND TIPS:


	*  Pin messages. Then easily find in the channel&#039;s magnifying glass menu.</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:golang&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>golang</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:golang&amp;rev=1698935895&amp;do=diff</link>
        <description>&lt;https://golang.org/#&gt; 




	*  Adequate for microservices 
	*  Compiled but can be tested in an &#039;interpreted&#039; way with &#039;&#039;go run myfile.go&#039;
	*  Less than 35 reserved words
	*  Opposite to python, has a way to standardize the code structure</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:ios&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ios</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:ios&amp;rev=1698935895&amp;do=diff</link>
        <description>tcls

R1#tclsh
R1(tcl)#foreach address {
+&gt;(tcl)#172.12.23.2
+&gt;(tcl)#172.12.23.3
+&gt;(tcl)#172.12.23.4
+&gt;(tcl)#172.12.23.6
+&gt;(tcl)#172.12.23.7
+&gt;(tcl)#} { ping $address re 10 si 1500
+&gt;(tcl)#}



&lt;https://routing-bits.com/2009/03/28/tcl-script-variations/&gt;</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:netconf&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>netconf</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:netconf&amp;rev=1698935895&amp;do=diff</link>
        <description>Netconf xml:

Fun facts:

	*  XML is a superset of HTML
	*  Netconf is inspired in XML but is not 100% xml

&lt;http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/nx-os/xml/user/guide/nxos_xml_interface/using.html&gt;


&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;rpc xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;xmlns:cpi=&quot;http://www.cisco.com/cpi_10/schema&quot; 
message-id=&quot;101&quot;&gt;
 &lt;get-config&gt; 
      &lt;source&gt; 
           &lt;running/&gt; 
       &lt;/source&gt; 
        &lt;filter&gt; 
            &lt;config-format-text-cmd&gt;
          …</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:netdevops&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>netdevops</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:netdevops&amp;rev=1698935895&amp;do=diff</link>
        <description>Search for netdevops ansible vagrant cisco and complete the sections below. Examples:

	*  &lt;https://www.packetswitch.co.uk/vagrant-netdevops/&gt;
	*  &lt;https://www.youtube.com/watch?v=tN6R2Tukw0M&gt;
	*  &lt;https://www.ciscolive.com/c/dam/r/ciscolive/emea/docs/2019/pdf/BRKDCN-2011.pdf&gt;

----------

Nick Russo tuto:

	*  LEAN
	*  WIP: Work In Process. In relation to &#039;lean&#039;
	*  JIT: Fast and frequent delivery,

Travis-CICD

	*  Workers like workers in an office. One passes the tasks ti the other one</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:python_class&amp;rev=1718997386&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-21T19:16:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_class</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:python_class&amp;rev=1718997386&amp;do=diff</link>
        <description>```

Python Classes for Network Automation: A Practical Guide

Understanding classes in Python can be a bit tricky at first, especially if you haven&#039;t had the chance to use them in a practical setting. This guide aims to bridge that gap by providing a clear explanation of classes and their practical applications, particularly in network automation.</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:python_sdk&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_sdk</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:python_sdk&amp;rev=1698935895&amp;do=diff</link>
        <description>virtualenv vent_ocisdk
source vent_ocisdk/bin/activate
cd vent_ocisdk/
pip install oci
./bin/python  # this is to start the python interpreter inside the virtual   environment



&lt;https://github.com/mycompany2/oci-python-sdk/blob/master/examples/json_response_example.py&gt;
&gt;&gt;&gt; config = oci.config.from_file(&quot;/home/jsantosa/.oci/config&quot;)
&gt;&gt;&gt; identity_client = oci.identity.IdentityClient(config)</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:python&amp;rev=1734961599&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-23T13:46:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:python&amp;rev=1734961599&amp;do=diff</link>
        <description>PYTHON


FOLLOW PYTHON CODE (WIP)

This is just covering the simple case of an installed python program which is invoked via interactive cli.

I take &lt;https://github.com/ipspace/netlab&gt; installed in a virtual environment in Ubuntu.


The executable archive for the main command (argv[0]) must be present in a location contained in &#039;PATH&#039;. For example</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=scripting:restapi&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>restapi</title>
        <link>https://camarreal.dedyn.io/doku.php?id=scripting:restapi&amp;rev=1698935895&amp;do=diff</link>
        <description>REST API (OR REST-API)


BUILDING THE URL


&lt;https://mydevice.mycompany.com/getstuff?queryName=errors&amp;queryResults=yes&gt;



	*  Parameters
		*  Terms

	*  Endpoint: endpoint is the whole URL. Leftside is Domain name; Rightside is URI
	*  A group of resources is called a collection. External Link 
	*  
	*  method, headers, data(body) External Link

----------</description>
    </item>
</rdf:RDF>
