Giter VIP home page Giter VIP logo

surfraw-elvis's People

Contributors

hoboneer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ab9il jgarte

surfraw-elvis's Issues

Separate elvi input files from output files

This would obviate the dependency on rename from Perl since all generated elvi would be from a single directory, meaning that they could lose the .elvis suffix and still be able to be distinguished.

Perhaps the input files (and generated input files, i.e., .gen-in) could be in src/ while the generated elvi could be in elvi/. The make rules for generating elvi would need to cd into elvi/ first though. Maybe mkelvis could have an -o or --outfile option to do this.

Make sure `elvi/` exists

It fails otherwise since mkelvis assumes that directories exist.

Do this in the makefile somehow. Perhaps just document it and leave it to the user?

nzsl: add query completion

Good thing the search completion code for the website isn't too hard to find. It uses jQuery, so it's nice and documented.

See https://github.com/ODNZSL/nzsl-online/blob/1a12f4db3c7ee2fb02860c51e9acf20384248570/app/assets/javascripts/base.js.erb#L311 for its autocompletion URL (https://www.nzsl.nz/signs/autocomplete). jQuery says that the source object property requires that the URL accepts a term parameter (for the search terms, of course). It's nice that it's a GET request: I can just use sr W -o "https://www.nzsl.nz/signs/autocomplete?term=$(w3_url_escape $SEARCHTERMS)".

See:

  1. Hoboneer/.scripts#1
  2. Hoboneer/surfraw-tools#20

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.