Skip to content
View cairoramos7's full-sized avatar

Block or report cairoramos7

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 Loading

  1. financialmanager financialmanager Public

    Gerenciador de finanças pessoais

    PHP

  2. georeferencing-research georeferencing-research Public

    TypeScript

  3. Random date in JavaScript Random date in JavaScript
    1
    function randomDate(start, end) {
    2
      return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));
    3
    }
    4
    
                  
    5
    console.log(randomDate(new Date(2012, 0, 1), new Date()));
  4. downloadObjectAsJson.js downloadObjectAsJson.js
    1
    downloadObjectAsJson(exportObj, exportName){
    2
        var dataStr = "data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(exportObj));
    3
        var downloadAnchorNode = document.createElement('a');
    4
        downloadAnchorNode.setAttribute("href",     dataStr);
    5
        downloadAnchorNode.setAttribute("download", exportName + ".json");
  5. [v2] <Formik /> `ref` prop [v2] <Formik /> `ref` prop
    1
    import React, { forwardRef, useImperativeHandle } from 'react';
    2
    
                  
    3
    import { Formik, FormikProps, FormikConfig } from 'formik';
    4
    
                  
    5
    function FormikWithRef(props: FormikConfig<any>, ref: any) {
  6. vuejs-blob-file vuejs-blob-file Public

    Handling file with preview through blob

    Vue