May 8, 2008

Border Agents Can Search Laptops Without Cause, Appeals Court Rules

By Ryan Singel April 22, 2008 | 6:21:20 PM 

Dellborders

Federal agents at the border do not need any reason to search through travelers' laptops, cell phones or digital cameras for evidence of crimes, a federal appeals court ruled Monday, extending the government's power to look through belongings like suitcases at the border to electronics.

The unanimous three-judge decision reverses a lower court finding that digital devices were "an extension of our own memory" and thus too personal to allow the government to search them without cause. Instead, the earlier ruling said, Customs agents would need some reasonable and articulable suspicion a crime had occurred in order to search a traveler's laptop.

On appeal, the government argued that was too high a standard, infringing upon its right to keep the country safe and enforce laws. Civil rights groups, joined by business traveler groups, weighed in, defending the lower court ruling.

The 9th U.S. Circuit Court of Appeals sided with the government, finding that the so-called border exception to the Fourth Amendment's prohibition on unreasonable searches applied not just to suitcases and papers, but also to electronics.

The ruling (.pdf) came in a case where customs agents searched the laptop of Michael Arnold who was returning from the Philippines. They found images they believed to be child pornography, seized the laptop and later arrested him. While the lower court ruling excluded from trial the pictures of young boys the government says it found on the hard drive, they now can be used again.

The panel chose to follow the reasoning of a similar case from the 4th Circuit, known as Ickes (.pdf), which held that the government did not need any reason to search a vehicle crossing the border.

The 9th's ruling did not, however, clarify whether a traveler has to help the government search his computer, by providing the login information, or what would happen when the government decided to search a laptop with encrypted data on the drive. The defendant in the case can appeal the decision to the U.S. Supreme Court, but the Court is unlikely to take up an issue that two separate appeals courts have agreed upon.

In the meantime, travelers should be aware that anything on their mobile devices can be searched viagra no prescription by government agents, who may also seize the devices and keep them for weeks or months. When in doubt, think about whether online storage or encryption might be tools you should use to prevent the feds from rummaging through your journal, your company's confidential business plans or naked pictures of you and your-of-age partner in adult fun.

The case is Arnold vs. USA.

See Also:

Permalink • Print • Comment

How do I… Uninstall Microsoft Internet Explorer 7?

Date: May 7th, 2008

Author: Mark Kaelin

The venerable Web browser continues to evolve. No longer just an application for displaying HTML, the Web browser now has to handle JavaScript, PHP, Java, Active X controls, loosely coupled Web services, plug-ins, multimedia, XML, RSS feeds and more. The Web browser has become an integral part of the total computer experience. All of those expectations make choosing a preferred browser more important than many ever thought it would or should be.

Microsoft Internet Explorer 7 (IE7) and Mozilla Firefox 2 are the latest Web browser contenders for your attention (apologies to fans of Opera and other Web browsers, but these are the two that garner the most attention). Many of us have tried both and made a decision about which is the browser of choice.

If you have chosen Firefox 2, then you may want to uninstall IE7. But this brings up two questions: Can you uninstall IE7 and if you can how do you do it? The answers are: Yes, you can and here’s how.

This blog post is also available in PDF format in a TechRepublic Download.

Uninstall IE7

If your installation of IE7 was successful and uneventful, then uninstalling it is relatively simple process. The following steps will uninstall IE7 and restore IE 6.

  • Click Start, and then click Control Panel.
  • Click Add or Remove Programs.
  • Scroll down to Windows Internet Explorer 7, click it, and then click Change/Remove.

If for some reason Windows Internet Explorer 7 does not appear in the Add or Remove Programs, you should:

  • Open Windows Explorer
  • Click Tools | Folder Options
  • Click the View tab
  • Make sure the radio button next to Show hidden files and folders is on
  • Click OK
  • Click Start, and then click Run
  • Type: %windir%\ie7\spuninst\spuninst.exe into the text box and click Enter

Specified user account

In some cases, you may get an error message when you try to uninstall IE7 that says you cannot uninstall from a specified user account. To get around this check you will have to edit the Windows Registry.

Warning: Editing the Windows Registry incorrectly can cause the Windows operating system to stop functioning completely. This is an advanced operation and you are encouraged to back up the Windows Registry before you attempt any editing of the file. You have been warned.

Bypass the user account check with this Windows Registry edit:

  • Click Start, click Run, type regedit, and then press ENTER.
  • Navigate to viagra no prescription canada HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer.
  • Right-click the Internet Explorer key, click New, and then click DWORD value.
  • Type InstalledByUser as the name, and then press ENTER to finish creating the new registry value.
  • Try to uninstall Internet Explorer 7 again.

More help

If you find yourself still needing help uninstalling Internet Explorer 7, check out the IE7 release notes found on the Microsoft MSDN Web site.

Permalink • Print • Comment

May 7, 2008

Search and Replace Wildcard Characters in Dreamweaver

Search and Replace Wildcard Characters in Dreamweaver

Dreamweaver has a powerful search/replace ability which includes ‘regular expressions’. This allows you to scan and replace particular html without affecting data.

Here’s an example of how useful this is:

Let’s say you are harvesting content from Wikipedia and putting it on your own website. Though I don’t endorse that activity, it is allowed according to the GDFL and a lot of people do it. So, here’s a way to make it easy.

Let’s say you find a huge table full of data that you wish to use on your own website. Since Wikipedia has tons of links and junk in the code, you want to strip it all out. One way is to copy and paste into Excel, then save as a .csv or .txt file, thus stripping out the extra invisible formatting html code that was previously a part of it. Then, close and re-open the .csv or .txt into Excel, then copy and paste into Dreamweaver (or your HTML editor). While this works, Excel still seems to copy over some html formatting, such as <td height="17" … on every field of the table, which is annoying.

You can do a find/replace in Dreamweaver for height=”17” and leave the replace field blank. That would solve that problem, however, Wikipedia often uses footnotes which add [1] [2] [3] etc in superscript, such as the example below. The question is how do we delete these brackets from our copied table, but preserve the data. Good news- we can do that with Dreamweaver, using regular expressions.

Change from this:
<td height="17">Batman Begins[1][2]</td>
<td height="17">Superman</td>
<td height="17">Army of Darkness[3]</td>

Into this:
<td>Batman Begins</td>
<td>Superman</td>
<td>Army of Darkness</td>

If you had a huge table full of this with 100+ rows with 50 or more footnotes, it would take a long time to manually remove all of the brackets by hand. Here’s a way to automate it in Dreamweaver:

(Make sure you are searching the ‘source code‘ and that the ‘Use regular expression’ box is checked)

Find:
<td height="17">([^<]*)\[[^"]*</td>

Replace:
<td>$1</td>

Result:
Dreamweaver will instantly strip out all the junk from your code and replace it with the core code while preserving your data. In this case, the wildcard variable will preserve anything between <td height="17"> and </td>.

Explanation:
The find is the prefix of the tags, then the wildcard variable that’s stored: ([^<]*) then, I wanted to remove the brackets, so I put one in, but since we’re using expressions, it has to be ‘escaped’ to tell it viagra next day we literally mean the bracket, so I put this \ before the [ then I added a non-stored wildcard variable (the other junk I want removed), so I added: [^"]* then the close tag </td>. Then the replace is the simple $1 variable between the tags which recalls the stored variable. Very cool!

Another challenge:
Let’s say you want to copy a huge list of links from Wikipedia and change them to our own links on our own website. Here’s an example:

Change from this:
href="/wiki/Army-of-Darkness">
href="/wiki/Raiders-of-the-Lost-Ark">
href="/wiki/Pulp-Fiction">

Into this:
href="http://www.domain.com/Army-of-Darkness.php">
href="http://www.domain.com//Raiders-of-the-Lost-Ark.php">
href="http://www.domain.com/Pulp-Fiction.php">

In Dreamweaver, select Find/Replace…

1. Check ‘use regular expression’
2. Do Find for:
href="/wiki/([^<]*)">
4. Replace:
href="http://www.domain.com/$1.php">
5. It preserves the variable inside

Without the regular expression, you could have done Find/Replace for the first part, but when you wanted to add the .php to the end, you’d be stuck. How else would you do it?

Pretty incredible, huh? You can automate the changing of links or anything on an entire website with thousands of links and pages in just seconds. All using the stored wildcard variable.

([^<]*) is stored (use $1 to retreive in replace)
[^"]* is unstored

You can also do Find/Replace to recall multiple variables at once, like this:

If multiple wildcards:
([^<]*) ([^<]*) ([^<]*)
Use:
$1 $2 $3

A tool like this can give you the power to harvest public domain or free content, manipulate data and repurpose it for your own site.


The regular expression you seek is: [^"]*

so if you want to change all these:

<a class="wildcat" href="lion.html">
<a class="wildcat" href="tiger.html">
<a class="wildcat" href="leopard.html">

to:

<a class="wildcat" href="bigcat.html">

you search for:

<a class="wildcat" href="[^"]*">

and replace with:

<a class="wildcat" href="bigcat.html">

(make sure you tick the match case & regular expressions + seclect 'source code')

Permalink • Print • Comment

How to trim down the size of your PowerPoint presentation

Date: April 14th, 2008

Author: Susan Harkins

PowerPoint presentation files can grow quickly. Graphics files, music, and all those custom viagra newsletter instructions really add up. There are a few things you can do to reduce the file’s size:

  • Reduce all graphics files to 96 dpi if you don’t need to print them directly from the presentation. For screen viewing, 96 dpi is the best you can get. To include files with a higher resolution is a waste.
  • Bitmap (.bmp) files are usually larger than other formats. If you’re using bitmap files, try converting them to .jpeg or .png. Even .gif is better than .bmp, but not quite as efficient as .jpeg and .png.
  • If the file suddenly grows in size for no apparent reason, save the presentation using Save As and give it a new name. This simple trick can reduce the file’s size up to 50%, but it won’t always work. This trick works with normal bloat.
Permalink • Print • Comment

How to e-mail a completed Access form

Date: May 6th, 2008

Author: Mary Ann Richardson

You are updating your employee database. You’ve just entered the name of the client company assigned to one of your employees and notice that some of the personal information on the form may be incorrect. You’d like to send a copy of the form to the employee for confirmation. Follow these steps:

  1. Open the form and navigate to the employee record.
  2. Click the selection bar to the left to select the employee’s record.

  1. Go to File | Send To | Mail Recipient (As Attachment). (In Access 2007, click the Office button and then click E-mail.)
  2. Select HTML (*.htm; viagra men *.html) or any other format, as required.

  1. Click OK twice.
  2. Fill in the address, subject, and your message and then click Send.

Your employee will receive an attachment containing a copy of the data entered into the form in datasheet format.

Permalink • Print • Comment
« Previous PageNext Page »
Made with WordPress and a healthy dose of Semiologic • Sky Gold skin by Denis de Bernardy