https://www.digitalocean.com/community/questions/nginx-is-unable-to-bind-to-443
sudo fuser -k 443/tcp
service nginx restart
(* | |
The Hit List Mail Import | |
Copyright © 2012 Potion Factory LLC. | |
Licensed under a Creative Commons Attribution 3.0 License: http://creativecommons.org/licenses/by/3.0/ | |
To customize this script, copy it first to: |
-- Mail.app can't run a "Contains" filter with a regex, | |
-- so you can't filter on HTML content. Until now. | |
using terms from application "Mail" | |
on perform mail action with messages theMessages for rule theRule | |
try | |
repeat with theMessage in theMessages | |
-- Getting the content as string converts all HTML tags to '?' and just leaves text content | |
set theBody to quoted form of (theMessage's content as string) | |
-- It's awkwardly hard to get sed to work w/ mult. lines, so collapse newlines | |
set theCommandString to "echo " & theBody & " | tr '\\n' ' ' | sed \"s/brett Author/*MATCHED*(&)/\"" as string |
################################################################################# | |
# Title: Mail - Update Rule | |
################################################################################# | |
#Iain Dunn | |
#Logic2design.com | |
#[email protected] | |
# Contributors, inspration and sources | |
# https://leancrew.com/all-this/2021/06/hey-i-sped-up-apple-mail-rules/ |
(* | |
Apple Mail to Markdown Formatted Day One Entry | |
!!! IMPORTANT !!! | |
Requires the Day One Command Line Interface. Download and install from here: | |
http://dayoneapp.com/tools/ | |
Adapted from 'Apple Mail -- Text File Exporter w/ Basic Header Info' by Justin Lancy: | |
http://veritrope.com/code/apple-mail-export-to-text-file-w-basic-header-info |
--taken from http://benguild.com/2012/04/11/how-to-import-tasks-to-do-items-into-ios-reminders/#comment-1346894559 | |
--set theFileContents to (read file "Users:n8henrie:Desktop:Reminders.txt") -- Change this to the path to your downloaded text file with your tasks in it! (Note the : instead of a / between folders) Or, just name them Reminders.txt and put them in your downloads folder | |
--set theLines to paragraphs of theFileContents | |
set theLines to {"task name 1", "task name 2"} | |
repeat with eachLine in theLines | |
tell application "Reminders" | |
set mylist to list "Your List Name" | |
tell mylist | |
make new reminder at end with properties {name:eachLine, due date:date "7/10/2014 3:00 PM"} |
https://www.digitalocean.com/community/questions/nginx-is-unable-to-bind-to-443
sudo fuser -k 443/tcp
service nginx restart
# first we download the list of IP ranges from CloudFlare | |
wget https://www.cloudflare.com/ips-v4 | |
# set the security group ID | |
SG_ID="sg-00000000000000" | |
# iterate over the IP ranges in the downloaded file | |
# and allow access to ports 80 and 443 | |
while read p | |
do |
git clone https://github.com/Neilpang/acme.sh.git
cd acme.sh
./acme.sh --install
Optionally, set the home dir and/or account info (if already have one).
If was previously using LetsEncrypt's certbot, can probably get account info from
/etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/*/regr.json
.
This guide is unmaintained and was created for a specific workshop in 2017. It remains as a legacy reference. Use at your own risk.
Workshop Instructor:
This workshop is distributed under a CC BY-SA 4.0 license.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>SkipAppearance</key> | |
<true/> | |
<key>SkipCloudSetup</key> | |
<true/> | |
<key>SkipPrivacySetup</key> | |
<true/> |