Manually Override DNS -Window, Linux and Mac Examples


First off, let me explain what a DNS Entry is in order for us to understand why we would need to override it. Basically a DNS entry is a record or entry that tells us what ip address is of a domain will point to. Such as an example (not actual) IP of could point to a domain such as

Say perhaps we are updating a DNS entry and as the nature of DNS would have it, sometimes it will take up to 48 hours for the DNS to propagate through the Internet. Or perhaps we don’t want to update a DNS record which could affect everyone but rather just change a record for ourselves, locally. In these case, we can manually override the DNS change which will only reflect on our local machine. Below I will show you how to achieve this on Windows, Linux and Mac.

Manually Override DNS on Windows

Open up the hosts file located under “C:\Windows\System32\etc\drivers\“. In there you will see the IP address in the left column and a space separated list of domains to the right. The below example will set the 3 domains of, and to the IP address of

Manually Override DNS on Linux

vi the hosts file which is located under /etc/hosts. Add in a line below the last entry in the same fashion as you would for windows. For example if you wanted to change the ip address for the domain to point to you would enter:

Manually Override DNS DNS on Mac

Mac is the same as the above linux example. Simply edit the hosts file under /etc/hosts and add in the entries as needed. So again, you could enter something such as:

Manually Override DNS Using IPV6

You don’t always have to use a standard IPV4 as the IP address. You can also use IPV6 and enter it into any of the hosts files like so:

fe80::1%lo0 localhost

And that is all there is in Manually Override DNS in windows, linux and mac.

Using Curl As A Wget For Mac Replacement


I was trying to download a file on my Mac and realised that there is no wget for Mac. Since I consistently use wget I decided to find a way to get wget for mac. I found a quick way to create an fake wget command by creating an alias of curl. By creating the alias, I am able to call ‘wget’ and it will invoke curl -O in the background and download the file just as wget would have. This is a quick way to get wget for Mac.

Using Curl As A Wget For Mac Replacement

In order to create an alias of `wget` that will simply run the command curl -O I ran the command below:

echo 'alias wget="curl -O"' >> ~/.bash_profile

Now when i type ‘wget’ it will download the url as you would expect from wget. As mentioned before, in the background it will be invoking curl to download the file. So when I run `wget`, it is actually executing curl -O to download the file as we won’t even notice the difference. Well maybe a small difference. But the end result is the same and your file is downloaded.

Example Using The Replacement wget For Mac


The -O option to curl tells curl to save the URL as a file rather than displaying the source.

And that is all there is to it.

Is Apple Losing It’s Innovative Edge

iOS8 Renovates Their Design

The world has played audience to the overhaul Apple has gone through this last year. Not only has the company changed its stance to be a more friendly entity, it’s also promised to be more open. After releasing iOS 7, which completely renovated the visual palette of the original iPhone, Apple has gone a step further this time. The release of iOS 8 took everyone by surprise as it discarded the original iPhone blueprints and replaced them with a more interactive and friendlier interface.

Is Apple Losing It’s Innovative Edge



It is very hard to completely redo the design of a popular interface without altering the experience of dedicated users. This task proved hard even for Apple, as the new interface with a wide range of flaws, both trivial and fatal, hit the market. With numerous bugs coming into the spotlight as users and critics explore the new OS, there is an obvious capacity for improvement. Some of the more vital areas of problem are related to Wi-Fi and battery drainage. Despite working flawlessly on iPhone 6, iOS 8 doesn’t seem to pay much attention to the older phones or iPads. The dragged Wi-Fi speed, massive amount of storage for the update, and heavy apps draining battery are really getting on users’ nerves.

Many new Features And Just As Many Bugs

Although the number of bugs in iOS is much higher than anticipated, it also includes quite a few cool new features. One of the most useful addition is Continuity. Allowing the user to pair devices, Continuity makes transition of work smooth and you can switch devices easily. To respond to the complaints, Apple has also added a Bug Reporter to the mix, which allows you to report any foul play to the company. Gamers and have a reason to rejoice as Safari allows them to run Web Software for the WebGL and hence get 3D graphics. IndexedDB standard has also been met which lets the users continue emails, word processing etc without interruption during faulty internet access.

Apple Is Losing It’s Polish

Apple Losing It's Polish

Apple Losing It’s Polish

Apple’s products have always been well polished and any features and designs are well thought out and beautifully implemented. That being said, the latest round of products seem to have less passion and polish that what we have come to expect. Will they step up their game and get back to where they were? I certainly hope so.
It is starting to appear that Apple is playing more of a game of catch up than leading the world in innovation.

They’ll Bounce Back

Or will they? Is Apple Losing It’s Innovative Edge? Apple’s diehard fans are highly unlikely to think much of the bump on the road Apple’s hit. Looking at the brand’s past reputation, we know they’ll bounce back and reclaim their position.

Agree To Xcode License Command Line


With the newer versions of Xcode and iOS being released lately, you will undoubtedly be presented with the updated license agreement. Agreeing to it is mandatory and below I will show you how. So if you are not sure, read on.

Agree To Xcode License Command Line

Performing tasks on the command line in Terminal will cause you to continually be prompted to accept the license agreement like so

12:25pm @ darianbr:  xcodebuild

The prompt looks something like this

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Agree To Xcode License Command Line

Agree To Xcode License Requires Admin Privileges

Accepting the license will require admin privileges. Do so by running the xcodebuild command as sudo. You will be prompted to enter your password and you will be shown the Xcode license agreement.

12:26pm @ darianbr: sudo xcodebuild

You will be prompted to etner your password and will be shown the license agreement.


You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.

Hit the Enter key to view the license agreements at '/Applications/'

Accepting the Xcode License Agreement

At the end of the license agreement, as show below, you will need to type ‘accept’ (I highlighted in yellow) in order to accept the xcode licence agreement.

5. Services; Mac Developer Program.
A. Apple may provide access to services by or through the Developer Software for you to use.  Use of these services may require an Apple ID, may require you to accept additional terms and may be subject to additional fees. If you elect to use such services in conjunction with the Developer Software, your usage of such services will be subject to those additional terms and conditions (e.g., your use of Developer IDs obtained from your Apple Developer Program account will be subject to the applicable Apple Developer Program terms for Developer IDs), but this License will continue to apply to your use of the Developer Software licensed hereunder. If you would like to submit Applications you develop to the Mac App Store, then you must apply to join the Mac Developer Program. More information about Apple’s Developer Programs is available at Apple reserves the right to refuse admission to any of its 

By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel]

Final Words

After typing ‘accept’ and hitting enter, you will now have accepted the license agreement and will no longer be prompted to agree to xcode license agreement.

Apple iPhone 6 Full Review

Apple iPhone 6 Full Review

The most awaited phone of the year is finally here. Yes, we are talking about Apple iPhone 6. People all over the world have waits anxiously for new Apple iPhones and Apple never disappoints them. This year also Apple has come up with new, unique and amazing device, iPhone 6.

Features of Apple iPhone 6

Design: For the past few years Apple has stuck to its sharp edges and flat sided design. But, this time the Apple has changed the design and has come up with curved edges like the iPad-mini. Although, changes have been made in the design, the quality of material from which the device is made has been kept same. Also, iPhone 6 has gone thinner and is 6.8mm thick and the iPhone 6 Plus is 7.1mm. The volume button and the power button are same as before.


iPhone 6:
Height: 138.1 mm (5.44 in)
Width: 67.0 mm (2.64 in)
Depth: 6.9 mm (0.27 in)
iPhone 6 Plus:
Height: 158.1 mm (6.22 in)
Width: 77.8 mm (3.06 in)
Depth: 7.1 mm (0.28 in)

Apple iPhone 6 1


iPhone 6 has a screen of 4.7 inches and iPhone 6 Plus sports a massive 5.5 inch screen. The with a resolution of 750X1334 pixels and 1080X1920 for the iPhone 6 Plus. The pixel density of the device is 326ppi. Just like it’s predecessor, it still has the Retina HD which is considered a better technology and claims to give better and wider angle of view.

iPhone 6:
4.7 in @ 1334 x 750 pixel resolution
326 ppi pixel density,
iPhone 6 Plus:
5.5 in @ 1920 x 1080 pixel resolution,
401 ppi pixel density

Apple iPhone 6 2


The iPhone 6 comes with the newer version of iOS 8 which looks great visually although some people are saying the Apple iPhone 6 has the same novel flat looks of iOS7. This time, iOS 8 biggest features are the Health Hub and Apple Pay which are updated with passbook. The feature of the Health Hub is that it basically collects data about a user’s vitals from different gadgets including the iPhone and Apple Watch. Apple has planned to replace wallets by iPhone 6 it has the NFC Chip. This NFC Chip can be used to pay in bills in McDonalds, Starbucks and many others franchises.
Apple iPhone 6 3

Processor and Memory

The biggest highlight of iPhone 6 is its new A8 system chip which is 25% smaller than the A7 but still A8 has 2 billion transistors which makes Apple, the first company in the world to get 20nm chips in mass production devices. Instead of 32 bits, A8 runs with a 64-bit enabled chip.
A major change has also been done in the memory part. Apple iPhone 6 will not be available in 32 GB and will be available only in 16GB, 64G and 128GB of internal memory. However, the option of micro SD Cards is still not there in iPhone 6.
Apple iPhone 6 4

Camera Quality

The device comes with a of 8MP camera with 1.5u pixels same as before. But changes are done in optics as iPhone 6 will have a wider lens, f/2.2 aperture and sapphire cover. Also, a new slow mode is introduced which will allow user to capture a twice the frame-rate for a twice more pronounced effect which means 720p at 240fps. Optical image stabilization is missing and it comes with digital stabilization.
Apple iPhone 6 5


The battery is of 2915 mAh for the iPhone 6 Plus while the iPhone 6 is 1810 mAh which gives better backup than previous versions of iPhone.
iPhone 6: 1810 mAh
iPhone 6 Plus: 2915 mAh
Cost: $299 for 32GB.

Final Verdict

The Apple iPhone 6 has got better screen and better features. It looks good in design and has got better iOS. So it’s definitely a good buy, only if you can afford it.
Apple iPhone 6 6