Skip to content

Instantly share code, notes, and snippets.

mew1033 / docker-compose.yaml
Last active Jan 22, 2021
traefik and plex
View docker-compose.yaml
version: '3.7'
image: traefik:2.4
restart: always
- 80:80
- 443:443
- t2_proxy
View mark_as_read
function markArchivedAsRead() {
var threads ='label:unread -label:{inbox, Unsnoozed}');
for (var i=0; i<threads.length; i++)
var messages = threads[i].getMessages();
var markUnread = 1;
for (var j=0; j<messages.length; j++)
if (messages[j].isInInbox())
markUnread = 0;
View gist:ee98826bbd990534f06949f6bef44ac4
### Keybase proof
I hereby claim:
* I am mew1033 on github.
* I am mew1033 ( on keybase.
* I have a public key ASDdTIdYxRdNuRgSZEtD49tNahO3LbNppNCMQ_IjB6-ihgo
To claim this, I am signing this object: