redapesolutions / curly-sniffle Goto Github PK
View Code? Open in Web Editor NEWHobby project
Hobby project
Explain why having a .pyc file under source control isn't a good idea
What steps will you take to remove the existing files (include git commands used)
Which other files or folders would you not have under source control
Explain why your try/finally statement in database.py
does not serve the purpose of catching exceptions and edit the code to handle expected exceptions.
Explain why it is bad practice to use except:
without specifying the catchable exceptions
Choose any CSS framework such as Bootstrap, Foundation, Skeleton etc and implement a grid in your page.
Place the filter in the left space and the results on the right
Ensure mobile responsivity of the site: on mobile, filters at the top, results below, or any other preferred method that show skills in handling responsive design
Any visual addition to the page will be welcome
Briefly describe SQL injection
Is your current code protected against such attacks. If yes explain how, if no point to examples and suggest solutions/fixes
Using a framework of your choice (Vue.js, Angular1/2, React) implement a simple page that displays the list of "lumberjacks" using a repeater (v-repeat or equivalent)
Add more "lumberjack" entries
Create an API point which allows to search those entries using filters of your choice using GET parameters.
Good examples would be start date, name, etc
e.g. search_lumberjacks?start=2017-03-20&name=abc
Leaving the choice to you whether name matches exactly or contains, etc.
What is a virtualenv. What are the main advantages of using a virtualenv for your project.
Create a requirements file that will allow all dependencies to be installed for your project
Use SQLAlchemy as an ORM for your code
Propose and justify which approach you would use:
Create the models corresponding to your existing models (Driver, Car)
Implement filters for lumberjacks that use the API point created in issue #6 . If issue #6 can't be completed, use a fake response from a json file or other technique on the AJAX calls.
Display inputs for user to type start date/name (or other filters as per issue #6 )
Make AJAX calls to refresh the list of lumberjacks accordingly - you are free to use any library for AJAX such as Superagent or Axios. Showing an understanding of Promises here would definitely be a plus
Choose a date picker library from http://www.vanillalist.com/ and implement the date picker for the start date filter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.