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 🙂
About Me & MyBlog
Software Engineer | Polyglot Programmer | Fitness Lover | Cyclist | Algorithm Addict | Programming and Research enthusiast | Life Long Learner | Love 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.
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, experiemented machine learning with python, data mining with WEKA and some more projects works for my undergraduate courses. I also love teamwork. In my linkedin profile you will find more details about me.
However, I am actually a knowledge seeker and life long learner, 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 and love perfection in my work. I love to study books, blogs or whatever philosophically solve my curiosity. 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.
Connect with me:
If you have any opportunity/business to work with me or any other query kindly say just hi to me at my mail:
- A ll Codes (288)
- ACM (188)
- ACM Technique (17)
- ACM-ICPC (56)
- Adhoc/Brute Force (2)
- Algorithm (63)
- Asymptotic Notation (3)
- Geometry (2)
- Graph (2)
- Number Theory (4)
- Recursion (3)
- Searching (3)
- Sorting (6)
- Competitive Programming (1)
- Data Structure (6)
- Future Reference (1)
- Problem Solution (86)
- Programming Contest (2)
- Programming Problem Solving (18)
- CS Courses (111)
- 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 (33)
- Operating System (9)
- Simulation and Modelling (1)
- Web Engineering (1)
- Experience (2)
- Fitness (11)
- Graphics Design (1)
- Photoshop (1)
- HigherStudy (10)
- Job (36)
- Open Source (5)
- Philosophy of Life (38)
- Pore Abar Bujhbo (7)
- Presentation (6)
- Programming (247)
- Project (2)
- Project Report (1)
- Research (29)
- Software Development (26)
- Tech Tips (18)
- Uncategorized (5)
- University Life (4)
- বাংলা (3)
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.