Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I've deployed a react app in GitHub user page, but entering a wrong URL still showing me the index.html of app. Hence, hindering the access to my GitHub projects page, any way to solve this ?1
when I open my name.github.io/projectname it works fine, when I open my name.github.io then i re-open name.github.io/projectname it shows 404 not found component from name.github.io.
I'm using react, I feel like request is handled by name.github.io rather than by CDN, and the problem persist until i clear the browser storage.2
was making quine McCluskey calculator on Arduino, does 100% of work, didn't slept properly for 3 days, didn't bath for 5 days, investment ~90$.
group didn't paid their part of money.
The teacher just said keep the project on table and leave, I didn't even got to demonstrate it. FML.1
Mate: I think we should use firebase for our project.
Me: why?, I don't think our project require firebase
Mate: I think there should be some use of firebase in our project.
Me: *madly Explains complete project architecture why we don't need real-time database*
Mate: *not accepting* there should be use of firebase, I'll think and tell you
Me: *Flips table* 😡6
if( result = foo(); result.status == true)
//Code goes here
I have implemented RESTful API using expressJS, and another React app which will use the API's to fetch data.
I'm getting a problem of Allow-Origin Header.
what's the proper way of calling a API ?
do I use a CORS middleware and allow all origin ('*') and use Api-key as way of check authorization to prevent mis-use. ?
any other tricks ?2
1. Able to create object with an event i.e click
2. Able to drag and move the object
3. Able to label it (for circle : inside it, for arrow: mid length)
4. Able to make double circle when specified event occurs,
5. Able to draw arrows from one object to other object or to self, and can also label the arrow.
Which technology stack should I use for this kind of requirements. doesn't matter desktop or web-applications.8
Classmate was crying, I asked her several times why are you crying. She kept saying I won't understand. I asked why can't I ?.
Because you never loved someone.
My DEV ass got triggered, and said have you ever tried Linux and Visual studio code ?
I've been DEV'in from past 4 years
Last year groups of 3 were formed for a group project, after a week one group mate asked me "what should I keep the file name for this java file".
Group Projects in college time still haunts me.