Taking a Screenshot on a Samsung Galaxy S5: Step-by-Step

Your Samsung Galaxy S5 is packed with many impressive features, but one of the most basic yet vital functionalities is the ability to capture what’s on your screen. Taking a screenshot can help you share information, save data quickly, or troubleshoot issues. This blog post will guide you on how to take a screenshot on … Read more

5 Common Problems with the Samsung Galaxy S5

samsung galaxy, s5, s6

Security and Privacy Problem The Samsung Galaxy S5 is arguably, the most sought after and feature-rich phone of the year. Customer expectations are at the highest level for this flagship phone. However, this phone came up short in a few areas that we will discuss here. The Galaxy S5 comes with a fingerprint sensor, similar … Read more

Solved! MSI A6200 (CR620) Webcam Not Found in Windows 7

msi webcam

Webcams have become an indispensable part of our digital lives, be it for virtual meetings, online learning, or maintaining social connections. Like any other tech device, however, they’re not immune to glitches and hiccups. These can be particularly frustrating when you’re about to jump on an important video call or catch up with loved ones. … Read more

Top 5 Common iPhone 5C/5S Problems and Solutions

While its usually necessary to take your iPhone hardware problems to Apple Store, it also should be noted that some of the issues encountered with the iPhone 5 are easy to fix without taking it to anyone. Here are the Top 5 problems encountered with iPhone 5, as well as the solutions to help users … Read more

MySQL – How to Enable Slow Query Logs (Linux)

In MySQL 5.6, they introduced a different way of logging slow queries compared to previous versions. This article will show you how to quickly, and correctly enable the slow query log which is extremely useful for debugging application performance issues. Enable Slow Query Log in MySQL

SQL ERROR -532 THE RELATIONSHIP CONSTRAINT-NAME RESTRICTS THE DELETION OF ROW WITH RID X’RID-NUMBER’

sqlcode=-532, sqlstate=23504

This article will explain the cause and solution to DB2 SQL Error-532 or sqlcode=-532, sqlstate=23504, which is also similar to MySQL : ERROR 1216: Cannot add or update a child row and SQL Server error: foreign key constraint failed Foreign Key Constraint Error Possible Manifestation The DELETE statement cannot be executed. The contents of the … Read more

Solution: incompatible implicit declaration of built-in function ‘bzero’

While using the bzero() function you may have run into the message warning: incompatible implicit declaration of built-in function ‘bzero’. The solution for this common, annoying, message is straightforward. Simply include the header file <string.h> and the warning will go away! What is bzero? bzero() is a function in C and C++ programming languages, commonly used in … Read more

How to “Unfollow” a friend/page on Facebook

facebook, unfollow friend

We all have Facebook friends who post content every few hours. We like this person dearly, but wonder if they’re glued to their Facebook because this person constantly shows up in your newsfeed. They may be posting their political views or something far more annoying – those endless quizzes! Which animal spirit are you? Which … Read more

Introduction to the Android Kernel

android kernel

Android Firmware, ROM and Kernel In 2014, the increasingly booming smartphone users, ranging from children to adults almost all of them have such smart devices. Generally, the prices of cheap smartphones increasingly become a factor of proliferation for smartphone users. Because Android is an open source smartphone OS that is freely modified according to the … Read more

Insert/Add String to Beginning of a File

bash arguments, pass parameter, pass argument to script

In a previous article, I showed you how to append a string to the end of file. Now I will show you how to insert a string to the beginning of a file in Linux. The solution is not as obvious as the former, but I will show you a quick and easy way using … Read more

Create a compressed MySQL database dump/backup (Linux)

This may go without saying, but backing up your database regularly is important. Hard disks can fail at anytime causing you to lose all your data (We recommend using a RAID configuration when possible for data redundancy!) Often times, we may overlook the database and simply make backups of our /www or /public_html folder that … Read more

How to backup/dump a PostgreSQL database using pg_dump

postgresql show tables

This article will show you how to use the pg_dump utility that is built-in to PostgreSQL to backup or dump the database to a file. This is a utility I use all the time to quickly make periodic backups of my databases. This tool has the ability to create both compressed and uncompressed dumps of … Read more

Fetch error installing Java on Ubuntu 11.04. Solved!

I am running Ubuntu 11.04 and was trying to install the Java OpenJDK 6.0 (and 7.0) on my system but I received the following error: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? I tried installing several different Java packages but all of them failed with the same error. Finally, … Read more

Solved! Installing mysql gem – extconf.rb failed error

Are you attempting to install the mysql gem and you are receiving this error? Fetching: mysql-2.8.1.gem (100%) Building native extensions. This could take a while… ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for mysql_query() in -lmysqlclient… no checking for main() in -lm… yes checking for mysql_query() in -lmysqlclient… … Read more

How to enable Swype on G2x and other Android phones

This article will show you step by step how to enable Swype on your G2x or other supported Android phones. For those that are not familiar, Swype is a text input method whereby the you continuously drag your finger across the keyboard to generate words. It is a simple option to enable/disable, so give it … Read more

How to find (log) slow queries in PostgreSQL 8.x, 9.x

One of the most important factors when troubleshooting the performance of an application or website, is the performance of the database. Improper indexing or inefficient SQL queries can kill the performance of your application rendering it useless. It is amazing what a simple tweak or change to a SQL statement can do. I have seen … Read more

How to install PostgreSQL 8.4 on CentOS 5.5

postgresql show tables

If you have tried installing PostgreSQL database on CentOS 5.5 using yum, you will notice that you have an old, outdated version! There are several ways to get the 8.4.x version of Postgres installed on this OS, but here is the quick and easy method! Installing PostgreSQL 8.4.x on CentOS 5.5

How to install Ruby 1.8.7 on CentOS 5.5 Linux

ruby, php, java, python code

Have you tried doing yum install ruby in CentOS 5.5? If you have the default repositories configured, you will notice that it installs the ancient Ruby 1.8.5. Not ready to move up to Ruby 1.9, but would like to install Ruby 1.8.7 – well here is how to do it! Install Ruby 1.8.7 on CentOS … Read more

Linux – How to disable ‘Last Login’ welcome message

When you login (via SSH or other method), to a Linux box, you will see a Welcome message that displays your Last Login time and date as well as other general information regarding the system. Here is an example: Linux sp-ubuntu 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux Ubuntu 10.10 Welcome … Read more

Solved! Installing sqlite3-ruby gem – extconf.rb mkmf LoadError

ruby on rails

Are you attempting to install the sqlite3-ruby gem and you are receiving this error? Building native extensions. This could take a while… ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:3:in `require’: no such file to load — mkmf (LoadError) from extconf.rb:3 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-1.3.3 for … Read more

How to install RubyGems on Linux (Ubuntu & Other)

RubyGems is a package management application for Ruby that is used to quickly and easily distribute Ruby/Rails applications and libraries. If you are planning on doing any development in Ruby, this is a must have. RubyGems is for Ruby as apt-get and yum are to Linux operating systems. This article will show you various ways … Read more

How to SSH to a server using Ruby – Part II

ruby on rails

Welcome to Part II of how to SSH to a server using Ruby.  In Part I of this article, we gave you a simple example of how to SSH to a server and run a command. The hostname, username, password, and the command to execute were hardcoded in the example. In this article, we will … Read more