Compare commits

12 Commits

5 changed files with 85 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
# Sway mute and deafen binds
In order to use hotkeys to control Mumble under Sway, you will need to use the dbus endpoints Mumble exposes. Here is some example Sway config to bind `$mod+F11` to toggle mute and `$mod+F12` to toggle deafen.
```
bindsym $mod+F11 exec dbus-send --session --dest=net.sourceforge.mumble.mumble --type=method_call '/' 'net.sourceforge.mumble.Mumble.toggleSelfMuted'
bindsym $mod+F12 exec dbus-send --session --dest=net.sourceforge.mumble.mumble --type=method_call '/' 'net.sourceforge.mumble.Mumble.toggleSelfDeaf'
```
+34 -4
View File
@@ -1,6 +1,6 @@
[*Warcraft III: The Frozen Throne*](http://en.wikipedia.org/wiki/Warcraft_III:_The_Frozen_Throne) is an expansion pack for the tower defense game *Warcraft III* by Blizzard Entertainment. It was released for Microsoft Windows and Mac OS X in 2003. This article will explain how to get multiplayer gameplay working on Linux.
The game provides two options for multiplayer: "LAN" and "battle.net". The LAN option will work out of the box if all players are on the same physical subnet and the broadcast address is working properly. The "battle.net" option, which allows multiplayer over the open internet, is slightly more complicated because Blizzard has shut down the original *Warcraft III* multiplayer servers. Therefore, for this option to work:
The game provides two options for multiplayer: "LAN" and "battle.net". The LAN option will work out of the box if all players are on the same subnet (broadcast traffic is routed properly). The "battle.net" option, which allows multiplayer over the open internet, is slightly more complicated because Blizzard has shut down the original *Warcraft III* multiplayer servers. Therefore, for this option to work:
1. [One player must set up a PvPGN server at a publicly reachable, static IPv4 address.](#host-instructions)
2. [All players must patch Warcraft III to use that server instead of the default.](#client-instructions)
3. Then, either:
@@ -37,7 +37,26 @@ To run your own PvPGN server, first you must build it from source. ohea.xyz prov
#### Using Docker
**(TODO)**
Clone the pvpgn Docker repo:
```
$ git clone https://git.ohea.xyz/containers/pvpgn
$ cp docker-compose.override.yml.example docker-compose.override.yml
```
Now you need to configure `docker-compose.override.yml`. The default configuration should be sufficent for most users. If you want to customize the PvPGN configuration files, the provided terms of service, or the provided new account creation info, you can uncomment the corresponding mappings.
Run the docker container:
```
$ docker compose up -d
```
Your PvPGN server should now be running. It can be stopped by runnning:
```
$ docker compose down
```
#### Without Docker
@@ -60,11 +79,22 @@ Use `Ctrl+C` to quit.
1. Download the [Warcraft 3 Loader for PvPGN](http://pvpgn.pro/w3l.html) and extract the ZIP into the directory containing `Frozen Throne.exe`.
**(TODO)**
2. Create the necessary Windows registry entries to trick Warcraft 3 into connecting to your PvPGN server. This is most easily done by importing a `.reg` file with the correct value.
* An online tool to generate this is available [here](http://ohea.xyz/wc3reggen/).
* Alternatively, the pvpgn Docker repo contains a bash script with the same functionality. The first argument to the script is the name of the server, and the second is the URL or IP address. For example, to add a server called `ohea` with the URL `ohea.xyz`, you would run the following commands:
```
$ git clone https://git.ohea.xyz/containers/pvpgn
$ cd pvpgn
$ ./wc3reggen.sh ohea ohea.xyz > wc3.reg
```
* After using either method to generate the `.reg` file, add the server information to the Windows registry like so:
```
$ wine regedit wc3.reg
```
## Port Forwarding
The player hosting in-game needs to log into his router and enable port forwarding for TCP and UDP on ports 6113-6119. How to do this depends on the router.
The player hosting in-game needs to log into his router and enable port forwarding for **TCP and UDP on ports 6113-6119**. How to do this depends on the router.
## Creating a VPN with Wireguard
+18
View File
@@ -0,0 +1,18 @@
# NOTE
Please refer to the official debian documentation for upgrading to the release in question. This page only provides quick notes on the process.
# Update Apt Sources
First, update your apt sources list to point to the new debian version.
1. Open `/etc/apt/sources.list` and any files in `/etc/apt/sources.list.d`
2. `s/CURRENT_VERISON/NEW_VERSION/`
3. Run `apt update`
# Verify free disk space
Required disk space for the update can be printed by running `apt -o APT::Get::Trivial-Only=true full-upgrade`.
# Run the update
1. Install updates for currently installed packages: `apt upgrade --without-new-pkgs`
2. Install all updates: `apt full-upgrade`
3. Reboot: `reboot`
4. Remove obsolete packages: `apt purge '?obsolete'`
5. Remove unnecessary packages: `apt autoremove`
+2
View File
@@ -0,0 +1,2 @@
## Ingesting TLS root CA
`trust anchor --store <CERT_NAME>`
+23
View File
@@ -0,0 +1,23 @@
If you spend a lot of time trying to remember papers, presentations, textbooks, blog posts, stack overflow answers, or twitter threads from 3 years go, then you may want **Zotero**.
It's a normal desktop application, there's a cloud tool I dont use, and a really useful Firefox extension.
## It's basically bookmarking with some extra features:
* Automatically extract info like authors, title, metadata, and links.
* You can attach the snapshot or PDF automatically or manually. This prevents link rot, which is great.
There's some others too:
* You can add notes and then search through them later. It's occasionally useful.
* Tagging and "collections" make some sense.
* Importing from bibtex
* Duplicate detection
There's also a lot of features that make sense only for academics like automatic bibtex export or even other citation styles.
## Things it doesn't do right
* Can't add your own citation type (like web applet or something). So limited to just "websites" for some things.
* Doesn't store youtube videos
* Does not provide text search inside of PDFs
* It doesn't let you keep a stack/queue of interesting papers or such (i.e. it's not Pocket)