Blog 2020/5/7
<- previous | index | next ->
Here are some notes on how I set up an installation of OS X Tiger (10.4)
Blog 2020/5/7
<- previous | index | next ->
Here are some notes on how I set up an installation of OS X Tiger (10.4)
| # PackUI by dgelessus | |
| # https://github.com/dgelessus/pythonista-scripts/blob/master/UI/PackUI.py | |
| # | |
| # Package a UI script and its corresponding .pyui file into a single | |
| # self-extracting file. When run, the generated script will unpack both files, | |
| # allowing both running and further editing without limitations. | |
| # | |
| # The PackUI script itself can be given a py/pyui pair to package either using | |
| # the (very basic) UI by running it directly, via sys.argv, or by importing it | |
| # and using the PackUI.pack() function. All paths are considered relative to |
| diff -udprP mutt-1.6.0.orig/handler.c mutt-1.6.0/handler.c | |
| --- mutt-1.6.0.orig/handler.c 2016-04-02 21:12:22.000000000 +0300 | |
| +++ mutt-1.6.0/handler.c 2016-04-06 20:24:25.000000000 +0300 | |
| @@ -1581,7 +1581,31 @@ static int text_plain_handler (BODY *b, | |
| buf[--l] = 0; | |
| } | |
| if (s->prefix) | |
| - state_puts (s->prefix, s); | |
| + { | |
| + int i; |
| diff -udprP mutt-1.6.0.orig/hdrline.c mutt-1.6.0/hdrline.c | |
| --- mutt-1.6.0.orig/hdrline.c 2016-04-02 21:12:22.000000000 +0300 | |
| +++ mutt-1.6.0/hdrline.c 2016-04-06 20:22:39.000000000 +0300 | |
| @@ -212,6 +212,7 @@ int mutt_user_is_recipient (HEADER *h) | |
| * %f = entire from line | |
| * %F = like %n, unless from self | |
| * %i = message-id | |
| + * %I = initials of author | |
| * %l = number of lines in the message | |
| * %L = like %F, except `lists' are displayed first |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/python | |
| # -*- coding: UTF-8 -*- | |
| # | |
| # Heavily 'inspired' by Dr. Drang (https://github.com/drdrang/heavens-above) | |
| import urllib2 | |
| from BeautifulSoup import BeautifulSoup | |
| from datetime import datetime, date, timedelta | |
| from time import strptime | |
| import os |
| #!/usr/bin/env python | |
| """Utilities for writing code that runs on Python 2 and 3""" | |
| import operator | |
| import sys | |
| import types | |
| __author__ = "Benjamin Peterson <[email protected]>" | |
| __version__ = "1.2.0" |