Forbes magazine logo Ranked Best Coding Bootcamps 2023

Questions and Answers

About 153 questions

How to install Chrome binary in Heroku?

Chrome binary is different from chromedriver Unable to install Chrome in heroku at the moment

Asked on 7 February 2018

Bundle install fails due to nokogiri 1.6.8 problem

On Mac OS El Capitan, use the following to install Nokogiri. gem install nokogiri:1.6.8 -- --with-xml2-include=/Applications/Xcode.app/Contents/Develo ...

Asked on 7 February 2018

How to use heroku's ephemeral filesystem

You can create a file under the '/tmp' directory, and that file will be destroyed after the request is complete. I'm doing this on Cedar, and I haven' ...

Asked on 7 February 2018

Pagination Best Practices

https://www.citusdata.com/blog/1872-joe-nelson/409-five-ways-paginate-postgres-basic-exotic

Asked on 7 February 2018

Where can I find free web layout designs and images for my website

I am building a website but since I am not a designer, I would like to reference free to use designs and use free images and icons. Where can I find t ...

Asked on 7 February 2018

Why does brpop in Redis have a long response time (1s to 1.5s)?

You want that behavior. That's what Redis is doing while it's waiting for work. It's a long running blocking operation because Redis can then tell you ...

Asked on 7 February 2018

Amazon AWS S3 Error: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I am trying to upload files from my browser app to s3 but I get the following error when uploading: No 'Access-Control-Allow-Origin' header is present ...

Asked on 7 February 2018

Cannot find module 'webpack'

When running foreman start -f Procfile.dev, it says cannot find module 'webpack' img Answer Need to install webpack with npm $ npm install webpack [- ...

Asked on 7 February 2018

Set checkboxes to checked by default

This is not working. <label><input type="radio " name="indoor-outdoor" checked by default> Indoor</label> <label><input type="radio" name="indoor-outd ...

Asked on 7 February 2018

Your POST request fields preceeding the upload file was too large

Testing AWS S3 direct upload with Postman Reading this thread on github: https://github.com/waynehoover/s3_direct_upload/issues/45

Asked on 7 February 2018

Change iOS App Display Name

How to Change iOS App Display Name in Xcode? Answer In Xcode, you can change your iOS App Display Name under Build Settings > Packaging > Product Nam ...

Asked on 7 February 2018

How to add your sitemap file located in Amazon S3 into Google Webmaster tools

I am using sitemap_generator gem (https://github.com/kjvarga/sitemap_generator) to dynamically generate sitemap file, which gets automatically uploade ...

Asked on 7 February 2018

XCode ld: file not found:

In a react-native project, after changing Product Name, I encounter the following error in Xcode XCode ld: file not found: /Users/someuser/Library/De ...

Asked on 7 February 2018

React Router Restricted Routes

This document serves as an annotated guide to the official react router documentation on restricted routes. To start, we need to setup a base app wit ...

Asked on 7 February 2018

Jest test React stateless functions

When testing a React stateless function, Jest can't use findDOMNode to find the component. According to React Docs https://facebook.github.io/react/do ...

Asked on 7 February 2018

Free code camp React recipe editor

Any reviews/comments for my code here: https://codepen.io/gavlooth/pen/JKwyQQ Hi Gavlooth, user experience wise, everything seems to be working the w ...

Asked on 7 February 2018

[Reactjs] How do you focus on an input when the page is loaded?

You should do it in componentDidMount render: function() { return <TextInput ref={(c) => this._input = c} />; }, componentDidMount: function() { t ...

Asked on 7 February 2018

React Router Parent Route changes based on conditions of Child Routes

https://github.com/reactjs/react-router/blob/master/docs/Troubleshooting.md#passing-additional-values-into-route-components https://github.com/reactj ...

Asked on 7 February 2018

Creating tables in React is annoying

https://github.com/facebook/react/issues/3979 https://github.com/facebook/react/issues/2127

Asked on 7 February 2018

How to get active route name in Navigation layout with React Router

Hello, I have a navigation layout with a menu and the title of the current page. How can I get the current route name to show in the title? Here is ho ...

Asked on 7 February 2018

Trusted by

Students and instructors from world-class organizations

Imperial College London
Carnegie Mellon University
City University of Hong Kong
Hack Reactor
Cisco Meraki
University of Oxford
Swift
Bazaarvoice
Waterloo
Uber
AtlanTech
Tumblr
Boston College
Bombardier Aerospace
University of St. Andrews
New York University
Minerva Schools at KGI
Merrill Lynch
Riot Games
JP Morgan
Morgan Stanley
Advanced Placement®
Google
KPMG
The University of Hong Kong
University of Toronto
SCMP
Moat
Zynga
Hello Toby
Deloitte
Goldman Sachs
Yahoo
HSBC
General Assembly
Tesla
McGill University
Microsoft

Join the upcoming Cohort #96

Enroll for December 2nd, 2024