Let it be soft (ware)

Hardware current specs

Softwares usually come with specific hardware config, so here is a brief overview.
I learned to work on a Solaris Sun station a while ago. I moved on to use a PC with Linux and then I discovered Apple and Mac OS.
At MIT I get lucky to work with a MacBook Pro 17' (generation 2006, boosted in free memory, hard drive capacity) running Tiger (Mac OS X, version 10.4.6).
Now at LPO, I work on a lighter MacBook 13' (generation 2008, also boosted in free memory, hard drive capacity) running Leopard (Mac OS X, version 10.5.6).

Current laptop specs:
  Model Name:    MacBook
  Model Identifier:    MacBook5,1
  Processor Name:    Intel Core 2 Duo
  Processor Speed:    2 GHz
  Number Of Processors:    1
  Total Number Of Cores:    2
  L2 Cache:    3 MB
  Memory:    2 GB
  Bus Speed:    1.07 GHz

Here after, you'll find various posts with softwares I like to use at work, but also at home ...

html to latex and vice-versa

posted Jun 22, 2009, 5:42 AM by G. Maze ‎(admin)‎   [ updated Jun 6, 2012, 6:41 AM by Guillaume Maze ]

I used to use latex2html to move my notes and papers written in LaTeX to my webpage (latex2html is available through porticus).
But I also like from time to time to grab some peace of the web to embed it in my LaTeX notes. To do it, I use html2latex.




My favorites commands:

LaTeX -> HTML:
latex2html -split 0 -nonavigation -noinfo -image_type gif

HTML -> LaTeX:
?

Rqs about html2latex:
My Perl package was not complete, I had to install:
  1. HTML::Tree - It requires HTML::Parser.
  2. XML::Simple - It requires XML::Parser.
to do so, I type: "perl -MCPAN -e shell"
then: install HTML::Tree
and: install XML::Simple
I had to install a bunch of stuff on the fly, all the dependencies that were missing.

Last but not least, I don't know why but this was not enough, I had the following error message when I first tried to run html2latex:
Can't locate HTML/TreeBuilder.pm in @INC (@INC contains: /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .) at HTML/Latex.pm line 32.
BEGIN failed--compilation aborted at HTML/Latex.pm line 32.
Compilation failed in require at ./html2latex line 81.
BEGIN failed--compilation aborted at ./html2latex line 81.

So to fix it, I modify the /Library/Perl/5.8.8/AppendToPath file, adding the line:
/opt/local/lib/perl5/site_perl/5.8.9

and then I got it ok.

Linux to Darwin: Macports

posted Apr 30, 2009, 1:15 AM by G. Maze ‎(admin)‎   [ updated Jun 6, 2012, 6:43 AM by Guillaume Maze ]


Everything is here:
http://www.macports.org/

But use this:
http://porticus.alittledrop.com

to have a nice GUI !


TinkerTool

posted Apr 28, 2009, 6:01 AM by G. Maze ‎(admin)‎



More informations here:
http://www.bresink.de/osx/TinkerTool.html

TinkerTool is an application that gives you access to additional preference settings Apple has built into Mac OS X.
This allows to activate hidden features in the operating system and in some of the applications delivered with the system.

MAMP

posted Apr 28, 2009, 3:20 AM by G. Maze ‎(admin)‎   [ updated Jul 15, 2009, 3:29 AM ]


Where to get it ?

http://www.mamp.info

http://sourceforge.net/project/showfiles.php?group_id=121134

Usage

MAMP is a set of free softwares used to run dynamic web sites on servers running under Mac OS X. It stands for:

See the Wikipedia page for more.

Once you installed it (as easy as usual) you can develop websites with php,perl,python and mysql functionalities.

Since I manage my website platform with Google Site, I use MAMP to actually create an intranet website for my collaborators.
When I plug my laptop to my lab's network, my local website is accessible to others through my IP at:
http://myip:8888
The ":8888" indicates the port you specified in the MAMP preferences panel for the Apache server (by default it is 8888).
Again, any collaborator connected to your intranet will be able to access your local webpage.
I think this is more powerful than the classic "Web Sharing" you'll find in "Sharing" panel of Leopard preferences because here you have mysql and php servers running.

The webpage you make accessible this way are localized in the /Applications/MAMP/htdocs/ folder (again by default).

Tricks

  • Access the MAMP local homepage with a lot of useful links at:
http://myip:8888/MAMP
I think this requires the webpage folder to be the default one to work.

  • To protect your webpage with a simple login/password system check this tip about .htaccess files.





1-4 of 4