Giter Site home page Giter Site logo

premasagar / mishmash Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 1.53 MB

An assortment of little JavaScript functions, snippets and jQuery plugins. Stuff that doesn't warrant its own repository, but is too big or important for a gist.

JavaScript 98.88% CSS 1.12%

mishmash's People

Contributors

orangespaceman avatar premasagar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jourderui

mishmash's Issues

Next steps for github starred

@premasagar if you have the time could you have a look at the github starred imlementation here in mishmash? https://github.com/premasagar/mishmash/tree/master/githubstarred

Findings
On the Github web interface timeline (http://github.com) it notes that individuals have starred a repo. However in the api timeline (https://api.github.com/users/premasagar/events/public) these events are still noted as WatchEvent.

I looked at the starred endpoint (https://api.github.com/users/premasagar/starred) and its not in chronological order.

I am looking for suggestions on what can be done next. I suspect a problematic area is if the public event api endpoint has no WatchEvents then it would yield no results. Using the Link headers one could navigate through the pages to find the rest. Depending on the use case one could also just look at the users starred endpoint if chronological order does not matter.

throttle: implement 'backoff' and 'kill'

backoff: increase throttle period by rate r with each subsequent call (e.g. for repeated attempts to contact a server, or to poll for DOM changes)

kill: once a limit of attempts is reached, change throttle period to -1, which will result in all further calls to the function being rejected (a period of 0 === accept all calls)

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.