New WordPress plugin: danixland contact form

contact-form-banner-danixland

I also made a cool banner for my plugin!! :D


 
screenshot-5

And here we are. Another WordPress plugin is coming to life.

This time I was looking for a simple contact form to use on a customer website, and after a little testing I decided it would have been much more interesting to build one myself so, after just a couple of weeks, my contact form is ready to hit the Plugin Directory on WordPress.org.

It’s actually waiting for review but if everything goes well it should be out in the wild in the next few hours.

Continue reading

syncing sbopkg repository to local copy

I’m having a few problems with my nas and file permissions on a samba mount, I’m keeping a copy of the sbopkg repository for Slackware 14.1 on the nas and I have that as a samba shared folder mounted on my pc. Everything is working fine, except that the repository update fails because of rsync not being able to work owner/permissions out trough samba.

The problem could easily be solved if I had the opportunity to install sbopkg on my nas, but since that is not an option, I had to figure out how to update my repository in a different way.

What I did was simple, I’ve launched sbopkg -r in one screen tab, and ps axu | grep rsync in another tab, then I copied the rsync command and run it inside the shell on my nas, which has rsync installed. Easy as that is, now I can sync my local repository anytime I want.

To go one step further, I’ve added that same command as a cron job on the nas, and now my local repository is synced once a day at 5am without having to worry about it anymore. Isn’t that cool?!

Just as a reminder to myself, the full rsync command is:

rsync --archive --delete --no-owner --exclude=*.sbopkg --verbose --timeout=30 slackbuilds.org::slackbuilds/14.1/ /mnt/HD/HD_a2/sbopkg/repo/SBo/14.1/

Cheers.

gify.sh – back to bash scripting

piscaturi

gif image created using gify.sh

Today I’ll present you a useful script that will help you create amazing gifs from your still photos using a couple tools from the IMAGEMAGIK suite, so without further ado, here it is, straight from github’s gists.

download in zip format

what the code does is quite simple, it takes a few arguments and helps you resize your images while keeping the original proportions. Put the code in your path and let’s put it to work.

Continue reading

kde4 material design splash screen

splash screen consistent with the material kdm theme I wrote, animated using qml

splash screen consistent with the material kdm theme I wrote, animated using qml

I can’t believe I’m back after just a couple of days with another article, and this time I’m going to show you (and let you use) my kde4 splash screen, it uses qml for rendering all of the neat animations while loading the various components, with smooth transitions between the various items.

as I said, it uses qml to render in all of its beauty, with spinners and icons going on and off depending on the various modules being loaded in the system.

Once again, the background image comes from unsplash.com and the icons are mostly Genericons, only some of them came from searching on Google.

download kde4 splash theme
Continue reading

lollipop

image

lockscreen on my phone..

finally I’m using android lollipop on my nexus 5..

La mia prima bookmarklet

Ho scritto la mia prima bookmarklet, serve a recuperare uno short url della pagina che si sta visualizzando utilizzando il servizio goo.gl.

E’ la prima volta che scrivo qualcosa da zero usando javascript, quindi il tutto è sicuramente migliorabile. L’ho pubblicato su gists così potete prenderlo e farne ciò che vi pare.

Per i più pigri vi basterà trascinare il link seguente nella barra dei segnalibri del vostro browser per installare la bookmarklet o in alternativa aggiungete il link ai preferiti.

goo.gl this page

ecco il codice che ho utilizzato: