Category: Other

What am doing and Why am not blogging that much

Okay, so basically I have few Ideas which I want to work on, some have been already in my head just needed the time, some just got into my head, so for sure I’ll work with what I already have.

So far I have got the domains, I do know where am going to host them :cough: Scaleway :cough:, and I already contacted one of the companies and got their permission to use their logo. But now am in the phase where I need to design the website and do all the HTML before I move on to the main part, and to accomplish this am going to start learning Sketchapp, HTML part is not the issue, designing the site & having the nice layout is.

So my first project which am going to work on, is not going to be a startup nor has any business relation, but it will be technical and the plan is to release it for free but with the ability for anyone to donate if they like using bitcoin, and yes am ready to take e-money not regular money, for many reasons I don’t think this post is the one which I’ll talk about it.

Wish me luck everyone, and I hope to see you joining the project once I lunch it.

Filed under: Business, Nginx, Other, Video

Why to use Vagrant or Docker for development?

Few years ago, I was introduced to Vagrant and for me it was the most elegant tools I ever used, at the end it ended up the most annoying argument I ever hear all the time ” It works on my computer “, at that my team at the company used to use MAMP (yes they all use MAC so we are all have the same OS but different versions), and when I did introduced Vagrant they really liked the idea, especially that it was so easy to have your environment up and running in just few hours (based on your internet connection and what tools you will have to download).

Now things got more better, so I created a Vagrant file which we all used and share, it was based on Vaprobash and everything went so simple after that, we never heard that annoying phrase anymore, we all now have the same environment (despite the fact that I always update & upgrade my installed image, and I cant guarantee that everyone else does that), and the benefit was way more than what we though, now if we are working for a Node.js project, you can just grab a Vagrant file or image for it, if we are working on PHP the choices are open and we have no limit.

Continue reading

Filed under: Code, docker, Other, PHP

Few months without Facebook and no regret

For me, and somehow for most Syrians Facebook was a tool for us to communicate with other family members around the world, things has changed, and Facebook become a place where you started to read news, to see the point view of other people, a revolution here and revolution there, and a lot of sources for news, all type of news ..

To make my story short, things started to be a bit annoying for me, everyone trying to post the happy moment they have, the success they do and every single moment they can share just to let you know that they are living the Dream  no matter if its true or not, all what we see is that part.

In my live I don’t interact with people that much, I love to stay behind my computer, reading twitter or even try to chat on twitter ( do you remember when others used to say Twitter is not a chat ), any way, seeing all this nice and joyful atmosphere made my live like hell, yes when I can see everyone else has no issues, I remember that I have too much issues to deal with (and am not alone, the past 5y was not the easiest on us the Syrians), may be I was lucky to get out of the country, but that does not mean that I am living the Dream nor that I don’t have problems to deal with every single day.

So eventually I decided to just suspend my Facebook account, and only leave the Messenger, at least with the Messenger, I’ll not have to deal with everyone posts nor read everything they post, I can only read what they send to me and when they send it to me.

This somehow got some nice peace to my inner mind, maybe not 100% cause the source for my problems was not only Facebook nor seeing people happy. And till today, I cant say how much nice I find my live without Facebook and his sh%$#y social media, I know I still have to deal with twitter, but at least twitter is not Facebook (at least not for now).

Filed under: Other

[Tip] Cloning a host machine via Rancher

If you have setup Rancher correctly and you have a machine running, you can clone it using the following option

Actually its not cloning by the exact name of cloning, but the thing is that it will use the same API token ( or any credentials ) you have used to create that Host, so for example am using DO, so it just going to use the same API token that I used before to create this host but you will got to the same UI that you have used to create the host like this one

Filed under: docker, Linux, Other

What I have learned about Docker in the past few days

In the past few days, I was only reading about Docker, trying to understand it more and more, see how can I use it and how can I implement it in my workflow, and yet still need a lot to learn.

In my learning journey I depends on reading articles (a lot of articles), checking Docker documentation, watching online courses or even youtube videos, and trust me not all of them is worth the time I spend because either they are old or does not cover the situation am trying to achieve in my head. And am not saying they are bad, but everyone knows that Docker release cycle is fast, and with each new version they introduce a big breaking features which will not work with the older versions, so if you dont follow up fast you will lose the track and thats also apply to any article you read, if its talking about version 1.11 mean while you are working with 1.12, you may get lucky and you find the solution for the issue you are facing.

Now enough with this long talk, which is debatable by the way, lets focus about what I have learned in the past few days and how I got what I want fast.

Basically I wanted to have a small API + Database images, based on Docker like this

Continue reading

Filed under: docker, Linux, MySQL, nodejs, Other