Thursday, February 12, 2015

PDO TUTORIAL SERIES 5

As usual, you might want to read the past tutorials:


For today, 

We're going to improve on log function, before i show you what i did... let me tell you why.

In case of a large and robust application it might be hard to trace error logs and success logs. When actions are taken, either successful or not, it should be logged... our present log function is only useful for logging error messages. And so its necessary to modify the function so it will do more than just log errors.

Now, here's what we have.

Security researcher publishes 10 million passwords, usernames online

In the name of clarity and research, a security expert has compiled and published 10 million usable usernames and passwords online.

This week, Mark Burnett, a security consultant and researcher who specializes in the security of Microsoft Windows-based servers and networks, released 10 million passwords and linked usernames in a data set compiled from existing information. The information, sourced from the Internet, was compiled with the intention of furthering research in passwords and user behavior.

Cisco CEO: We're going to 'crush' Facebook and 'have fun' beating VMware

Hot off a good quarterly earnings report, where Cisco grew revenues by 7% and forecast 3 to 5% growth for next quarter (about what analysts were expecting), CEO John Chambers was absolutely ebullient.
  • He declared his competitors all-but-vanquished, particularly upstarts like Facebook and VMware.
  • He said no one needs to worry about Cisco's gross profit margins due to increased competition.
  • He also indicated, again, that he's still no where near ready to retire. Chambers, 65, said he ran four miles that morning, doing it in his fastest time ever, and he lifted weights.
Crushing Facebook

Wednesday, February 11, 2015

How to enable GodMode in Windows

Windows 8, Windows 7, Server 2008, and flavors of Windows Vista provide an unpublished ability to create a control panel called GodMode that allows you to have easy access to almost all administrative tasks that you would like to use in Windows. This new window is called GodMode because it puts all aspects of the management of Windows at your fingertips in one location. This allows you to quickly configure Windows settings or hardware from one screen. In order to access GodMode you must first create a special folder on your desktop as described below.

It is important to note that GodMode only works for 32-bit and 64-bit versions of Windows 8, Windows 7, 32-bit versions of Windows Server 2008, and 32-bit versions of Windows Vista. It is know, though, to crash Windows Vista 64-bit, so please do not create this folder on those versions of Windows Vista. If you decide to test it on 64-bit versions of Windows Vista, you may need to reboot into safe mode to remove this folder.

Tuesday, February 10, 2015

Microsoft might make you pay every year to use Windows in the future

Microsoft might be ready to offer Windows 10 as a free download to certain customers later this year, but the company still has plans to make plenty of money off of its most important product. In addition to enterprise customers that’ll have to pay for the upgrade to Windows 10, the company might also have a different kind of Windows product in mind, one that will have a subscription business model like Office 365.

Awesome hack brings iPhone 6’s best new feature to Android

Smartphones have gotten gigantic in the past few years. Samsung wasn’t the first phone maker to start churning out huge handsets, but it certainly played the biggest role in popularized the “phablet” category, and in increasing the size of the displays on non-phablet smartphones as well. Samsung caused such a major shift in the industry, in fact, that even Apple had no choice but to play follow the leader. And by following Samsung and making bigger iPhones, Apple ended up recording the most profitable quarter in history.

Apple was late to the game when it comes to launching bigger phones, but the company did introduce a simple but brilliant new feature alongside the iPhone 6 and iPhone 6 Plus. And now, Android users finally have access to that great new feature.

Brilliant-but-scary iOS app can 3D print a copy of any key you have a picture of

Imagine never having to worry about losing your keys again just because you have a picture of it stored on your smartphone? That’s the premise behind KeyMe, a new iOS app that will 3D print you a copy of any key that you have a picture of stored on your mobile device.

Microsoft... reinvented the laptop

Microsoft, tired of bashing Apple, now says it's reinvented the laptop


There comes a time in life when you finally decide who you really are.

For Microsoft's Surface, this has been a long time coming.

When it was launched, it was said to be "a movement." This didn't move people. One of the less dextrous ads ever created by human hands and minds certainly didn't help.

There followed a phase in which Microsoft decided to compare the Surface to the iPad. The Surface was, allegedly, for "real work."

But then it also denigrated the MacBook Air in Surface spots. So what is the Surface? A tablet that thinks it's a laptop? A tabtop?

Monday, February 9, 2015

First Ubuntu Smartphone Is Like Nothing You've Seen

Ubuntu fans have waited years for this, and finally the company is launching the phone they've promised. In the next few weeks, those in Europe will be able to buy the Aquaris E4.5 smartphone running Ubuntu OS via BQ.com for 170 Euros ($193).

Securely wiping an Android smartphone or tablet

Your selling or otherwise planning on getting rid of your existing Android smartphone or tablet, but you want to make sure that all your data has been securely deleted. Here's what you need to do.

  1. Backup all your data, because once it's gone, it's gone.
  2. Next, plug the charger into the device so it's getting power for the deletion process. This is important because the process can take hours.
  3. Go to Settings > Security > Encrypt phone (or Encrypt tablet) to begin the process on Android 4.4 or lower, or go Settings > Security > Screen lock to begin the process on Android 5.0 and higher.
  4. You will be guided through the process. Set a strong password. Don't bother encrypting the SD card because you can pop this out rather than wiping it. This process can take over an hour, so be patient and make sure you have the time.
  5. Go to Settings > Backup & reset > Factory data resetand then tap Reset phone.
  6. Once this process is complete your data is gone. Technically, it's still written there on the flash memory in what is now reported as free space, and will eventually be overwritten. Because it's encrypted it recovering it would be difficult. However, if you want to completely eradicate it, jump to the next step.
  7. The best way to get rid of the encrypted data is to overwrite it with new data. There are two ways you can do this. You can load some big files onto the device until the storage is full up and then delete these files, or you can use a custom app such as iShredder to digitally "shred" the data.
That's it! Your data is now gone, and you're safe to pass the smartphone or tablet on.

Source: zdnet

3 Reasons Why You Might Want to Reconsider Facebook


Facebook (NASDAQ:FB) has transformed into a social butterfly since debuting on Wall Street just a few years ago. After experiencing some agonizing growing pains, the social networking juggernaut now finds itself closer than ever to accomplishing its mission to connect the world. However, should investors stay connected to this maturing company? Let’s take a look at three reasons why you may or may not want to invest in Facebook.

How to tell if your smartphone's battery is healthy or bad (iPhone and Android guide)


A smartphone without a battery is like a time machine without a 1.21-gigawatt nuclear power source. In other words, it is useless – the battery is what provides that magic juice every smartphone needs to operate. 

Unfortunately, even if you take good care of your smartphone's battery, it will inevitably degrade over time and lose some of its charge capacity. At that point, it might be hard to tell if the cell is still in good health or in need of a replacement. That's why we thought we'd share a few tips on the matter.