Translate This Page

About Me

profile_picture_120

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Valley Ranch (Irving), TX
E-mail: josh@boshdirect.com

Related Articles

Content View Hits : 525540
Tech
Shell command for recursive file count in folders
Written by Josh Lyon   
Friday, 07 August 2009 07:04

See below for a great shell command to get a listing of the count of files in all the folders in the current directory and below. It will produce an output similar to the following which can then be manipulated in a data-processing application:

1  ./example/dir1 
256./example/dir2
3  ./example/dir3/dir4/dir5
10 ./example/dir3/dir4/dir6
67 ./example/dir3/dir4/dir7

Command:

find . -type f -printf %h"\n" | sort | uniq -c
 
Search Engine Ranking and Meta Information
Written by Josh Lyon   
Tuesday, 28 July 2009 08:56

I recently received a question from one of my friends regarding the use of keywords and descriptions within meta tags on a website to improve ranking of their site. They asked if they could increase the frequency of how often those tags were shown so they could improve the ranking of their site. My response was as follows:

 
Sharepoint Maintenance Mode
Written by Josh Lyon   
Monday, 13 July 2009 16:56

I always forget how to get into maintenance mode on Sharepoint pages to close / remove webparts that are (potentially) causing issues. Sometimes you will even get an error message that provides a link to the maintenance mode pages. There is also some convoluted way of getting into maintenance mode, but I can never remember it.

An easy way to get into maintenance mode is to simply add ?contents=1 to the URL. For example, if your URL was http://sharepointsite.com/pages/default.aspx you would go to http://sharepointsite.com/pages/default.aspx?contents=1

 
Windows 7 outperforms XP on Old Hardware
Written by Josh Lyon   
Sunday, 28 June 2009 16:21

I just installed Windows 7 on an 8+ year old machine I had laying around my house and I was surprised to see that it runs as well as it does. In fact, it runs better than the XP installation I had installed on the old PC before upgrading it to Windows 7. To be fair, the Windows XP installation was a few years old and probably suffered from disk fragmentation and memory being consumed by the random applications and services that had been installed.

Hardware that I had difficulty with in Windows XP was automatically recognized and had the proper drivers installed. Even the cheap-o USB wireless stick I bought a few months back was recognized during the installation so I could setup my wireless network before even booting into the full operating system. On my windows XP installation, I had a bunch of problems getting the USB stick to work and had to get drivers directly from the manufacturer. With 7, everything was automatically recognized and installed.

 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 6 of 18