Archive for the 'Salt and pepper' Category

Mar 9th 2010 invictus

Out of the night that covers me,
Black as the pit from pole to pole,
I thank whatever gods may be
For my unconquerable soul.

In the fell clutch of circumstance
I have not winced nor cried aloud.
Under the bludgeonings of chance
My head is bloody, but unbowed.

Beyond this place of wrath and tears
Looms but the Horror of the shade,
And yet the menace of the years
Finds and shall find me unafraid.

It matters not how strait the gate,
How charged with punishments the scroll,
I am the master of my fate:
I am the captain of my soul.

No Comments » Posted by julovi / Salt and pepper

Feb 17th 2010 Change the size of small-caps in Latex

I found very little the small caps (\sc, \scshape, etc.) I was using in a document. I solved adding to the preamble this  line:
\usepackage[scaled=.9]{helvet}

Change the ‘.9′ value according to your needs

No Comments » Posted by julovi / Salt and pepper

Dec 3rd 2009 publication list bibtex style (bst)

I needed to create a publication list for my dissertation. I wanted it to include the abstracts and be sorted descendant by publication date.

There is already an abstract.bst file that outputs the bibliography items with abstract, but it sort them by author. So that messed up my file, because I wasn’t the first author in all these publications. There is also a plainyr-rev.bst that sort the bibitems by year. So I combined them both to have a descendant-by-year-abstract-included output. This is the Bibtex Style File for Publication Lists with Abstract (descYrWithAbst.bst).

I use BibDesk to mantain my bibtex database. I created a Smart group that contains all the entries where I am an author. I have the tex view in the bottom panel, and in the BibDesk’s Preferences, I modify the Tex template like this:

\documentclass[a4paper,11pt]{article}
\usepackage{url, gensymb} % include packages according to your needs
\pagestyle{empty}
\title{Publication List}
\author{Juli\'an Villegas}
\date{}
\begin{document}
\nocite{<<CiteKeys>>}
\bibliography{<<File>>}
\bibliographystyle{./descYrWithAbst}
\end{document}


This method is convenient because it can be used to generate an well-formed HTML file without all the curly braces and such those the BibDesk includes. I’m using SimpleTeX4ht to generate the HTML file. The ‘Publications‘ page of this website was generated that way.

Hope it helps!

1 Comment » Posted by julovi / Salt and pepper

Oct 13th 2009 Mac Os X Snow Leopard and MySQL

I upgraded Mac Os X to the version 10.6.1 and I found that my mysql database stopped working, This is how I fix it:
Open a Terminal and type
sudo ln -s /usr/local/mysql-5.0.51b-osx10.5-x86/* /usr/local/mysql

Then, look for the MySQL icon in the System Preference panel and click it. Let it reopen (as the message says), and that’s it. Mysql is running as it was before upgrading the operative system.

Hope it helps.

1 Comment » Posted by julovi / Salt and pepper

Sep 20th 2009 Protected: Sept. 21

This content is password protected. To view it please enter your password below:

Enter your password to view comments. Posted by julovi / Salt and pepper

Sep 17th 2009 Wanderlust for empowerment

I came across this website (latingipsy.com) and I found it interesting. Although  it seems that these girls are just starting the website, I liked it because the posts are all related to what we can do to make a social change and are well written. In their words “Latingipsy.com is a place to join in on the journey towards establishing social awareness within society.”

Go Girls!!!

No Comments » Posted by julovi / Salt and pepper

Jul 13th 2009 Tiger Woods and my fastest mile

After finishing my training today, I was surprised by Tiger Woods’ voice congratulating me for my fastest mile… That guy doesn’t even RUN nor do any real aerobic sport!!!! It’s like getting congratulated by the Pope for your best intercourse!

No Comments » Posted by julovi / Salt and pepper

May 27th 2009 Finding a file in Mac

From a Terminal window type:

sudo find / -name *name*

where name is a part of the name of the file you’re looking for.

No Comments » Posted by julovi / Salt and pepper

May 20th 2009 printing password protected PDF files

Recently I needed to print a PDF file that I created a while ago. It happens that I put some stupid printing restriction and I couldn’t remember the password. After doing some research, I found that I didn’t need to pay for expensive software to override the password. This is what I did with ghostscript:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=fileWithoutPassword.pdf -dNOPAUSE -dBATCH fileWithPassword.pdf

voila!

change according your needs…

No Comments » Posted by julovi / Salt and pepper

Mar 29th 2009 Problem with Time Machine after changing boards

After changing the motherboard of my MacBook I needed to reset the configuration of Time Machine. I found this link very useful:

http://www.macosxhints.com/article.php?story=20080128003716101

Summarizing you need to :

$ su -

$fsaclctl -p /Volumes/YourVolume -d
$ mv .theOldOne .theNewOne
$ xattr -w com.apple.backupd.BackupMachineAddress theNewOneWithSemicolons Backups.backupdb/YouMacName
$ fsaclctl -p /Volumes/
YourVolume -e

restart your laptop.

No Comments » Posted by julovi / Salt and pepper

Next »