Category: Business

New fresh start, many things to end

Starting from today, the plan is to catch up with everything I have missed in the past few years, so there will be a lot of reading and a lot of side projects to learn even more.

The main points which I’ll try to cover while searching for a new opportunity are:

  1. Laravel 5: I did missed a lot of the new things that has happened to Laravel in past few years, I was concentrating on using it more than learning the main components individually, this hopefully will change as I’ll have to put some time to read and check the internal Illuminate components, and maybe build some packages while am doing so.
  2. Docker: yes I’ve talked about me trying to learn Docker a lot in the past, and it was a fun and exciting experience, so now its the time to put what I have learned in more production ready state, to deploy and learn more about how we can use it in production.
  3. Microservices: so in the past few months I spend 99% of my time deploying microservices in the company, which they do one thing only, so now its time for me to read more and see how can I group microservices in one big system that can communicate internally with each other, and yes by utilizing what I have learned about Docker.

So maybe they are a lot of things to do, but now that am on a break I might have the time to do that, and finish also most of the courses that I have bought but never found the time to finish.

Also, if you have any idea which you want someone to help you develop, you can communicate with me via the contact form.

Filed under: Business, docker, Laravel, Personal

Should we keep working 24/7

In the past few months, and the last year, everyone around me (and most of them from the EU/US) talked about how you should not be working 24/7 and that you should always take a break, have fun and enjoy the life after work.

I don’t blame them, I mean it’s not easy to work 24/7, it’s not easy to run after your dream all the time, or at least try to improve your life and the life of those around you all the time, it’s not easy and won’t be. But those forget something, forget that the lifestyle you have in the EU/US is not the same that everyone around the world is having, for example, a recent article was talking about the hourly rates for the freelancers around the world, and am not talking about the whole world, am just going to talk about the one in my region, they said that the average is about $60/h (based on a sample from 130 persons from one country, Lebanon) so yes they have generalized 381Mpeople (based on Wikipedia: The population of the MENA region at its least extent is estimated to be around 381 million people.) with only 130 person, so am pretty sure that this info is not correct, at least in my personal experience, in 10y of my work I didn’t reach that hourly price at all.

Continue reading

Filed under: Business, Personal

How to run Kong servers with SystemD

Kong is one of my favourite projects, I do like it and keep pushing my current company and most of who I know to use it. So today I’ll talk about installing version 0.10.x and how to run it automatically via SystemD on Ubuntu 16.04.

Let’s talk about installing Kong, basically, we have two steps:

First, installing Kong (this taken from the docs):

This will install Kong correctly on your server successfully.

Continue reading

Filed under: Business, Code, Linux, Nginx

How to claim your Bitcoin cash

 

Alert! Please be careful and do more research before doing anything. You are doing those steps on own risk.
The fork is now finished, am not going to talk about it, if you need more info please search the internet.

Now for those who are using electrum this is what I have found about how you can claim your Free Bitcoin Cash, and am summarize it:

  1. Export your private keys.
  2. Move your fund to a new wallet.
  3. Wait until the fund is confirmed in the new wallet.
  4. Find a new wallet which supports Bitcoin Cash ( the options is listed here https://www.bitcoincash.org/ ).
  5. Import your keys.

Mostly this is the process, I didn’t try it so if you are going to do it, be careful and do more research.

If you have any advice you want to share or even an experience you would like to share, am more than happy to hear it, just contact me or comment below.

Filed under: Business, Other

Why I choose CLI over web interface

Yesterday I was working on a piece of code which needs to communicate with beanstalkd server, so I spent about an hour or so trying to figure out which framework to use, Lumen, Slim or even Laravel.

The code was not that much complicated, just getting some data and passing it to the queue server and processing it later. Nothing that much complicated, I even though to do it with plain PHP and not use any framework at all.

Long story short, I ended up creating a PHP CLI application, I mean literally I found it the best solution, so why did I choose to go with CLI instead of any regular web application and make it a web app or even a RESTFUL app.

I went with CLI for few reasons :

  1. There is no interaction from outside, so no one will communicate with it or even call it from outside the server
  2. It has only one purpose, getting the data and push them to the queue server to be processed later.
  3. needed it to be light, and simple.
  4. didnt need all this mambo jambo of setting up nginx, PHP & SSL .. etc

And the nice thing is that I was able to do it in less time than if I ever wanted to use a framework.

 

so my advice to you, if you are going to work with microservices try to check if you can do the job via CLI, if yes dont do it via web.

 

 

Alert! As usual, English is not my first language so if you found any linguistic error just let me know to fix. thanks in advanced.
Filed under: Business, Code, Linux, PHP