Tengine is a high-performance web server developed by Alibaba based on nginx. In addition to retaining nginx's original high-performance features, it adds the following capabilities: Inherits all features of Nginx-1.2.9 with 100% configuration compatibility; Dynamic module loading (DSO) support. Adding modules no longer requires recompiling the entire Tengine; Input filter mechanism support. Simplifies development of web application firewalls; Lua dynamic scripting language support. Enables efficient and simple feature extensions; Supports pipe and syslog (local/remote) logging with log sampling; Combines multiple CSS/JavaScript file requests into a single request; Enhanced load balancing with consistent hashing, session persistence,...
Win7 Laptop Broadcasting Wireless Network
A few words first. Moved to a new place. Just had internet installed, with the interface in the living room. No air conditioning in the living room. Device situation: Two laptops (Macbook and Win7), one phone (seems useless). Requirement: Use the Win7 laptop to broadcast a wireless network. Tried with Macbook, but it could only create an Adhoc hotspot, which my Android phone didn't recognize. Tried Win7's built-in network creation—also Adhoc. Phone didn't recognize it, and although Macbook detected it, connection failed. Background introduction complete. Main text begins. Start Menu → Programs → Accessories. Right-click and open Command Prompt as Administrator. Enter the command: netsh wlan set hostednetwork mode=allow ssid=lantian key=lantian....

Booting SliTaz Linux Using an Android Phone
For Android phone users, almost everyone knows that connecting your phone to a computer via USB allows it to function as a USB drive for file storage. But did you know that an Android phone can also be used to boot Linux on a computer? First, let's discuss computer booting. When you press the power button, components like the CPU and memory receive power and begin executing a pre-installed program on the motherboard called BIOS. BIOS then starts your operating system in the following ways: It searches devices in the boot order sequence (optical drive, hard disk, network, etc.) as configured. If a bootable device is found, it executes the code on that device to start the system. If you press the boot menu key (usually Esc or F12) to manually select the hardware,...

How to Keep Internet Connection When Closing Macbook Lid
In the past, when I didn't use my computer, I'd simply close the lid. The screen would turn off while Thunder continued downloading files and QQ stayed online. Perfect! :-) However, when you close the lid on a Macbook, it enters true standby mode—the internet disconnects, and you can forget about QQ or Thunder. QQ can still be kept online via mobile, but Thunder... Even using your phone consumes battery. The phone needs charging, but after some time in standby, the Macbook automatically hibernates. When hibernating, the USB ports lose power, so your phone stops charging. I've never woken up to a fully charged phone. This bug must be fixed. So I searched online and found a software called Sleepless. As the name suggests, it prevents your computer from going into standby or hibernation....

Manually Setting CPU Fan Cooling for Macbook
When designing products, Apple always strives to make devices as thin as possible. For phones, this isn't a major issue, but for laptops, thinner designs often lead to hotter machines! If the CPU consistently operates at high temperatures, it will age faster, shortening its lifespan and requiring earlier replacement. Therefore, monitoring CPU temperature is crucial. I noticed this issue while watching videos on Bilibili – my Macbook's exhaust vents were extremely hot. I immediately realized I needed temperature monitoring software. That's when I found smcFanControl , a tool that monitors CPU temperature and controls fan speed. It displays real-time CPU temperature and fan RPM in the menu bar. After downloading the .app file, right-click any Dock icon (except Finder, window icons,...
How to Run Multiple Instances of Mac QQ and Mobile QQ
I have two QQ accounts: one main account for daily use and a secondary one for casual purposes. However, the Mac version of QQ doesn't support multi-account login like the Windows version, and Android QQ doesn't allow multiple instances either. Therefore, we need to get creative. Running Multiple Mac QQ Instances The method is surprisingly simple: just press Command+N . This is Mac's shortcut for creating new documents. Now you get the idea, right? ^_^ Running Multiple Android QQ Instances Tencent offers two mobile QQ versions: the standard mobile version and the HD (tablet) version. Normally, we use the mobile version. But by installing the tablet version alongside it, you can run multiple instances. Steps: Visit http://qqhd.qq.com ....
Interoperability between IPv4 and IPv6
IPv4 is currently the most widely supported network protocol, where computers are identified by IP addresses. Theoretically, it can accommodate up to 2 32 2^{32} 2 32 network devices (IPv4: 8 hexadecimal digits). Unfortunately, these addresses have been exhausted, and it's truly a mystery how major ISPs allocate limited IP addresses to an infinite number of computers. IPv6 is far more impressive, with each address containing 32 hexadecimal digits, allowing for 2 128 2^{128} 2 128 network devices. These IP addresses will be more than sufficient before humanity perishes due to Earth's inability to sustain us. This protocol is championed by major internet companies including Google, DNSPod, and others. However, currently in China, IPv6 seems to be used only in universities,...
Bad Apple NG Fixed and Enhanced Version
This update fixes several issues. The frame rate statistics were actually incorrect (due to my brain-fart code), and the frame rate remained at 20 FPS throughout the entire video. The FPS statistics have now been changed to processing delay. (PS: The program automatically adjusts for processing delay.) Some users reported that it did not run properly on 64-bit OS. It was likely an int64 issue. Now it has been changed to longint, and the issue should be resolved. Added a statistics feature (you can turn it off by changing the third line from stat=true to stat=false). Data file download: /usr/uploads/2013/03/badapple.7z Source code: (compile with FPC 2.6 by yourself) uses crt,dos; const stat= true ; inx= 79 ; iny= 24 ; yanchi= 50 ; yanchitj= 800 ; type pic= array [ 1 ..inx, 1 .....
Bad Apple NG: Enhanced Bad Apple Playback System
UPDATE: If encountering issues like failure to open or runtime error 2, please check the instructions at Bad Apple Command Line Art Version regarding data files!!! My previous Bad Apple Command Line Art Version was successfully reposted by classmate WotorDho and enhanced with delay calibration to maintain consistent FPS when system lags. However, he used a custom XCrt unit from his Wenlan Killer project, which contains redundant code and is hard to understand. After studying XCrt, I modified my player to achieve the same effect (theoretically with better performance). Additionally, I optimized the Telnet transmission that previously wasted bandwidth by sending full frames. The new version only updates changed pixels, significantly reducing data transfer....
Discover More eMule Users with Headless Files to Speed Up Downloads
eMule is a well-known P2P protocol where users can search for other eMule users online and access desired resources. The eMule protocol consists of two parts: ED2K and KAD. ED2K operates similarly to BitTorrent, requiring clients to maintain a server list. During downloads, clients connect to servers to obtain lists of other users before establishing connections - much like Tracker servers in BitTorrent. The unique aspect is the KAD network, which allows direct user searches without servers. However, KAD searches are slow due to the inefficiency of scanning IPs individually. eMule addresses this by allowing KAD exchange through ED2K: clients discover peers via ED2K, exchange KAD contacts, connect through KAD, and repeat. But repeated connections still consume significant time....