Difference between revisions of "OSX"
Jump to navigation
Jump to search
| (13 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | * | + | ==Shortcuts== |
| + | *You wanted to select text to the end of line with shift+end or like and failed, and now you would like to know how to do these things on Mac? [http://www.gskinner.com/blog/archives/2006/07/mac_text_naviga.html 1]|[http://www.hcs.harvard.edu/~jrus/Site/System%20Bindings.html 2] | ||
| − | **To have GD functioning, you need to install graphic libraries (libjpeg, libtiff,libpng). To do this, according to instructions you need [http://fink.sourceforge.net/ Fink]. I downloaded Fink binary but got error "This Fink Installer is for OS X 10.4 only", despite running exactly that version on my IBook. After Software Upgrade (Finder > Software Update) to 10.4.6, Fink installation went fine. | + | == Installing MediaWiki on IBook == |
| + | |||
| + | *I started with [http://meta.wikimedia.org/wiki/Running_MediaWiki_on_Mac_OS_X this MediaWiki page] | ||
| + | |||
| + | * To install MediaWiki on my IBook I needed GD support in my php. That meant recompilation. I went to http://developer.apple.com/internet/opensource/php.html] and followed instructions, starting with php source download. | ||
| + | |||
| + | ** To have GD functioning, you need to install graphic libraries (libjpeg, libtiff,libpng). To do this, according to instructions you need [http://fink.sourceforge.net/ Fink]. I downloaded Fink binary but got error "This Fink Installer is for OS X 10.4 only", despite running exactly that version on my IBook. After Software Upgrade (Finder > Software Update) to 10.4.6, Fink installation went fine. | ||
| + | |||
| + | ** Another obstacle in following [http://developer.apple.com/internet/opensource/php.html the above recipe] I found with libpng. Installation of libjpeg and libtiff, using Fing, went fine. However, after executing, as suggested, 'shell> sudo /sw/bin/fink install libpng', I got 'Failed: no package found for specification 'libpng'!'. After a Google search I decided to ''shell> sudo /sw/bin/fink install libpng3'. | ||
| + | |||
| + | ** I sort of finally gave up on this recipe after I had a look on [http://www.dannychoo.com/blog_entry/eng/74/Building+and+installing+PHP+with+GD+on+OSX+Tiger/ this site]. So I am continued following instructions on [http://www.phpmac.com/articles.php?view=209 this phpmac.com] page. Basically amounts to have to install libjpeg and libpnp from the source.. | ||
| + | |||
| + | |||
| + | ==to have color syntax highlight in vi / vim for editin php== | ||
| + | *[http://groups.google.com/group/comp.editors/browse_thread/thread/c4f78fa9c8649512/b9495598975c4e59?lnk=st&q=osx+terminal+colors&rnum=6&hl=en#b9495598975c4e59 google groups article] | ||
| + | *download php.vim from www.vim.org and put it in ~/vim/syntax | ||
| + | |||
| + | ==extending external vga display on ibook== | ||
| + | *[http://www.rutemoeller.com/mp/ibook/ibook_e.html Extended Desktop] software | ||
| + | |||
| + | =SWITCH COLLECTION= | ||
| + | For folks switching from other OS-es | ||
| + | |||
| + | ==How do I eject CD?== | ||
| + | *[http://www.macfixit.com/article.php?story=20041011075232575 Eject] as described here. You were right, its not intuitive. | ||
| + | ==How do I drag & drop files and not only shortcuts?== | ||
| + | *Press ALT while dragging | ||
| + | ==I installed php from [http://www.entropy.ch/software/macosx/php/ entropy] site and its not working. == | ||
| + | Test file with <? phpinfo() ?> produces nothing ie blank page. | ||
| + | *Try using <php? tag. If it works then you can try to venture to edit /usr/local/php5/lib/php.ini and set short_open_tag = On | ||
| + | |||
| + | ====Downloads==== | ||
| + | |||
| + | *[http://fink.sourceforge.net/download/index.php?phpLang=en Fink] use opensource stuff on your mac | ||
Latest revision as of 13:30, 1 November 2007
Contents
Shortcuts
- You wanted to select text to the end of line with shift+end or like and failed, and now you would like to know how to do these things on Mac? 1|2
Installing MediaWiki on IBook
- I started with this MediaWiki page
- To install MediaWiki on my IBook I needed GD support in my php. That meant recompilation. I went to http://developer.apple.com/internet/opensource/php.html] and followed instructions, starting with php source download.
- To have GD functioning, you need to install graphic libraries (libjpeg, libtiff,libpng). To do this, according to instructions you need Fink. I downloaded Fink binary but got error "This Fink Installer is for OS X 10.4 only", despite running exactly that version on my IBook. After Software Upgrade (Finder > Software Update) to 10.4.6, Fink installation went fine.
- Another obstacle in following the above recipe I found with libpng. Installation of libjpeg and libtiff, using Fing, went fine. However, after executing, as suggested, 'shell> sudo /sw/bin/fink install libpng', I got 'Failed: no package found for specification 'libpng'!'. After a Google search I decided to shell> sudo /sw/bin/fink install libpng3'.
- I sort of finally gave up on this recipe after I had a look on this site. So I am continued following instructions on this phpmac.com page. Basically amounts to have to install libjpeg and libpnp from the source..
to have color syntax highlight in vi / vim for editin php
- google groups article
- download php.vim from www.vim.org and put it in ~/vim/syntax
extending external vga display on ibook
- Extended Desktop software
SWITCH COLLECTION
For folks switching from other OS-es
How do I eject CD?
- Eject as described here. You were right, its not intuitive.
How do I drag & drop files and not only shortcuts?
- Press ALT while dragging
I installed php from entropy site and its not working.
Test file with <? phpinfo() ?> produces nothing ie blank page.
- Try using <php? tag. If it works then you can try to venture to edit /usr/local/php5/lib/php.ini and set short_open_tag = On
Downloads
- Fink use opensource stuff on your mac