Skip to content
View daryl-sf's full-sized avatar
Block or Report

Block or report daryl-sf

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. JS function that will curl a server ... JS function that will curl a server asynchronously for each element in an array ([1,2,3] = 3) and log out the request/response times
    1
        time_namelookup:  %{time_namelookup}\n
    2
           time_connect:  %{time_connect}\n
    3
        time_appconnect:  %{time_appconnect}\n
    4
       time_pretransfer:  %{time_pretransfer}\n
    5
          time_redirect:  %{time_redirect}\n
  2. react-accordion react-accordion Public

    Customisable accordion component built with React

    TypeScript 3

  3. Quick and Dirty interest calc Quick and Dirty interest calc
    1
    const interestCalc = (init, rate, years) => {
    2
      const pot = [...Array(years).keys()].reduce((acc, c) => {
    3
        const earnings = acc * rate;
    4
        acc += earnings;
    5
        console.log(`Earnings: £${earnings.toFixed(2)}, New Total: £${acc.toFixed(2)}`);