Modificare username WordPress utilizzando phpMyAdmin

Come sicuramente saprete, WordPress non permette agli utenti di cambiare la propria username dal pannello di amministrazione. Tuttavia, avendo accesso al database, è possibile agirare facilmente tale limitazione.

In questo piccolo tutorial, vedremo tutti i passaggi necessari per cambiare un nome utente di WordPress modificando direttamente i record del database. Ovviamente, queste operazioni possono essere eseguite con qualsiasi client MySQL, ma le seguenti schermate si riferiscono a phpMyAdmin.

Continue Reading

Delete history of on your own SparkleShare server

SparkleShare is a little Open Source software that allows users to share documents and files with version control and client side encryption system.

To put it simply, it acts like Dropbox or Ubuntu One, but it works on top of a Git repository. This means that, if you want, you can simply setup you own a SparkleShare server and share office documents with your colleagues having all infrastructure under your control using Git.

This is exactly my office’s approach and it works very well.

There’s only an issue about this: sometimes you need to share big files for a limited period of time. Actually, SparkleShare (v 1.1) has no feature to clear history and this means that Git repositories contain all data needed to access to revisions. In simple words: each repository has disk size equal to the sum of each version of each file (also deleted).

In this case it could be useful to clear repository history in order to free a lot of disk space both on server and client.

Continue Reading

Change WordPress username using phpMyAdmin

As you surely know, WordPress doesn’t allow users to change their username from administration panel. But, if you have access to WordPress database, you can simply workaround this limitation.

In this little tutorial, we will show all steps needed to change a WordPress username directly editing database records. Of course, this operations can be done with every MySQL client, but following snapshots specifically refers to phpMyAdmin.

First of all, we need to access to phpMyAdmin. In my case, I started from a cPanel administration dashboard and I simply need to click on phpMySql panel link.

change-wordpress-username-step1

Continue Reading

Setup Oracle JDK 7 + Netbeans 7.0.1 on Ubuntu 12.04 LTS

In this post we will see how to setup a basic environment to develop Java applications on a Ubuntu Precise Pangolin. Normally this setup should be a very simple operation, anyway I had some trouble during process, so I decided to write down and describe all steps I followed to sort out.

First of all, I installed Oracle Java Development Kit using specific webupd8team repository.

Please note that this step is mandatory because using ubuntu openjdk package, Netbeans won’t be able to work correctly: in fact new project window will lock down on “please wait…” message.

Continue Reading

Update Twitter Bootstrap to release 3 in Zend Framework 2

Recently I started a new project based on Zend Framework 2, using Twitter Bootstrap as CSS framework. Some days ago, new Bootstrap v3 was released and introduced a lot of changes and improvements. Because of ZF2 Skeleton Application comes out-of-box with Twitter Bootstap 2, I decided to setup the new project skeleton and update CSS framework to latest available release.

In this post, I’ll describe the process to update Bootstrap to v3 into a ZF2 project.

Please note: I set up the project with Zend Framework 2.2.2 and updated to Twitter Bootstrap 3.0.0-rc1 because, actually, are latest available versions. If time is passed, you should check official documentations to ensure that this procedure is still valid.

I’ll describe update process assuming that we have a working Skeleton Application deployed following Zend Framework Getting starded guide.

First of all, we have to update libraries in public/ folder by accomplish following steps:

  1. Download Twitter Bootstrap library package and unzip it.
  2. Move content of dist/ folder into <project>/public/ folder.
  3. Download Glyphicons package and unzip it.
  4. Copy fonts/ folder into <project>/public/ folder.
  5. Copy css/bootstrap-glyphicons.css into <project>/public/css/ folder.
Continue Reading