What Happened The quality of my previous laptop (Lenovo Legion R720) isn't great. After 4 years of use, I swapped its keyboard once and replaced its failed mechanical hard drive with a SATA SSD. In addition, every time I opened its back panel, some plastic residue or even screws would fall out from the back panel or the hinge. These were strong indications that the laptop already had one foot in the grave. So I took advantage of a special deal and got a new laptop for cheap, and planned to migrate my data over to the new laptop. The operating system I daily drive, Arch Linux, sits on a Western Digital SN550 1T SSD I bought half a year ago (including the EFI boot partition and the Btrfs-formatted root partition). The usual procedure is to reinstall the operating system on the new laptop....
WoSign, Why Don't You Just Fly to the Sky!
Just saw on V2EX that someone exploited a vulnerability in WoSign's certificate issuance system to successfully issue a certificate for GitHub's main domain. https://crt.sh/?id=29647048 Certificate: Data: Version: 3 (0x2) Serial Number: 5d:8f:2b:91:ef:b8:dd:65:af:4c:c1:2b:15:ef:4b:6e Signature Algorithm: sha256WithRSAEncryption Issuer: commonName = WoSign CA Free SSL Certificate G2 organizationName = WoSign CA Limited countryName = CN Validity Not Before: Jun 10 05:42:44 2015 GMT Not After : Jun 10 06:03:35 2018 GMT Subject: commonName = schrauger.github.io Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit ) Modulus: 00:e4:3b:a1:76:73:3c:b1:62:8d:53:6d:ef:a8:e9: 5b:9e:0e:15:63:e6:57:ac:cc:31:b3:48:2b:01:74: ae:d8:7d:1c:6b:ed:2a:40:45:36:62:83:ac:d7:a5: 80:...
A Javascript for time crowdfunding calculation
In the ancient Eastern land imbued with mysterious magical powers, each minute passes in 59 seconds. var toad = new Date () var secondsDonated = Math . floor (( toad . getTime () + 1368835200000 ) / 59000 ) toad . setTime ( toad . getTime () + secondsDonated * 1000 ) toad . toLocaleString () -1368835200 is the UNIX timestamp of his birthday, with additional zeros appended since JavaScript calculates time in milliseconds. By donating your time, you become equivalent to someone living in outside China. You and every individual have collectively donated seconds. This translates to years, days, hours, minutes and seconds. function crowdFund() { var toad = new Date(); var secondsDonated = Math.floor((toad.getTime() + 1368835200000) / 59000); $('#time-crowdfund-donated').text(secondsDonated)...

Jackie Chan Sends Jaycee Chan Flying 5 Meters: Are You Kidding Me?
According to NetEase News http://ent.163.com/14/0820/20/A449AUVV00031H2L.html , Jackie Chan angrily struck his son upon seeing him, sending Jaycee Chan flying 5 meters through the air. Knocking a grown man 5 meters away? Truly a martial arts family! Let's calculate this using high school physics knowledge first, neglecting air resistance. Method provided by a classmate. If air resistance is neglected, Jackie Chan could kick a soccer ball 700 meters. What is the national team coach doing? Hurry and recruit Jackie Chan to play soccer! With air resistance factored in, a distance of 300 meters (estimated) is still incredibly impressive. Moreover, the force behind Jackie Chan's kick to Jaycee would need to be even stronger. Actually, I just want to ask one thing:...
【Rumor Debunked】SAE Domain Forgotten to Renew, Snatched by GoDaddy
Update: SAE has officially debunked the rumor. http://weibo.com/1662047260/Bg8rZ0sGN SAE is Sina's cloud computing platform and one of the earliest cloud platforms in China. It has been running relatively well, but recently they made a big mistake: they forgot to renew the domain name sinaapp.com, which is used to run websites on SAE, and it has been deleted. Moreover, it seems they won't be able to get the domain back anytime soon because the foreign domain registrar GoDaddy quickly snatched the domain upon expiration and renewed it until 2020. No one knows how much GoDaddy will ask for this domain. $ whois sinaapp.com Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic....

CAPTCHA: No Zuo No Die
As we all know, CAPTCHAs exist to prevent machines from brute-forcing passwords or spamming comments with advertisements. Typically, a CAPTCHA consists of 4 digits with some interference lines to thwart brute-force attacks as much as possible. The problem is... there's also a kind of absurd CAPTCHA in this world. Image source: http://imbushuo.net/archives/58 . I just want to say: What's the point of this CAPTCHA? Any random program could extract and auto-fill it. According to imbushuo: What』s more, the verification process is completed in the client side… ( later I found that I could bypass the CAPTCHA by sending the HTTP request directly. ) He actually wrote a program that logged in successfully without even sending back the CAPTCHA! This CAPTCHA is truly "impressive....

The Legend of Class 63 — Summit of No.2 High School: Reverse Engineering and Easter Egg Hunt in the Demon Tower Game
These nights I've been attending chemistry Olympiad classes. During yesterday's session, our chemistry teacher invited several seniors to share their experiences. As they chatted, they mentioned a Demon Tower game they developed in their free time — "The Legend of Class 63: Summit of No.2 High School". Such an impressive game with Hangzhou No.2 High School elements naturally made me curious about its Easter eggs. Instead of playing through, reverse engineering seemed more efficient. The seniors mentioned using RPG Maker XP. Easy enough — downloaded it from http://xiazai.zol.com.cn/detail/43/426737.shtml Noticing the 9MB Game.rgssad file, I tried opening it with 7-Zip. No luck. The file properties revealed: Encrypted? Interesting....
The Course Selection System Sucks
The school's course selection system opened at 12:00 for club sign-ups, using a snatching mechanism—limited spots, first-come-first-served. Having used this system before for elective courses, I logged in early (no courses were displayed yet). Starting at 11:59:30, I kept refreshing the page repeatedly, waiting for the courses to appear. At exactly 12:00, the courses popped up. I immediately clicked on my desired club. Instantly, a window flashed on the screen: "Registration failed! Schedule conflict!" Upon closer inspection: The club sessions were all scheduled for Monday and Tuesday's eighth period (though not actually at that time), while my previous electics occupied Monday/Tuesday/Thursday's seventh-eighth periods and Wednesday's fifth-sixth periods. Total conflict... Later,...
Speed Up Your DNS Resolution with Pdnsd Caching
When you type a website address into your browser, the browser can't immediately locate the site. It first sends the address to a DNS server, which then queries other servers layer by layer until reaching the root servers to obtain the website's IP address. Only then can the browser establish a connection. This process repeats every time you visit a new website, resulting in slow speeds. Additionally, DNS servers operated by Chinese telecom providers may hijack your requests to redirect you to pages like 114 Navigation. To accelerate browsing and gain anti-interference benefits, we can set up a local DNS server on our computer. For Linux and Mac systems, Pdnsd is a lightweight solution. It queries other DNS servers via TCP or UDP to resolve domain names, caches the results,...