Author Archives: Calin Rada

SSL certificates: Let’s Encrypt

In this post I’ll explain how to install free SSL certificates for your website, using Let’s Encrypt. Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG). Platform: Ubuntu 14.04, Nginx and OpenSSL, SSH root access Step 1 read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Learning Phalcon PHP – My first book

Yesterday, my first book has been published. I hope you will find it useful. Thank you all for your support ! Check it here

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Youtube sucks. Or why we should kill it !

I am honestly tired of Youtube’s aggressive advertisement. Really now … guys … we are eating ads all day. On TV, on the street, listening to FM, reading online news and more. Lately, in Spain, at every 1-2 videos I have to mute my speakers and switch tabs in my browser. Not only that most read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Force a logout shortcut, in Ubuntu

If everything is blocked / freezed, you can try this: CTRL + ALT + F2 After this, you will be asked for your username and password to login. Type them then type this: $ killall -u [your-username] gnome-session That’s it. Of course all your unsaved data is lost !

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Restart Ubuntu 12.04 sound system if pulseaudio/ALSA don’t work

If suddenly you have no sound on your ubuntu system, you should try this: $ pulseaudio -k && sudo alsa force-reload Also this should work: $ killall pulseaudio

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

php-apidoc – REST API documentation generator tool for PHP 5.3+

Generate documentation for php REST API based application. No dependency. No framework required. Easy to use. php-apidoc – php rest api documentation tool. https://github.com/calinrada/php-apidoc . Check out the dummy generated file: http://calinrada.github.io/php-apidoc/ | php rest api documentation generator.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

jQuery plugin – split MySql date format value of a form element into select form elements

Here is a simple and quick jQuery plugin that will split the MySql date format values of an form element into select form elements. Html element: <input type="hidden" name="birth_date" id="birth_date" value="1985-03-25" /> Call the plugin: $(function() { $(‘#birth_date’).birthDate(); }); And the plugin: /** * Simple plugin that converts an hidden html element * that has read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Using Twig with Phalcon PHP

You might wonder why using Twig with Phalcon PHP and not using Volt. Well, i had 2 main reasons: 1. I have been using Twig for the last 2 years and it’s available as a C extension also. 2. Using Volt it’s almost exactly the same thing, but for now it seems that Volt is read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Many-to-many relationships – Phalcon

If you are working with Phalcon, you will probably need to establish a many-to-many relationship between models. While i was searching in the official documentation, this was not very clear for me at that time. I posted this question on the form, and i got the correct answer. I will explain you here, step by read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS