Safari 13 Remove Google search results jump

Create a new Safari plugin project using Xcode

In Safari 9 before,We just download a safariextz file and double click on it,So that Safari can load this plugin。The benefit is definitely very convenient,But it ’s also not very secure (plugins that can be downloaded everywhere,It is likely to have been tampered with)。

So later,Apple no longer allows users to directly download plug-ins to install on Safari,App must be downloaded from Mac Apple Store,Then the Safari plugin is provided in the form of a plugin in the app,With App[……]

Click link to continue reading...

Avoid WordPress being used as a reflection amplification attack

Before I wrote an article,Use fail2ban Bind9 be used to prevent DNS amplification attacks,Never imagined,original Wordpress It can also be used for amplification attacks,The principle is its Pingback mechanism。

Pingback is a tool for notifying each other of a Wordpress website,For example, A blog refers to a link to a B blog post,Then Wordpress can automatically help you inform B blog,Tell the blogger that you quoted his article。

This[……]

Click link to continue reading...

iOS correctly set the status bar style color

When developing iOS apps,Many applications need to set the color of the iOS system status bar according to the current App content color,Black or white-especially on iOS 13 After the system supports the black mode。

Normal,Others will tell you to do this:

But this triggers a warning: Deprecated in iOS 9 。So is there any other way? Have,The official recommendation is[……]

Click link to continue reading...

When Mailgun no longer free,How do you placed your domain mail?

Before I wrote an article:《 Use Mailgun create your free domain mailMailgun There is a very interesting feature is the recipient routing,With this feature set,You can use any incoming mail forwarding to your mailbox which set a good,This eliminates the need for each domain name to set up a mail service,Only through Mailgun On the corresponding e-mail can be forwarded by e-mail needs - after all,,Usually we will use these domain mail may be a basic authentication。

Recently,Mailgun no longer free,Free users[……]

Click link to continue reading...

Swift Python Json data exchange signature

It has been a very popular self-signed certificate for HTTPS decryption,Then there are a lot of people realize crack of App by modifying Apple's internal purchase receipt。In fact Verified Purchase should be connected to the server App,Server to communicate with Apple's servers,The results are then sent to the App - but a lot of developers (including individual developers and corporate developers) do not bother to go to a special server maintenance,So communicate directly with the App and Apple's servers,This provides an opportunity for middle attacks。

Middle attack,It means when A and B communicate[……]

Click link to continue reading...

Swift Debug EXC_BAD_ACCESS in AppDelegate

 

Many people will encounter in the development EXC_BAD_ACCESS ,I'm sorry,This time, Xcode does not give any detailed solutions。

usually,This is due to a memory error caused。In simple terms it is that you create an object A,But in the later time of the visit,A memory in this area have been moved to do the system he used,Put objects such as B here - A your left hand,The actual content does not exist。

Then there will be such a collapse similar:
[crayon-662[……]

Click link to continue reading...

Swift strftime use quick format date and time

Processing time and date software development is a very common operation,Almost all programming languages ​​provide a corresponding API to facilitate the development of the date and time to process,Swift is no exception,such as DateFormatter ,You can use it any Date Custom format is converted into a text string。

--but,[crayon-662e05d1d3196563[……]

Click link to continue reading...

Supervisor will use your Python program becomes Services

Many of my friends are using Flask framework to write a small server,Easy and fast,But also a key to run,Very comfortable。but,If you really want your service to be deployed on the server,Then you will find that there are some homework to do,This article,We mainly talk about how to write the program into a service on the server instead of the terminal in the execution of the command。

If we write a Python web application,Then it needs to be running to listen for HTTP requests,If direct execution terminal
[crayon-662e05d1d[……]

Click link to continue reading...

macOS app automated publishing to upload AppCenter

Before I wrotemacOS app script to automate notarize,Because I use Microsoft's HockeyApp input method for crash statistics,So I also need to upload it here once app "publish",So HockeyApp to receive the corresponding version of error statistics。

now,Microsoft has updated HockeyApp become AppCenter,Automated command also very friendly,In fact, this operation can also be added to your automation scripts inside,complete in one step。

Click link to continue reading...