Month: June 2018

Difference between localhost sites and heroku hosted sites

Posted on

I built an app, Everything works perfectly locally.

Time to deploy to heroku.

Once on heroku I noticed that sometimes when I submitted something to my api from my front end site, there would be a significant delay of 2-3 seconds occasionally.

Other than possible removing heroku as the culprit by upgrading, the issue could possibly still be network related.

To bypass this I am going to build in a display message to show users that they did actually hit submit so they aren’t tempted to click submit twice.

Still dealing with network issues despite leaving Systems Administration behind.

woman wearing white sleeveless top and red bottoms laughing
Did you think you could leave networking problems behind?

 

 

 

 

Github markdown create links to sections in same md file

Posted on

tldr:    [Link text or description](#this-is-my-header-name-I-want-to-link-to)

I had a long Readme file, and wanted easy access on top to the sections of the Readme.md file.

If you have a header, you can link to that header


create a header: ##This is my header
the link to the header would be: [Link text or description](#this-is-my-header)

As you can see its just converting your text to lowercase and using dash instead of spaces.

If you are having a problem, you can always highlight the header and the link will show at the bottom of chrome. See how that python looking object showed up next to  “Examples”, and at the bottom is the full hyerlink. In this example, just the #example would suffice as I did in my example  above

Screen Shot 2018-06-02 at 6.38.44 AM