Blue Screen During Boot – Loop on Windows XP, Server

So, you have a Windows system that gets a BSOD (Blue Screen Of Death) during bootup, and you can’t see what it says before it disappears. Not a big deal, except that the system won’t boot into safe mode either, so you can’t do the regular method, using the Windows GUI, to set the system properties settings so that the system does not automatically reboot when the blue screen appears. Yikes! Well, if you want to stop the system from rebooting beforee you can get the STOP: codes, and find out how to fix the problem, here is a really neat way:

How To Disable Automatic Restart For BSOD If You Are Unable To Get Into Windows

Download UBCD  here

Another neat tip from a Japanese Lenovo support board, save me some work today (use Google to translate):

Need to Repair Install Windows (second R during setup) when STOP: 0 × 0000007B (0 × F789EA94, 0) / INACESSIBLE_BOOT_DEVICE occurs on restore of OS onto new hardware / storage controller.

Thanks all for the help!

Posted under Hardware, Microsoft, Operating System, Software

This post was written by Content Curator on December 3, 2009

Tags: , , , , , , , , , , , , , , , , , ,

How to Delete Returns in Excel

The pesky carraige return and new line characters, while providing a way to present text for human viewing, are not always desirable when working in a spreadsheet program like Microsoft Excel or OpenOffice.org.

In Excel, a bit of code provided by Ivan Moala on mrexcel.com, works wonders. Here is the code:


'Created by Chip Pearson
'Cleans up data by removing tabs and carriage returns in worksheet cells.
Sub CleanUp()
Dim TheCell As Range
For Each TheCell In ActiveSheet.UsedRange
With TheCell
If .HasFormula = False Then
.Value = Application.WorksheetFunction.Clean(.Value)
End If
End With
Next TheCell
End Sub

Here’s how to use it:

  • In Excel click Tools > Macro > Visual Basic Editor (or just hit Alt-F11)
  • In the top-left pane under the Project heading, double-click the name of the sheet you want to strip all the newlines and carriage returns from.
  • In the window that pops up, paste the code above into the empty box under where you see General and Declarations.
  • Run the macro by clicking the “play” button above, or hit F5

Warning: make a backup copy of your Excel workbook before performing the above procedure.

Posted under Excel, Microsoft, Uncategorized

How to CHMOD on files but not directories (inodes)

From Linuxquestions.org:

“There are probably several methods, but one is to use find to produce a list of all files (not directories) and then execute chmod on each of them. For example

Code:
find /my/directory -type f -exec chmod 644 '{}' +

Change the red parts to fit your needs. If you wonder what that ‘{}’ is..well, you may have guessed that it’s where the filelist is being put when exec’ing the given command on each file.

You can also first try the command without chmod’ing to see that it affects the right files:

Code:
find /my/directory -type f

The above would find all regular files (not directories, for example) from within /my/directory.

If the command happens to throw you an error about the exec part, chances are it’s because of the plus sign (+) that ends the exec part. In this case try replacing the plus (+) with an escaped semicolon (\;) so it becomes

Code:
find /my/directory -type f -exec chmod 644 '{}' \;

On some machines I remember that it worked with semicolon (which needs a backslash in front of it, to protect it from being interpreted by your shell), but on my current installation it’s the plus sign (without a backslash).

Another way would probably be to list all regular files on the directory (using either find or any tool that can just list all files without directories) and then pipe the output to xargs with which the chmod was run.”

and from http://movabletripe.com/archive/recursively-chmod-directories-only/

June 19th, 2006

find . -type d -exec chmod 755 {} \;

This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.

Similarly, the following will chmod all files only (and ignore the directories):

find . -type f -exec chmod 644 {} \;

Posted under Linux

This post was written by Content Curator on October 17, 2009

Tags: , , , , , , , , , , , , , , , ,

How To Tell Windows XP To Not Look For New Wireless Networks

In order to make Windows XP ignore new wireless networks, there must be some sort of registry tweak or something, right? There must be some way to force the manual setup of new wireless network connections in Windows, right? Let’s find out… After a bit of Googling came up with these:

http://antivirus.about.com/od/securitytips/ht/wirelessconn.htm
This one may be true, but on the system I checked the checkbox mentioned was not ticked.  Not to mention, this does not keep the wireless adapter from finding, or scanning for, new wireless networks and reporting that they are in view.

Posted under Microsoft, Network, Wireless

Problem: unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla Firefox rich text editor

I had a problem pasting text into a rich text editor using Firefox 3.0 on Windows Vista. I found a way to allow it to work.

This may help, however I’m not sure about the security implications involved in changing this setting:

Open a new tab, and go the URL “about:config”
Find the setting “noscript.allowClipboard” and set it to “true”

This worked for me, hopefully it helps for you.

( I posted this originally at http://forums.mozillazine.org/viewtopic.php?f=38&t=624240&p=5356385#p5356385 )

Posted under Browsers

This post was written by Content Curator on December 31, 2008

Tags: , , , , , , , , , , , , , , , ,

How to automatically reload a page when it is finished reloading, using javascript

So, you have a web page (HTML, PHP, etc.) that you want to reload over and over. And at the same time, you want to be sure that the entire page loads before it starts the loop over again. Here is a javascript way to do just that. Simply include this script in yout HTML code, and watch the magic:

<script language="javascript">
window.onload=new Function("window.location.reload();");
</script>

Enjoy!

Posted under WebDev

This post was written by Content Curator on October 3, 2008

Tags: , , , , , , , , , , , , , ,

Firefox tip: Moving tabs between Firefox windows

So, you have two or more Firefox main windows open, and you need to close Firefox, but you’ll lose Firefox’s memory of all tabs in windows that are not the last one closed. Bummer.

This process assumes that you have Firefox set to “show my tabs from last time”.
Well, there are two ways to fox this. One is easy and requires no plugins. Here is the process:

  1. Pick one firefox window to be the recipient of all tabs. Maximize that window, or at least make it so you can see the tab bar, and it is near the top of your screen.
  2. By clicking on its icon on the Windows taskbar, open the other window that has tabs you want to save.
  3. Make sure that this second Firefox window is not maximized, and is small enough so that you can see the original Firefox window’s tab bar.
  4. Now, drag tabs from the second, smaller Firefox window, and drop them above on the original, bigger Firefox’s tab bar. NOTE: Read the next step too.
  5. If the original Firefox’s tab bar is full, or if it fills up as you drop tabs on it, then you can continue dropping tabs on the right-arrow button at the extreme right of the Firefox tab bar.
  6. Repeat step 4 for all tabs that you want to keep.
  7. Close the second, smaller Firefox window.
  8. Repeat steps 2 through 7 for any other Firefox windows that you want to retrieve tabs from.
  9. Make sure that only your one main Firefox window is open. Now close it. It will remember all those tabs you put into it now.

The second way to make this happen in the future is to download the Session Manager plugin for Firefox.

Posted under Browsers, Freeware

This post was written by Content Curator on October 17, 2007

Tags: , , , , , , , , , , , , , , , , , ,

Registry editor for Windows Mobile and PocketPC devices

Thanks to G. Inglemo we have a really neat way to hack the registry on out Windows Mobile based devices. The check out the developer’s page for full info.

Also, you can download it from NTI.

Posted under Microsoft, Mobile

This post was written by Content Curator on March 9, 2007

Tags: , , , , , , , , , , ,