Objective-C @property Attributes

With the Apple watch coming soon there has been an influx of new iOS developers. Because of this I keep seeing the same type of conversations and pull requests centered around this one topic property attributes. I have seen developers use various attributes by default, without really knowing what they do; leading me to believe that many Objective-C programmers think that the @property is some sort of black magic that automagically solves problems.

The @property Defined

The @property is a property decalaration which declares one or two methods and

Read More

AppCode Needs Java SE 6 Runtime

I just downloaded AppCode and aparently it depends on the legacy Java SE 6 runtime. After doing some googling I found the .dmg that I needed from an old Apple page. After running the installer AppCode is running smooth like butter!

Read More

Google Chrome - Error 105 Quick Fix

Lately I have been faced with a strange error that only seems to occur in Google's Chrome browser. For example, I would go to a website and all of the images would be broken or the site just wouldn't load up. Opening Chrome's developer tools by pressing F12 and clicking on the Console tab the problem revealed itself: Error 105 (net::ERR_NAME_NOT_RESOLVD): Unable to resolve the server's DNS address.

What's Error 105?

Receiving an Error 105 means a DNS resolution error has occurred. Basically what happens

Read More

Really Windows? Path is too long?

While developing with node.js in Windows I occasionally run into the issue where I can't delete a node module because the module has redundant subfolders that exceed Windows path limit of 260 characters thus forcing me to traverse each subfolder only to rename them to some arbitrary one length character.

After doing some research into this issue I have came to the conclusion that the problem isn't Windows, it's the modules author and what seems like their inherent lust for deep hierarchies.

Solution One

In order to delete

Read More

Arch Linux Installation - Conclusion

We have finally arrived at the part that you've all been waiting for, installing and interacting with the XFCE desktop environment.

XFCE Setup

Logged in as your user account issue the following command:

  • sudo pacman -S xfce4 xfce4-goodies gamin firefox
  • Then press enter, enter, Y to install the packages and continue the installation

Editing .xinitrc

We're almost ready to start our desktop environment but first we need to copy then edit the xwindow config file.

  • cp /etc/skel/.xinitrc ~
  • nano .xinitrc

Now uncomment the following line:

  • exec startxfce4


Read More

Arch Linux Installation - Part Five

In this post we're going to be tying up some loose ends. So the first thing we need to do before we get started is login as root, give it a password then change our hostname.

Root Password Setup

To set a password for the root account use the following:

  • passwd EnterPasswordHere
  • Then type exit

Now login as root and type in the password you just created. Success!

Hostname Setup

Changing the hostname is extremely easy:

It is reccomended to have all lowercase letters for your hostname.

  • hostnamectl set-hostname
Read More