Tips and Tricks
-
LINQ in .NET returning duplicate rows from a working SQL view [SOLVED]
Twice in the past couple of months I’ve gotten tripped up by the same data issue when using LINQ to Entities in the .NET framework. I create a simple view in my database which performs some aggregation to return a resultset containing just two columns. Querying the view returns the expected results. Performing a LINQ query on the view returns incorrect and confusing results.
-
Unix: Rewriting history
The history feature in Unix shells can save you a lot of time when typing long, fairly repetitious commands, but don't count on it to accurately represent history.
-
How to copy a Magento installation to a new domain
Moving a Magento e-commerce site to a new domain name by copying an existing installation can be a confusing task if you don’t know where to begin. If you find yourself in need of doing this, use this guide to save you some headaches.
-
How to validate password strength using a regular expression
Password strength requirements are a hot topic as of late due to a slew of compromised sites and services exposing millions of user accounts to hackers. To no one’s surprise, the most used passwords are embarrassingly weak. “password” anyone?
-
Unix & Security: 243 Days
If someone told you that, on average, an advanced attacker was on a system for 243 days before he was detected, would you fall off your seat? If so, then, fall off your seat.
-
3 ways to import and export a MySQL Database
Nobody ever really wants to move a database, but it is a frequent necessity. Servers get old, providers become unreliable, disk space runs out. In the case of MySQL database migration, you have many options for accomplishing the task. I’ll discuss three of the most common options and when to use each.
-
Keep bad guys off your network by finding out where they live
Location technology is underused but becoming more popular in the enterprise. Here are several ways you can deploy it to save you time and your company's money.
-
Unix: How to plan your escape
Knowing how and when to use the escape character can make your day, but commands get a little hairy when you first have to escape your escape.
-
How to turn an iMessage into a standard text
Here is a neat tip for iPhone owners who have a bunch of friends using iMessage, but they can't quite, just yet, entirely trust that iMessage always gets through.
-
How to extend a linux virtual machine partition in Hyper-V
Loading up virtual machines is an easy to accomplish task, but configuring them properly is an ongoing balancing act. It’s very likely that in a virtualized environment you will over/under provision resources to a VM. When it comes to shrinking or expanding a virtual hard disk things get a little complicated.
-
How to side-load apps on the Ouya console
The Ouya was designed to be open and side-loading apps is pretty easy. Here's how to get an app from another Android device over to your Ouya.
-
How to search for Vine videos and kill even more time at work
Making Vines is easy. Searching for them outside of the app? Not so much. Here are some solutions
-
How to secure USB drives and other portable storage devices
For all their convenience, misplaced or stolen storage devices often result in the loss of confidential data. To protect against embarrassing, costly and damaging data breaches, take these steps to protect your employees' portable storage devices.
-
Bringing Unix commands to a Windows world
You can make your life a little easier and more productive by adding some Unix power to your Windows system.
-
Saving Google Maps destinations for easy navigation
Saving a destination in Google Maps makes it easier to navigate to and also lessens the chance for error when entering or trying to remember an address.
“ It has been a joy to work with you. I like your ability to interpret our requirements and the clean and appropriate choices of visual treatments and programming techniques.“ - Robert Bleeker, Australia