Posts Tagged ‘Script’

Easy \LaTeX plugin

Saturday, July 25th, 2009

Since I sometimes nerd it up big time and talk about \LaTeX, I wanted to have a plugin that would let me post math formulas on the blog.

I got the plugin from Wordpress.net, and the name of it is “Easy \LaTeX“. –> Link

Enjoy.

\LaTeX

Saturday, July 25th, 2009

\LaTeX

a^2

This post is to try what you can do with the Easy \LaTeX plugin. As shown above you can use it in the title, in the document, but not as a tag, nor category.

Embed Youtube audio

Friday, July 24th, 2009

If you ever want to embed a video from Youtube, but you wish to remove video part and just play the audio, here’s how to do it.

When choosing a video form Youtube that you wish to embed, copy the embed-code:

<object width=”320″ height=”265″><param name=”movie” value=”http://www.youtube.com/v/6nZGv8VTBVE&hl=en&fs=1&rel=0&color1=0×5d1719&color2=0xcd311b”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/6nZGv8VTBVE&hl=en&fs=1&rel=0&color1=0×5d1719&color2=0xcd311b” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”320″ height=”265″></embed></object>

Now, all you have to do is to change the:

height=”265″ —> “25

Presto, only the “playbar” will be seen.

Wordpress default theme

Wednesday, July 22nd, 2009

thanks to the people at Wordpress.org this blog is fully working. However, since I use this blog to learn a thing or two about server scrips I have done some minor changes.
To change the banner, I have only created a new banner, named the same as the original “kubrickheader.jpg” and put it in “.../wp-content/themes/default/images/“. To change the link colors, I used the Dashboard-Editor, scrolled down to Styles and choose the style.css.

All I did was to update this script snippet:

a, h2 a:hover, h3 a:hover {
color: #9E0508;
text-decoration: none;
}

a:hover {
color: #CC1100;
text-decoration: underline;
}

Presto