One of my favorite components of Mac OS X is the underlying UNIX-based Terminal.
The Terminal has lots of valuable tools that give you insight information about the processes that are running, the system etc.
This article is going to use one of these tools, the “lsof” command, to show all running processes / applications, which are [...]
Archive for the ‘Tips’ Category
Mac OS X – How to view which processes are accessing the Internet
Posted in Apple, Mac OS X, Software, Tips on October 17, 2009 | Leave a Comment »
Gmail chat – how to type words in bold and italics
Posted in Google, Tips, Web Sites, tagged Gmail on August 6, 2009 | 1 Comment »
Today I have been typing on Gmail chat, and by accident I have found out how to type a word in bold. With a bit more of a search, I have also found out how to type in italics, and also strikethrough a word.
Here is the cheat sheet:
Bold: Surround the word with asterisks, e.g. *word* [...]
How to search multiple PDF files at once
Posted in Adobe, Software, Tips, tagged PDF on April 7, 2009 | 2 Comments »
A couple of days ago, a co-worker had to separate 50-100 PDF files according to a specific serial number that appeared on each one of them. He thought he had to go through all of them, however I just came to the rescue, and explained that he can accomplish the task in a much easier [...]
How to edit the hosts file in Mac OS X – Leopard
Posted in Apple, Mac OS X, Software, Tips, tagged hosts, Leopard on April 6, 2009 | 32 Comments »
Introduction
The hosts file is a text file that maps hostnames to IP addresses.
Upon typing a url address on the browser, the system is checking if there is a relevant entry on the hosts file and gets the corresponding IP address, else it resolves the IP via the active connection’s DNS servers.
The hosts file can be [...]
How to move your iTunes library from PC to Mac
Posted in Apple, Mac OS X, Software, Tips, tagged iTunes on March 25, 2009 | 19 Comments »
Introduction
Today I have been looking around the Web for tutorials about how to move my iTunes library from the old PC to the new Mac.
Although I have found quite a large selection of instructions and walkthroughs, I kept ending up with an incomplete iTunes library. And by incomplete, I mean missing the Album Artworks, or [...]
Windows Live Hotmail – Setup your mail client for POP3 access
Posted in Microsoft, Tips, Web Sites, tagged Email, Hotmail, POP3 on January 18, 2009 | Leave a Comment »
Windows Live Hotmail now provides free POP3 access to the users who reside in the following countries: United Kingdom, Canada, Australia, France, Japan, Spain, Germany, Italy, and the Netherlands. According to the official announcement more countries will be added later on this year.
Therefore you can now send and receive emails through Outlook/Outlook Express or your [...]
ASP.NET: How to use an XMLDataSource with a GridView
Posted in Coding, Microsoft, Tips, tagged ASP.NET, GridView, XML, XSLT on December 22, 2008 | 5 Comments »
Introduction
GridView is one of the most popular ASP.NET data controls.
It is most commonly used to display data coming from a database.
However, a GridView can also read and display data from plain XML files.
This tutorial is showing how to setup an XMLDataSource and associate it with a GridView.
XML data
Let’s start by creating a simple XML file [...]
ASP.NET – How to call a server-side method from client-side JavaScript
Posted in Coding, Microsoft, Tips, tagged ASP.NET, JavaScript on November 14, 2008 | 21 Comments »
Introduction
This is a tutorial on how to call a server-side ASP.NET method from a client-side JavaScript method.
If you are wondering when that could become useful, imagine the following scenario:
A Web Application having an implemented authentication system.
Users log in with their username and password.
At any point the user is able to log out by clicking on [...]
How to keep your Wi-Fi network safe
Posted in Tips, tagged Computers, Network, Router, Wi-Fi on November 9, 2008 | Leave a Comment »
Last year the WEP protocol has been proved to be a totally insecure method for protecting a Wi-Fi network. As a result everyone was encouraged to switch to the WPA protocol.
A few days ago, a researcher announced that he found a way to crack the WPA protection in under 15 minutes!
Here is what you should [...]
SQL Server: INSERT INTO with SubQuery
Posted in Coding, Software, Tips, tagged SQL, SQL Server on October 11, 2008 | 7 Comments »
Introduction
This is a short tutorial on how to insert data with a subquery on SQL Server databases.
The reason I am writing about it is that the required syntax is not that obvious!
Sample tables and data
Let’s create two simple tables for this tutorial with the names ‘Customers’ and ‘Orders’.
CREATE TABLE [dbo].[Customers](
[id] [int] IDENTITY(1,1) NOT NULL,
[name] [varchar](100) [...]
