Giter VIP home page Giter VIP logo

sec-demo's Introduction

sec-demo

Dependencies:

  • Memcache for Question 2

sudo apt-get install memcached php-memcached

sudo service apache2 reload

Questions:

Ex. 01 - Route decoder (AKA JS port) - Time taken 20 mins

Port JS code to PHP.

See attached Directions.php

Ex. 02 - r/security consumer - Time taken 45 mins

We want to display news on the front page for our customers. For that, we'll use a r/security

Feed URL:

JSON: https://www.reddit.com/r/security/.json

xml: https://www.reddit.com/r/security/.xml

Retrieve and print the title

  • What further improvements would you implement?

  • What can we do in order to reduce requests? Many users are visiting the homepage and it's becoming slow

Ex. 03 - Keyword extractor - Time taken 30 mins

We have a bunch of texts and we want to extract keywords to improve our SEO, the thing is our online marketing is not very big so we'll need to automate it.

See attached “postN.md"

Given a list of text files, can you extract the top 10 most used words?

  • Bonus if you exclude the ones present in stopwords.txt (see attachment)

  • Bonus, words in the title counts double

sec-demo's People

Contributors

flexi-root avatar playmast3r avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.