Author:
erics , December 10th, 2021
I use the httpful library from https://phphttpclient.com The website has not defined the Httpful\Response keys anyplace easy to find, so I have documented them here:
body
raw_body
headers
raw_headers
request
code
content_type
parent_type
charset
meta_data
is_mime_vendor_specific
is_mime_personal
Categories: How-To's , Technology Tags: Body , Code , httpful , Httpful Response , Httpful\Response , Object , php , Response
| No comments
Author:
erics , December 7th, 2021
I needed to block email based on the Subject header. The solution is simple: Edit main.cf as root and uncomment or add:
header_checks = regexp : / etc / postfix / header_checks
Next, creaate or edit /etc/postfix/header_checks as root and add the following line:
/ subject : \ sbad subject text here / REJECT header_checks NO SPAM ALLOWED
/ subject : \ stest subject text here / DISCARD header_checks NO SPAM ALLOWED
Finally, run sudo postfix reload NOTE: Do NOT add the “i” after the regular expression! It is case-insensitive by […]
Categories: How-To's , Technology Tags: Block , Check , Checks , Discard , Header , header_checks , headers , howto , PostFix , Reject , Spam , Subject , tips
| No comments
Author:
erics , December 2nd, 2021
Use AutoRaise! From the docs: “When you hover a window it will be raised to the front (with a delay of your choosing) and gets the focus.” Web page: https://github.com/sbmpost/AutoRaise Download: https://github.com/sbmpost/AutoRaise/archive/refs/heads/master.zip
unzip - d ~ ~ / Downloads / AutoRaise - master . zip
cd ~ / AutoRaise - master && make clean && make
make install
My ~/.AutoRaise file:
#AutoRaise config file
delay = 3
Categories: How-To's , Technology Tags: apple , AutoRaise , Delay , Focus , Focus Follows Mouse , Follow , Hover , howto , Mac , MacOS , macosx , Mouse , Raise , tips , window
| 1 comment