alla continua ricerca di un qualcosa che ancora non so cosa sia..

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

Most of what I really need to know about how to live, and what to
do, and how to be, I learned in kindergarten. Wisdom was not at the top
of the graduate school mountain, but there in the sandbox at nursery school.
These are the things I learned: Share everything. Play fair.
Don’t hit people. Put things back where you found them. Clean up your
own mess. Don’t take things that aren’t yours. Say you’re sorry when you
hurt someone. Wash your hands before you eat. Flush. Warm cookies and
cold milk are good for you. Live a balanced life. Learn some and think
some and draw and paint and sing and dance and play and work every day
some.
Take a nap every afternoon. When you go out into the world, watch
for traffic, hold hands, and stick together. Be aware of wonder. Remember
the little seed in the plastic cup. The roots go down and the plant goes
up and nobody really knows why, but we are all like that.
[…]
Think of what a better world it would be if we all — the whole
world — had cookies and milk about 3 o’clock every afternoon and then lay
down with our blankets for a nap. Or if we had a basic policy in our nation
and other nations to always put things back where we found them and cleaned
up our own messes. And it is still true, no matter how old you are, when
you go out into the world, it is best to hold hands and stick together.
— Robert Flughum

and one thing I learned a bit later, is to always keep fortune activated in your shell, you never know what gem you’ll read today…

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