1
0

moved css into html, added irc.html prototype

This commit is contained in:
notnull 2019-01-28 01:36:29 -08:00
parent b344fd3b43
commit 4498ec3960
9 changed files with 821 additions and 69 deletions

110
html/irc-how-to.html Normal file
View File

@ -0,0 +1,110 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title>Anarchy Planet IRC</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body id="container">
<h1 id="anarchy-planet-irc-how-to">Anarchy Planet IRC how to</h1>
<h2 id="how-to-connect">How to Connect</h2>
<h3 id="web">web</h3>
<p><a href="https://irc.anarchyplanet.org" class="uri">https://irc.anarchyplanet.org</a></p>
<h3 id="using-a-client">using a client</h3>
<p>``` irc.anarchyplanet.org port 6667 irc.anarchyplanet.org port 6697 (SSL) km3jy7nrj3e2wiju.onion port 6667 || 6697 ```</p>
<h3 id="using-tor">using tor</h3>
<p><a href="https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor" class="uri">https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor</a></p>
<h2 id="basic-commands">Basic Commands</h2>
<p><code>/nick nickname</code> Changes your nick.</p>
<p><code>/list</code> Lists all channels on the current network.</p>
<p><code>/join #channel</code> Joins the specified channel.</p>
<p><code>/part #channel</code> Leaves the specified channel.</p>
<p><code>/quit [message]</code> Disconnects from current server with optional leaving message.</p>
<p><code>/names #channel</code> Shows the nicks of all users on #channel.</p>
<p><code>/msg nickname message</code> Sends a private message to a user.</p>
<p><code>/query nickname message</code> Sends a private message to a user and opens a private chat window.</p>
<p><code>/me action</code> Prints &quot;yourname action&quot;</p>
<p><code>/notice nickname message</code> Sends a notice to the specified user. Like a /msg, but usually makes a sound.</p>
<p><code>/whois nickname</code> Shows information about the specified user. This action is not visible to the specified user.</p>
<p><code>/whowas nickname</code> Shows information about a user who has quit.</p>
<h2 id="managing-nicknames-nickserv">Managing Nicknames (Nickserv)</h2>
<p><code>/msg nickserv register password [email]</code> Registers your current nick with NickServ with the chosen password and binds it to an e-mail address (optional).</p>
<p><code>/msg nickserv identify password</code> Identifies your nick to NickServ using the password you set.</p>
<p><code>/msg nickserv recover nickname password</code> Kills (forcibly disconnects) someone who has your registered nick.</p>
<p><code>/msg nickserv ghost nickname password</code> Terminates a &quot;ghost&quot; IRC session that's using your nickname.</p>
<p><code>/msg nickserv set password yournewpassword</code> Changes your password. NOTE: Under no circumstances should you change your nick to the letter O followed by 8 digit</p>
<h2 id="managing-channels-chanserv">Managing Channels (ChanServ)</h2>
<p><code>/msg chanserv register #channel</code> Registers the current channel to you with ChanServ</p>
<p><code>/msg chanserv set #channel mlock modes</code> Locks the channel's modes. To unlock all of a channel's modes, use <code>/msg chanserv set #channel mlock +</code></p>
<h2 id="moderating-channels">Moderating Channels</h2>
<p><code>/kick nickname!userid@hostname</code> removes user from channel, but does not ban them. They are able to join immediately.</p>
<p><code>/ban nickname!userid@hostname</code> bans user from channel, but does not kick them. They are prevented from speaking but can still see the channel.</p>
<p><code>/kickban nickname!userid@hostname</code></p>
<p>Use <code>/whois</code>, <code>/whowas</code> or <code>/who</code> to find the information necessary for a ban. note: <code>*</code> is a wildcard and can replace nickname, userid, parts of nickname or userid, hostname or a segment of a hostname.</p>
<p><code>/mode #channel +b nickname!userid@hostname</code> the same as /ban</p>
<h3 id="ban-examples">Ban Examples:</h3>
<p><code>joe!*@*</code> Will prevent anyone with the nick joe from joining.</p>
<p><code>*myg0t*!*</code> Will prevent anyone whose nick contains myg0t from joining.</p>
<p><code>mark!*elc@*</code> Will prevent anyone with the nick mark and the userid elc from joining.</p>
<p><code>*!*@c-123-24-76-213.ga.isp.net</code> Will prevent anyone with the host c-123-24-76-213.ga.isp.net from joining.</p>
<p><code>*!*@*</code> Bans everyone. Don't do that.</p>
<h2 id="advanced-commands-for-the-uberl337">Advanced Commands for the uberl337</h2>
<h3 id="advanced-nickserv-commands">Advanced NickServ commands</h3>
<ol>
<li><p>User modes</p>
<p><code>/mode nickname +/-attributes [data]</code></p>
<p>Setting people's modes (for current channel only). To set a user's mode outside of a channel, use <code>/mode nickname #channel +/- attributes</code></p>
<p>Some of the more important ones are: <code>+q</code> User is owner of the current channel (prefix ~ or @) <code>+a</code> User is an admin (SOP) on the current channel (prefix &amp; or @). <code>+o</code> User is an operator (AOP) on the current channel (prefix @). <code>+h</code> User is a half-op on the current channel (prefix %). <code>+v</code> User has voice on the current channel (prefix +).</p>
<p>For a complete list of user modes visit <a href="https://wiki.inspircd.org/User_Modes" class="uri">https://wiki.inspircd.org/User_Modes</a></p></li>
</ol>
<h3 id="advanced-chanserv-commands">Advanced Chanserv commands</h3>
<p><code>/msg chanserv set #channel secure [on|off]</code> Keeps everyone except aops, sops, and the founder from becoming ops.</p>
<p><code>/msg chanserv set #channel keeptopic [on|off]</code> Maintains the topic even if everyone leaves.</p>
<p><code>/msg chanserv set #channel enforce [on|off]</code> Restores op/halfop/voice if a person with op/halfop/voice gets de-opped/halfopped/voiced.</p>
<p><code>/msg chanserv set #channel leaveops [on|off]</code> Whether or not to allow the first person who join the channel to get ops.</p>
<p><code>/msg chanserv drop #channel [dropcode]</code> Un-registers the current channel to you with ChanServ.</p>
<p><code>/msg chanserv set #channel founder [nickname]</code> Sets the current channel's founder.</p>
<p><code>/msg chanserv set #channel desc [description]</code> Changes the current channel's description.</p>
<p><code>/msg chanserv set #channel url [address]</code> Associates a URL with the channel.</p>
<p><code>/msg chanserv set #channel [email@address]</code> Associates an email address with the channel.</p>
<ol>
<li><p>Channel modes</p>
<p><code>/mode #channel +/-attribute [data]</code></p>
<p>For a full list of Inspircd's channel modes visit <a href="https://wiki.inspircd.org/Channel_Modes" class="uri">https://wiki.inspircd.org/Channel_Modes</a></p></li>
</ol>
<h3 id="access-lists">Access lists</h3>
<p><code>/msg chanserv access #channel add [nickname] [level]</code> Adds nickname to the channel's access list at the specified level.</p>
<p><code>/msg chanserv access channel del [nickname]</code> Removes nickname from the channel's access list.</p>
<p><code>/msg chanserv access #channel list</code> Displays the channel's access list.</p>
<p><code>/msg chanserv access #channel count</code> Displays how many entries are in the channel's access list.</p>
<h3 id="access-levels">Access levels</h3>
<p>These may vary from network to network. For example, some networks do not go by tens and use 3, 4, 5, 10, etc.</p>
<p>Founder Full access to ChanServ functions, automatic opping upon entering channel. 100+ Makes the person an SOP, automatic opping upon entering channel. 50 Makes the parson an AOP, automatic opping upon entering channel. 40 Automatic half-opping. 30 Automatic voicing. 0 No special privileges. -1 May not be opped. -100 May not join the channel. Any nick not on the access list has an access level of 0.</p>
<h3 id="aops">AOPs</h3>
<p>Are automatically ops and can give themselves ops. Can give/take op/halfop/voice to/from other channel members. Can unban themselves. Receive memos sent to the whole channel. Can invite themselves to the channel.</p>
<h3 id="sops">SOPs</h3>
<ul>
<li>Can do everything AOPs can.</li>
<li>Can give and take AOP privileges.</li>
<li>Receive memos sent to the channel's SOPs.</li>
<li>Can add (but not remove) AKICKs.</li>
</ul>
<h2 id="viewing-and-setting-privileges">Viewing and setting privileges</h2>
<h3 id="viewing-aop-and-sop-lists">Viewing AOP and SOP lists</h3>
<p><code>/msg chanserv aop #channel list</code></p>
<p><code>/msg chanserv sop #channel list</code></p>
<p>Add an AOP or SOP <code>/msg chanserv [AOP|SOP] channel [ADD|DEL|LIST|CLEAR] [nick | entry-list]</code></p>
<h3 id="akicks">AKICKs</h3>
<p>People on the AKICK list are automatically kicked and banned when they enter the channel. Bans made as a result of AKICK must be removed manually.</p>
<p><code>/msg chanserv akick #channel add host [reason]</code> Adds host to #channel's AKICK list [for reason].</p>
<p><code>/msg chanserv akick #channel del host</code> Removes host from the AKICK list.</p>
<p><code>/msg chanserv akick #channel list</code> <code>/msg chanserv akick #channel view</code> Displays the AKICK list.</p>
<h3 id="color-codes">Color codes</h3>
<p>It's possible to color your text in irc. in most clients you can use control c then foreground,background (background is optional). examples: red text <sup>c4</sup>. black text on a blue background <sup>c1</sup>,2. here's a full list of the color codes:</p>
<p>``` Number Name 00 white 01 black 02 blue (navy) 03 green 04 red 05 brown (maroon) 06 purple 07 orange (olive) 08 yellow 09 light green (lime) 10 teal (a green/blue cyan) 11 light cyan (cyan / aqua) 12 light blue (royal) 13 pink (light purple / fuchsia) 14 grey 15 light grey (silver) ```</p>
<p>Edit this guide: <a href="https://irc.anarchyplanet.org/pad/p/dox-irc-how-to" class="uri">https://irc.anarchyplanet.org/pad/p/dox-irc-how-to</a></p>
</body>
</html>

636
html/irc.html Normal file
View File

@ -0,0 +1,636 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>irc-how-to</title>
<!-- 2019-01-27 Sun 11:34 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center; }
.todo { font-family: monospace; color: red; }
.done { color: green; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.right { margin-left: auto; margin-right: 0px; text-align: right; }
.left { margin-left: 0px; margin-right: auto; text-align: left; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
pre.src-sh:before { content: 'sh'; }
pre.src-bash:before { content: 'sh'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-R:before { content: 'R'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-java:before { content: 'Java'; }
pre.src-sql:before { content: 'SQL'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.right { text-align: center; }
th.left { text-align: center; }
th.center { text-align: center; }
td.right { text-align: right; }
td.left { text-align: left; }
td.center { text-align: center; }
dt { font-weight: bold; }
.footpara:nth-child(2) { display: inline; }
.footpara { display: block; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
/*]]>*/-->
</style>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2013 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<h1 class="title">irc-how-to</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. Anarchy Planet IRC how to</a>
<ul>
<li><a href="#sec-1-1">1.1. How to Connect</a>
<ul>
<li><a href="#sec-1-1-1">1.1.1. web</a></li>
<li><a href="#sec-1-1-2">1.1.2. using a client</a></li>
<li><a href="#sec-1-1-3">1.1.3. using tor</a></li>
</ul>
</li>
<li><a href="#sec-1-2">1.2. Basic Commands</a></li>
<li><a href="#sec-1-3">1.3. Managing Nicknames (Nickserv)</a></li>
<li><a href="#sec-1-4">1.4. Managing Channels (ChanServ)</a></li>
<li><a href="#sec-1-5">1.5. Moderating Channels</a>
<ul>
<li><a href="#sec-1-5-1">1.5.1. Ban Examples:</a></li>
</ul>
</li>
<li><a href="#sec-1-6">1.6. Advanced Commands for the uberl337</a>
<ul>
<li><a href="#sec-1-6-1">1.6.1. Advanced NickServ commands</a></li>
<li><a href="#sec-1-6-2">1.6.2. Advanced Chanserv commands</a></li>
<li><a href="#sec-1-6-3">1.6.3. Access lists</a></li>
<li><a href="#sec-1-6-4">1.6.4. Access levels</a></li>
<li><a href="#sec-1-6-5">1.6.5. AOPs</a></li>
<li><a href="#sec-1-6-6">1.6.6. SOPs</a></li>
</ul>
</li>
<li><a href="#sec-1-7">1.7. Viewing and setting privileges</a>
<ul>
<li><a href="#sec-1-7-1">1.7.1. Viewing AOP and SOP lists</a></li>
<li><a href="#sec-1-7-2">1.7.2. AKICKs</a></li>
<li><a href="#sec-1-7-3">1.7.3. Color codes</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Anarchy Planet IRC how to</h2>
<div class="outline-text-2" id="text-1">
</div><div id="outline-container-sec-1-1" class="outline-3">
<h3 id="sec-1-1"><span class="section-number-3">1.1</span> How to Connect</h3>
<div class="outline-text-3" id="text-1-1">
</div><div id="outline-container-sec-1-1-1" class="outline-4">
<h4 id="sec-1-1-1"><span class="section-number-4">1.1.1</span> web</h4>
<div class="outline-text-4" id="text-1-1-1">
<p>
<a href="https://irc.anarchyplanet.org">https://irc.anarchyplanet.org</a>
</p>
</div>
</div>
<div id="outline-container-sec-1-1-2" class="outline-4">
<h4 id="sec-1-1-2"><span class="section-number-4">1.1.2</span> using a client</h4>
<div class="outline-text-4" id="text-1-1-2">
<ul class="org-ul">
<li>irc.anarchyplanet.org port 6667
</li>
<li>irc.anarchyplanet.org port 6697 (SSL)
</li>
<li>km3jy7nrj3e2wiju.onion port 6667 || 6697
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-1-1-3" class="outline-4">
<h4 id="sec-1-1-3"><span class="section-number-4">1.1.3</span> using tor</h4>
<div class="outline-text-4" id="text-1-1-3">
<p>
<a href="https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor">https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor</a>
</p>
</div>
</div>
</div>
<div id="outline-container-sec-1-2" class="outline-3">
<h3 id="sec-1-2"><span class="section-number-3">1.2</span> Basic Commands</h3>
<div class="outline-text-3" id="text-1-2">
<p>
<code>/nick nickname</code> Changes your nick.
</p>
<p>
<code>/list</code> Lists all channels on the current network.
</p>
<p>
<code>/join #channel</code> Joins the specified channel.
</p>
<p>
<code>/part #channel</code> Leaves the specified channel.
</p>
<p>
<code>/quit [message]</code> Disconnects from current server with optional leaving message.
</p>
<p>
<code>/names #channel</code> Shows the nicks of all users on #channel.
</p>
<p>
<code>/msg nickname message</code> Sends a private message to a user.
</p>
<p>
<code>/query nickname message</code> Sends a private message to a user and opens a private chat window.
</p>
<p>
<code>/me action</code> Prints "yourname action"
</p>
<p>
<code>/notice nickname message</code> Sends a notice to the specified user. Like a /msg, but usually makes a sound.
</p>
<p>
<code>/whois nickname</code> Shows information about the specified user. This action is not visible to the specified user.
</p>
<p>
<code>/whowas nickname</code> Shows information about a user who has quit.
</p>
</div>
</div>
<div id="outline-container-sec-1-3" class="outline-3">
<h3 id="sec-1-3"><span class="section-number-3">1.3</span> Managing Nicknames (Nickserv)</h3>
<div class="outline-text-3" id="text-1-3">
<p>
<code>/msg nickserv register password [email]</code> Registers your current nick with NickServ with the chosen password and binds it to an e-mail address (optional).
</p>
<p>
<code>/msg nickserv identify password</code> Identifies your nick to NickServ using the password you set.
</p>
<p>
<code>/msg nickserv recover nickname password</code> Kills (forcibly disconnects) someone who has your registered nick.
</p>
<p>
<code>/msg nickserv ghost nickname password</code> Terminates a "ghost" IRC session that's using your nickname.
</p>
<p>
<code>/msg nickserv set password yournewpassword</code> Changes your password. NOTE: Under no circumstances should you change your nick to the letter O followed by 8 digit
</p>
</div>
</div>
<div id="outline-container-sec-1-4" class="outline-3">
<h3 id="sec-1-4"><span class="section-number-3">1.4</span> Managing Channels (ChanServ)</h3>
<div class="outline-text-3" id="text-1-4">
<p>
<code>/msg chanserv register #channel</code> Registers the current channel to you with ChanServ
</p>
<p>
<code>/msg chanserv set #channel mlock modes</code> Locks the channel's modes. To unlock all of a channel's modes, use <code>/msg chanserv set #channel mlock +</code>
</p>
</div>
</div>
<div id="outline-container-sec-1-5" class="outline-3">
<h3 id="sec-1-5"><span class="section-number-3">1.5</span> Moderating Channels</h3>
<div class="outline-text-3" id="text-1-5">
<p>
<code>/kick nickname!userid@hostname</code>
removes user from channel, but does not ban them. They are able to join immediately.
</p>
<p>
<code>/ban nickname!userid@hostname</code>
bans user from channel, but does not kick them. They are prevented from speaking but can still see the channel.
</p>
<p>
<code>/kickban nickname!userid@hostname</code>
</p>
<p>
Use <code>/whois</code>, <code>/whowas</code> or <code>/who</code> to find the information necessary for a ban.
note: <code>*</code> is a wildcard and can replace nickname, userid, parts of nickname or userid, hostname or a segment of a hostname.
</p>
<p>
<code>/mode #channel +b nickname!userid@hostname</code>
the same as /ban
</p>
</div>
<div id="outline-container-sec-1-5-1" class="outline-4">
<h4 id="sec-1-5-1"><span class="section-number-4">1.5.1</span> Ban Examples:</h4>
<div class="outline-text-4" id="text-1-5-1">
<p>
<code>joe!*@*</code>
Will prevent anyone with the nick joe from joining.
</p>
<p>
<code>*myg0t*!*</code>
Will prevent anyone whose nick contains myg0t from joining.
</p>
<p>
<code>mark!*elc@*</code>
Will prevent anyone with the nick mark and the userid elc from joining.
</p>
<p>
<code>*!*@c-123-24-76-213.ga.isp.net</code>
Will prevent anyone with the host c-123-24-76-213.ga.isp.net from joining.
</p>
<p>
<code>*!*@*</code>
Bans everyone. Don't do that.
</p>
</div>
</div>
</div>
<div id="outline-container-sec-1-6" class="outline-3">
<h3 id="sec-1-6"><span class="section-number-3">1.6</span> Advanced Commands for the uberl337</h3>
<div class="outline-text-3" id="text-1-6">
</div><div id="outline-container-sec-1-6-1" class="outline-4">
<h4 id="sec-1-6-1"><span class="section-number-4">1.6.1</span> Advanced NickServ commands</h4>
<div class="outline-text-4" id="text-1-6-1">
</div><ol class="org-ol"><li><a id="sec-1-6-1-1" name="sec-1-6-1-1"></a>User modes<br /><div class="outline-text-5" id="text-1-6-1-1">
<p>
<code>/mode nickname +/-attributes [data]</code>
</p>
<p>
Setting people's modes (for current channel only). To set a user's mode outside of a channel, use <code>/mode nickname #channel +/- attributes</code>
</p>
<p>
Some of the more important ones are:
<code>+q</code> User is owner of the current channel (prefix ~ or @)
<code>+a</code> User is an admin (SOP) on the current channel (prefix &amp; or @).
<code>+o</code> User is an operator (AOP) on the current channel (prefix @).
<code>+h</code> User is a half-op on the current channel (prefix %).
<code>+v</code> User has voice on the current channel (prefix +).
</p>
<p>
For a complete list of user modes visit <a href="https://wiki.inspircd.org/User_Modes">https://wiki.inspircd.org/User_Modes</a>
</p>
</div>
</li></ol>
</div>
<div id="outline-container-sec-1-6-2" class="outline-4">
<h4 id="sec-1-6-2"><span class="section-number-4">1.6.2</span> Advanced Chanserv commands</h4>
<div class="outline-text-4" id="text-1-6-2">
<p>
<code>/msg chanserv set #channel secure [on|off]</code>
Keeps everyone except aops, sops, and the founder from becoming ops.
</p>
<p>
<code>/msg chanserv set #channel keeptopic [on|off]</code>
Maintains the topic even if everyone leaves.
</p>
<p>
<code>/msg chanserv set #channel enforce [on|off]</code>
Restores op/halfop/voice if a person with op/halfop/voice gets de-opped/halfopped/voiced.
</p>
<p>
<code>/msg chanserv set #channel leaveops [on|off]</code>
Whether or not to allow the first person who join the channel to get ops.
</p>
<p>
<code>/msg chanserv drop #channel [dropcode]</code>
Un-registers the current channel to you with ChanServ.
</p>
<p>
<code>/msg chanserv set #channel founder [nickname]</code>
Sets the current channel's founder.
</p>
<p>
<code>/msg chanserv set #channel desc [description]</code>
Changes the current channel's description.
</p>
<p>
<code>/msg chanserv set #channel url [address]</code>
Associates a URL with the channel.
</p>
<p>
<code>/msg chanserv set #channel [email@address]</code>
Associates an email address with the channel.
</p>
</div>
<ol class="org-ol"><li><a id="sec-1-6-2-1" name="sec-1-6-2-1"></a>Channel modes<br /><div class="outline-text-5" id="text-1-6-2-1">
<p>
<code>/mode #channel +/-attribute [data]</code>
</p>
<p>
For a full list of Inspircd's channel modes visit <a href="https://wiki.inspircd.org/Channel_Modes">https://wiki.inspircd.org/Channel_Modes</a>
</p>
</div>
</li></ol>
</div>
<div id="outline-container-sec-1-6-3" class="outline-4">
<h4 id="sec-1-6-3"><span class="section-number-4">1.6.3</span> Access lists</h4>
<div class="outline-text-4" id="text-1-6-3">
<p>
<code>/msg chanserv access #channel add [nickname] [level]</code>
Adds nickname to the channel's access list at the specified level.
</p>
<p>
<code>/msg chanserv access channel del [nickname]</code>
Removes nickname from the channel's access list.
</p>
<p>
<code>/msg chanserv access #channel list</code>
Displays the channel's access list.
</p>
<p>
<code>/msg chanserv access #channel count</code>
Displays how many entries are in the channel's access list.
</p>
</div>
</div>
<div id="outline-container-sec-1-6-4" class="outline-4">
<h4 id="sec-1-6-4"><span class="section-number-4">1.6.4</span> Access levels</h4>
<div class="outline-text-4" id="text-1-6-4">
<p>
These may vary from network to network. For example, some networks do not go by tens and use 3, 4, 5, 10, etc.
</p>
<p>
Founder
Full access to ChanServ functions, automatic opping upon entering channel.
100+
Makes the person an SOP, automatic opping upon entering channel.
50
Makes the parson an AOP, automatic opping upon entering channel.
40
Automatic half-opping.
30
Automatic voicing.
0
No special privileges.
-1
May not be opped.
-100
May not join the channel.
Any nick not on the access list has an access level of 0.
</p>
</div>
</div>
<div id="outline-container-sec-1-6-5" class="outline-4">
<h4 id="sec-1-6-5"><span class="section-number-4">1.6.5</span> AOPs</h4>
<div class="outline-text-4" id="text-1-6-5">
<p>
Are automatically ops and can give themselves ops.
Can give/take op/halfop/voice to/from other channel members.
Can unban themselves.
Receive memos sent to the whole channel.
Can invite themselves to the channel.
</p>
</div>
</div>
<div id="outline-container-sec-1-6-6" class="outline-4">
<h4 id="sec-1-6-6"><span class="section-number-4">1.6.6</span> SOPs</h4>
<div class="outline-text-4" id="text-1-6-6">
<ul class="org-ul">
<li>Can do everything AOPs can.
</li>
<li>Can give and take AOP privileges.
</li>
<li>Receive memos sent to the channel's SOPs.
</li>
<li>Can add (but not remove) AKICKs.
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-sec-1-7" class="outline-3">
<h3 id="sec-1-7"><span class="section-number-3">1.7</span> Viewing and setting privileges</h3>
<div class="outline-text-3" id="text-1-7">
</div><div id="outline-container-sec-1-7-1" class="outline-4">
<h4 id="sec-1-7-1"><span class="section-number-4">1.7.1</span> Viewing AOP and SOP lists</h4>
<div class="outline-text-4" id="text-1-7-1">
<p>
<code>/msg chanserv aop #channel list</code>
</p>
<p>
<code>/msg chanserv sop #channel list</code>
</p>
<p>
Add an AOP or SOP
<code>/msg chanserv [AOP|SOP] channel [ADD|DEL|LIST|CLEAR] [nick | entry-list]</code>
</p>
</div>
</div>
<div id="outline-container-sec-1-7-2" class="outline-4">
<h4 id="sec-1-7-2"><span class="section-number-4">1.7.2</span> AKICKs</h4>
<div class="outline-text-4" id="text-1-7-2">
<p>
People on the AKICK list are automatically kicked and banned when they enter the channel. Bans made as a result of AKICK must be removed manually.
</p>
<p>
<code>/msg chanserv akick #channel add host [reason]</code>
Adds host to #channel's AKICK list [for reason].
</p>
<p>
<code>/msg chanserv akick #channel del host</code>
Removes host from the AKICK list.
</p>
<p>
<code>/msg chanserv akick #channel list</code>
<code>/msg chanserv akick #channel view</code>
Displays the AKICK list.
</p>
</div>
</div>
<div id="outline-container-sec-1-7-3" class="outline-4">
<h4 id="sec-1-7-3"><span class="section-number-4">1.7.3</span> Color codes</h4>
<div class="outline-text-4" id="text-1-7-3">
<p>
It's possible to color your text in irc. in most clients you can use control c then foreground,background (background is optional). examples: red text ^c4. black text on a blue background ^c1,2. here's a full list of the color codes:
</p>
<p>
```
Number Name
00 white
01 black
02 blue (navy)
03 green
04 red
05 brown (maroon)
06 purple
07 orange (olive)
08 yellow
09 light green (lime)
10 teal (a green/blue cyan)
11 light cyan (cyan / aqua)
12 light blue (royal)
13 pink (light purple / fuchsia)
14 grey
15 light grey (silver)
```
</p>
<p>
Edit this guide: <a href="https://irc.anarchyplanet.org/pad/p/dox-irc-how-to">https://irc.anarchyplanet.org/pad/p/dox-irc-how-to</a>
</p>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="date">Created: 2019-01-27 Sun 11:34</p>
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.5.1 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>

View File

@ -14,6 +14,6 @@ we have created from projex. The goals are:
for now, the file structure should be:
\`\`\` . ├── css ├── html ├── md ├── org └── scripts README.md \`\`\`
. ├── html ├── css ├── md ├── org └── scripts README.md
Edit this guide: <https://irc.anarchyplanet.org/pad/p/dox-README>

View File

@ -8,14 +8,13 @@ The purpose of dox is to create a git repository for the documentation we have c
for now, the file structure should be:
```
.
├── css
├── html
├── md
├── org
└── scripts
README.md
```
.
├── html
├── css
├── md
├── org
└── scripts
README.md
Edit this guide: https://irc.anarchyplanet.org/pad/p/dox-README

View File

@ -4,11 +4,11 @@
https://irc.anarchyplanet.org
*** using a client
```
irc.anarchyplanet.org port 6667
irc.anarchyplanet.org port 6697 (SSL)
km3jy7nrj3e2wiju.onion port 6667 || 6697
```
- irc.anarchyplanet.org port 6667
- irc.anarchyplanet.org port 6697 (SSL)
- km3jy7nrj3e2wiju.onion port 6667 || 6697
*** using tor
https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor
** Basic Commands

View File

@ -1,3 +0,0 @@
useful commands
show /eMail/gpg -f

61
org/rsync.org Normal file
View File

@ -0,0 +1,61 @@
* rsync
** TODOs
*** TODO rsync one file (or directory?) from notnull@serge to notnull@host
at this point I still have no idea how to do this. closing for now.
** notes
A method for copying files from one [remote] location to another [local] location.
rsync -aP serge:2222/projex/proto .
rsync -v -aP 216.252.162.166:2222/projex/proto .
^ this hung and did nothing.
I'm super confused.
So... so far, you added ~/.ssh/config with info for 127.0.0.1 p 2222 .... but then tried to add keys to /root?? what does that have to do with rsync?
Yes, bad example, ust what i did to not need to enter my password everytime. However with a passphrase for that key it's that much of an improvement.. Trying to be less confusing now.
if rsync is based on ssh, then notnull@host should add her keys to /home/notnull/.ssh/authorized_keys and then host:/home/notnull/.ssh/config should be set up with serge's info and then rsync should happen there, yah?
That's good to allow access to this host for your user w/o password butboth aren't necessary for rsync to work. It's just easier to define the port that way. Also less typing every time..
If rsycn is based on ssh, and if I can ssh into serge at /home/notnull, then I should be able to rsync something in notnull's home directory.
The issue is the port i bet.
So.... then... can we agree that it's not 'just' rsync -v -aP 216.252.162.166:2222/projex/proto . ??
I am trying to read the manual and there are 43563457365 options and I just want to know how to rsync to a remote host with a port and a folder. it's super annyoing.
Something is at odds here:
rsync -aP rsync://216.252.162.166:2222/projex/proto .
rsync: server sent "SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u4" rather than greeting
real quick: do you know how to open man pages with another editor?
change the pager ('apropos pager')
notnull@host:~$ apropos pager
pager (1) - opposite of more
sensible-pager (1) - sensible editing, paging, and web browsing
w3m (1) - a text based web browser and pager
lol what?
lrwxrwxrwx 1 root root 23 Jan 22 2018 /usr/bin/pager -> /etc/alternatives/pager
or zless|emacs|nano|w3m /usr/share/man/..

View File

@ -1,51 +0,0 @@
#!/bin/env python
# load api key
keyfile = "APIKEY.txt"
file = open(keyfile, "r")
key = file.read().rstrip()
from etherpad_lite import EtherpadLiteClient
c = EtherpadLiteClient(base_params={'apikey':"{}".format(key)})
import glob
#import re
import string
# iterate over files in org
for filename in glob.iglob('org/*.org'):
# pick relevant part from filename
# option 1: https://docs.python.org/2/howto/regex.html
#p = re.compile('\.org$')
#id = 'pad-'+ p.sub('', filename)
# option 2:
id = string.replace(string.replace(filename, 'org/', ''), '.org', '')
padid = "dox-"+ id
file = open(filename, "r")
text = file.read()
# upload text
print ("Updating https://irc.anarchyplanet.org/pad/p/"+ padid +" ["+ filename +"]")
try:
c.deletePad(padID="{}".format(padid))
except:
print "(new)"
c.createPad(padID="{}".format(padid), text="{}".format(text))
#import urllib2, ssl
#response = urllib2.urlopen('https://irc.anarchyplanet.org/pad/p/'+ id +'/export/txt', context=ssl._create_unverified_context())
#txt = response.read()
#print txt
#writeFile = open("projex_out.txt", "w")
#writeFile.write(txt)
#writeFile.close()
#+end_src
#+begin_src python :results output
# FUCK I hate white space syntax
# C-c C-r to evaluate region
#file = open("hello.org", "r")
#localtxt = file.read()
#print(localtxt)
#+end_src