AboutI'm a BSCS student, www-lover, open-source-sorcerer, web-security-researcher, wordpress-freak, full time geek, extroverted introvert, nyctophile and haemophobic guy who just entered into his 20's && i love writing showoff rubbish about myself.
SkillsPHP, C++, JS, of course HTML & CSS too, did Flash and ActionScript when i was kid. Expert-feeling noob in WordPress, CMSs and PHP Frameworks. Currently finding magic ways to turn my spaghetti code into Laravel wonders.
Joined devRant on 5/27/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Music/Headphone gurus !
Can anybody tell me the difference between ANC (active noise cancellation) and CVC (clear voice capture).
I want to buy a neckband and a variant of it says that it has active noise cancellation while other boasts of CVC and doesn't mention ANC .
I understand that cvc is used for in-call clear capture while active noise cancellation reduces the sound in music too.
Am i right ?
Does it mean the one with cVc won't work in music ?6
Just finished a WP chatbot plugin with dialogflow.
implementation took a while week and many pains in arse.2
I was learning gw basic in school.
Instructor showed us how to draw a circle. I started graphics mode, set red as primary color and gave a loop to the circle, which reduced width at every iteration and turned it into an ellipse.
Woah .... That was the best Opera logo I ever saw
! a programming moment
My ah-ha moment was when i got to know that I could play metal slug on it.
I had gotten a CD consisting of neo geo ROMs on it
and that was one of my best moments in life.
I had never thought that i would have an arcade machine at home
I even invited some friends over and showed them that I had Metal Slug on my computer.
Did successful XSS in a website.
Later on, found out that the web was built on laravel.
Still trying to figure out the level of negligence required to make a xss vulnerable laravel website10
I used PHPMailer to send emails to a client's website user. SMTP host is smtp.gmail.com.
web was hosted on Bluehost. I found out that mailer was not working. I enabled verbose output and to my surprise I found out that Bluehost was intercepting my mail and responding with
220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail
when i was explicitly using smtp.gmail.com. Not only they were intercepting but also They were trying my credentials against its own smtp server and then showing me that authentication failed.
When i contacted chat they asked me to tell last 4 characters of Bluehost account password to verify ownership.
Dude do they have passwords in plaintext.🤔5
My windows defender has gone out of the window.
Now whenever i open windows security app, it shows a blank page.
There's is no tray process running and I can't find any service too.
I know it's a huge virus attack.
Can anyone suggest some methods to know what is causing this problem?
This has happened once before. That time i used DISM and checked windows files integrity. It replaced corrupted ones and then windows worked fine.
This time i want to know the cause.
I wanna root it out and rip it apart.15
Yesterday. I copied an image into flash drive. It was Kingston DataTraveler.
Plugged it into my destination.
Drive didn't show up.
Pulled it back and it smelled like burnt.
Packed it and sent it back to online retailer.
Warranty Wins !9
I'm on vacation.
A friend asked me if I could work on a freelance web project. I was getting bored of summer vacations so I said yes.
It was a website for online lottery and it was already developed by some freelancers.
Owner wanted more freelancers to revamp design and administration panel.
I looked at the site and knew that I had seen the worst design and code of my life.
Frontend was made of two colors only, black and yellow. Out of both, black was more prominent. Moreover it had nothing related to Js as if it was developed as a challenge to be accomplished without java script.
Admin panel and backend was much worse than that. No security practices and deprecated essential libraries.
The nightmare is about to end as I have inducted a much better design from themeforest for frontend.
Backend is in my homebrew php framework.
(Good luck future freelancers 😆)
I'm positive that next edits will be features additions only and no one will blame my code.6
May's last week was very hectic. I had just finished my final exams and there were going to be semester project evaluations in that whole week.
@safiullah and me had decided to make a whole Social Network with all features in it, for the DB course project.
All other classmates were making small management systems like ticket booking and etc.
We thought that if we really wanted to learn DB concepts then we should come up with something different than a management panel.
Hence we did it. This was the first time we used a framework. Well, I had written that PHP framework while i was learning about how frameworks work and the way they are made. So it wasn't a big thing but it was something which could be used as a base for clean and organized code.
It took about a month of commits and pushes and it resulted in a very good social network. It had all the features and algorithms present in a starter social network.
For us students, we were happy to see what a fine job we had done. We learnt a lot and used new concepts.
When we went to the instructor, she asked us to sit down and show the project. @safiullah placed the laptop, and logged out from the social network so that he could show her a demo.
She exclaimed,"Why did you do it (Log out) ?"
He replied: "To show you how it works🤷🏻♂️"
She:"Get to the previous state and leave it"
Then she asked different questions like what was a post request in php and how it differed from get? what library for DB connection was used... etc.
We explained each and every step.
She saw the frontend design and said "You've just added text to the elements" as If we were showing her a theme demo with hard coded text accomplished by inspect element.
She did not take a look at any other page than the one we had shown her at start. She navigated to no other page and asked nothing about what total features were implemented and how they were done?
Then she said Thank You and we left.
After some days marks were uploaded in LMS and we were just two points above the average.
She took no look and gave us the least when our project was the best.
I'm 100 percent sure she thought that we were showing her a project copied from somewhere else. 🤣4
Degree is still on the way.
But once i have finished it'll help me do something like
int sum = a + b ;
std::cout<<"sum of both numbers is:"<<sum;
My degree tells me that it is the most useful way of solving real world problems. By using c++ to cout statemens on terminal can solve all problems of a corporate company.1
I've been assigned the task of contacting teams for Blind Code, Geek Quiz and Hackathon, by university's Olympiad team.
Wish me best of luck with @safiullah and @AhmadIshaq
I have heavily customised my windows and my firewalls were down, I had taken ownership of some files and in that process some virus got itself stuck onto System32/logonUI.exe
I was unable to use defender as every option was greyed out.
Every time i logged into windows the process ran itself.
Tried booting Windows Defender Offline but it gave BSOD.
Tried sfc scan and it showed that windows was unable to restore some files for which integrity check failed.
On restart i was unable to login as I was sent back to password screen right after giving a password.
Fixed it using safe mode and blanking password through net user.
Had a very deep sleep after cracking it.4
My phone fell down for the thousandth time and i thought it was okay as it usually has been in previous attempts at suicide.
Pressed power button ...
Screen turned on showing lock screen...
Touched back key .... phone vibrated....
Hmmm... It's okay. Didn't try unlocking screen...
Received a call later on....
Swiped to pick up call.... Nothing moved...
Turned the screen off. Turned it on again. Tried opening screen lock. Again nothing moved...
Got an OTG and plugged a mouse into phone.
Alas... My Phone's Touch Unit is DEAD :/7
Today's assignment made @safiullah lose his mind.He literally wrote:
void someFunc(int x)
x = x ;
How many of you know how to type without looking at a keyboard ?
I wanna learn it.
Any suggestions to speed up the learning process ?21
Friend gave me an ancient macBook who was stuck on upgrade as RAM it needed wasn't available.
He: "Do something that I can at least browse"
Question for Droid gurus here.
Is there any way to use different fonts in android for different languages ?
I have changed ttf to add urdu fonts but then I'm seeing boxes instead of emoji and symbols. Can I add it to urdu only.
On web we have CSS unicode-range in @font-face which sets a boundary for different fonts to be used for different unicode characters/ranges.
Can this be done in android system some way ?
I'm not talking about using it in an app but in whole droid.1
Travelled for some hours today.
While i was on it i remembered a PDF "The Pragmatic Programmer" resting in my phone.
Opened it and read it until the bus reached the destination.
I entered the bus a complete idiot and upon exit i was half Socrates of programming habits.
Had read some chapters though.
Why didn't i know about it before ?
How can you recover data from a ticking harddisk (fell on ground and head is broke)?
I've contacted some persons in market but they are doing it for the price of 3 new HDDs.
Is there any chance to DIY ? Share your theories and experiences.6
Mid terms starting from tomorrow with two exams every day.
Wish me luck for Data Structures and COAL on first day3
Why do these people want CoC(k) in original linux?
As Linux is fucking open source, why don't they make their own fork.
They can call it whatever they want and they can surely add code which is not based on meritocracy.
A good suggestion for name would be CoCoS (pronounced as Cock OS)9