User:Digimer: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
(42 intermediate revisions by the same user not shown)
Line 6: Line 6:


This page below is my scratch pad.
This page below is my scratch pad.
= Code Dump =
<source lang="text">
                                                                        <- Outputs ->
        1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16              17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32
        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
        -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-              -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
S0 ----/                                                              \    S0 ----/                                                              \
S1 ---/                                                                \    S1 ---/                                                                \
S2 --/                                                                  \  S2 --/                                                                  \
S3 -/                                                                    \  S3 -/                                                                    \
  /_______________________________________________________________________\    /_______________________________________________________________________\
                                      |                                                                            |
                                      \-----------------------------------.  .------------------------------------/
                                                                          |  |
                                                                          -+---+-
                                                                    S4 -/      \
                                                                        /_________\
                                                                            |
                                                                          Input
S0-S5 = Source pins
</source>
= Research =
[[MediaWiki on Debian/PostgreSQL]]
[[MediaWiki on CentOS/MySQL]]
[[Bath Bookshelf]]
-----


= Misc =
= Misc =


* [[Pics]]
{| class="wikitable"
 
|- style="vertical-align:top;"
*** Madi: Look up [http://en.wikipedia.org/wiki/Tsugaru-jamisen] when you get home!
| style="height:100px; width:100px; text-align:left;" | A
 
| style="height:100px; width:100px; text-align:center;" | B
= Main Links =
| style="height:100px; width:100px; text-align:right;" | C
 
|- style="vertical-align:middle;"
[[T400s]]
| style="height:100px; width:100px; text-align:left;" | D
 
| style="height:100px; width:100px; text-align:center;" | E
[[Node Assassin]]
| style="height:100px; width:100px; text-align:right;" | F
 
|- style="vertical-align:bottom;"
[[Red Hat Clustering]]
| style="height:100px; width:100px; text-align:left;" | G
 
| style="height:100px; width:100px; text-align:center;" | H
[[Sample Xen 2-node Cluster Network Map]]
| style="height:100px; width:100px; text-align:right;" | I
 
|}
= MW Code Testing =
 
Indent
 
<pre>
Pretext
</pre>
 
<source lang="perl">
package AN::Tools;
# This is the "root" package that manages the sub modules and controls access
# to their methods.
#
# Dedicated to Leah Kubik who helped me back in the early days of TLE-BU.
#
 
BEGIN
{
our $VERSION="0.1.001";
}
 
use strict;
use warnings;
my $THIS_FILE="Tools.pm";
 
# Setup for UTF-8 mode.
use utf8;
$ENV{'PERL_UNICODE'}=1;
</source>
 
Test <span class="code">while (1) { code... }</span> span.
 
* [[DNS - Bind9 Master/Slave Setup on Debian 5.x]]
 
= Code Debugging =
 
<source lang="c">
#include <Ethernet.h>
 
// MAC Address; Array of six bytes.
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEF };
// Arduino IP, netmask and gateway.
byte ip[] = { 192, 168, 1, 66 };
// Netmask defaults to 255.255.255.0.
byte nm[] = { 255, 255, 255, 0 };
// Default gateway defaults to IP with the last octal set to 1.
byte dg[] = { 192, 168, 1, 1 };
// Laptop's IP address that I test connecting to.
byte remote[] = { 192, 168, 1, 105 };
// This is the port that I will listen on.
int port=238;
 
// Setup the server.
Server server = Server(port);
 
void setup()
{
// Setup the IP info.
Ethernet.begin(mac, ip, dg, nm);
// Start the server listening for connections.
server.begin();
// Print what comes in over telnet.
Serial.begin(9600);
Serial.println("Node Assassin: 'Ariel' now listening for orders.");
}


void loop()
{
Client client=server.available();
if (client)
{
char reading = client.read();
// This is what I am trying to concatenate and to print as a whole line.
Serial.println(reading);
server.write(reading);
}
}
</source>


{{template:footer}}
{| class="wikitable" width="100%"
|- style="vertical-align:middle;"
| style="text-align:center; vertical-align:middle;" | [[image:Brocade_icx6610-48_front-left.png|thumb|center|400px|Brocade [http://www.brocade.com/products/all/switches/product-details/icx-6610-switch/index.page ICX6610-48] 8x SFP+, 48x 1Gbps RJ45, 160Gbit stacked switch. Photo by [http://newsroom.brocade.com/Image-Gallery/Product-Images Brocade].]]
| style="text-align:center; vertical-align:middle;" | [[image:Brocade_icx6450-25_front_01.jpg|thumb|center|400px|Brocade [http://www.brocade.com/products/all/switches/product-details/icx-6430-and-6450-switches/index.page ICX6450-48] 4x SFP+, 24x 1Gbps RJ45, 40Gbit stacked switch. Photo by [http://newsroom.brocade.com/Image-Gallery/Product-Images Brocade].]]
|}

Revision as of 21:12, 10 November 2016

 AN!Wiki :: Digimer

Me

Digimer <- about me.

This page below is my scratch pad.

Misc

A B C
D E F
G H I


Brocade ICX6610-48 8x SFP+, 48x 1Gbps RJ45, 160Gbit stacked switch. Photo by Brocade.
Brocade ICX6450-48 4x SFP+, 24x 1Gbps RJ45, 40Gbit stacked switch. Photo by Brocade.