Caution and Tips:
First, Try To Understand the Problem Statement. Second, Solve Code with Pen and Paper.
Third, Then Write code and submit in the OJ to justify test cases.
Fourth, If failed to AC then optimize your code to the better version.
Fifth, After failed in 3rd time see my solution. Understnad the logic and implement by your own.
Please, don’t just copy-paste the code. It will kill your creativity 🙂
- A ll Codes (289)
- ACM (207)
- ACM Technique (18)
- ACM-ICPC (56)
- Adhoc/Brute Force (3)
- Algorithm (78)
- Algo Unsolved (3)
- Asymptotic Notation (3)
- Geometry (2)
- Graph (6)
- Number Theory (6)
- Recursion (3)
- Searching (3)
- Sorting (9)
- Tree (6)
- Competitive Programming (1)
- Data Structure (6)
- Future Reference (1)
- Problem Solution (91)
- Programming Contest (2)
- Programming Problem Solving (18)
- CS Courses (114)
- Art of Effective Living (1)
- Artificial Intelligence (6)
- Assembly Language (3)
- Compiler Design (1)
- Computer Architecture (3)
- Data Communication (1)
- Data Mining (10)
- WEKA (2)
- Database (5)
- SQL (4)
- Digital Image Processing (5)
- Embedded Systems (2)
- Arduino (2)
- Games Development (1)
- Graphics (9)
- OpenGL (7)
- Mathematics (19)
- Microprocessor (1)
- OOP (36)
- Operating System (9)
- Simulation and Modelling (1)
- Web Engineering (1)
- Experience (3)
- Fitness (11)
- Graphics Design (1)
- Photoshop (1)
- HigherStudy (10)
- Job (37)
- Open Source (5)
- Philosophy of Life (41)
- Pore Abar Bujhbo (8)
- Presentation (6)
- Programming (281)
- Project (2)
- Project Report (1)
- Research (29)
- Software Development (56)
- Tech Tips (20)
- Uncategorized (7)
- University Life (4)
- বাংলা (8)
About Me & MyBlog
Software Engineer | Polyglot Programmer | Gym Lover | Cyclist | Algorithm Addict | Programming and Research enthusiast | Life Long Passionate Learner | Love CSE, Backend and Data
Hi, thanks for your interest on my blog 🙂 I am Syed Ahmed Zaki, Founder of CodeLiftio! This is my blog “Zakilive.Com” for sharing my knowledge and passion with you all.
I was born in a beautiful country of south asia named Bangladesh. I am a Computer Science and Engineering graduate from Daffodil International University. I am passionate, dedicated, hardworking about my tasks and fond of Algorithms, Competitive Programming, Mathematics, Research in data science(Machine Learning, AI, NLP, Deep Learning), bioinformatics and IoT. I also love software engineering. In software development field I prefer Web Application Engineering.
In my Daffodil life I tried to participate in several programming contests(online, onsite, intra etc.) and passed some time in ACM training class for sharpening my logical skills. As an ordinary people it was little bit tough for me alongside with academic pressure, thesis and research paper writing but I love challenges so I always tried to push my limits though still I need to improve a lot in everything but I always trust in this quote “Hard work beats talent”. That quote I have learned from my life through bodybuilding of 6 years since 2012 and after losing 33 KG fat in 4 months from 101 KG I developed my fit physique, so I respectfully believe in this sentence and relate this with CSE field. I also love to learn from my failures. I hate excuses while working professionally and I love trying to finish my work with perfection till the last moment before deadline.
I also love to explore and play with new technologies and try to implement it with innovative ideas. In my university life, I always tried to learn from the basics of CS. So, I have tried to gather Networking to Database Knowledge, OS fundamentals to OOP etc. all fundamental core basics in my skillset in a practical approach.
Alongside with developing some web applications in core php and laravel framework I have also tried to build games with unity3d game engine, built 2 android apps, experimented machine learning with python, data mining with WEKA, AI chatbot, IoT based weather station and some more project works for my undergraduate courses. As I am language and platform agnostic, I enjoyed and learned a lot from all of these works. I also love teamwork. Alongside software engineering and different extra curricular activities I also love teaching. I am also proficient at working with linux and windows based OSes and I feel so lucky if I get chance to contribute in opensource projects. In my linkedin profile you will find more details about me.
However, I am actually a knowledge seeker and life long passionate learner who tries to make his weakness as strength, I was a serious student of all the courses in CS academia that can solve real life problems as I love to explore knowledge in a crafted manner. I love to study books, blogs or whatever philosophically solve my curiosity. For that, I maintain a good collection of various technological, scientific and philosophical books in my small library. Knowledge sharing, analytical thinking, practice and passing the passion of mine with you is one of my motivations for running this blog. I practice to hone my skills with trying to improve my programming and developing skillset day by day and what I learn, I never forget to share here for you.
In my free time I love to do cycling or gym or play racing games in my android phone or watch animated movies and also love to promote positive, fit and healthy lifestyle among people.
Connect with me:
Currently I am working with .NET technologies. If you have any opportunity/business to work with me or any other query kindly say just hi to me at my mail:
Category Archives: Open Source
This is an opensource project by me and final release is version 1.0.1 till now.
First we have to create index.php for the options that will give the senders number and text box what to send to the sender and then at last the resgistration id from your mobile phone(It will be needed to use your mobile phone as messaging server.It will come from GCM app).
author:Syed Ahmed Zaki
app_idea:Mohammad Amir Hamza
<form action="gcmtest.php" method="GET">
<input type="text" name="numb">
<textarea name="id">registration id from your device</textarea>
<input type="submit" name="btn" value="SUBMIT">
Now we have to create gcmtest.php it is the core part of our project.Here all the settings available that you can customize easily according to your needs.
author:Syed Ahmed Zaki
app_idea:Mohammad Amir Hamza
// API access key from Google API's Console
define( 'API_ACCESS_KEY', 'Your API server key is here' );
$registrationIds = array( $_GET['id'] ); //it is getting registration id from the index page.
// prep the bundle.You can define the desired values from gcm library.I needed message and number only so it has defined here.
$msg = array
'message' => $_GET['mess'],
'number' => $_GET['numb'],
//It is json passing
$fields = array
'registration_ids' => $registrationIds,
'data' => $msg,
$headers = array
'Authorization: key=' . API_ACCESS_KEY,
$ch = curl_init();
curl_setopt( $ch,CURLOPT_URL, 'https://android.googleapis.com/gcm/send' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $fields ) );
$result = curl_exec($ch );
curl_close( $ch );
Now when we run the script from our php backend server then it will show you the page where you will input sender number and message and click submit it will pass through your phone to google cloud messaging server and receiver will recieve a sms from your number.
You can download this whole project from my mirror server: php-gcm.zip
I took help from the opensource project to learn how they did the gcm passing:
https://gist.github.com/prime31/5675017#file-gistfile1-php-L16 (In PHP)
https://github.com/anjlab/android-sms-gateway (Android SMS gateway call in Ruby)
If you liked the tutorial or face any problem don’t forget to comment in the comment section.Thanx for reading 🙂
Check out the video it explains almost everything.One things to be added that you can install Boot Repair ISO in your USB stick through LILI and do the rest of the steps same as seen in the video.
What to do If fresh installed ubuntu does not find wifi ?
I have just installed the recent 15.04 ubuntu but after installing the fresh ubuntu I didn’t find wifi
So what I did to restore my wifi
I connected my LAN cable in my laptop’s ethernet port then I opened up terminal and typed
sudo apt-get update
sudo apt-get install bcmwl-kernel-source
after this command you can restart your system and get your wifi back 🙂
Solution I have found by searching various websites on the net.I am sharing this with all of you now.It will also help me to findout when i will stuck at this problem again 🙂
It’s simple .
Just do this in your ubuntu terminal :
sudo apt-get update
sudo apt-get install synaptics
Why happened this:
Maybe you clicked to disable the touchpad in your laptop like this:
Now showing like this :(…Where no synaptic touchpad option in laptop.