WWDC 2016

This was a VERY unusual WWDC. One of my best friends was actually one of the Apple engineers that imparted sessions.

There is no way things could be more awesome… Right?

I’ve got nearly 45 sessions in my download queue, which will definitely take a while to go through. So far, I’ve got few highlights:

  1. The new Foundation is immutability friendly.
  2. Xcode got violently powerful with memory graphs.
  3. There is no way a single human could absorb everything that was published.
  4. Same as above.
  5. Apple Filesystem has copy on write capabilities, which will make my life easier.

Removing Cocoapods Integration

I’ve recently stumbled upon a huge Cocoapods annoyance. By recently i mean: 5 minutes ago. And by annoyance i mean: i’ve been struggling with this for an hour.

After switching over to CocoaPods 1.0, i began getting the following error:

ld: library not found for -lPods

Luckily, my friend Aaron shared this dark knowledge:

sudo gem install cocoapods-deintegrate
pod deintegrate
pod install

Thanks Aaron. Seriously. Thank you.

IPTables: Blocking your favorite Brute Force Attacker

If you happen to detect a bruteforce attack on your self-hosted WP instance, this would be the IPTables syntax to block it:

iptables -A INPUT -s 119.81.130.34 -j DROP

Whenever you miss the attacker, and you’re ready to unblock, you may just type:

iptables -D INPUT -s 119.81.130.34 -j DROP

Hope this helps!