- Please respong
- Sweet baby zacharino
- Heavy Bones
- Beanbag Boredom
- Discord Shore
| #!/Users/prsrivastav/miniconda3/bin/python3.7 | |
| import csv | |
| from dataclasses import dataclass | |
| from datetime import datetime | |
| from typing import List | |
| DATE_FORMAT = "%d-%m-%Y" | |
| ❯ npm run test | |
| > [email protected] test /Users/prsrivastav/Code/react-tags | |
| > jest --notify --coverage | |
| FAIL test/suggestions.test.js | |
| ● Test suite failed to run | |
| TypeError: Cannot read property 'ReactCurrentOwner' of undefined |
| /** | |
| * npm install superagent cheerio | |
| * node index.js <your_case_number> | |
| */ | |
| const request = require('superagent'); | |
| const cheerio = require('cheerio'); | |
| const URL = "https://egov.uscis.gov/casestatus/mycasestatus.do"; | |
| const receipt = process.argv[2]; |
| #!/bin/sh | |
| command="${*}" | |
| printf "Initialized REPL for [%s]\n" "$command" | |
| printf "%s> " "$command" | |
| read -r input | |
| while [ "$input" != "" ]; | |
| do | |
| eval "$command $input" | |
| printf "\n%s> " "$command" |
| let (|>) v f = f v;; | |
| let comp f g = (fun x -> f (g x));; | |
| let read_ints () : int list = | |
| let rec aux nums = | |
| try let i = read_int () in aux (i :: nums) | |
| with End_of_file -> nums | |
| in | |
| List.rev (aux []) | |
| ;; |
| // Since RequireBin doesn't (yet) support JSX, you'll have to write JS in order | |
| // for this to work. Quick hack: Head to http://babeljs.io/repl, write JSX, copy // paste the compiled JS here. | |
| const React = require('react'); | |
| const ReactDOM = require('react-dom'); | |
| const ReactTags = require('react-tag-input').WithContext; | |
| const _ = require('underscore'); | |
| const countries = require('country-list')(); | |
| const suggestions = _.pluck(countries.getData(), 'name'); |
made with esnextbin
| /* bling.js */ | |
| window.$ = document.querySelectorAll.bind(document); | |
| Node.prototype.on = window.on = function (name, fn) { | |
| this.addEventListener(name, fn); | |
| } | |
| NodeList.prototype.__proto__ = Array.prototype; |