Ensure you have python3 installed locally. Then install mitmproxy by running
pip install pipx mitmproxy
# configures path to use mitmproxy, mitmweb & mitmdump
pipx install mitmproxy| // ==UserScript== | |
| // @name Beautifier: Spring Documentation | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @author You | |
| // @match https://docs.spring.io/*/reference/htmlsingle* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
| // ==UserScript== | |
| // @name Twitter: Prepare tweets for screenshots | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://*twitter.com/*/status/* | |
| // @grant none | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name Lexico beautifier | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @author You | |
| // @match https://www.lexico.com/en/definition/* | |
| // @match https://lexico.com/en/definition/* | |
| // @match https://www.lexico.com/definition/* | |
| // @match https://lexico.com/definition/* | |
| // @grant none |
| // ==UserScript== | |
| // @name indianexpress cleanup | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @author You | |
| // @match https://indianexpress.com/article/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
| // ==UserScript== | |
| // @name Scroll ad remover | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://scroll.in/article/* | |
| // @grant none | |
| // ==/UserScript== |
| # Code for downloading Google books is present in tts-converter/DownloadGoogleBooks.kt | |
| for i in $(find . -maxdepth 1 -name "*.png" -print | sort -V -k1); do pdfjam --outfile ${i//png/pdf} $i; done | |
| for i in $(find . -maxdepth 1 -name "*.jpg" -print | sort -V -k1); do pdfjam --outfile ${i//jpg/pdf} $i; done | |
| gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=merged.pdf -dBATCH `find . -maxdepth 1 -name "*.pdf" -print | sort -V -k1` |
| <character>|<chars to type>|<meaning> | |
| —|minus,minus,minus|em dash | |
| –|minus,minus,period|en dash | |
| ⇒|equal,greater|Rightwards double arrow | |
| •|period,equal|Filled bullet | |
| ≠|equal,slash|Not equal to | |
| ≠|slash,equal|Not equal to | |
| →|minus,greater|Rightwards arrow | |
| ←|less,minus|Leftwards arrow | |
| ⓪|parenleft,0,parenright|Circled digit 0 |
| package com.acme.tts.converter.microsoft.ssml.websocket; | |
| import com.acme.tts.converter.microsoft.ssml.Prosody; | |
| import com.acme.tts.converter.microsoft.ssml.Speak; | |
| import com.acme.tts.converter.microsoft.ssml.Voice; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import com.fasterxml.jackson.databind.SerializationFeature; | |
| import com.fasterxml.jackson.dataformat.xml.XmlMapper; | |
| import io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame; | |
| import io.netty.handler.codec.http.websocketx.CloseWebSocketFrame; |
David Williams, Not In the Public Interest: The Problem of Security in a Democracy