0
0
mirror of https://github.com/cjdelisle/cjdns synced 2025-10-06 00:32:50 +02:00

Changed all instances of CJDNS (in readme-s, comments etc., not in variable names) to lowercase.

This commit is contained in:
Vitalie Ciubotaru
2013-07-25 10:00:03 +09:00
parent c3f2ca92f5
commit b6b91f8b2b
14 changed files with 31 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>CJDNS Web Admin</title>
<title>Cjdns Web Admin</title>
<script type="text/javascript" src="text/javascript/d3/d3.js"></script>
<script type="text/javascript" src="text/javascript/jssha256.js"></script>
<script type="text/javascript" src="text/javascript/bencode.js"></script>
@@ -135,7 +135,7 @@
<body onLoad="doLayout();">
<div id="content">
<h1>CJDNS Web Admin</h1>
<h1>Cjdns Web Admin</h1>
<div id="memory">&nbsp;Currently using <span id="memory-bytes"><strong>[filled in by javascript]</strong></span> bytes of memory.</div>
<div id="viz"></div>
<div id="nodes"><div id="nodes-list"></div></div>

View File

@@ -1,4 +1,4 @@
-- CJDNS admin module for Lua
-- Cjdns admin module for Lua
-- Written by Philip Horger
local bencode = require "bencode" -- https://bitbucket.org/wilhelmy/lua-bencode/

View File

@@ -1,4 +1,4 @@
# Admin panel for CJDNS
# Admin panel for cjdns
#### Does not support Internet Explorer 6, 7, or 8
### Usage
@@ -13,7 +13,7 @@ You should install [Node.js](http://nodejs.org) first.
##### Create ~/.cjdnsadmin
You should create ~/.cjdnsadmin file with path to your CJDNS config:
You should create ~/.cjdnsadmin file with path to your cjdns config:
echo '{"config":"path to your config file"}' > ~/.cjdnsadmin

View File

@@ -25,7 +25,7 @@ var CJDNS = function (config) {
this.send({q: 'ping'}, function (err, msg) {
if (msg && msg.q === 'pong') {
sys.log('CJDNS Admin backend found and ready to work!');
sys.log('Cjdns Admin backend found and ready to work!');
} else {
sys.log(msg);
}

View File

@@ -1,6 +1,6 @@
{
"name": "cjdns-admin",
"description": "Admin panel for CJDNS",
"description": "Admin panel for cjdns",
"version": "0.0.1",
"dependencies": {
"express": "3.x",

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CJDNS Admin panel</title>
<title>Cjdns Admin panel</title>
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<script src="/js/jquery-2.0.2.min.js"></script>
@@ -16,7 +16,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="#">CJDNS Admin</a>
<a class="brand" href="#">Cjdns Admin</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="/">Admin</a></li>

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CJDNS Admin panel</title>
<title>Cjdns Admin panel</title>
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<script src="/js/jquery-2.0.2.min.js"></script>
@@ -16,7 +16,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/">CJDNS Admin</a>
<a class="brand" href="/">Cjdns Admin</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a>Admin</a></li>

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CJDNS Admin panel</title>
<title>Cjdns Admin panel</title>
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<script src="/js/jquery-2.0.2.min.js"></script>
@@ -16,7 +16,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="#">CJDNS Admin</a>
<a class="brand" href="#">Cjdns Admin</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="/">Admin</a></li>

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CJDNS Admin panel</title>
<title>Cjdns Admin panel</title>
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<script src="/js/jquery-2.0.2.min.js"></script>
@@ -16,7 +16,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="#">CJDNS Admin</a>
<a class="brand" href="#">Cjdns Admin</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="/">Admin</a></li>

View File

@@ -1,4 +1,4 @@
Revision history for Perl extension CJDNS.
Revision history for Perl extension cjdns.
0.01 Mon Apr 16 11:47:52 2012
- original version; created by h2xs 1.23 with options

View File

@@ -1,4 +1,4 @@
CJDNS version 0.01
Cjdns version 0.01
==================
This is a Perl implementation of the dynamic cjdns administration suite.

View File

@@ -31,7 +31,7 @@ sub new {
);
unless ($self->_ping) {
die "Can't ping CJDNS admin interface at udp://$addr:$port\n";
die "Can't ping cjdns admin interface at udp://$addr:$port\n";
}
$self->_make_methods;
@@ -64,7 +64,7 @@ sub _make_methods {
$page++;
}
# first let's start by loading them as named into the CJDNS namespace.
# first let's start by loading them as named into the cjdns namespace.
foreach my $method_name (keys %$availableFunctions) {
my $prototype = $availableFunctions->{$method_name};
@@ -119,7 +119,7 @@ sub _make_methods {
sub capabilities {
my ($self) = @_;
my $return = "CJDNS Administration Protocol Capabilities\n";
my $return = "Cjdns Administration Protocol Capabilities\n";
$return .= "------------------------------------------\n";
foreach my $func (keys %{$self->{capabilities}}) {
$return .= " $func\n";
@@ -169,17 +169,17 @@ __END__
=head1 NAME
CJDNS - Perl interface to the CJDNS Administration Interface
Cjdns - Perl interface to the Cjdns Administration Interface
=head1 SYNOPSIS
use CJDNS;
my $cjdns = CJDNS->new('localhost', '12345', 'abc123');
printf("CJDNS' routing table is using %d bytes of memory!\n", $cjdns->memory->{bytes});
printf("Cjdns' routing table is using %d bytes of memory!\n", $cjdns->memory->{bytes});
=head1 DESCRIPTION
Perl interface to the CJDNS Administration system
Perl interface to the cjdns Administration system
=head1 SEE ALSO

View File

@@ -1,6 +1,6 @@
cjdns.inc.php
=============
A simple PHP API for the CJDNS admin interface.
A simple PHP API for the cjdns admin interface.
Usage
-------------

View File

@@ -57,12 +57,12 @@ load_pid
stop()
{
if [ -z "$PID" ]; then
echo "CJDNS is not running"
echo "cjdns is not running"
return 1
else
kill $PID &> /dev/null
while [ -n "$(pgrep -d " " -f "$CJDROUTE")" ]; do
echo "* Waiting for CJDNS to shut down..."
echo "* Waiting for cjdns to shut down..."
sleep 1;
done
if [ $? -gt 0 ]; then return 1; fi
@@ -74,18 +74,18 @@ start()
if [ -z "$PID" ]; then
$CJDROUTE < $CONF &>> $LOGTO
if [ $? -gt 0 ]; then
echo "Failed to start CJDNS"
echo "Failed to start cjdns"
return 1
fi
else
echo "CJDNS is already running"
echo "cjdns is already running"
return 1
fi
}
status()
{
echo -n "* CJDNS is "
echo -n "* cjdns is "
if [ -z "$PID" ]; then
echo "not running"
exit 1
@@ -101,12 +101,12 @@ update()
cd ${CJDPATH}/cjdns
git pull
./do || echo "Failed to update!" && exit 1
echo "* Update complete, restarting CJDNS"
echo "* Update complete, restarting cjdns"
stop
load_pid
start
else
echo "The CJDNS source directory does not exist"
echo "The cjdns source directory does not exist"
return 1
fi
}