Categories
Developer Life

DO YOUR WORST

Don’t be afraid to show the worst projects. Your embarrassing ones. The ones you made when you were young, the ones where you made the cringiest choices, the ones where the very obvious mistakes stand out. That school project you made when you were five. That coding marathon hack-job you cobbled together at 3 AM […]

Categories
DIWhy Life

Reviving my YP-S2 MP3 player

Anybody remember when Samsung made MP3 players? Yep. I mean, Yepp. Weird brand name aside, Samsung’s MP3 players were pretty solid. They played on for hours and the sound quality was not that bad. They folded back in 2014, obviously, now that we don’t know of them. But they still made good products! While looking […]

Categories
Life

Short post day – charging laptops with weak chargers

How long would it take to fully charge my Mac from 0 to 100% with my 5 W charger? Why this question? Well, I have a cheap Chinese power bank that claims a battery capacity of 10,000 mAh. No doubts whatsoever. This is most definitely a 10,000 mAh power bank: OK maybe it’s not 10,000 […]

Categories
DIWhy

Repasting my 2018 MacBook Pro

This is going to be a short article, because I neglected to record anything. I was going to initially disassemble the entire thing, then reassemble it, then start recording again as I went through the process. In reality, I only disassembled it once and gave up all hopes on re-disassembling it, because it is that […]

Categories
Developer

School phishing email analysis

Big notice before we begin Before you start reading, please delete the email you have received. Do NOT click on the link. If you have clicked on the link contact IT support to have your password changed. Seems like people at our school really need a basic computer security training. But that’s OK, because for […]

Categories
Developer

School malware email analysis

Around 10:24 AM most of the students at our school received this email from our IT administrator: Dear fellow students, As you may already be aware, there is a scam email circulating around campus.  So be careful. This computer virus probably infected someone’s home computer (our school computer has anti-virus program installed and it can be […]

Categories
China

List of Chinese apps for foreigners

This list will be continuously updated! Or, at least until I leave China. Android CAUTION – Before installing any of the APKs listed below, consider uploading them to VirusTotal to make sure nothing nasty has been done to the installers! 饿了么 (Èle me) – Direct APK link (open this on your Android phone)淘宝 (Táobǎo) – […]

Categories
Developer

Flush any DNS cache

Windows Thanks Microsoft, for making this easy and consistent across all Windows versions! You only need to remember one command: That’s it. macOS In stark comparison, Apple decided to Think Different™ and make 20 different commands to flush the DNS cache. And there’s only one valid command in each macOS version. sigh Let’s get to […]

Categories
Linux

Back up your WordPress site (manually)

TL;DR – don’t use automated solutions. Do it properly and do it manually Create a temporary directory to work in: Time to dump the MySQL database! It’s not that hard. Quick note before you run this – this is assuming your MySQL installation authenticates via UNIX sockets. If you have password authentication I suggest moving […]

Categories
Android Apple Developer Linux

How to encrypt everything in your life

Big warning before we begin Encryption is only as strong as the schema that supports it. If the software has a vulnerability then your encrypted data may be as good as unencrypted data in the hands of adversaries. So make sure you keep all of your software up to date and follow best practices. I’m […]