Migrate wordpress to nginx?

Posted by & filed under Internet, Linux.

Read this interesting post where the author sets up a wordpress blog with nginx on an Amazon EC2 instance. Author claims he could handle 10 million hits a day. I should explore nginx some day.

Update WordPress plugins via sftp (ssh)

Posted by & filed under Internet.

I have an FTP server running on my web server to easily update plugins via the web admin page since the default WordPress install only allows updates to be made via FTP and FTPS. FTP is an old protocol that is insecure. To update via sftp (ssh), install libssh2-php in Ubuntu and restart apache (credit… Read more »

Some modifications for WordPress

Posted by & filed under Internet.

I recently changed my WordPress theme to Reflex+, a theme that resembles the current look of Google+ and other Google related services. I had to make some manual modifications. Excerpt vs. full content for each post On the main index page, you can either show just an excerpt or the full content of each post…. Read more »

WordPress’s Syntax Highlighter Evolved messes up my code

Posted by & filed under Internet.

I use email to post entries to my blog. I place code snippets in between “LEFT BRACKET plain RIGHT BRACKET” and “LEFT BRACKET /plain RIGHT BRACKET” with the “div” tag surrounding them. My code gets displayed fine using the Syntax Highlighter Evolved plugin. However, when I edit the entry in wordpress, quotes, ampersands, less than… Read more »

embed anything on a site easily

Posted by & filed under Internet.

This post describes Embedly, a wordpress plugin that allows for the embedding of content from many content providers online using the oEmbed protocol. Will definitely come in handy for me.

LaTeX or MathML on the web via MathJax

Posted by & filed under Internet.

I recently discovered GmailTeX, a plugin (implemented via javascript) that displays LaTeX markup in my emails viewed through my web-based gmail account. SIDE NOTE: I implement it conkeror by creating a webjump for the bookmarklet code. GmailTeX renders the LaTeX markup via MathJax, “an open source JavaScript display engine for mathematics that works in all… Read more »

WordPress and MySQL – error establishing a database connection

Posted by & filed under Linux.

My server’s been going down quite often recently (once a week). I believe it is a problem with the disk. Usually rebooting the server makes everything (including my blog) work again. Recently, I got the message “error establishing a database connection” even after the reboot. After many tries, this worked for me. Basically, my options… Read more »

WordPress: post via email using Postie

Posted by & filed under Internet.

WordPress’s default “post by email” setting is pretty weak, mainly because it doesn’t handle attachments (think posterous, among other things. Postie is quite powerful as it can handle different attachments and can handle my LaTeX and source code content. Note to self: use the development version! Setting up is quite easy – you only need… Read more »