I was getting sms everyday from grameen phone for the offers I don’t remember using them. So I needed to stop it somehow. There might be more ways to that but probably the easiest and cost free is by chatting with them on their website https://www.grameenphone.com/
Simply click on the chat icon on the right bottom corner of the website and ask them to stop the all annoying promotional sms. They will do it for you instantly and activate DND (Do not Disturb). As simple as that!
I’m new to Kaggle.com , If you don’t know Kaggle it’s a home for data scientists and engineers to to learn, compete and win huge amount of money making sense / predictions of data. People code with python and R. So when you enter into a competition you can see other people’s code in kernels. So I was looking for it but couldn’t find it, I thought they probably disabled it. No more looking into other people’s code 🙁 . Later I realized it was renamed to Notebooks. Which is probably a better name for it. But kernel sounds better to me.
I shifted to new host recently and I didn’t realize a lot of my pages were down and showing this error message. Then gradually I found out that the problem is with my bank category and pages that are under bank category. This are “custom post” considering wordpress term. They were called item in my wordpress theme that I’m using. It’s directory theme from Ait-Themes.
The fix was simple, after several correspondence with my new host they said the fixed the problem by increasing MEMORY_LIMIT to 256MB for the websites to work. Just in case you don’t know where MEMORY_LIMIT is it’s in php.ini . But that is not the only place where you can change and they didn’t change from there. Rather they changed it in wp-includes/default-constants.php . I still don’t know why! and how is it different.
I wrote this formula for excel to figure out the grade points when I insert certain letter grade .
Since I study in North South University, I’m following their grading policy.
Grade Points (Per Credit)
93 and above
90 – 92
87 – 89
83 – 86
80 – 82
77 – 79
73 – 76
70 – 72
67 – 69
60 – 66
Assuming the following is 3 credit course. I have to put formula in the green bordered cell D7 below. When I put the letter ‘B’ for example it will multiply 3 (grade point) with 3(credit hours) which resulted in 9. If it was A, the result would have been 3*4=12.
I was learning python from this wonderful video tutorial and I usually try the problem before the tutor gives the solution. I found out that my solution is better and more full proof than theirs. It’s probably because they are still teaching the concepts and not worried about the details. I thought I could share what I wrote. Let me know if you have better solution and if you find any bug in mine.
You can also learn this from the website
#This is guess the number game
print('Hello, What is your name?')
name = input()
print('well ' + str(name) + ', I am thinking of a number between 1 and 20.')
myGuess = random.randint(1, 20) #between and including 1 & 20
for guessesTaken in range(1, 7):
print('Take a guess')
guess = input()
if guessesTaken < 6:
if int(guess)> myGuess:
print('Your number is too High')
elif int(guess)< myGuess:
print('Your number is too low')
elif int(guess)== myGuess:
print('You got that right in '+ str(guessesTaken) + ' attemp(s)')
print('okay you tried ' + str(guessesTaken) + ' times you failed, it was ' + str(myGuess))
print(' You didn\'t enter a number')
As my Samsung Galaxy Grand Prime getting older new problems are popping up. Recently I was struggling to charge my phone. When I plug it in, It was charging and stop charging frequently almost like the twinkling lights. Then I removed my battery and found out that one of the teeth that connects the battery was a bit bent. I fixed that but still the problem didn’t go away. As days pass by I saw my phone was only charging when it’s off. After that I found out if I turn it off it charges and continues to charge even if I turn it on. So after that I continued to simply plug in the charger and hit restart in my phone.
Connect your phone to your charger
Restart your phone
This fix working for me, I can’t guarantee that it will work with you as well. Let me know if it did or didn’t In the pool below.
How to download big files like full site backup from Cpanel and avoid download interruption? specially in slow connection.
I have been having this problem for a while now until I finally figured out what was cooking. When you generate full site backup in cpanel it keeps the file in home directory of the site.
Since full backups are usually huge for most sites (in my case it was about 1.3 GB) and I right now have only 1.5 Mbps speed I needed a download manager to make sure it utilizes all my allowed download speed. Browser downloads are usually slow. So downloading the file directly from file manager was not a good option. It was slow and if session ended it breaks everything and doesn’t resume from where it left off.
I downloaded internet file manager and it added an extension in firefox so I could download the file using it. But even now I noticed that it didn’t have resume capabilities and still slow!?
Then it got me thinking, how do we download files from the internet from website using these download managers. These files are in public_html (means under certain domain and with a static link).
I moved the file to public_html and wanted to download using the static link example.com/backup.tar.gz guess what it was not working still!?
Then suddenly I thought there must be some kind of file permission problem. I changed file permission to 0644 (possibly could have worked for 0755 as well) and voila! I was able to download it with a static link like example.com/backup.tar.gz and with full speed. Download manager software was able to make multiple connections and it had resume capabilities
So I was excited about this text editor that every one loves. Sublime Text. I downloaded Sublime Text 2 (For some reason I was reading it wrong, I thought it was Subline and only now I found out it was Sublime :/ ). So I started coding some basic stuff. And immediately notice that it doesn’t support Bangla. I basically used google translator to translate my Bangla (Me Lazy! :p , I don’t keep avro and all those stuff installed .. I either translate or type online from various online Bangla typing sites). I found out it was all broken. When I saved and saw it on browser. It was even worse.
Then next I thought You can’t write Bangla on HTML (since this was probably the first time I tried it in code), So I opened in Notepad and saved it. It was alright.
Then I tried again in sublime text, It started working in it for some reason.. No Idea way :/ .. I mean the on the editor it’s broken but everything is okay on the browser.
Weird kind of fix , I know.. I think it will work with all other Unicode Characters.
Summary of the fix
Create your html file in sublime text
If you want to use unicode characters (here Bangla Specifically in this tutorial) save the file in note pad once
Get back to sublime text and from now on everything should work normally
Suddenly I was having this problem. My Samsung Galaxy Grand prime’s phone was not working. I thought maybe the app is not working so lets download another camera app. But that didn’t work too. So I though I’m going to give it a factory reset. But that will make my phone like brand new and I’ll probably need to re-install all my apps and my files might be gone as well. So I thought I’ll do it some other time. Today suddenly I thought to my self why don’t search the internet.. Silly my I should have done that the first day.. I got the solution and it was just too easy..
Shut down the phone,
Remove the Battery and re-add it.
Start your phone
boom! It’s all good!
Someone was saying that it was because we charge the phone using our laptop via data cable. Yes! I do that but not sure if that’s true..
Update: 23rd Nov 2015
My mom uses Walton phone and her phone had the same problem and I solved the problem with the same solution. And she doesn’t charges her phone with laptops.