HTML5 Canvas - Ball Collision

html5 is the fifth major revision of Hypertext Markup Language (HTML), an application under the Standard Generalized Markup Language, the core language of the World Wide Web. HTML 4.01 has changed a lot since 1999, and today, several of the elements that were deprecated in HTML 4.01 have been removed or redefined in HTML5. In order to better handle today’s Internet applications, HTML5 adds many new elements and features, such as: graphics drawing, multimedia content, better page structure, better form handling, and several api drag-and-drop elements, positioning, including web application caching, storage, web workers, and more. ...

July 18, 2017 · 2 min · MoeJue

Officially starting the whole-site HTTPS encryption journey

After a period of internal testing, the blog officially launched full-site https. It has been almost a year since I established the website, and I have always wanted to build an https, but the original host does not support SSL certificates, so there is no way. The host was about to expire recently, so I changed to a supported server. People have always told me before that the blog can no longer be accessed from time to time. I wonder how it will fare in terms of speed and stability after upgrading to a better server this time. Then I upgraded my emlog version. Although it is only a beta version of 6.0.0, the background management interface is much better than the previous 5.X version. It still uses the Bootstrap UI library. (Note: The picture below shows the background management interface of the emlog 6.0.0 beta version. The third-party template setting interface is missing. The template management in the upper right corner of the picture below was added by myself) 2. The whispers disappeared When emlog first added Weiyu, I felt that it was unnecessary and rough, but after everyone became familiar with it, I removed it, which was a bit a bit awkward. . . In fact, this can also be written using a third-party plug-in, and it can be used by those who need it. . . Anyway, I didn’t whisper much (lazy), so I discarded it. ...

July 14, 2017 · 3 min · MoeJue

Simple css3 avatar rotation and 3D rotation effect

You often see comment sections on some websites, where the commenter’s avatar will rotate 360° when the mouse passes over it. Let’s take a look at the effect first .tximg{ height:300px; border-radius:50%; border:2px solid green; /*Change rules*/ transition:all 2s; } .tximg:hover{ /* Change action defines 2d rotation, parameter fills in angle */ transform:rotate(360deg); } css part img{ height:300px; border-radius:50%; border:2px solid green; /*Change rules*/ transition:all 2s; } img:hover{ /* change action Define 2d rotation, fill in the angle as a parameter */ transform:rotate(360deg); } ...

July 10, 2017 · 2 min · MoeJue

Draw iPhone with CSS3

Let’s take a sneak peek at the renderings first. (This is definitely not a picture. Well~ why are these words so weird~) Don’t ask me how much my iPhone is, because I don’t know, I haven’t used it, so you know. css style part #phone{ width:250px; height:500px; background-color:#2E2E2E; border:10px solid #3B3B3B; margin:100px auto; border-radius:30px;/*Set the rounded border of the div element*/ } #camera{ width:8px; height:8px; background-color:#1A1A1A; border-radius:50%; border:2px solid #505050; margin:10px auto;/*10px from top margin, left and right center*/ } ...

July 3, 2017 · 2 min · MoeJue

Stupid mess-Self-service application for friendly links

about Friendly link self-service application is an automatic friendly link review and addition system developed using PHP language. The grid system of the Bootstrap UI library is used for layout. After all, we are not a professional front-end, so it would be nice to be able to do this. Function introduction This system theoretically supports all websites; websites that support HTTPS; friendly links need to be placed on the homepage of the website; URLs that have URL jumps or protection cannot be detected; after the first-level domain name application is passed, the second-level domain name cannot be applied for; the background image is randomly selected from a thousand of my gallery; ...

June 1, 2017 · 1 min · MoeJue

A complete collection of OEPs in various languages

It is true that it is quite troublesome to compare with OEP, so I sorted it out and directly read and understand OEP in this article, Or right-click the image to save it locally. Click to view the larger image If it helps you, please leave a comment~ VC6 and Easy Language Delphi7 VB5 VB6 BC++ **VS2008Debug ** **VS2008Release ** **VS2012-VS2015Debug ** ...

May 19, 2017 · 1 min · MoeJue

Implement Emlog’s latest comment list without displaying blogger’s comment replies

Bloggers need to interact with visitors frequently, and the blogger’s reply is also displayed as a comment in the latest comment. In this way, if the blogger replies to several comments at a time, all his own comments will be displayed in the latest comment, which is not good. Take my current emlog5.3.1 version as an example: Open the cache.php file in the include/lib directory (this is a cache function file) and find the following code in it: ...

May 6, 2017 · 2 min · MoeJue

Programmers’ Daily Viruses Series

DropFileName = “svchost.exe” problem solution Here’s what happened. A friend sent me the source code and asked me to take a look. I accidentally clicked on an exe file inside, and a network request popped up. I quickly closed it, and then I discovered that there was an exe executable file disguised as the system music folder in the same directory. I felt something was wrong, but I couldn’t be sure. Then when I deleted the entire folder, it prompted a message that a program was in use. ...

May 4, 2017 · 3 min · MoeJue

My two-dimensional online gallery

My gallery - 2D online gallery After a period of hard work, it was finally completed. It’s too late to explain, the old driver is about to drive, so get in the car quickly. By the way, we are regular cars. Warm reminder: Please do not browse in the company of others. Warm reminder 2: F11 browser has the best full-screen browsing effect. This page has several purposes: Spread and popularize the two-dimensional culture. ...

May 3, 2017 · 2 min · MoeJue

Exposing the website's backend address is a very dangerous thing

Exposing the backend address of a website is a very dangerous thing. For example, the backend address of my website is: Admin Login The Internet is a complex world, and every webmaster must learn to protect himself. The default background path of emlog is the admin directory, which exposes important information very nakedly. There are three steps to modify the default background path: Open the admin directory, find globals.php, and open it with editplus or other editors. If you want to open it with notepad, you can do it ^_^ No consequences. ...

April 30, 2017 · 3 min · MoeJue