Details
-
AboutI don't know nothing, other than coding
-
Skillsjs, nodejs, mongodb, php, java
-
LocationNavi Mumbai, India
-
Github
Joined devRant on 2/18/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I was sleeping.....
May dad was feeding our newly furnished outer walls of our house with water....
I was unaware of what he was doing...
I dont know what exactly he was supposed to do....
But when I opened my eyes....
I saw a stream of water straight way coming from the window entering my cpu which was placed on a table exactly at the window....
I shouted out as loud as possible....
I was so lucky I previous night I turned it off shut off the switches cuz there was nothing to download....
I deassembled whole cpu kept it for 3 days to dry....
And bam it worked like a charm....
Saved my entire life....15 -
I have to show the client 3 weeks of progress tomorrow. On a Saturday.
I haven't even started yet 🤥8 -
HAHAHAHAHAHAHAHA
SOMEONE WAS HAVING A CONVERSATION WITH ME AND I TOLD THEM I'M A DEVELOPER
THEY ASKED IF I HAD A GIRLFRIEND
HAHAHAHAHAHA
.
.
.
.
of course I do devs are the coolests10 -
!rant
I used to doubt the usefulness of regex, until now.
I'm new to web dev, and downloaded a sample website to make a project with, but all the sources of images came as src="images/image.jpg", and for some reason I couldn't make it work, the only way that I found that could work to me was creating a static folder inside my app folder, declaring in the start of the document a {% load static %} and referring the image source as {% static 'images/image.jpg' %} in the html file, I kinda get what this is doing, but why it's the only way that works, it's beyond me.
Great! Now I can start the development server and see the website in its full glory!!! Then I realized: I had to edit the sources of every image and every reference to css and js in 5 html files to it work properly, and come on, do all that by hand?
Then regex came to mind, never had used it, never knew how to use it properly, after some web research I found if I did a find/replace with ([a-z]\w+\/[a-z,-]+\.[a-z]+{1,2}) and {% static '$1' %}, all the work I had to do, was resumed to a single click of replace all.
Man, I love doing what I do, and I love you guys/gals, never tough I would ever find a place in which I could share this kind of thing!6 -
Today i had a deadline
Decided stuff it im sleeping late
Got a nightmare woke up at 5am instantly solved my problem2 -
Launched a CMS-site for a customer, created a 5-page "manual" (with screenshots) on how to update basic things like adding/removing employees from the site. One week later, I receive an email: "Could you please remove Paula from our site?"... Sure, it'll take me 2 minutes and you'll be billed for half an hour instead of you just RTFM!6