revised directory structure so that all text-related docs are in docs
This commit is contained in:
parent
4498ec3960
commit
4258e738c0
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
_dox.org
|
1
docs/html
Submodule
1
docs/html
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 8ffb3c27957cce7602dfc5259bdf2c006e4b70fd
|
@ -1,110 +1,71 @@
|
|||||||
essential keystrokes: (TAB to open bullets) <-- do this lol C-x 1 to
|
(TAB to open bullets)
|
||||||
return buffer to 1 window C-g to cancel a command C-h a to search for
|
|
||||||
commands tiling window: C-x \[1..3\] C-k cut C-y paste show only
|
|
||||||
headlines: navigate to first heading and do C-c C-k
|
|
||||||
|
|
||||||
emacs org mode
|
emacs org mode
|
||||||
==============
|
==============
|
||||||
|
|
||||||
Overview
|
README
|
||||||
--------
|
------
|
||||||
|
|
||||||
So there are two basic things that are useful about org mode:
|
The purpose of this guide is to provide a minimalist onboarding for the
|
||||||
|
use or emacs org mode specifically for anarchy planet projex and dox.
|
||||||
|
|
||||||
1. bullets are collapsible which makes it really easy to organize shit
|
There are three basic things that are useful about org mode:
|
||||||
|
|
||||||
|
1. It is PLAINTEXT ALL THE WAY BABY!
|
||||||
|
2. bullets are collapsible which makes it really easy to organize shit
|
||||||
and move it around collapsible items rule!
|
and move it around collapsible items rule!
|
||||||
2. TODO items have a lot of functionality
|
3. TODO items have a lot of functionality (e.g. agenda)
|
||||||
|
|
||||||
so, my goal is actually to take projex~demo~.org and make it something
|
The longer-term goal is to convert ap/projex pads to org mode. see
|
||||||
that is formatted in org mode, and the **reason** for that is that then
|
*org-pandoc* for more info.
|
||||||
we can export it using pandoc with clean html (which we can add a
|
|
||||||
loittle styling etc) .. . once we have a format established, we can
|
|
||||||
loosely require people to add to pads in that format so that chhanges
|
|
||||||
can be git pushed and incorportated into the html. You can see an
|
|
||||||
example of what the raw html looks like here:
|
|
||||||
<https://irc.anarchyplanet.org/dox/org.html>
|
|
||||||
|
|
||||||
### Bullets
|
### emacs keyboard shortcuts
|
||||||
|
|
||||||
- headings are organized with \*
|
Written as, e.g., C-x C-f, which means CTRL-c CTRL-f (in succession) M-x
|
||||||
- M-<enter> to add new heading
|
means META-x. the META key is (usually) ALT
|
||||||
- M-<left> or M-<right> to promote / demote heading
|
<https://orgmode.org/orgcard.pdf> is a decent cheatsheet!
|
||||||
- TAB to expand/collapse trees
|
|
||||||
|
### Headings
|
||||||
|
|
||||||
|
Place a \* in front of some text: you've got a heading! Place \*\* in
|
||||||
|
front of some text: you've got a sub-heading! Headings are COLLAPSIBLE:
|
||||||
|
with cursor over a heading, hit TAB Headings can be moved around easily
|
||||||
|
|
||||||
|
- M-<enter> to add new heading
|
||||||
|
- M-<left> or M-<right> to promote / demote heading
|
||||||
|
|
||||||
### TODOs
|
### TODOs
|
||||||
|
|
||||||
TODOs are actually probably not that relevant for projex because it's
|
Make a heading followed by the word TODO: you've got a todo item!
|
||||||
more for internal use ... maybe.
|
|
||||||
|
|
||||||
1. DONE demo emacs org mode to data
|
1. DONE demo emacs org mode
|
||||||
|
|
||||||
2. DONE enable line wrap as default
|
2. DONE enable line wrap as default
|
||||||
|
|
||||||
3. TODO re-write projex in org mode style
|
3. TODO re-write projex in org mode style
|
||||||
|
|
||||||
- projex~demo~.org is the test run of this.
|
projex~demo~.org is the test run of this.
|
||||||
|
|
||||||
<!-- -->
|
|
||||||
|
|
||||||
- C-c C-t to cycle through todo-done
|
- C-c C-t to cycle through todo-done
|
||||||
- You can add more options by adding \#+TODO: TODO ONHOLD | DONE
|
- You can add more options by adding \#+TODO: TODO ONHOLD | DONE
|
||||||
to the top of the page (requires restart)
|
to the top of the page (requires restart)
|
||||||
|
|
||||||
### links
|
### advanced
|
||||||
|
|
||||||
- link structure: \[ \[link\]\[desc\] \] (but without the spaces)
|
1. links
|
||||||
- [file](test.org) C-c C-o to open at point this creates a
|
|
||||||
split buffer. C-x o to switch between split buffers, C-x 1 to return
|
|
||||||
the buffer to a single one.
|
|
||||||
|
|
||||||
### code syntax highlighting and evaluation
|
- link structure: \[ \[link\]\[desc\] \] (but without the spaces)
|
||||||
|
- [file](test.org) C-c C-o to open at point this creates a split
|
||||||
|
buffer. C-x o to switch between split buffers, C-x 1 to return
|
||||||
|
the buffer to a single one.
|
||||||
|
|
||||||
emacs provides support for lots of languages and you can start an
|
2. agenda mode
|
||||||
interpreter and run code with C-c C-c (evaluate buffer)
|
|
||||||
|
|
||||||
You can also do code blocks and tangle / weave for literate programming.
|
<https://orgmode.org/worg/org-tutorials/orgtutorial_dto.html> is a
|
||||||
|
good tut.
|
||||||
|
|
||||||
My friend always used indent region and it was impressingly fast
|
notes
|
||||||
|
-----
|
||||||
### IRC
|
|
||||||
|
|
||||||
how can i restart and save session? (keep buffers)
|
|
||||||
|
|
||||||
there's M-x revert-buffer or you can turn auto-revert-mode on so it will
|
|
||||||
reload every time the file changes. I've never used the second... rarely
|
|
||||||
the first, I always just close :P so i don't need to save it? it
|
|
||||||
members? no, you would have to save it. I always just do C-x C-c (closes
|
|
||||||
all buffers) and save them all. I blieve if you try to revert-buffer it
|
|
||||||
will prompt you to save. Do i do this after restarting or before? C-c
|
|
||||||
C-s saves all buffers, C-c C-c exits.
|
|
||||||
|
|
||||||
M-x package-install circe <enter> M-x circe <enter> Can i
|
|
||||||
set a socks proxy? I am not sure... I don't understand all that v. well.
|
|
||||||
|
|
||||||
last year i read an article/list post how outdated emacs' networking is
|
|
||||||
and RMS agreed. i think the thread went viral ..
|
|
||||||
|
|
||||||
could be!
|
|
||||||
<https://stackoverflow.com/questions/19699294/make-emacs-access-to-https-over-socks-proxy>
|
|
||||||
|
|
||||||
I was just gonna paste this :P
|
|
||||||
|
|
||||||
how do i get into config mode?
|
|
||||||
|
|
||||||
do you mean the customize emacs thing?
|
|
||||||
|
|
||||||
to set socks-noproxy or socks-server. the config file ..
|
|
||||||
|
|
||||||
the config file is at \~/.emacs you can also change \~/.emacs.d/init.el
|
|
||||||
|
|
||||||
Thanks, i changed my mind and prefer to keep my sanity!
|
|
||||||
|
|
||||||
re: tor: we should use it for w3m tho, yah?
|
|
||||||
|
|
||||||
sure, always. :) does emacs mind if we take aways some sycalls from it?
|
|
||||||
|
|
||||||
random notes
|
|
||||||
------------
|
|
||||||
|
|
||||||
### useful things overview
|
### useful things overview
|
||||||
|
|
||||||
@ -185,4 +146,65 @@ So, I guess my first question is about how I make the bullets?
|
|||||||
|
|
||||||
Edit this guide: <https://irc.anarchyplanet.org/pad/p/dox-emacs>
|
Edit this guide: <https://irc.anarchyplanet.org/pad/p/dox-emacs>
|
||||||
|
|
||||||
|
### code syntax highlighting and evaluation
|
||||||
|
|
||||||
|
emacs provides support for lots of languages and you can start an
|
||||||
|
interpreter and run code with C-c C-c (evaluate buffer)
|
||||||
|
|
||||||
|
You can also do code blocks and tangle / weave for literate programming.
|
||||||
|
|
||||||
|
My friend always used indent region and it was impressingly fast
|
||||||
|
|
||||||
|
### org-pandoc
|
||||||
|
|
||||||
|
The **reason** to use org-mode is to provide a minimal amount of
|
||||||
|
functionality for organizing documents in plaintext that then can be
|
||||||
|
exported using pandoc with clean html (which we can add a little styling
|
||||||
|
etc) .. . once we have a format established, we can loosely require
|
||||||
|
people to add to pads in that format so that chhanges can be git pushed
|
||||||
|
and incorportated into the html. You can see an example of what the raw
|
||||||
|
html looks like here: <https://irc.anarchyplanet.org/dox/org.html>
|
||||||
|
|
||||||
|
### using org mode for IRC
|
||||||
|
|
||||||
|
how can i restart and save session? (keep buffers)
|
||||||
|
|
||||||
|
there's M-x revert-buffer or you can turn auto-revert-mode on so it will
|
||||||
|
reload every time the file changes. I've never used the second... rarely
|
||||||
|
the first, I always just close :P so i don't need to save it? it
|
||||||
|
members? no, you would have to save it. I always just do C-x C-c (closes
|
||||||
|
all buffers) and save them all. I blieve if you try to revert-buffer it
|
||||||
|
will prompt you to save. Do i do this after restarting or before? C-c
|
||||||
|
C-s saves all buffers, C-c C-c exits.
|
||||||
|
|
||||||
|
M-x package-install circe <enter> M-x circe <enter> Can i
|
||||||
|
set a socks proxy? I am not sure... I don't understand all that v. well.
|
||||||
|
|
||||||
|
last year i read an article/list post how outdated emacs' networking is
|
||||||
|
and RMS agreed. i think the thread went viral ..
|
||||||
|
|
||||||
|
could be!
|
||||||
|
<https://stackoverflow.com/questions/19699294/make-emacs-access-to-https-over-socks-proxy>
|
||||||
|
|
||||||
|
I was just gonna paste this :P
|
||||||
|
|
||||||
|
how do i get into config mode?
|
||||||
|
|
||||||
|
do you mean the customize emacs thing?
|
||||||
|
|
||||||
|
to set socks-noproxy or socks-server. the config file ..
|
||||||
|
|
||||||
|
the config file is at \~/.emacs you can also change \~/.emacs.d/init.el
|
||||||
|
|
||||||
|
Thanks, i changed my mind and prefer to keep my sanity!
|
||||||
|
|
||||||
|
re: tor: we should use it for w3m tho, yah?
|
||||||
|
|
||||||
|
sure, always. :) does emacs mind if we take aways some sycalls from it?
|
||||||
|
|
||||||
|
essential keys
|
||||||
|
==============
|
||||||
|
|
||||||
|
C-x 1 to return buffer to 1 window C-g to cancel a command C-h a to
|
||||||
|
search for commands tiling window: C-x \[1..3\] C-k cut C-y paste show
|
||||||
|
only headlines: navigate to first heading and do C-c C-k
|
99
docs/md/git.md
Normal file
99
docs/md/git.md
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
Git
|
||||||
|
===
|
||||||
|
|
||||||
|
To create a repo
|
||||||
|
----------------
|
||||||
|
|
||||||
|
on gogs
|
||||||
|
|
||||||
|
1. git config --global user.name "<gogsusername>@whatever"
|
||||||
|
2. create repo in gogs
|
||||||
|
|
||||||
|
on computer
|
||||||
|
|
||||||
|
1. apt install git
|
||||||
|
2. git clone repo
|
||||||
|
3. touch README.md
|
||||||
|
4. git add -A
|
||||||
|
5. git commit -m "first commit"
|
||||||
|
6. git push origin master
|
||||||
|
|
||||||
|
To collaborate on an existing repo
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
1. Be added as a collaborator
|
||||||
|
2. git clone <repo address (from gogs)>
|
||||||
|
3. `git checkout -b <branchname>`
|
||||||
|
- `-b` creates a new branch if one doesn't exist
|
||||||
|
- you can name branch anything, start w/ your gogs name
|
||||||
|
|
||||||
|
4. make changes
|
||||||
|
|
||||||
|
To push up your changes
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
1. `git checkout master`
|
||||||
|
2. `git pull origin master`
|
||||||
|
3. `git checkout <branchname>`
|
||||||
|
4. `git merge master`
|
||||||
|
5. `git add -A`
|
||||||
|
6. \~git commit -m "concise explanation of what I did"\~
|
||||||
|
7. `git push origin <yourname>`
|
||||||
|
8. submit a pull request
|
||||||
|
|
||||||
|
Change last commit before pushing: git add \[more files\] git commit
|
||||||
|
--amend
|
||||||
|
|
||||||
|
Walkthrough
|
||||||
|
===========
|
||||||
|
|
||||||
|
This little walkthrough uses this repository as an example.
|
||||||
|
|
||||||
|
Cloning
|
||||||
|
-------
|
||||||
|
|
||||||
|
`git clone https://irc.anarchyplanet.org/git/AnarchyPlanet/dox`
|
||||||
|
|
||||||
|
If you added a ssh key already: `git clone git@HOST:user/repo`
|
||||||
|
|
||||||
|
Forking
|
||||||
|
-------
|
||||||
|
|
||||||
|
To change a repository you'll need a local copy of it, this is called
|
||||||
|
forking a git repository.
|
||||||
|
|
||||||
|
You can do so by clicking on 'Fork' at the top right of the web
|
||||||
|
interface.
|
||||||
|
|
||||||
|
Remotes
|
||||||
|
-------
|
||||||
|
|
||||||
|
Git can manage multiple remote locations called `remotes`.
|
||||||
|
|
||||||
|
The default remote after cloning is `origin`. This makes sense when
|
||||||
|
cloning your own, if you started with someone else's repository it makes
|
||||||
|
sense to rename it to `upstream`:
|
||||||
|
|
||||||
|
`git remote rename origin upstream`
|
||||||
|
|
||||||
|
Now add your fork URL:
|
||||||
|
|
||||||
|
`git remote add origin git@irc.anarchyplanet.org:2222:USER/dox`
|
||||||
|
|
||||||
|
For this to work you need to define the key file in `.ssh/config`:
|
||||||
|
|
||||||
|
\`\`\` Host AP Hostname irc.anarchyplanet.org User git Port 2222
|
||||||
|
IdentityFile \~/.ssh/id~rsa~ \`\`\`
|
||||||
|
|
||||||
|
After this your .git/config should have these sections: \`\`\` \[remote
|
||||||
|
"upstream"\] url = <https://irc.anarchyplanet.org/git/AnarchyPlanet/dox>
|
||||||
|
fetch = +refs/heads/\*:refs/remotes/upstream/\*
|
||||||
|
|
||||||
|
\[remote "origin"\] url = AP:USER/dox fetch =
|
||||||
|
+refs/heads/\*:refs/remotes/origin/\* \[branch "master"\] remote =
|
||||||
|
upstream merge = refs/heads/master \`\`\`
|
||||||
|
|
||||||
|
Now you should be able to push:
|
||||||
|
`git push origin branchname --set-upstream origin branchname`
|
||||||
|
|
||||||
|
Edit this guide: <https://irc.anarchyplanet.org/pad/p/dox-git>
|
@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
author: anarchyplanet
|
||||||
|
html_head: '<link rel="stylesheet" type="text/css" href="css/htmlize.css"/>'
|
||||||
|
title: Anarchy Planet Projex
|
||||||
|
---
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
@ -10,8 +10,9 @@ How to Connect
|
|||||||
|
|
||||||
### using a client
|
### using a client
|
||||||
|
|
||||||
\`\`\` irc.anarchyplanet.org port 6667 irc.anarchyplanet.org port 6697
|
- irc.anarchyplanet.org port 6667
|
||||||
(SSL) km3jy7nrj3e2wiju.onion port 6667 || 6697 \`\`\`
|
- irc.anarchyplanet.org port 6697 (SSL)
|
||||||
|
- km3jy7nrj3e2wiju.onion port 6667 || 6697
|
||||||
|
|
||||||
### using tor
|
### using tor
|
||||||
|
|
64
docs/md/rsync.md
Normal file
64
docs/md/rsync.md
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
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*..
|
@ -1,86 +1,47 @@
|
|||||||
essential keystrokes:
|
(TAB to open bullets)
|
||||||
(TAB to open bullets) <-- do this lol
|
* emacs org mode
|
||||||
C-x 1 to return buffer to 1 window
|
|
||||||
C-g to cancel a command
|
|
||||||
C-h a to search for commands
|
|
||||||
tiling window: C-x [1..3]
|
|
||||||
C-k cut C-y paste
|
|
||||||
show only headlines: navigate to first heading and do C-c C-k
|
|
||||||
|
|
||||||
* emacs org mode
|
** README
|
||||||
|
The purpose of this guide is to provide a minimalist onboarding for the use or emacs org mode specifically for anarchy planet projex and dox.
|
||||||
|
|
||||||
** Overview
|
There are three basic things that are useful about org mode:
|
||||||
So there are two basic things that are useful about org mode:
|
1. It is PLAINTEXT ALL THE WAY BABY!
|
||||||
1. bullets are collapsible which makes it really easy to organize shit and move it around
|
2. bullets are collapsible which makes it really easy to organize shit and move it around
|
||||||
collapsible items rule!
|
collapsible items rule!
|
||||||
2. TODO items have a lot of functionality
|
3. TODO items have a lot of functionality (e.g. agenda)
|
||||||
|
|
||||||
so, my goal is actually to take projex_demo.org and make it something that is formatted in org mode, and the *reason* for that is that then we can export it using pandoc with clean html (which we can add a loittle styling etc) .. . once we have a format established, we can loosely require people to add to pads in that format so that chhanges can be git pushed and incorportated into the html. You can see an example of what the raw html looks like here: https://irc.anarchyplanet.org/dox/org.html
|
The longer-term goal is to convert ap/projex pads to org mode. see [[org-pandoc]] for more info.
|
||||||
|
|
||||||
*** Bullets
|
*** emacs keyboard shortcuts
|
||||||
- headings are organized with *
|
Written as, e.g., C-x C-f, which means CTRL-c CTRL-f (in succession)
|
||||||
|
M-x means META-x. the META key is (usually) ALT
|
||||||
|
https://orgmode.org/orgcard.pdf is a decent cheatsheet!
|
||||||
|
*** Headings
|
||||||
|
Place a * in front of some text: you've got a heading!
|
||||||
|
Place ** in front of some text: you've got a sub-heading!
|
||||||
|
Headings are COLLAPSIBLE: with cursor over a heading, hit TAB
|
||||||
|
Headings can be moved around easily
|
||||||
- M-<enter> to add new heading
|
- M-<enter> to add new heading
|
||||||
- M-<left> or M-<right> to promote / demote heading
|
- M-<left> or M-<right> to promote / demote heading
|
||||||
- TAB to expand/collapse trees
|
|
||||||
|
|
||||||
*** TODOs
|
*** TODOs
|
||||||
TODOs are actually probably not that relevant for projex because it's more for internal use ... maybe.
|
Make a heading followed by the word TODO: you've got a todo item!
|
||||||
**** DONE demo emacs org mode to data
|
**** DONE demo emacs org mode
|
||||||
**** DONE enable line wrap as default
|
**** DONE enable line wrap as default
|
||||||
**** TODO re-write projex in org mode style
|
**** TODO re-write projex in org mode style
|
||||||
- projex_demo.org is the test run of this.
|
projex_demo.org is the test run of this.
|
||||||
- C-c C-t to cycle through todo-done
|
- C-c C-t to cycle through todo-done
|
||||||
- You can add more options by adding #+TODO: TODO ONHOLD | DONE to the top of the page (requires restart)
|
- You can add more options by adding #+TODO: TODO ONHOLD | DONE to the top of the page (requires restart)
|
||||||
*** links
|
*** advanced
|
||||||
- link structure: [ [link][desc] ] (but without the spaces)
|
**** links
|
||||||
- [[file:test.org][file]] C-c C-o to open at point
|
- link structure: [ [link][desc] ] (but without the spaces)
|
||||||
this creates a split buffer. C-x o to switch between split buffers, C-x 1 to return the buffer to a single one.
|
- [[file:test.org][file]] C-c C-o to open at point
|
||||||
|
this creates a split buffer.
|
||||||
|
C-x o to switch between split buffers,
|
||||||
|
C-x 1 to return the buffer to a single one.
|
||||||
|
**** agenda mode
|
||||||
|
https://orgmode.org/worg/org-tutorials/orgtutorial_dto.html is a good tut.
|
||||||
|
|
||||||
*** code syntax highlighting and evaluation
|
** notes
|
||||||
|
|
||||||
emacs provides support for lots of languages and you can start an interpreter and run code with C-c C-c (evaluate buffer)
|
|
||||||
|
|
||||||
You can also do code blocks and tangle / weave for literate programming.
|
|
||||||
|
|
||||||
My friend always used indent region and it was impressingly fast
|
|
||||||
|
|
||||||
*** IRC
|
|
||||||
how can i restart and save session? (keep buffers)
|
|
||||||
|
|
||||||
there's M-x revert-buffer or
|
|
||||||
you can turn auto-revert-mode on so it will reload every time the file changes.
|
|
||||||
I've never used the second... rarely the first, I always just close :P
|
|
||||||
so i don't need to save it? it members?
|
|
||||||
no, you would have to save it. I always just do C-x C-c (closes all buffers) and save them all. I blieve if you try to revert-buffer it will prompt you to save. Do i do this after restarting or before?
|
|
||||||
C-c C-s saves all buffers, C-c C-c exits.
|
|
||||||
|
|
||||||
M-x package-install circe <enter>
|
|
||||||
M-x circe <enter>
|
|
||||||
Can i set a socks proxy?
|
|
||||||
I am not sure... I don't understand all that v. well.
|
|
||||||
|
|
||||||
last year i read an article/list post how outdated emacs' networking is and RMS agreed. i think the thread went viral ..
|
|
||||||
|
|
||||||
could be! https://stackoverflow.com/questions/19699294/make-emacs-access-to-https-over-socks-proxy
|
|
||||||
|
|
||||||
I was just gonna paste this :P
|
|
||||||
|
|
||||||
how do i get into config mode?
|
|
||||||
|
|
||||||
do you mean the customize emacs thing?
|
|
||||||
|
|
||||||
to set socks-noproxy or socks-server. the config file ..
|
|
||||||
|
|
||||||
the config file is at ~/.emacs
|
|
||||||
you can also change ~/.emacs.d/init.el
|
|
||||||
|
|
||||||
Thanks, i changed my mind and prefer to keep my sanity!
|
|
||||||
|
|
||||||
re: tor: we should use it for w3m tho, yah?
|
|
||||||
|
|
||||||
sure, always. :) does emacs mind if we take aways some sycalls from it?
|
|
||||||
|
|
||||||
** random notes
|
|
||||||
*** useful things overview
|
*** useful things overview
|
||||||
So there are two basic things that are useful about org mode:
|
So there are two basic things that are useful about org mode:
|
||||||
1. bullets are collapsible which makes it really easy to organize shit and move it around
|
1. bullets are collapsible which makes it really easy to organize shit and move it around
|
||||||
@ -137,3 +98,59 @@ Note for noobs: You have to have the cursor under the bullet tomove your text, n
|
|||||||
|
|
||||||
|
|
||||||
Edit this guide: https://irc.anarchyplanet.org/pad/p/dox-emacs
|
Edit this guide: https://irc.anarchyplanet.org/pad/p/dox-emacs
|
||||||
|
|
||||||
|
*** code syntax highlighting and evaluation
|
||||||
|
|
||||||
|
emacs provides support for lots of languages and you can start an interpreter and run code with C-c C-c (evaluate buffer)
|
||||||
|
|
||||||
|
You can also do code blocks and tangle / weave for literate programming.
|
||||||
|
|
||||||
|
My friend always used indent region and it was impressingly fast
|
||||||
|
|
||||||
|
*** org-pandoc
|
||||||
|
The *reason* to use org-mode is to provide a minimal amount of functionality for organizing documents in plaintext that then can be exported using pandoc with clean html (which we can add a little styling etc) .. . once we have a format established, we can loosely require people to add to pads in that format so that chhanges can be git pushed and incorportated into the html. You can see an example of what the raw html looks like here:
|
||||||
|
https://irc.anarchyplanet.org/dox/org.html
|
||||||
|
*** using org mode for IRC
|
||||||
|
how can i restart and save session? (keep buffers)
|
||||||
|
|
||||||
|
there's M-x revert-buffer or
|
||||||
|
you can turn auto-revert-mode on so it will reload every time the file changes.
|
||||||
|
I've never used the second... rarely the first, I always just close :P
|
||||||
|
so i don't need to save it? it members?
|
||||||
|
no, you would have to save it. I always just do C-x C-c (closes all buffers) and save them all. I blieve if you try to revert-buffer it will prompt you to save. Do i do this after restarting or before?
|
||||||
|
C-c C-s saves all buffers, C-c C-c exits.
|
||||||
|
|
||||||
|
M-x package-install circe <enter>
|
||||||
|
M-x circe <enter>
|
||||||
|
Can i set a socks proxy?
|
||||||
|
I am not sure... I don't understand all that v. well.
|
||||||
|
|
||||||
|
last year i read an article/list post how outdated emacs' networking is and RMS agreed. i think the thread went viral ..
|
||||||
|
|
||||||
|
could be! https://stackoverflow.com/questions/19699294/make-emacs-access-to-https-over-socks-proxy
|
||||||
|
|
||||||
|
I was just gonna paste this :P
|
||||||
|
|
||||||
|
how do i get into config mode?
|
||||||
|
|
||||||
|
do you mean the customize emacs thing?
|
||||||
|
|
||||||
|
to set socks-noproxy or socks-server. the config file ..
|
||||||
|
|
||||||
|
the config file is at ~/.emacs
|
||||||
|
you can also change ~/.emacs.d/init.el
|
||||||
|
|
||||||
|
Thanks, i changed my mind and prefer to keep my sanity!
|
||||||
|
|
||||||
|
re: tor: we should use it for w3m tho, yah?
|
||||||
|
|
||||||
|
sure, always. :) does emacs mind if we take aways some sycalls from it?
|
||||||
|
|
||||||
|
* essential keys
|
||||||
|
|
||||||
|
C-x 1 to return buffer to 1 window
|
||||||
|
C-g to cancel a command
|
||||||
|
C-h a to search for commands
|
||||||
|
tiling window: C-x [1..3]
|
||||||
|
C-k cut C-y paste
|
||||||
|
show only headlines: navigate to first heading and do C-c C-k
|
361
docs/org/git.html
Normal file
361
docs/org/git.html
Normal file
@ -0,0 +1,361 @@
|
|||||||
|
<?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>git</title>
|
||||||
|
<!-- 2019-01-29 Tue 12:39 -->
|
||||||
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
|
<meta name="generator" content="Org-mode" />
|
||||||
|
<meta name="author" content="root" />
|
||||||
|
<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">git</h1>
|
||||||
|
<div id="table-of-contents">
|
||||||
|
<h2>Table of Contents</h2>
|
||||||
|
<div id="text-table-of-contents">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#sec-1">1. Git</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#sec-1-1">1.1. To create a repo</a></li>
|
||||||
|
<li><a href="#sec-1-2">1.2. To collaborate on an existing repo</a></li>
|
||||||
|
<li><a href="#sec-1-3">1.3. To push up your changes</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#sec-2">2. Walkthrough</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#sec-2-1">2.1. Cloning</a></li>
|
||||||
|
<li><a href="#sec-2-2">2.2. Forking</a></li>
|
||||||
|
<li><a href="#sec-2-3">2.3. Remotes</a></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> Git</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> To create a repo</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-1">
|
||||||
|
<p>
|
||||||
|
on gogs
|
||||||
|
</p>
|
||||||
|
<ol class="org-ol">
|
||||||
|
<li>git config –global user.name "<gogsusername>@whatever"
|
||||||
|
</li>
|
||||||
|
<li>create repo in gogs
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
on computer
|
||||||
|
</p>
|
||||||
|
<ol class="org-ol">
|
||||||
|
<li>apt install git
|
||||||
|
</li>
|
||||||
|
<li>git clone repo
|
||||||
|
</li>
|
||||||
|
<li>touch README.md
|
||||||
|
</li>
|
||||||
|
<li>git add -A
|
||||||
|
</li>
|
||||||
|
<li>git commit -m "first commit"
|
||||||
|
</li>
|
||||||
|
<li>git push origin master
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</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> To collaborate on an existing repo</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-2">
|
||||||
|
<ol class="org-ol">
|
||||||
|
<li>Be added as a collaborator
|
||||||
|
</li>
|
||||||
|
<li>git clone <repo address (from gogs)>
|
||||||
|
</li>
|
||||||
|
<li><code>git checkout -b <branchname></code>
|
||||||
|
<ul class="org-ul">
|
||||||
|
<li><code>-b</code> creates a new branch if one doesn't exist
|
||||||
|
</li>
|
||||||
|
<li>you can name branch anything, start w/ your gogs name
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>make changes
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</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> To push up your changes</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-3">
|
||||||
|
<ol class="org-ol">
|
||||||
|
<li><code>git checkout master</code>
|
||||||
|
</li>
|
||||||
|
<li><code>git pull origin master</code>
|
||||||
|
</li>
|
||||||
|
<li><code>git checkout <branchname></code>
|
||||||
|
</li>
|
||||||
|
<li><code>git merge master</code>
|
||||||
|
</li>
|
||||||
|
<li><code>git add -A</code>
|
||||||
|
</li>
|
||||||
|
<li>~git commit -m "concise explanation of what I did"~
|
||||||
|
</li>
|
||||||
|
<li><code>git push origin <yourname></code>
|
||||||
|
</li>
|
||||||
|
<li>submit a pull request
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Change last commit before pushing:
|
||||||
|
git add [more files]
|
||||||
|
git commit –amend
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-sec-2" class="outline-2">
|
||||||
|
<h2 id="sec-2"><span class="section-number-2">2</span> Walkthrough</h2>
|
||||||
|
<div class="outline-text-2" id="text-2">
|
||||||
|
<p>
|
||||||
|
This little walkthrough uses this repository as an example.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-sec-2-1" class="outline-3">
|
||||||
|
<h3 id="sec-2-1"><span class="section-number-3">2.1</span> Cloning</h3>
|
||||||
|
<div class="outline-text-3" id="text-2-1">
|
||||||
|
<p>
|
||||||
|
<code>git clone https://irc.anarchyplanet.org/git/AnarchyPlanet/dox</code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If you added a ssh key already:
|
||||||
|
<code>git clone git@HOST:user/repo</code>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-sec-2-2" class="outline-3">
|
||||||
|
<h3 id="sec-2-2"><span class="section-number-3">2.2</span> Forking</h3>
|
||||||
|
<div class="outline-text-3" id="text-2-2">
|
||||||
|
<p>
|
||||||
|
To change a repository you'll need a local copy of it, this is called forking a git repository.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
You can do so by clicking on 'Fork' at the top right of the web interface.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-sec-2-3" class="outline-3">
|
||||||
|
<h3 id="sec-2-3"><span class="section-number-3">2.3</span> Remotes</h3>
|
||||||
|
<div class="outline-text-3" id="text-2-3">
|
||||||
|
<p>
|
||||||
|
Git can manage multiple remote locations called <code>remotes</code>.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The default remote after cloning is <code>origin</code>.
|
||||||
|
This makes sense when cloning your own, if you started with someone else's repository it makes sense to rename it to <code>upstream</code>:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<code>git remote rename origin upstream</code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Now add your fork URL:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<code>git remote add origin git@irc.anarchyplanet.org:2222:USER/dox</code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
For this to work you need to define the key file in <code>.ssh/config</code>:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
```
|
||||||
|
Host AP
|
||||||
|
Hostname irc.anarchyplanet.org
|
||||||
|
User git
|
||||||
|
Port 2222
|
||||||
|
IdentityFile ~/.ssh/id<sub>rsa</sub>
|
||||||
|
```
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
After this your .git/config should have these sections:
|
||||||
|
```
|
||||||
|
[remote "upstream"]
|
||||||
|
url = <a href="https://irc.anarchyplanet.org/git/AnarchyPlanet/dox">https://irc.anarchyplanet.org/git/AnarchyPlanet/dox</a>
|
||||||
|
fetch = +refs/heads/*:refs/remotes/upstream/*
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
[remote "origin"]
|
||||||
|
url = AP:USER/dox
|
||||||
|
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||||
|
[branch "master"]
|
||||||
|
remote = upstream
|
||||||
|
merge = refs/heads/master
|
||||||
|
```
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Now you should be able to push:
|
||||||
|
<code>git push origin branchname --set-upstream origin branchname</code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Edit this guide: <a href="https://irc.anarchyplanet.org/pad/p/dox-git">https://irc.anarchyplanet.org/pad/p/dox-git</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="postamble" class="status">
|
||||||
|
<p class="author">Author: root</p>
|
||||||
|
<p class="date">Created: 2019-01-29 Tue 12:39</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>
|
46
docs/scripts/pandoc.sh
Executable file
46
docs/scripts/pandoc.sh
Executable file
@ -0,0 +1,46 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# -s makes the doc a standalone document instead of a snippet
|
||||||
|
for doc in org/*.org
|
||||||
|
do
|
||||||
|
# this will return a list of files like 'org/somefile.org'
|
||||||
|
# to only get the filename we could enter the folder or
|
||||||
|
# use sed to replace it by regex or use basename.
|
||||||
|
filename=$(basename $doc) # we want to get rid of .org
|
||||||
|
nosuffix=$(echo "$filename"|sed -E "s/\.org$//")
|
||||||
|
# this looks terrible, i know. -E makes it POSIX compatible
|
||||||
|
# $ locks it to the end, ^ to the beginning
|
||||||
|
# * . ( ) { } [ ] need to be escaped with \
|
||||||
|
htmlfile="html/$nosuffix.html"
|
||||||
|
|
||||||
|
|
||||||
|
echo "$doc > $htmlfile"
|
||||||
|
pandoc -s --toc $doc -o - | \
|
||||||
|
sed -E "s/(<\/title>)/\1\n <link rel=\"stylesheet\" type=\"text\/css\" href=\"css\/style.css\">/" | \
|
||||||
|
sed -E "s/(<body>)/\1\n<div class=\"container\">\n/" | \
|
||||||
|
sed -E "s/(<\/body>)/\n<\/div>\n\1>/" > $htmlfile
|
||||||
|
|
||||||
|
pandoc -s $doc -o md/$nosuffix.md
|
||||||
|
|
||||||
|
# lets try!
|
||||||
|
# after this, I would like to do a bit of styling, but not sure what
|
||||||
|
# that looks like yet. maybe done in CSS instead .
|
||||||
|
# search and replace? it depends on how the CSS is.
|
||||||
|
# The Skeleton template requires that everything is wrapped in a
|
||||||
|
# div class="container" for example, but we could put the container
|
||||||
|
# styling on body instaed. etc. Whatever has the least overhead.
|
||||||
|
|
||||||
|
done # thanks emacs!
|
||||||
|
|
||||||
|
# one time only
|
||||||
|
pandoc org/README.org -o ./README.md
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# one more thing: we need to write the link to the css stylesheet... one sec
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# fi!
|
||||||
|
|
@ -1,418 +0,0 @@
|
|||||||
/*
|
|
||||||
* Skeleton V2.0.4
|
|
||||||
* Copyright 2014, Dave Gamache
|
|
||||||
* www.getskeleton.com
|
|
||||||
* Free to use under the MIT license.
|
|
||||||
* http://www.opensource.org/licenses/mit-license.php
|
|
||||||
* 12/29/2014
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Table of contents
|
|
||||||
––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
||||||
- Grid
|
|
||||||
- Base Styles
|
|
||||||
- Typography
|
|
||||||
- Links
|
|
||||||
- Buttons
|
|
||||||
- Forms
|
|
||||||
- Lists
|
|
||||||
- Code
|
|
||||||
- Tables
|
|
||||||
- Spacing
|
|
||||||
- Utilities
|
|
||||||
- Clearing
|
|
||||||
- Media Queries
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Grid
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
.container {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 960px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0 20px;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
.column,
|
|
||||||
.columns {
|
|
||||||
width: 100%;
|
|
||||||
float: left;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
|
|
||||||
/* For devices larger than 400px */
|
|
||||||
@media (min-width: 400px) {
|
|
||||||
.container {
|
|
||||||
width: 85%;
|
|
||||||
padding: 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* For devices larger than 550px */
|
|
||||||
@media (min-width: 550px) {
|
|
||||||
.container {
|
|
||||||
width: 80%; }
|
|
||||||
.column,
|
|
||||||
.columns {
|
|
||||||
margin-left: 4%; }
|
|
||||||
.column:first-child,
|
|
||||||
.columns:first-child {
|
|
||||||
margin-left: 0; }
|
|
||||||
|
|
||||||
.one.column,
|
|
||||||
.one.columns { width: 4.66666666667%; }
|
|
||||||
.two.columns { width: 13.3333333333%; }
|
|
||||||
.three.columns { width: 22%; }
|
|
||||||
.four.columns { width: 30.6666666667%; }
|
|
||||||
.five.columns { width: 39.3333333333%; }
|
|
||||||
.six.columns { width: 48%; }
|
|
||||||
.seven.columns { width: 56.6666666667%; }
|
|
||||||
.eight.columns { width: 65.3333333333%; }
|
|
||||||
.nine.columns { width: 74.0%; }
|
|
||||||
.ten.columns { width: 82.6666666667%; }
|
|
||||||
.eleven.columns { width: 91.3333333333%; }
|
|
||||||
.twelve.columns { width: 100%; margin-left: 0; }
|
|
||||||
|
|
||||||
.one-third.column { width: 30.6666666667%; }
|
|
||||||
.two-thirds.column { width: 65.3333333333%; }
|
|
||||||
|
|
||||||
.one-half.column { width: 48%; }
|
|
||||||
|
|
||||||
/* Offsets */
|
|
||||||
.offset-by-one.column,
|
|
||||||
.offset-by-one.columns { margin-left: 8.66666666667%; }
|
|
||||||
.offset-by-two.column,
|
|
||||||
.offset-by-two.columns { margin-left: 17.3333333333%; }
|
|
||||||
.offset-by-three.column,
|
|
||||||
.offset-by-three.columns { margin-left: 26%; }
|
|
||||||
.offset-by-four.column,
|
|
||||||
.offset-by-four.columns { margin-left: 34.6666666667%; }
|
|
||||||
.offset-by-five.column,
|
|
||||||
.offset-by-five.columns { margin-left: 43.3333333333%; }
|
|
||||||
.offset-by-six.column,
|
|
||||||
.offset-by-six.columns { margin-left: 52%; }
|
|
||||||
.offset-by-seven.column,
|
|
||||||
.offset-by-seven.columns { margin-left: 60.6666666667%; }
|
|
||||||
.offset-by-eight.column,
|
|
||||||
.offset-by-eight.columns { margin-left: 69.3333333333%; }
|
|
||||||
.offset-by-nine.column,
|
|
||||||
.offset-by-nine.columns { margin-left: 78.0%; }
|
|
||||||
.offset-by-ten.column,
|
|
||||||
.offset-by-ten.columns { margin-left: 86.6666666667%; }
|
|
||||||
.offset-by-eleven.column,
|
|
||||||
.offset-by-eleven.columns { margin-left: 95.3333333333%; }
|
|
||||||
|
|
||||||
.offset-by-one-third.column,
|
|
||||||
.offset-by-one-third.columns { margin-left: 34.6666666667%; }
|
|
||||||
.offset-by-two-thirds.column,
|
|
||||||
.offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
|
|
||||||
|
|
||||||
.offset-by-one-half.column,
|
|
||||||
.offset-by-one-half.columns { margin-left: 52%; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Base Styles
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
/* NOTE
|
|
||||||
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
|
||||||
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
|
||||||
html {
|
|
||||||
font-size: 62.5%; }
|
|
||||||
body {
|
|
||||||
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
|
|
||||||
line-height: 1.6;
|
|
||||||
font-weight: 400;
|
|
||||||
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
||||||
color: #222; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Typography
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
font-weight: 300; }
|
|
||||||
h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
|
|
||||||
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
|
|
||||||
h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
|
|
||||||
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
|
|
||||||
h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
|
|
||||||
h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
|
|
||||||
|
|
||||||
/* Larger than phablet */
|
|
||||||
@media (min-width: 550px) {
|
|
||||||
h1 { font-size: 5.0rem; }
|
|
||||||
h2 { font-size: 4.2rem; }
|
|
||||||
h3 { font-size: 3.6rem; }
|
|
||||||
h4 { font-size: 3.0rem; }
|
|
||||||
h5 { font-size: 2.4rem; }
|
|
||||||
h6 { font-size: 1.5rem; }
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-top: 0; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Links
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
a {
|
|
||||||
color: #1EAEDB; }
|
|
||||||
a:hover {
|
|
||||||
color: #0FA0CE; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Buttons
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
.button,
|
|
||||||
button,
|
|
||||||
input[type="submit"],
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="button"] {
|
|
||||||
display: inline-block;
|
|
||||||
height: 38px;
|
|
||||||
padding: 0 30px;
|
|
||||||
color: #555;
|
|
||||||
text-align: center;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 38px;
|
|
||||||
letter-spacing: .1rem;
|
|
||||||
text-transform: uppercase;
|
|
||||||
text-decoration: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
background-color: transparent;
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid #bbb;
|
|
||||||
cursor: pointer;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
.button:hover,
|
|
||||||
button:hover,
|
|
||||||
input[type="submit"]:hover,
|
|
||||||
input[type="reset"]:hover,
|
|
||||||
input[type="button"]:hover,
|
|
||||||
.button:focus,
|
|
||||||
button:focus,
|
|
||||||
input[type="submit"]:focus,
|
|
||||||
input[type="reset"]:focus,
|
|
||||||
input[type="button"]:focus {
|
|
||||||
color: #333;
|
|
||||||
border-color: #888;
|
|
||||||
outline: 0; }
|
|
||||||
.button.button-primary,
|
|
||||||
button.button-primary,
|
|
||||||
input[type="submit"].button-primary,
|
|
||||||
input[type="reset"].button-primary,
|
|
||||||
input[type="button"].button-primary {
|
|
||||||
color: #FFF;
|
|
||||||
background-color: #33C3F0;
|
|
||||||
border-color: #33C3F0; }
|
|
||||||
.button.button-primary:hover,
|
|
||||||
button.button-primary:hover,
|
|
||||||
input[type="submit"].button-primary:hover,
|
|
||||||
input[type="reset"].button-primary:hover,
|
|
||||||
input[type="button"].button-primary:hover,
|
|
||||||
.button.button-primary:focus,
|
|
||||||
button.button-primary:focus,
|
|
||||||
input[type="submit"].button-primary:focus,
|
|
||||||
input[type="reset"].button-primary:focus,
|
|
||||||
input[type="button"].button-primary:focus {
|
|
||||||
color: #FFF;
|
|
||||||
background-color: #1EAEDB;
|
|
||||||
border-color: #1EAEDB; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Forms
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
input[type="email"],
|
|
||||||
input[type="number"],
|
|
||||||
input[type="search"],
|
|
||||||
input[type="text"],
|
|
||||||
input[type="tel"],
|
|
||||||
input[type="url"],
|
|
||||||
input[type="password"],
|
|
||||||
textarea,
|
|
||||||
select {
|
|
||||||
height: 38px;
|
|
||||||
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #D1D1D1;
|
|
||||||
border-radius: 4px;
|
|
||||||
box-shadow: none;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
/* Removes awkward default styles on some inputs for iOS */
|
|
||||||
input[type="email"],
|
|
||||||
input[type="number"],
|
|
||||||
input[type="search"],
|
|
||||||
input[type="text"],
|
|
||||||
input[type="tel"],
|
|
||||||
input[type="url"],
|
|
||||||
input[type="password"],
|
|
||||||
textarea {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
-moz-appearance: none;
|
|
||||||
appearance: none; }
|
|
||||||
textarea {
|
|
||||||
min-height: 65px;
|
|
||||||
padding-top: 6px;
|
|
||||||
padding-bottom: 6px; }
|
|
||||||
input[type="email"]:focus,
|
|
||||||
input[type="number"]:focus,
|
|
||||||
input[type="search"]:focus,
|
|
||||||
input[type="text"]:focus,
|
|
||||||
input[type="tel"]:focus,
|
|
||||||
input[type="url"]:focus,
|
|
||||||
input[type="password"]:focus,
|
|
||||||
textarea:focus,
|
|
||||||
select:focus {
|
|
||||||
border: 1px solid #33C3F0;
|
|
||||||
outline: 0; }
|
|
||||||
label,
|
|
||||||
legend {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
font-weight: 600; }
|
|
||||||
fieldset {
|
|
||||||
padding: 0;
|
|
||||||
border-width: 0; }
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
display: inline; }
|
|
||||||
label > .label-body {
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: .5rem;
|
|
||||||
font-weight: normal; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Lists
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
ul {
|
|
||||||
list-style: circle inside; }
|
|
||||||
ol {
|
|
||||||
list-style: decimal inside; }
|
|
||||||
ol, ul {
|
|
||||||
padding-left: 0;
|
|
||||||
margin-top: 0; }
|
|
||||||
ul ul,
|
|
||||||
ul ol,
|
|
||||||
ol ol,
|
|
||||||
ol ul {
|
|
||||||
margin: 1.5rem 0 1.5rem 3rem;
|
|
||||||
font-size: 90%; }
|
|
||||||
li {
|
|
||||||
margin-bottom: 1rem; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Code
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
code {
|
|
||||||
padding: .2rem .5rem;
|
|
||||||
margin: 0 .2rem;
|
|
||||||
font-size: 90%;
|
|
||||||
white-space: nowrap;
|
|
||||||
background: #F1F1F1;
|
|
||||||
border: 1px solid #E1E1E1;
|
|
||||||
border-radius: 4px; }
|
|
||||||
pre > code {
|
|
||||||
display: block;
|
|
||||||
padding: 1rem 1.5rem;
|
|
||||||
white-space: pre; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Tables
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
th,
|
|
||||||
td {
|
|
||||||
padding: 12px 15px;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid #E1E1E1; }
|
|
||||||
th:first-child,
|
|
||||||
td:first-child {
|
|
||||||
padding-left: 0; }
|
|
||||||
th:last-child,
|
|
||||||
td:last-child {
|
|
||||||
padding-right: 0; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Spacing
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
button,
|
|
||||||
.button {
|
|
||||||
margin-bottom: 1rem; }
|
|
||||||
input,
|
|
||||||
textarea,
|
|
||||||
select,
|
|
||||||
fieldset {
|
|
||||||
margin-bottom: 1.5rem; }
|
|
||||||
pre,
|
|
||||||
blockquote,
|
|
||||||
dl,
|
|
||||||
figure,
|
|
||||||
table,
|
|
||||||
p,
|
|
||||||
ul,
|
|
||||||
ol,
|
|
||||||
form {
|
|
||||||
margin-bottom: 2.5rem; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Utilities
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
.u-full-width {
|
|
||||||
width: 100%;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
.u-max-full-width {
|
|
||||||
max-width: 100%;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
.u-pull-right {
|
|
||||||
float: right; }
|
|
||||||
.u-pull-left {
|
|
||||||
float: left; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Misc
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
hr {
|
|
||||||
margin-top: 3rem;
|
|
||||||
margin-bottom: 3.5rem;
|
|
||||||
border-width: 0;
|
|
||||||
border-top: 1px solid #E1E1E1; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Clearing
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
|
|
||||||
/* Self Clearing Goodness */
|
|
||||||
.container:after,
|
|
||||||
.row:after,
|
|
||||||
.u-cf {
|
|
||||||
content: "";
|
|
||||||
display: table;
|
|
||||||
clear: both; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Media Queries
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
/*
|
|
||||||
Note: The best way to structure the use of media queries is to create the queries
|
|
||||||
near the relevant code. For example, if you wanted to change the styles for buttons
|
|
||||||
on small devices, paste the mobile query code up in the buttons section and style it
|
|
||||||
there.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Larger than mobile */
|
|
||||||
@media (min-width: 400px) {}
|
|
||||||
|
|
||||||
/* Larger than phablet (also point when grid becomes active) */
|
|
||||||
@media (min-width: 550px) {}
|
|
||||||
|
|
||||||
/* Larger than tablet */
|
|
||||||
@media (min-width: 750px) {}
|
|
||||||
|
|
||||||
/* Larger than desktop */
|
|
||||||
@media (min-width: 1000px) {}
|
|
||||||
|
|
||||||
/* Larger than Desktop HD */
|
|
||||||
@media (min-width: 1200px) {}
|
|
459
html/index.html
459
html/index.html
@ -1,459 +0,0 @@
|
|||||||
<?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>index</title>
|
|
||||||
<!-- 2019-01-12 Sat 19:32 -->
|
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
||||||
<meta name="generator" content="Org-mode" />
|
|
||||||
<meta name="author" content="anarchyplanet" />
|
|
||||||
<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>
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/htmlize.css"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/readtheorg.css"/>
|
|
||||||
<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">index</h1>
|
|
||||||
<div id="table-of-contents">
|
|
||||||
<h2>Table of Contents</h2>
|
|
||||||
<div id="text-table-of-contents">
|
|
||||||
<ul>
|
|
||||||
<li><a href="#sec-1">1. Introduction</a></li>
|
|
||||||
<li><a href="#sec-2">2. Tech Tuesday Topics</a></li>
|
|
||||||
<li><a href="#sec-3">3. tools</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<p>
|
|
||||||
#+TITLE Anarchy Planet Projex
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-sec-1" class="outline-2">
|
|
||||||
<h2 id="sec-1"><span class="section-number-2">1</span> Introduction</h2>
|
|
||||||
<div class="outline-text-2" id="text-1">
|
|
||||||
<p>
|
|
||||||
The purpose of this project is to protoype a process of collaborating with strangers over the internet on mutual interests, with a trajectory toward infosec/osint topics. Its current manifestion is a series of 'Anarchy Planet Tech Tuesdays' tutorials where we get together Tuesdays 8PM EST to go over a topic of choice.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Goals include:
|
|
||||||
</p>
|
|
||||||
<ul class="org-ul">
|
|
||||||
<li>creating documentation of our proesses for internal use (and possibly for sharing in the future if it doesn't suck)
|
|
||||||
</li>
|
|
||||||
<li>discovering and using (and possibly developing) FOSS tools, in particular tools for collaboration
|
|
||||||
</li>
|
|
||||||
<li>creating a 'website' for keeping track of our notes that users can edit, with some sort of version control (hopefully git)
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Feel free to generate your own tutorial topics, with the constraint that the tutorials should be:
|
|
||||||
</p>
|
|
||||||
<ol class="org-ol">
|
|
||||||
<li>short. something we can do together start to finish in 1-2 hours.
|
|
||||||
</li>
|
|
||||||
<li>tangible. we should have something by the end that we didn't have before, such as an email address with gpg enabled.
|
|
||||||
</li>
|
|
||||||
<li>FOSS all day erry day
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
This project has an implicit tagline: "Can we even get one tutorial off the ground?" We've all felt the frustration of starting a project full of enthusiasm and motivation to accomplish huge goals, only for the initial excitement to wane as people get busy and drift on to other tasks. So this project is about starting small. Can we even complete one tutorial together? Can we break our grand plans into tiny projects that we can execute without requiring massive amounts of people capable of devoting massive amounts of time and energy? And if we can't, how can we hope to accomplish larger and messier goals without repeating the cycle of early enthusiasm and eventual burnout?
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Another motivation is to develop a process of creating documentation through 'user testing'– that is, understanding what someone needs to know in order to accomplish a task, and then providing that information and that information only. I find this more helpful than providing someone the entire history of the internet and expecting them to develop a deep understanding of every related concept and skill every time they try to read a tutorial. Ultimately I hope this will result in building a shareable corpus of knowledge, but even if this task fails we will at least have the pieces we create which should be already useful in themselves.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Finally, this project is about building rapport with our collaborators as we go through this process together. At the very least we will end up with onboarding documentation that can help new people who come into the process late, or who decide to go through their own process. And at best we will also have data about whether or not a group of loosely-affiliated strangers on the internet can collaborate together to work toward their goals, leveraging existing infrastructure that exists by keeping track of their process and developing strategies for sharing that process. Can we?
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="outline-container-sec-2" class="outline-2">
|
|
||||||
<h2 id="sec-2"><span class="section-number-2">2</span> Tech Tuesday Topics</h2>
|
|
||||||
<div class="outline-text-2" id="text-2">
|
|
||||||
<ul class="org-ul">
|
|
||||||
<li>setting up IRC to run through Tor (hexchat, irssi, freenode w/ tor) <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>
|
|
||||||
</li>
|
|
||||||
<li>Inspircd, Atheme Services, setting up channels <a href="https://irc.anarchyplanet.org/pad/p/inspircdathemelimnoria">https://irc.anarchyplanet.org/pad/p/inspircdathemelimnoria</a>
|
|
||||||
</li>
|
|
||||||
<li>Novatore The Bot (i.e., Limnoria, python) <a href="https://irc.anarchyplanet.org/pad/p/novatoreonboard">https://irc.anarchyplanet.org/pad/p/novatoreonboard</a>
|
|
||||||
</li>
|
|
||||||
<li>using fishlim with hexchat / irssi: <a href="https://irc.anarchyplanet.org/pad/p/fish">https://irc.anarchyplanet.org/pad/p/fish</a>
|
|
||||||
</li>
|
|
||||||
<li>setting up and using GPG: <a href="https://irc.anarchyplanet.org/pad/p/gpg">https://irc.anarchyplanet.org/pad/p/gpg</a>
|
|
||||||
</li>
|
|
||||||
<li>setting up ssh keys <a href="https://irc.anarchyplanet.org/pad/p/ssh">https://irc.anarchyplanet.org/pad/p/ssh</a>
|
|
||||||
</li>
|
|
||||||
<li>xmpp with OTR and OMEMO <a href="https://irc.anarchyplanet.org/pad/p/xmpp">https://irc.anarchyplanet.org/pad/p/xmpp</a>
|
|
||||||
</li>
|
|
||||||
<li>setting up host files to block advertisements <a href="https://en.wikipedia.org/wiki/Hosts_(file)">https://en.wikipedia.org/wiki/Hosts_(file)</a> (beware effects on fingerprintability)
|
|
||||||
</li>
|
|
||||||
<li>VPNS
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>host your own IRC <a href="https://irc.anarchyplanet.org/pad/p/inspircd">https://irc.anarchyplanet.org/pad/p/inspircd</a>
|
|
||||||
</li>
|
|
||||||
<li>self-hosting w/ Nginx
|
|
||||||
</li>
|
|
||||||
<li>make etherpad not require the <i>p</i> (i.e. nginx)
|
|
||||||
</li>
|
|
||||||
<li>audio streaming
|
|
||||||
</li>
|
|
||||||
<li>osint
|
|
||||||
</li>
|
|
||||||
<li>send and receive bitcoin (and/or other cryptocurrency? and setting up group wallets?) <a href="https://archive.cyberguerrilla.org/a/2017/cgan-course-4-todays-lesson-what-is-btc/">https://archive.cyberguerrilla.org/a/2017/cgan-course-4-todays-lesson-what-is-btc/</a>
|
|
||||||
</li>
|
|
||||||
<li>set up i2p <a href="https://www.reddit.com/r/i2p/comments/1tlqct/irc_on_i2p_irc2p_startup_guide/">https://www.reddit.com/r/i2p/comments/1tlqct/irc_on_i2p_irc2p_startup_guide/</a>
|
|
||||||
</li>
|
|
||||||
<li>ipfs
|
|
||||||
</li>
|
|
||||||
<li>mesh <a href="https://en.wikipedia.org/wiki/OpenWrt">https://en.wikipedia.org/wiki/OpenWrt</a>
|
|
||||||
</li>
|
|
||||||
<li>bootloaders: how do they work? <3
|
|
||||||
</li>
|
|
||||||
<li>zsh <a href="https://ohmyz.sh/">https://ohmyz.sh/</a> - Plugins: <a href="https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins">https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins</a> - zsh.org - <a href="https://en.wikipedia.org/wiki/Z_shell">https://en.wikipedia.org/wiki/Z_shell</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="outline-container-sec-3" class="outline-2">
|
|
||||||
<h2 id="sec-3"><span class="section-number-2">3</span> tools</h2>
|
|
||||||
<div class="outline-text-2" id="text-3">
|
|
||||||
<p>
|
|
||||||
email resources
|
|
||||||
<a href="https://pad.anarchistnews.org/p/letsgobois">https://pad.anarchistnews.org/p/letsgobois</a>
|
|
||||||
<a href="https://projex.neocities.org">https://projex.neocities.org</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
wiki
|
|
||||||
<a href="http://pad.anarchistnews.org/p/wiki">http://pad.anarchistnews.org/p/wiki</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
fileshare resources
|
|
||||||
<a href="https://github.com/micahflee/onionshare">https://github.com/micahflee/onionshare</a>
|
|
||||||
syncthing
|
|
||||||
gobby (collaborative writing / code development) <a href="https://gobby.github.io">https://gobby.github.io</a> - setup server: <a href="https://irc.anarchyplanet.org/pad/p/obby">https://irc.anarchyplanet.org/pad/p/obby</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
git resources
|
|
||||||
gitea
|
|
||||||
gitosis <a href="https://git-scm.com/book/en/v1/Git-on-the-Server-Gitosis">https://git-scm.com/book/en/v1/Git-on-the-Server-Gitosis</a>
|
|
||||||
gobalist <a href="https://irc.anarchyplanet.org/pad/p/globalist">https://irc.anarchyplanet.org/pad/p/globalist</a>
|
|
||||||
gogs
|
|
||||||
gitweb
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
IRC
|
|
||||||
<a href="http://www.inspircd.org/">http://www.inspircd.org/</a>
|
|
||||||
atheme
|
|
||||||
<a href="https://limnoria.readthedocs.io/en/latest/use/index.html">https://limnoria.readthedocs.io/en/latest/use/index.html</a>
|
|
||||||
<a href="https://irc.anarchyplanet.org/pad/p/kiwi-onion">https://irc.anarchyplanet.org/pad/p/kiwi-onion</a>
|
|
||||||
<a href="http://gribble.sourceforge.net/supybook">http://gribble.sourceforge.net/supybook</a>
|
|
||||||
briar <a href="https://media.ccc.de/v/34c3-8937-briar">https://media.ccc.de/v/34c3-8937-briar</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
terminals
|
|
||||||
if you love your console: apt search dwm
|
|
||||||
tmux
|
|
||||||
</p>
|
|
||||||
<ul class="org-ul">
|
|
||||||
<li>post text and images <a href="http://ix.io/">http://ix.io/</a> - <a href="https://0xacab.org/riseup/share/up1-cli-client-nodejs">https://0xacab.org/riseup/share/up1-cli-client-nodejs</a>
|
|
||||||
</li>
|
|
||||||
<li>bash scripts (for, {}, ..)
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
editos
|
|
||||||
emacs-orgmode
|
|
||||||
vi <a href="http://www.penguintutor.com/linux/vi-texteditor-tutorial">http://www.penguintutor.com/linux/vi-texteditor-tutorial</a>
|
|
||||||
focuswriter
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
|
||||||
forums
|
|
||||||
<a href="https://flaskbb.org/">https://flaskbb.org/</a> (meh)
|
|
||||||
session: together test which cms of @LIST is eaiest to setup
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
imgboard
|
|
||||||
(chans not run by neonazis, maybe?)
|
|
||||||
anokchan.org ;-) <3
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
privacy
|
|
||||||
'privacy' is a myth but that doesn't mean we should just give all of the companies and the state all of our data. it actually matters a lot (i.e. they are very much able to invade your life in powerful ways by mining your data) <3 <3
|
|
||||||
<a href="https://riseup.net/security/resources">https://riseup.net/security/resources</a>
|
|
||||||
<a href="https://www.privacytools.io">https://www.privacytools.io</a>
|
|
||||||
<a href="https://prism-break.org">https://prism-break.org</a>
|
|
||||||
<a href="https://unhosted.org">https://unhosted.org</a>
|
|
||||||
<a href="https://www.reddit.com/r/NSALeaks/wiki/index">https://www.reddit.com/r/NSALeaks/wiki/index</a>
|
|
||||||
<a href="https://www.reddit.com/r/NSALeaks">https://www.reddit.com/r/NSALeaks</a>
|
|
||||||
TAO / JTRIG <img src="https://i.imgur.com/yzpKDPH.png" alt="yzpKDPH.png" />
|
|
||||||
<a href="https://www.reddit.com/r/worldnews/comments/22sv1o/nsa_said_to_have_used_heartbleed_bug_exposing/">https://www.reddit.com/r/worldnews/comments/22sv1o/nsa_said_to_have_used_heartbleed_bug_exposing/</a>
|
|
||||||
<a href="https://www.smh.com.au/technology/man-who-introduced-serious-heartbleed-security-flaw-denies-he-inserted-it-deliberately-20140410-zqta1.html">https://www.smh.com.au/technology/man-who-introduced-serious-heartbleed-security-flaw-denies-he-inserted-it-deliberately-20140410-zqta1.html</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
self-hosting
|
|
||||||
sql <a href="https://blog.secaserver.com/tag/haproxy-mysql-load-balance/">https://blog.secaserver.com/tag/haproxy-mysql-load-balance/</a>
|
|
||||||
mail <a href="https://medium.com/@kevinsimper/self-hosting-email-in-2016-is-still-hard-797a6320bfa8">https://medium.com/@kevinsimper/self-hosting-email-in-2016-is-still-hard-797a6320bfa8</a>
|
|
||||||
redis
|
|
||||||
</p>
|
|
||||||
<ul class="org-ul">
|
|
||||||
<li>easy backup: <a href="https://redis.io/topics/persistence">https://redis.io/topics/persistence</a>
|
|
||||||
</li>
|
|
||||||
<li>sharing files: <a href="https://redislabs.com/ebook/part-2-core-concepts/chapter-6-application-components-in-redis/6-6-distributing-files-with-redis/">https://redislabs.com/ebook/part-2-core-concepts/chapter-6-application-components-in-redis/6-6-distributing-files-with-redis/</a>
|
|
||||||
</li>
|
|
||||||
<li>load balancing: <a href="https://redis.io/topics/sentinel">https://redis.io/topics/sentinel</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
|
||||||
tor
|
|
||||||
tor is more than a anonymization client but has a wide ecosystem:
|
|
||||||
<a href="https://www.torproject.org/projects/projects">https://www.torproject.org/projects/projects</a>
|
|
||||||
<a href="https://www.torproject.org/projects/community.html.en">https://www.torproject.org/projects/community.html.en</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
'is tor safe' see vanguards:
|
|
||||||
Possible quests:
|
|
||||||
install the ooni app on your smartphone to measure censorship: <a href="https://lists.torproject.org/pipermail/ooni-dev/2018-November/000544.html">https://lists.torproject.org/pipermail/ooni-dev/2018-November/000544.html</a>
|
|
||||||
set up a cdn with two onion nodes via onionbalance
|
|
||||||
publish a git repository via globalist and let everyone in the group add a commit
|
|
||||||
create damn secret underground chat group with cwtch.im "Warning: Cwtch is an experimental prototype. Please do not use it for anything where security, privacy, or anonymity is critical." lol
|
|
||||||
create an onion farm with tor controllers like bine stem or carml
|
|
||||||
run tor-ramdisk in a vm
|
|
||||||
secure communication
|
|
||||||
find out why Perfect Forward Secrecy and metadata protection are important
|
|
||||||
have an end to end encrypted goup chat: <a href="https://cwtch.im">https://cwtch.im</a>
|
|
||||||
meet via voice/video chat: <a href="https://meet.jit.si/">https://meet.jit.si/</a>
|
|
||||||
use OMEMO <a href="https://omemo.top/">https://omemo.top/</a>
|
|
||||||
alternatives: <a href="https://prism-break.org/en/subcategories/gnu-linux-video-voice/">https://prism-break.org/en/subcategories/gnu-linux-video-voice/</a>
|
|
||||||
Be careful with your phones and tell your friends: <a href="https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations">https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations</a>
|
|
||||||
read more on security <a href="https://riseup.net/en/security/resources">https://riseup.net/en/security/resources</a> ie. <a href="https://ssd.eff.org/">https://ssd.eff.org/</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
cgAn
|
|
||||||
<a href="https://archive.cyberguerrilla.org/a/2017/?s=course&submit_x=0&submit_y=0">https://archive.cyberguerrilla.org/a/2017/?s=course&submit_x=0&submit_y=0</a>
|
|
||||||
<a href="https://irc.anarchyplanet.org/pad/p/othertutorials">https://irc.anarchyplanet.org/pad/p/othertutorials</a>
|
|
||||||
<a href="https://newblood.anonops.com/security.html">https://newblood.anonops.com/security.html</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="https://irc.anarchyplanet.org/pad/p/jellyfish">https://irc.anarchyplanet.org/pad/p/jellyfish</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="https://startyourownisp.com/">https://startyourownisp.com/</a>
|
|
||||||
connect to freenode via tor: <a href="https://freenode.net/kb/answer/certfp">https://freenode.net/kb/answer/certfp</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
fun
|
|
||||||
<a href="https://irc.anarchyplanet.org/pad/p/mud">https://irc.anarchyplanet.org/pad/p/mud</a>
|
|
||||||
<a href="https://irc.anarchyplanet.org/pad/p/ap-the-game">https://irc.anarchyplanet.org/pad/p/ap-the-game</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
admin
|
|
||||||
<a href="https://irc.anarchyplanet.org/pad/p/serverl337-backup">https://irc.anarchyplanet.org/pad/p/serverl337-backup</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
wanna start coding?
|
|
||||||
<a href="https://lifehacker.com/why-you-should-learn-to-run-a-server-before-you-learn-t-1497178889">https://lifehacker.com/why-you-should-learn-to-run-a-server-before-you-learn-t-1497178889</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
|
||||||
play around with tor: <a href="https://www.torproject.org/projects/projects">https://www.torproject.org/projects/projects</a> & <a href="https://www.torproject.org/projects/community.html.en">https://www.torproject.org/projects/community.html.en</a>
|
|
||||||
set up a cdn with two onion nodes via onionbalance
|
|
||||||
publish a git repository via globalist and let everyone in the group add a commit
|
|
||||||
create damn secret underground chat group with cwtch.im
|
|
||||||
create an onion farm with tor controllers like bine stem or carml
|
|
||||||
run tor-ramdisk in a vm
|
|
||||||
secure communication
|
|
||||||
find out why Perfect Forward Secrecy and metadata protection are important
|
|
||||||
use riseup invite to get a new email account: <a href="https://account.riseup.net/user/new">https://account.riseup.net/user/new</a> or any of <a href="https://riseup.net/en/security/resources/radical-servers">https://riseup.net/en/security/resources/radical-servers</a>
|
|
||||||
register an account at <a href="https://we.riseup.net">https://we.riseup.net</a>
|
|
||||||
create encrypted mailinglist: <a href="https://systemausfall.org/wikis/howto/CryptoMailingLists">https://systemausfall.org/wikis/howto/CryptoMailingLists</a>
|
|
||||||
try bitmask VPN <a href="https://leap.se">https://leap.se</a> - lookout for the beta snap package
|
|
||||||
use XMPP with OTR/OMEMO for instant messaging <a href="https://prism-break.org/en/all/#instant-messaging">https://prism-break.org/en/all/#instant-messaging</a>
|
|
||||||
background: <a href="https://www.activism.net/cypherpunk/manifesto.html">https://www.activism.net/cypherpunk/manifesto.html</a> - "the internet has become a tool of the police state" <a href="https://en.wikipedia.org/wiki/Cypherpunks_(book)">https://en.wikipedia.org/wiki/Cypherpunks_(book)</a>
|
|
||||||
OTR encryption: <a href="https://otr.cypherpunks.ca/">https://otr.cypherpunks.ca/</a> - for pidign.im install the package pidgin-otr
|
|
||||||
OMEMO encryption: <a href="https://en.wikipedia.org/wiki/OMEMO#Client_Support">https://en.wikipedia.org/wiki/OMEMO#Client_Support</a> (not so widely supported yet)
|
|
||||||
have an end to end encrypted goup chat: <a href="https://cwtch.im">https://cwtch.im</a>
|
|
||||||
meet via voice/video chat: <a href="https://meet.jit.si/">https://meet.jit.si/</a>
|
|
||||||
alternatives: <a href="https://prism-break.org/en/subcategories/gnu-linux-video-voice/">https://prism-break.org/en/subcategories/gnu-linux-video-voice/</a>
|
|
||||||
Be careful with your phones and tell your friends: <a href="https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations">https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations</a>
|
|
||||||
read more on security <a href="https://riseup.net/en/security/resources">https://riseup.net/en/security/resources</a> ie. <a href="https://ssd.eff.org/">https://ssd.eff.org/</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Use globalist:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Add to torrc:
|
|
||||||
HidServAuth jyx4pglulzhhf3uj.onion KDaoFiimBt9GL6MKF7U2bw
|
|
||||||
as root: apt install python3-pip
|
|
||||||
as user: cd globalist ; torsocks pip3 install .
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="postamble" class="status">
|
|
||||||
<p class="author">Author: anarchyplanet</p>
|
|
||||||
<p class="date">Created: 2019-01-12 Sat 19:32</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>
|
|
@ -1,110 +0,0 @@
|
|||||||
<!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 "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>
|
|
||||||
<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 "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>
|
|
||||||
<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 & 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
636
html/irc.html
@ -1,636 +0,0 @@
|
|||||||
<?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 & 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>
|
|
44
md/git.md
44
md/git.md
@ -1,44 +0,0 @@
|
|||||||
Git
|
|
||||||
===
|
|
||||||
|
|
||||||
To create a repo
|
|
||||||
----------------
|
|
||||||
|
|
||||||
on gogs
|
|
||||||
|
|
||||||
1. git config --global user.name "<gogsusername>@whatever"
|
|
||||||
2. create repo in gogs
|
|
||||||
|
|
||||||
on computer
|
|
||||||
|
|
||||||
1. apt install git
|
|
||||||
2. git clone repo
|
|
||||||
3. touch README.md
|
|
||||||
4. git add -A
|
|
||||||
5. git commit -m "first commit"
|
|
||||||
6. git push origin master
|
|
||||||
|
|
||||||
To collaborate on an existing repo
|
|
||||||
----------------------------------
|
|
||||||
|
|
||||||
1. Be added as a collaborator
|
|
||||||
2. git clone <repo address (from gogs)>
|
|
||||||
3. `git checkout -b <branchname>`
|
|
||||||
- `-b` yocreates a new branch if one doesn't exist
|
|
||||||
- you can name branch anything, start w/ your gogs name
|
|
||||||
|
|
||||||
4. make changes
|
|
||||||
|
|
||||||
To push up your changes
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
1. `git checkout master`
|
|
||||||
2. `git pull origin master`
|
|
||||||
3. `git checkout <branchname>`
|
|
||||||
4. `git merge master`
|
|
||||||
5. `git add -A`
|
|
||||||
6. \~git commit -m "concise explanation of what I did"\~
|
|
||||||
7. `git push origin <yourname>`
|
|
||||||
8. submit a pull request
|
|
||||||
|
|
||||||
Edit this guide: <https://irc.anarchyplanet.org/pad/p/dox-git>
|
|
@ -1,8 +0,0 @@
|
|||||||
* serverl337
|
|
||||||
1. generate gpg key (gpg pad)
|
|
||||||
gpg --gen-key
|
|
||||||
2. kpcli generate key
|
|
||||||
1. bck/gpg
|
|
||||||
3.
|
|
||||||
|
|
||||||
Edit this guide: https://irc.anarchyplanet.org/pad/p/dox-serverl337
|
|
Loading…
Reference in New Issue
Block a user