diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3de8762 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_dox.org \ No newline at end of file diff --git a/docs/html b/docs/html new file mode 160000 index 0000000..8ffb3c2 --- /dev/null +++ b/docs/html @@ -0,0 +1 @@ +Subproject commit 8ffb3c27957cce7602dfc5259bdf2c006e4b70fd diff --git a/md/README.md b/docs/md/README.md similarity index 100% rename from md/README.md rename to docs/md/README.md diff --git a/md/emacs.md b/docs/md/emacs.md similarity index 65% rename from md/emacs.md rename to docs/md/emacs.md index 4e70e3f..10c73b8 100644 --- a/md/emacs.md +++ b/docs/md/emacs.md @@ -1,110 +1,71 @@ -essential keystrokes: (TAB to open bullets) <-- do this lol 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 +(TAB to open bullets) 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! -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: - +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 \* - - M-<enter> to add new heading - - M-<left> or M-<right> to promote / demote heading -- TAB to expand/collapse trees +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 + 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-<left> or M-<right> to promote / demote heading ### 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! -1. DONE demo emacs org mode to data +1. DONE demo emacs org mode 2. DONE enable line wrap as default 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 - 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) -- [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. +1. links -### 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 -interpreter and run code with C-c C-c (evaluate buffer) +2. agenda mode -You can also do code blocks and tangle / weave for literate programming. + is a + good tut. -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! - - -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 ------------- +notes +----- ### useful things overview @@ -185,4 +146,65 @@ So, I guess my first question is about how I make the bullets? Edit this guide: +### 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: + +### 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! + + +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 diff --git a/docs/md/git.md b/docs/md/git.md new file mode 100644 index 0000000..ef2a1c3 --- /dev/null +++ b/docs/md/git.md @@ -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 ` + - `-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 ` +4. `git merge master` +5. `git add -A` +6. \~git commit -m "concise explanation of what I did"\~ +7. `git push origin ` +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 = +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: diff --git a/md/index.md b/docs/md/index.md similarity index 98% rename from md/index.md rename to docs/md/index.md index e2b7683..3d03f58 100644 --- a/md/index.md +++ b/docs/md/index.md @@ -1,3 +1,9 @@ +--- +author: anarchyplanet +html_head: '<link rel="stylesheet" type="text/css" href="css/htmlize.css"/>' +title: Anarchy Planet Projex +--- + Introduction ============ diff --git a/md/irc-how-to.md b/docs/md/irc-how-to.md similarity index 98% rename from md/irc-how-to.md rename to docs/md/irc-how-to.md index 9652bac..41e64b9 100644 --- a/md/irc-how-to.md +++ b/docs/md/irc-how-to.md @@ -10,8 +10,9 @@ How to Connect ### using a client -\`\`\` irc.anarchyplanet.org port 6667 irc.anarchyplanet.org port 6697 -(SSL) km3jy7nrj3e2wiju.onion port 6667 || 6697 \`\`\` +- irc.anarchyplanet.org port 6667 +- irc.anarchyplanet.org port 6697 (SSL) +- km3jy7nrj3e2wiju.onion port 6667 || 6697 ### using tor diff --git a/md/irc-tor.md b/docs/md/irc-tor.md similarity index 100% rename from md/irc-tor.md rename to docs/md/irc-tor.md diff --git a/md/ircwalkthrough.md b/docs/md/ircwalkthrough.md similarity index 100% rename from md/ircwalkthrough.md rename to docs/md/ircwalkthrough.md diff --git a/md/kpcli.md b/docs/md/kpcli.md similarity index 100% rename from md/kpcli.md rename to docs/md/kpcli.md diff --git a/docs/md/rsync.md b/docs/md/rsync.md new file mode 100644 index 0000000..ebab454 --- /dev/null +++ b/docs/md/rsync.md @@ -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: 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*.. diff --git a/md/serverl337.md b/docs/md/serverl337.md similarity index 100% rename from md/serverl337.md rename to docs/md/serverl337.md diff --git a/org/README.org b/docs/org/README.org similarity index 100% rename from org/README.org rename to docs/org/README.org diff --git a/org/emacs.org b/docs/org/emacs.org similarity index 66% rename from org/emacs.org rename to docs/org/emacs.org index d81d60a..190cbdb 100644 --- a/org/emacs.org +++ b/docs/org/emacs.org @@ -1,86 +1,47 @@ -essential keystrokes: -(TAB to open bullets) <-- do this lol -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 +(TAB to open bullets) +* emacs org mode -* 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 -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 +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! - 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 -- headings are organized with * +*** emacs keyboard shortcuts +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- to add new heading - M- or M- to promote / demote heading -- TAB to expand/collapse trees - *** TODOs -TODOs are actually probably not that relevant for projex because it's more for internal use ... maybe. -**** DONE demo emacs org mode to data +Make a heading followed by the word TODO: you've got a todo item! +**** DONE demo emacs org mode **** DONE enable line wrap as default **** TODO re-write projex in org mode style - - projex_demo.org is the test run of this. - - 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) -*** links - - link structure: [ [link][desc] ] (but without the spaces) - - [[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. +projex_demo.org is the test run of this. +- 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) +*** advanced +**** links +- link structure: [ [link][desc] ] (but without the spaces) +- [[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 - -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 -M-x circe -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 +** notes *** useful things overview 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 @@ -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 + +*** 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 +M-x circe +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 diff --git a/docs/org/git.html b/docs/org/git.html new file mode 100644 index 0000000..d3da5b9 --- /dev/null +++ b/docs/org/git.html @@ -0,0 +1,361 @@ + + + + +git + + + + + + + + +
+

git

+ +
+

1 Git

+
+
+

1.1 To create a repo

+
+

+on gogs +

+
    +
  1. git config –global user.name "<gogsusername>@whatever" +
  2. +
  3. create repo in gogs +
  4. +
+ +

+on computer +

+
    +
  1. apt install git +
  2. +
  3. git clone repo +
  4. +
  5. touch README.md +
  6. +
  7. git add -A +
  8. +
  9. git commit -m "first commit" +
  10. +
  11. git push origin master +
  12. +
+
+
+ +
+

1.2 To collaborate on an existing repo

+
+
    +
  1. Be added as a collaborator +
  2. +
  3. git clone <repo address (from gogs)> +
  4. +
  5. git checkout -b <branchname> +
      +
    • -b creates a new branch if one doesn't exist +
    • +
    • you can name branch anything, start w/ your gogs name +
    • +
    +
  6. +
  7. make changes +
  8. +
+
+
+ +
+

1.3 To push up your changes

+
+
    +
  1. git checkout master +
  2. +
  3. git pull origin master +
  4. +
  5. git checkout <branchname> +
  6. +
  7. git merge master +
  8. +
  9. git add -A +
  10. +
  11. ~git commit -m "concise explanation of what I did"~ +
  12. +
  13. git push origin <yourname> +
  14. +
  15. submit a pull request +
  16. +
+ +

+Change last commit before pushing: +git add [more files] +git commit –amend +

+
+
+
+ +
+

2 Walkthrough

+
+

+This little walkthrough uses this repository as an example. +

+
+ +
+

2.1 Cloning

+
+

+git clone https://irc.anarchyplanet.org/git/AnarchyPlanet/dox +

+ +

+If you added a ssh key already: +git clone git@HOST:user/repo +

+
+
+ +
+

2.2 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. +

+
+
+ +
+

2.3 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/idrsa +``` +

+ +

+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 +

+
+
+
+
+
+

Author: root

+

Created: 2019-01-29 Tue 12:39

+

Emacs 24.5.1 (Org mode 8.2.10)

+

Validate

+
+ + diff --git a/org/git.org b/docs/org/git.org similarity index 100% rename from org/git.org rename to docs/org/git.org diff --git a/org/index.org b/docs/org/index.org similarity index 100% rename from org/index.org rename to docs/org/index.org diff --git a/org/inspircdathemelimnoria.org.html b/docs/org/inspircdathemelimnoria.org.html similarity index 100% rename from org/inspircdathemelimnoria.org.html rename to docs/org/inspircdathemelimnoria.org.html diff --git a/org/irc-how-to.org b/docs/org/irc-how-to.org similarity index 100% rename from org/irc-how-to.org rename to docs/org/irc-how-to.org diff --git a/org/irc-tor.org b/docs/org/irc-tor.org similarity index 100% rename from org/irc-tor.org rename to docs/org/irc-tor.org diff --git a/org/ircwalkthrough.org b/docs/org/ircwalkthrough.org similarity index 100% rename from org/ircwalkthrough.org rename to docs/org/ircwalkthrough.org diff --git a/org/rsync.org b/docs/org/rsync.org similarity index 100% rename from org/rsync.org rename to docs/org/rsync.org diff --git a/docs/scripts/pandoc.sh b/docs/scripts/pandoc.sh new file mode 100755 index 0000000..e96b8a7 --- /dev/null +++ b/docs/scripts/pandoc.sh @@ -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 /" | \ + sed -E "s/()/\1\n
\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! + diff --git a/update b/docs/scripts/update similarity index 100% rename from update rename to docs/scripts/update diff --git a/html/css/style.css b/html/css/style.css deleted file mode 100644 index f28bf6c..0000000 --- a/html/css/style.css +++ /dev/null @@ -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) {} diff --git a/html/index.html b/html/index.html deleted file mode 100644 index 934465e..0000000 --- a/html/index.html +++ /dev/null @@ -1,459 +0,0 @@ - - - - -index - - - - - - - - - - -
-

index

-
-

Table of Contents

- -
-

-#+TITLE Anarchy Planet Projex -

- - -
-

1 Introduction

-
-

-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. -

- -

-Goals include: -

-
    -
  • creating documentation of our proesses for internal use (and possibly for sharing in the future if it doesn't suck) -
  • -
  • discovering and using (and possibly developing) FOSS tools, in particular tools for collaboration -
  • -
  • creating a 'website' for keeping track of our notes that users can edit, with some sort of version control (hopefully git) -
  • -
- -

-Feel free to generate your own tutorial topics, with the constraint that the tutorials should be: -

-
    -
  1. short. something we can do together start to finish in 1-2 hours. -
  2. -
  3. tangible. we should have something by the end that we didn't have before, such as an email address with gpg enabled. -
  4. -
  5. FOSS all day erry day -
  6. -
- -

-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? -

- -

-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. -

- -

-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? -

-
-
- -
-

2 Tech Tuesday Topics

-
- -
-
- -
-

3 tools

-
-

-email resources -https://pad.anarchistnews.org/p/letsgobois -https://projex.neocities.org -

- -

-wiki -http://pad.anarchistnews.org/p/wiki -

- -

-fileshare resources -https://github.com/micahflee/onionshare -syncthing -gobby (collaborative writing / code development) https://gobby.github.io - setup server: https://irc.anarchyplanet.org/pad/p/obby -

- -

-git resources -gitea -gitosis https://git-scm.com/book/en/v1/Git-on-the-Server-Gitosis -gobalist https://irc.anarchyplanet.org/pad/p/globalist -gogs -gitweb -

- -

-IRC -http://www.inspircd.org/ -atheme -https://limnoria.readthedocs.io/en/latest/use/index.html -https://irc.anarchyplanet.org/pad/p/kiwi-onion -http://gribble.sourceforge.net/supybook -briar https://media.ccc.de/v/34c3-8937-briar -

- -

-terminals -if you love your console: apt search dwm -tmux -

- - -

-editos -emacs-orgmode -vi http://www.penguintutor.com/linux/vi-texteditor-tutorial -focuswriter -

- - -

-forums -https://flaskbb.org/ (meh) -session: together test which cms of @LIST is eaiest to setup -

- -

-imgboard -(chans not run by neonazis, maybe?) -anokchan.org ;-) <3 -

- -

-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 -https://riseup.net/security/resources -https://www.privacytools.io -https://prism-break.org -https://unhosted.org -https://www.reddit.com/r/NSALeaks/wiki/index -https://www.reddit.com/r/NSALeaks -TAO / JTRIG yzpKDPH.png -https://www.reddit.com/r/worldnews/comments/22sv1o/nsa_said_to_have_used_heartbleed_bug_exposing/ -https://www.smh.com.au/technology/man-who-introduced-serious-heartbleed-security-flaw-denies-he-inserted-it-deliberately-20140410-zqta1.html -

- -

-self-hosting -sql https://blog.secaserver.com/tag/haproxy-mysql-load-balance/ -mail https://medium.com/@kevinsimper/self-hosting-email-in-2016-is-still-hard-797a6320bfa8 -redis -

- - - -

-tor -tor is more than a anonymization client but has a wide ecosystem: -https://www.torproject.org/projects/projects -https://www.torproject.org/projects/community.html.en -

- -

-'is tor safe' see vanguards: -Possible quests: -install the ooni app on your smartphone to measure censorship: https://lists.torproject.org/pipermail/ooni-dev/2018-November/000544.html -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: https://cwtch.im -meet via voice/video chat: https://meet.jit.si/ -use OMEMO https://omemo.top/ -alternatives: https://prism-break.org/en/subcategories/gnu-linux-video-voice/ -Be careful with your phones and tell your friends: https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations -read more on security https://riseup.net/en/security/resources ie. https://ssd.eff.org/ -

- -

-cgAn -https://archive.cyberguerrilla.org/a/2017/?s=course&submit_x=0&submit_y=0 -https://irc.anarchyplanet.org/pad/p/othertutorials -https://newblood.anonops.com/security.html -

- -

-https://irc.anarchyplanet.org/pad/p/jellyfish -

- -

-https://startyourownisp.com/ -connect to freenode via tor: https://freenode.net/kb/answer/certfp -

- -

-fun -https://irc.anarchyplanet.org/pad/p/mud -https://irc.anarchyplanet.org/pad/p/ap-the-game -

- -

-admin -https://irc.anarchyplanet.org/pad/p/serverl337-backup -

- -

-wanna start coding? -https://lifehacker.com/why-you-should-learn-to-run-a-server-before-you-learn-t-1497178889 -

- - - - -

-play around with tor: https://www.torproject.org/projects/projects & https://www.torproject.org/projects/community.html.en -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: https://account.riseup.net/user/new or any of https://riseup.net/en/security/resources/radical-servers -register an account at https://we.riseup.net -create encrypted mailinglist: https://systemausfall.org/wikis/howto/CryptoMailingLists -try bitmask VPN https://leap.se - lookout for the beta snap package -use XMPP with OTR/OMEMO for instant messaging https://prism-break.org/en/all/#instant-messaging -background: https://www.activism.net/cypherpunk/manifesto.html - "the internet has become a tool of the police state" https://en.wikipedia.org/wiki/Cypherpunks_(book) -OTR encryption: https://otr.cypherpunks.ca/ - for pidign.im install the package pidgin-otr -OMEMO encryption: https://en.wikipedia.org/wiki/OMEMO#Client_Support (not so widely supported yet) -have an end to end encrypted goup chat: https://cwtch.im -meet via voice/video chat: https://meet.jit.si/ -alternatives: https://prism-break.org/en/subcategories/gnu-linux-video-voice/ -Be careful with your phones and tell your friends: https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations -read more on security https://riseup.net/en/security/resources ie. https://ssd.eff.org/ -

- -

-Use globalist: -

- -

-Add to torrc: -HidServAuth jyx4pglulzhhf3uj.onion KDaoFiimBt9GL6MKF7U2bw -as root: apt install python3-pip -as user: cd globalist ; torsocks pip3 install . -

-
-
-
-
-

Author: anarchyplanet

-

Created: 2019-01-12 Sat 19:32

-

Emacs 24.5.1 (Org mode 8.2.10)

-

Validate

-
- - diff --git a/html/irc.html b/html/irc.html deleted file mode 100644 index 8600771..0000000 --- a/html/irc.html +++ /dev/null @@ -1,636 +0,0 @@ - - - - -irc-how-to - - - - - - - -
-

irc-how-to

- -
-

1 Anarchy Planet IRC how to

-
-
-

1.1 How to Connect

-
-
-

1.1.1 web

- -
- -
-

1.1.2 using a client

-
-
    -
  • irc.anarchyplanet.org port 6667 -
  • -
  • irc.anarchyplanet.org port 6697 (SSL) -
  • -
  • km3jy7nrj3e2wiju.onion port 6667 || 6697 -
  • -
-
-
- - -
-
-

1.2 Basic Commands

-
-

-/nick nickname Changes your nick. -

- -

-/list Lists all channels on the current network. -

- -

-/join #channel Joins the specified channel. -

- -

-/part #channel Leaves the specified channel. -

- -

-/quit [message] Disconnects from current server with optional leaving message. -

- -

-/names #channel Shows the nicks of all users on #channel. -

- -

-/msg nickname message Sends a private message to a user. -

- -

-/query nickname message Sends a private message to a user and opens a private chat window. -

- -

-/me action Prints "yourname action" -

- -

-/notice nickname message Sends a notice to the specified user. Like a /msg, but usually makes a sound. -

- -

-/whois nickname Shows information about the specified user. This action is not visible to the specified user. -

- -

-/whowas nickname Shows information about a user who has quit. -

-
-
- -
-

1.3 Managing Nicknames (Nickserv)

-
-

-/msg nickserv register password [email] Registers your current nick with NickServ with the chosen password and binds it to an e-mail address (optional). -

- -

-/msg nickserv identify password Identifies your nick to NickServ using the password you set. -

- -

-/msg nickserv recover nickname password Kills (forcibly disconnects) someone who has your registered nick. -

- -

-/msg nickserv ghost nickname password Terminates a "ghost" IRC session that's using your nickname. -

- -

-/msg nickserv set password yournewpassword Changes your password. NOTE: Under no circumstances should you change your nick to the letter O followed by 8 digit -

-
-
- -
-

1.4 Managing Channels (ChanServ)

-
-

-/msg chanserv register #channel Registers the current channel to you with ChanServ -

- -

-/msg chanserv set #channel mlock modes Locks the channel's modes. To unlock all of a channel's modes, use /msg chanserv set #channel mlock + -

-
-
- -
-

1.5 Moderating Channels

-
-

-/kick nickname!userid@hostname - removes user from channel, but does not ban them. They are able to join immediately. -

- -

-/ban nickname!userid@hostname - bans user from channel, but does not kick them. They are prevented from speaking but can still see the channel. -

- -

-/kickban nickname!userid@hostname -

- -

-Use /whois, /whowas or /who to find the information necessary for a ban. - note: * is a wildcard and can replace nickname, userid, parts of nickname or userid, hostname or a segment of a hostname. -

- -

-/mode #channel +b nickname!userid@hostname - the same as /ban -

-
- -
-

1.5.1 Ban Examples:

-
-

-joe!*@* -Will prevent anyone with the nick joe from joining. -

- -

-*myg0t*!* -Will prevent anyone whose nick contains myg0t from joining. -

- -

-mark!*elc@* -Will prevent anyone with the nick mark and the userid elc from joining. -

- -

-*!*@c-123-24-76-213.ga.isp.net -Will prevent anyone with the host c-123-24-76-213.ga.isp.net from joining. -

- -

-*!*@* -Bans everyone. Don't do that. -

-
-
-
- -
-

1.6 Advanced Commands for the uberl337

-
-
-

1.6.1 Advanced NickServ commands

-
-
  1. User modes
    -

    -/mode nickname +/-attributes [data] -

    - -

    -Setting people's modes (for current channel only). To set a user's mode outside of a channel, use /mode nickname #channel +/- attributes -

    - -

    -Some of the more important ones are: -+q User is owner of the current channel (prefix ~ or @) -+a User is an admin (SOP) on the current channel (prefix & or @). -+o User is an operator (AOP) on the current channel (prefix @). -+h User is a half-op on the current channel (prefix %). -+v User has voice on the current channel (prefix +). -

    - -

    -For a complete list of user modes visit https://wiki.inspircd.org/User_Modes -

    -
    -
-
- -
-

1.6.2 Advanced Chanserv commands

-
-

-/msg chanserv set #channel secure [on|off] -Keeps everyone except aops, sops, and the founder from becoming ops. -

- -

-/msg chanserv set #channel keeptopic [on|off] -Maintains the topic even if everyone leaves. -

- -

-/msg chanserv set #channel enforce [on|off] -Restores op/halfop/voice if a person with op/halfop/voice gets de-opped/halfopped/voiced. -

- -

-/msg chanserv set #channel leaveops [on|off] -Whether or not to allow the first person who join the channel to get ops. -

- -

-/msg chanserv drop #channel [dropcode] -Un-registers the current channel to you with ChanServ. -

- -

-/msg chanserv set #channel founder [nickname] -Sets the current channel's founder. -

- -

-/msg chanserv set #channel desc [description] -Changes the current channel's description. -

- -

-/msg chanserv set #channel url [address] -Associates a URL with the channel. -

- -

-/msg chanserv set #channel [email@address] -Associates an email address with the channel. -

-
- -
  1. Channel modes
    -

    -/mode #channel +/-attribute [data] -

    - -

    -For a full list of Inspircd's channel modes visit https://wiki.inspircd.org/Channel_Modes -

    -
    -
-
- -
-

1.6.3 Access lists

-
-

-/msg chanserv access #channel add [nickname] [level] -Adds nickname to the channel's access list at the specified level. -

- -

-/msg chanserv access channel del [nickname] -Removes nickname from the channel's access list. -

- -

-/msg chanserv access #channel list -Displays the channel's access list. -

- -

-/msg chanserv access #channel count -Displays how many entries are in the channel's access list. -

-
-
- -
-

1.6.4 Access levels

-
-

-These may vary from network to network. For example, some networks do not go by tens and use 3, 4, 5, 10, etc. -

- -

-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. -

-
-
- -
-

1.6.5 AOPs

-
-

-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. -

-
-
- -
-

1.6.6 SOPs

-
-
    -
  • Can do everything AOPs can. -
  • -
  • Can give and take AOP privileges. -
  • -
  • Receive memos sent to the channel's SOPs. -
  • -
  • Can add (but not remove) AKICKs. -
  • -
-
-
-
- -
-

1.7 Viewing and setting privileges

-
-
-

1.7.1 Viewing AOP and SOP lists

-
-

-/msg chanserv aop #channel list -

- -

-/msg chanserv sop #channel list -

- -

-Add an AOP or SOP -/msg chanserv [AOP|SOP] channel [ADD|DEL|LIST|CLEAR] [nick | entry-list] -

-
-
- -
-

1.7.2 AKICKs

-
-

-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. -

- -

-/msg chanserv akick #channel add host [reason] -Adds host to #channel's AKICK list [for reason]. -

- -

-/msg chanserv akick #channel del host -Removes host from the AKICK list. -

- -

-/msg chanserv akick #channel list -/msg chanserv akick #channel view -Displays the AKICK list. -

-
-
- -
-

1.7.3 Color codes

-
-

-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: -

- -

-``` -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) -``` -

- -

-Edit this guide: https://irc.anarchyplanet.org/pad/p/dox-irc-how-to -

-
-
-
-
-
-
-

Created: 2019-01-27 Sun 11:34

-

Emacs 24.5.1 (Org mode 8.2.10)

-

Validate

-
- - diff --git a/md/git.md b/md/git.md deleted file mode 100644 index efd6ce3..0000000 --- a/md/git.md +++ /dev/null @@ -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 ` - - `-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 ` -4. `git merge master` -5. `git add -A` -6. \~git commit -m "concise explanation of what I did"\~ -7. `git push origin ` -8. submit a pull request - -Edit this guide: diff --git a/org/serverl337.org b/org/serverl337.org deleted file mode 100644 index fb3331e..0000000 --- a/org/serverl337.org +++ /dev/null @@ -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