Compare commits
	
		
			4 Commits
		
	
	
		
			e77d0676cf
			...
			54a9444544
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						54a9444544
	
				 | 
					
					
						|||
| 
						
						
							
						
						b8a9fb3fbf
	
				 | 
					
					
						|||
| 
						
						
							
						
						ce3e10e442
	
				 | 
					
					
						|||
| 
						
						
							
						
						e4beb16951
	
				 | 
					
					
						
							
								
								
									
										4
									
								
								basics/games.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								basics/games.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					Games are a great way to learn bash.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [Over the Wire](https://overthewire.org/wargames)
 | 
				
			||||||
							
								
								
									
										57
									
								
								chat/profanity-otr.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								chat/profanity-otr.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,57 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					title: "profanity"
 | 
				
			||||||
 | 
					tags: [ "Documentation", "Chat", "OTR" ]
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					# otr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					'Off The Record' encryption seems mostly dead to me.
 | 
				
			||||||
 | 
					But this is what I did, back in the day...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Install libotr-dev or libotr5-dev or whatever..
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					sudo apt -y install lib5otr-dev
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Make your otr keys.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr gen
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Then you can start an otr converstation.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr start bob@jobbies.org
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Or if you already have a conversation windows open, switch to our using:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Finally, verify!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr question "Who are you?" bob
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Bob is verified upon the answer, 'bob'.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### OTR Finger Prints
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Get yours with 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr myfp
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr theirfp
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					/otr myfp
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
title: "profanity"
 | 
					title: "profanity"
 | 
				
			||||||
tags: [ "Documentation", "Chat" ]
 | 
					tags: [ "Documentation", "Chat", "omemo" ]
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
# Setup (Commands)
 | 
					# Setup (Commands)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -140,54 +140,6 @@ You can ensure omemo automatcally turns on:
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
/omemo policy automatic
 | 
					/omemo policy automatic
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## otr
 | 
					'OTR' encryption is mostly dead, but you can find the old instructions [here](profanity-otr).
 | 
				
			||||||
 | 
					 | 
				
			||||||
Install libotr-dev or libotr5-dev or whatever..
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
sudo apt -y install lib5otr-dev
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Make your otr keys.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr gen
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Then you can start an otr converstation.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr start bob@jobbies.org
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Or if you already have a conversation windows open, switch to our using:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Finally, verify!
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr question "Who are you?" bob
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Bob is verified upon the answer, 'bob'.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### OTR Finger Prints
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Get yours with 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr myfp
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr theirfp
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
/otr myfp
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,6 +2,18 @@
 | 
				
			|||||||
title: "journal"
 | 
					title: "journal"
 | 
				
			||||||
tags: [ "Documentation", "systemd" ]
 | 
					tags: [ "Documentation", "systemd" ]
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					See a running log of all system messages:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					journalctl -f
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Or just one unit (`sshd`):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					journalctl -f -u sshd
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Find errors since November
 | 
					Find errors since November
 | 
				
			||||||
@@ -14,3 +26,13 @@ Limit size to 2G.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
journalctl --vacuum-size=2G
 | 
					journalctl --vacuum-size=2G
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Log the fact that you've installed your own `dnsmasq` on your system to `journalctl`, so that you can notice why your system's broken:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					logger "Installed new dnsmasq"
 | 
				
			||||||
 | 
					sudo journalctl -f
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user