Monday Reading List

Don’t snapshot your UI components, make assertions!

Great post discussing unit test and the reason behind making assertions vs snapshot UI. More of philosophical that hopefully shape how you think about unit testing. Good read.


Something to Know about gRPC in ASP.NET Core 3

gRPC is on the rise! And so is ASP.NET Core 3! But wait, it’s not working in Azure App Service? Head on to this post to learn why. But, hey, maybe it will be fixed soon.


AI Terms Every Beginner Should Know: an Abbreviations Glossary

This is the kind of post I like. I would start learning about AI but hardly can explain it to others. Knowing the terms definitely helps, and it makes you look like an expert!


Hacking ASP.NET apps and turning them onto Zombies

Interesting post about ASP.NET. Even though this is security related, it’s not one of those boring security. It’s about hacking, injecting malicious code into ASP.NET app. And more importantly, how to prevent it.


Fast Data is Forcing New Strategies in DevOps

Probably not worth your time to read. But I do like that it argues real-time streaming data has its own challenge in DevOps. It also offer high-level solutions / approach to the challenge.


Access iPad File System with SSH from Mac

  1. Install “OpenSSH” on your iPad This can be found on Cydia if the iPad is jail-broken.
  2. Enable the SSH connection on the iPad I install “SBSettings” from Cydia to turn SSH on / off. There are many other apps that can do this.
  3. Find out your iPad’s IP address If you have “SBSettings” installed, you can see your IP address on this app as well.
  4. From your mac, run Terminal
  5. SSH to your iPad by typing the following command SSH root@192.168.1.65
  6. When prompted for Password, type in “alpine” (without double quote – all lowercase)
  7. Whoola, you are in iPad’s file system now.
  8. If you can’t access your iPad with SSH, try reboot the iPad.

Delete All iPad’s Address Book and Calendar Data

  1. SSH to your iPad.
  2. Note that the folder and file names in iPad are case-sensitive.
  3. Delete “AddressBook.sqlitedb” file on “/private/var/mobile/Library/AddressBook/” with the following command:
    rm /private/var/mobile/Library/AddressBook/AddressBook.sqlitedb
  4. Delete “Calendar.sqlitedb” file on “/private/var/mobile/Library/Calendar/” with the following command:
    rm /private/var/mobile/Library/Calendar/Calendar.sqlitedb

Hacking AT&T U-verse Router (Gain Access)

I came across a network with internet connection provided by AT&T U-verse. Out of my curiosity, I wanted to access the router’s configuration manager, thus I needed the gateway ip address.

  1. Tried 192.168.0.1 with no luck. And since I was using my Mac, ifconfig command doesn’t give me the gateway ip address. Workaround is to trace route google.com:

    The ‘home’ route, which is 192.168.1.254 is the gateway ip address.
  2. Go to 192.168.1.254 on any browser.
    Apparently, AT&T U-verse default setting is using above ip address as configuration manager portal. Also, when you access the configuration manager portal, there is no password needed. Only certain section will require password.
  3. Configuration Manager Portal.
    Even without password, you already have access to a lot of information about the network.
  4. Browse to Settings > LAN > Wireless, and I saw:

Happy hacking!