Difference between revisions of "Computers"

From MagnetoWiki
Jump to navigation Jump to search
(Updated Telsla, Micrographia locations)
(Added Hint about recommended DNS servers for outside FSU)
Line 84: Line 84:
  
 
The first arg is the parent directory of the data. Find will recurse thru all sub-dirs. This command replaces ".txt" with ".xls"
 
The first arg is the parent directory of the data. Find will recurse thru all sub-dirs. This command replaces ".txt" with ".xls"
 +
</blockquote>
 +
 +
9. '''DNS Servers for use outside FSU's Network'''
 +
<blockquote>
 +
To avoid evil ISP DNS servers, one can use any of the following DNS servers:<br><br>
 +
 +
[http://www.magnet.fsu.edu/ FSU Magnet Lab]: 146.201.250.2 (addc1.ad.magnet.fsu.edu)<br>
 +
 +
[http://blog.easydns.org/archives/222-easyDNS-soft-launches-DNSresolvers.com.html EasyDNS DNSresovlers]: 205.210.42.205, 66.207.199.44 (cache1-2.dnsresolvers.com)<br>
 +
 +
DO NOT USE FSU's DNS SERVERS: Outside of FSU's network, the DNS servers are in cache-only mode, so only commonly accessed names can be resolved.<br>
 
</blockquote>
 
</blockquote>
  

Revision as of 17:09, 21 October 2008

Computers in the Houpt Lab

Computer Location IP address MAC address
Principia 209 65 00:03:93:7c:43:02
Magnet 209 73
Tesla 3029 226
Micrographia 3029A (DHCP)
Vaio 250 78
G3 GelDoc core nc
HP 3005 Printer 250 15
BRF iMac 115 DHCP
Maglab iMac Maglab ???

Computer Hints

1. Acid Search from pozytron.com

Add a search channel for PubMed:

http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?DB=pubmed&term=

Add a search channel for Wikipedia:

http://en.wikipedia.org/wiki/Special:Search?search=

Add a search channel for YouTube:

http://www.youtube.com/results?search_query=

2. Add debug menu to Safari:

defaults write com.apple.Safari IncludeDebugMenu 1

3. to make Safari pass PDFs to Preview instead of opening itself:

defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES

(also remove Adobe PDF viewer from /Library/Internet Plug-Ins)

(could also try using Safari Enhancer (Discontinued))

4. To change the __MyCompanyName__ in Xcode (from MacOSXGuru.Net):

Open the ProjectBuilder preferences file (~/Library/Preferences/com.apple.ProjectBuilder.plist) or the Xcode one (~/Library/Preferences/com.apple.Xcode.plist) and edit the dictionary associated with the key PBXCustomTemplateMacroDefinitions (create one if it does not exist, as child of the root node), edit or add the key ORGANIZATIONNAME, the associated string value will be used when PB creates new source files.

You could also do it via Terminal.app:

defaults write com.apple.ProjectBuilder PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "Behavioral Cybernetics";}'

or

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "Behavioral Cybernetics";}'

5. download stuffit expander

6. make iChat autoconnect

defaults write com.apple.ichat AutoAcceptVCInvitations -1

7. Making bootable backups:

sudo rsync -xrlptgoEv --progress --delete / /Volumes/Backup

or just use carbon copy cloner

8. Replace file extension of all files within a directory tree

find ~/MyDirectory -name '*.txt' -exec bash -c 'mv "{}" "`dirname "{}"`/`basename "{}" txt`xls"' \;

The first arg is the parent directory of the data. Find will recurse thru all sub-dirs. This command replaces ".txt" with ".xls"

9. DNS Servers for use outside FSU's Network

To avoid evil ISP DNS servers, one can use any of the following DNS servers:

FSU Magnet Lab: 146.201.250.2 (addc1.ad.magnet.fsu.edu)

EasyDNS DNSresovlers: 205.210.42.205, 66.207.199.44 (cache1-2.dnsresolvers.com)

DO NOT USE FSU's DNS SERVERS: Outside of FSU's network, the DNS servers are in cache-only mode, so only commonly accessed names can be resolved.

DNS for home website

Install DNSUpdate to make sure the webserver's current IP address is sent to EasyDNS

Give the webserver a dedicated IP address within the Airports sub-net (typically 10.0.1.X), but outside the DHCP range (typically 10.0.1.1-200) to avoid conflicts.

Tell the Airport to map public port 80 onto the web server's private address on port 80

Notes on Micrographia Graphics Problems

2008-03-24

Micrographia has been exhibiting graphic display problems for some time. windows, menus, and icons are displayed chopped up, usually with a diagonal dividing line down the drawing rectangle. The only immediate way to eliminate the problem was to set the displays color depth to 256.

Although we were initially suspicious of a hardware problem, performing a safe boot (boot with shift-key down) eliminates the problem. Further investigations revealed that the problem only occurs when Quartz Extreme is enabled (via System Profiler). Quartz Debug (/Developer/Applications/Performance Tools) can be used to manually enable/disable Quartz Extreme.

One possible work-around is to use the Disable Quartz Extreme Hack.