find xargs grep
Use the -print0 output option on find, and the -0 input option on xargs. This delimits the find results with null characters, and tells xargs to expect the results in that format. That way xargs can stomach path names containing spaces or other potentially troublesome characters in the paths.
How to get a block cursor (caret) in netbeans
How to get a block cursor (caret) in netbeans:
Open up the editor settings file:
Add this to it:
<entry javaType="java.lang.String" name="caret-type-insert-mode">
<value><![CDATA[block-caret]]></value>
</entry>
Open up the editor settings file:
C:\Documents and Settings\username\Application Data\NetBeans\7.2.1\config\Editors\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml
Add this to it:
<entry javaType="java.lang.String" name="caret-type-insert-mode">
<value><![CDATA[block-caret]]></value>
</entry>
netbeans Source Format Wrecks Comments
Turn it off with Tools->Options, Editor, Language->Java, Category->Comments, uncheck Wrap Text At Right Margin.
Netbeans customizations
Want to customize your netbeans foreground and background colors? Go to Tools->Options->Fonts & Colors.
However, there are some annoyances.
1. Apparently, if you inherit the caret color, it will not look right. You have to specify it explicitly. [1]
How to use an external display with a Mac Book
How to use an external display with a Mac Book (with the Mac Book closed).
http://support.apple.com/kb/HT3131
http://support.apple.com/kb/HT3131
Create ISO image from CD or DVD on Mac OS X
Start up Disk Utility.
Select the CD you want to image (over on the left).
Click "New Image".
Set the image type to "DVD/CD Master".
Rename the resulting .cdr file to have .iso extension.
Select the CD you want to image (over on the left).
Click "New Image".
Set the image type to "DVD/CD Master".
Rename the resulting .cdr file to have .iso extension.
Getting graphics characters to display correctly in a Putty window while running mc (Midnight Commander clone)
In Putty (window icon menu), select Change Settings..., then Window->Translation. Set "Received data assumed to be in which character set:" to be "UTF-8".
Thanks to http://www.andremiller.net/content/getting-midnight-commander-line-drawing-work-putty
Thanks to http://www.andremiller.net/content/getting-midnight-commander-line-drawing-work-putty
Screen Sharing application on Mac OS 10.5 Leopard
You can find it here: /System » Library » CoreServices » Screen Sharing.app.
Hmm maybe Spotlight does not search the System Folder by default?
Enable Mac OS X 10.5 syslogd to receive log from router
To enable your Leopard system to receive network syslog submissions edit:
/System/Library/LaunchDaemons/com.apple.syslogd.plist
Uncomment the paragraph commented:
"Un-comment the following lines to enable the network syslog protocol listener".
Then execute the following commands:
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
That should allow your external device to dump it’s log into the system log.
If you have firewall enabled make sure to allow the traffic (UDP 514) from router
If you have firewall enabled make sure to allow the traffic (UDP 514) from router
Fedora 16 - Install Software from DVD
% su root
# cd /etc/yum.repos.d
# ls
# mkdir hide
# mv *.repo hide
# nano local.repo
[local]
name=DVD Repository
failovermethod=priority
baseurl=file:///media/Fedora\ 16\ i386\ DVD
enabled=1
gpgcheck=0
^O, ^X
# yum clean all
# yum install emacs
# cd /etc/yum.repos.d
# ls
# mkdir hide
# mv *.repo hide
# nano local.repo
[local]
name=DVD Repository
failovermethod=priority
baseurl=file:///media/Fedora\ 16\ i386\ DVD
enabled=1
gpgcheck=0
^O, ^X
# yum clean all
# yum install emacs
Print Screen with Mac Keyboard in Windows XP
Print Screen with Mac Keyboard in Windows XP
http://blog.newslacker.net/2008/06/applewindows-print-screen-with-mac.html
How to move a Blogger account to a different Google account
This blog was orphaned when Google started consolidating services together.
The problem was that my original Blogger username (my personal email address) was already a Google Apps For Your Domain email address. Blogger didn't like that, and forced me to create a new (temporary) Gmail account.
The challenge was: how to gain access to this blog using my GAFYD account.
Here is what I found out -
Excel Worksheet Password Protection
This will discover and remove all Excel worksheet passwords.
http://mcgimpsey.com/excel/removepwords.html
http://mcgimpsey.com/excel/removepwords.html
Adobe Gamma
To prevent Adobe Gamma from loading its settings at startup, remove Adobe Gamma Loader:
-- Windows XP and 2000:
1. Double-click My Computer.
2. Navigate to Documents and Settings/All Users/Start Menu/Programs/Startup.
3. Select Adobe Gamma Loader, and drag it onto the desktop.
http://kb2.adobe.com/cps/321/321608.html
-- Windows XP and 2000:
1. Double-click My Computer.
2. Navigate to Documents and Settings/All Users/Start Menu/Programs/Startup.
3. Select Adobe Gamma Loader, and drag it onto the desktop.
http://kb2.adobe.com/cps/321/321608.html
Mini Mavis Personal Coach Launches at Startup
After installing Mavis Beacon Teaches Typing® 15, the Mini Mavis Personal Coach feature of the program launches each time the computer is started. Removing the Mini Mavis Personal Coach shortcut from the Windows® Startup group will prevent the feature from launching. The information in this technical note describes the steps. Follow the procedure below to remove the Mini Mavis Personal Coach shortcut from the Windows® Startup.
http://support.selectsoft.com/products/M/LLMAVTE15J.htm#Mini_Mavis_Personal_Coach_Launches_at_Startup_
http://support.selectsoft.com/products/M/LLMAVTE15J.htm#Mini_Mavis_Personal_Coach_Launches_at_Startup_
Mac Book Password Reset
In case you ever forget your Mac Book password, see this article. Expand the section "Resetting the original administrator account password".
You pretty much just use your install disks to get to a utility menu item for resetting the password. Quit out of the installer right after you reset the password. Thus you do not need to do a complete reinstall.
You pretty much just use your install disks to get to a utility menu item for resetting the password. Quit out of the installer right after you reset the password. Thus you do not need to do a complete reinstall.
Mac OS X: Changing or resetting an account password
http://support.apple.com/kb/HT1274Add Custom Characters to Documents Using the Numeric Keypad
This article explains how to modify the Windows registry to allow for hexadecimal input when entering special characters into a document via the numeric keypad.
http://vlaurie.com/computers2/Articles/specchar.htm
It says "open Regedit and go to the key
http://vlaurie.com/computers2/Articles/specchar.htm
It says "open Regedit and go to the key
HKEY_CURRENT_USER\Control Panel\Input Methodand add the string or REG_SZ value EnableHexNumpad. Set the data value equal to "1" (no quotes)."
Mozilla Firefox - Can't edit or delete bookmarks on bookmarks toolbar.
Try fixing up your places.sqlite file. Instructions are here.
It says,
"Places database file
It says,
"Places database file
You can also fix this by forcing Firefox to rebuild the Places database, as follows:
- (Optional) Export your bookmarks to an HTML file named bookmarks.html (see Exporting bookmarks to an HTML file for detailed instructions) and place the bookmarks.html file in the Firefox profile folder. If a bookmarks.html file already exists, allow the exported file to replace it.
- From the menu at the top of the Firefox windowbar, select FileFirefox and then select the ExitQuit FirefoxQuit menu item.
- Open the Firefox profile folder and delete (or rename) the places.sqlite file and, if it exists, places.sqlite-journal.
- (Optional) If you want Firefox to automatically import your bookmarks from an existing bookmarks.html file in the profile folder, instead of from a JSON backup, open the bookmarkbackups folder and remove all bookmarks-(date).json files to another location.
- It is probably a good idea to also delete (or rename) the localstore.rdf to remove the references to the old Places file but you will need to add back any toolbar customizations.
Firefox will create a new places.sqlite file and automatically import the most recent bookmark backup file. If no JSON backup is found, Firefox will automatically import your bookmarks from the profile folder bookmarks.html file, if it exists."
Data Execution Prevention with .avi file
You can turn it off.
http://support.microsoft.com/kb/875351
UPDATE:
http://support.divx.com/faq/view/supportFAQen001/The%20DivX%20All%20In%20One%20Fix%20V1.81
Run the DivX All in One Fix utility. Uncheck all options except for "Explorer crash when open a folder".
UPDATE:
http://support.divx.com/faq/view/supportFAQen001/The%20DivX%20All%20In%20One%20Fix%20V1.81
Run the DivX All in One Fix utility. Uncheck all options except for "Explorer crash when open a folder".
Overcoming XBOX 360 Live Halo 3 NAT complaint
Subscribe to:
Posts (Atom)
