- Open AdGuard and go to Apps → Mullvad VPN → Disable routing through AdGuard.
- (In AdGuard) go to Settings → Filtering → Network → Routing Mode and choose Automatic Proxy.
- (In AdGuard) and go to Settings → Filtering → Network → Proxy → Proxy server.
- Tap the Add proxy server and fill in the fields:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Transfer function information | |
% This script takes either polynomial coefficients for the numerator and denominator | |
% OR zero and pole locations (factorized roots) + gain | |
% of the transfer function of a system, and then returns: | |
% 1. A graph of system's impulse response. | |
% 2. A graph of the system's step response. | |
% 3. The pole-zero diagram of the system. | |
% 4. The factorized transfer function printed with LaTeX. | |
% 5. The transfer function printed with LaTeX. | |
% 6. The partial fraction decomposition of the transfer function printed |
I use Obsidian git on PC, and this workaround (since the plugin doesn't support mobile) to seamlessly* sync my notes to and from my phone. Using these instructions you create an automation for pulling every time you open Obsidian, and pushing every time you close it.
* you can still get merge conflicts...
- Install Tasker.
- Install Termux.
- Install Termux tasker plugin.
- Open Termux and write
termux-setup-storage
, give it permissions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def i_type(s): | |
op = s[0:6] | |
rs = s[6:11] | |
rt = s[11:16] | |
imm = s[16:] | |
return f"{op} {rs} {rt} {imm}" | |
def r_type(s): | |
op = s[0:6] | |
rs = s[6:11] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re, pyperclip | |
# Changes | |
# $...$ to \(...\) | |
# $$...$$ to \[...\] | |
# [[a|b]] to b | |
# }} to } } | |
# *abcd* to <i>abcd</i> | |
# **abcd** to <b>abcd</b> | |
# markdown bulleted lists (using -) to html <ul>...</ul> |