Giter VIP home page Giter VIP logo

linked-out's Introduction

Linked Out

The goal of this project is to simply look at different people’s linkedin accounts.

Ruby version

Currently using ruby 2.3.3.

System dependencies

I have only ran this on OSX and Linux (Ubuntu). I do not have a Windows environment.

Setup

Let’s get it rolling.

Install your stuff

A simple bundle install will do:

bundle install

Set your own secrets

These are where my secrets are stored. You probably don’t want that.

rm config/secrets.yml.enc
rails secrets:setup
rails secrets:edit

Add this (with your own credentials) to your secrets file:

shared:
  email: [email protected]
  password: password1234

Create the database

Don’t need to use rake for db:create anymore! It’s the 2000’s.

rails db:create
rails db:migrate

Add some search terms

You will need to add some search terms. I added some basic terms and if you are super lazy, feel free to copy.

If you want to add your own, edit db/seeds.rb. When you are done, run this:

rails db:seed

Visit some profiles

We have reached the point where the magic happens:

rails linked_out:random_search

If you want to search by a specific SearchTerm, you can run:

rails linked_out:search SEARCH_TERM="tom"

How to run the test suite

I didn’t write any tests. I’m normally better than this.

Deployment instructions

Still need to figure this out!

Constraints

  • Can only view 200 profiles per day. We should go significantly less to start out.
  • We only want to view a profile once every four months.
  • We want to dynamically be able to add new search terms for a user.

Schema

SearchTerms

fieldtypepurposeexample
namestringstore the term“software engineer”

Profiles

fieldtypepurposeexample
namestringfull name of the person“Evan Dancer”
uidstringlinkedin id for the profile???
connection_distanceinteger1st, 2nd, 3rd degree connections3rd
created_atdatetimewhen they were viewed
search_term_idreference

Additional

Randomizer

To not look super sketch, I will want to do some random mouse movements between a lot of actions.

linked-out's People

Contributors

edance avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.