Url path parser for OpenAPI.
Check if a path exists
Unzip cross-platform streaming API
fs read and write streams based on minipass
Node module that creates missing folders in the middle of a path
Get the PATH environment variable key cross-platform
fs read and write streams based on minipass
Word Processing Document library
Open a URL via the operating system (http: in default browser, mailto: in mail client etc.
Check if a path is inside another path
Do stuff with an open file, knowing it will finally be closed
Check if a path is in the current working directory
Temporary files and directories
A tool to load and execute any JavaScript or TypeScript code at runtime.
Lightweight npm postinstall message to invite people to donate to your collective
This package exports a few of the CSS variables that we use in Facebook projects. This is not the full list we have internally but focused on making available the minimum set needed by our open source projects.
Open stuff like URLs, files, executables. Cross-platform.
Browser automation CLI for AI agents
A spec-conformant JavaScript parser for the HTML5 srcset attribute
HTTP server mocking and expectations library for Node.js
OpenTelemetry Base Context Manager
simple formatter/reporter for eslint that's friendly with Sublime Text and iterm2 'click to open file' functionality
get colors in your node.js console
<!-- BADGES -->
open a path with finder
A (better?) replacement for open-uri. Gets the contents of local and remote files as a String, no questions asked.
RSpec results formats file paths as links that can be opened by Sublime Text
An executable to preview markdown in your browser
Provides command to open latest migration file in text editoror just display latest migration file path in the standard output.
Zip is written to a tempfile and its content to a directory named after the tempfile, so it stays unique. Content is yielded as open files with logical paths.
The relative library enhances Ruby's core and standard libraries to support naming, opening, and reading files relative to the Ruby file currently being interpreted (the contents of the __ FILE __ identifier). This functionality is especially useful in embedded Ruby (eruby, erb, erubis, etc.) where absolute paths or paths relative to the interpreter's current working directory are problematic (due to file system structures and working directories varying across platforms and web servers).
A handy dandy autoload / require / load helper for your rubies. Similar to using[1], but with a few differences of opinion, and a bit shorter. Basically, expand path is fine, up until a point. Sometimes there's no point (i.e. when the load path already contains most of the path you're trying to open). When you're writing libs that users might require sub parts with 'libname/sub_part', then expand_path combined with say, rubygems, can lead to double requires. Lets not do that. :-) [1] http://github.com/smtlaissezfaire/using/
Vivarium visualizes low-level events such as file open paths and relates them to Ruby method boundaries by combining RbBCC (eBPF LSM) and TracePoint.
The API Alchemist gem is a comprehensive Ruby SDK generator tailored to simplify API integration tasks using OpenAPI specifications. It offers developers a streamlined approach to effortlessly create Ruby SDKs for diverse APIs, minimizing the complexities often associated with manual API client development. Driven by the OpenAPI specification, the gem dynamically generates Ruby methods that correspond to API endpoints, allowing seamless interaction with various web services. Through its intuitive design and modular architecture, the Open Path gem abstracts away the intricacies of API communication, enabling developers to focus on building innovative applications without being encumbered by low-level implementation details.
Perfect Shape is a collection of pure Ruby geometric algorithms that are mostly useful for GUI manipulation like checking viewport rectangle intersection or containment of a mouse click point in popular geometry shapes such as rectangle, square, arc (open, chord, and pie), ellipse, circle, polygon, and paths containing lines, quadratic bézier curves, and cubic bezier curves, potentially with affine transforms applied like translation, scale, rotation, shear/skew, and inversion (including both the Ray Casting Algorithm, aka Even-odd Rule, and the Winding Number Algorithm, aka Nonzero Rule). Additionally, it contains some purely mathematical algorithms like IEEEremainder (also known as IEEE-754 remainder).
go (to project) do (stuffs) godo provides a smart way of opening a project folder in multiple terminal tabs and, in each tab, invoking a commands appropriate to that project. For example if the folder contains a Rails project the actions might include: starting mongrel, tailing one or more logs, starting consoles or IRB sessions, tailing production logs, opening an editor, running autospec, or gitk. godo works by searching your project paths for a given search string and trying to match it against paths found in one or more configured project roots. It will make some straightforward efforts to disambiguate among multiple matches to find the one you want. godo then uses configurable heuristics to figure out what type of project it is, for example "a RoR project using RSpec and Subversion". From that it will invokes a series of action appropriate to the type of project detected with each action being run, from the project folder, in its own terminal session. godo is entirely configured by a YAML file (~/.godo) that contains project types, heuristics, actions, project paths, and a session controller. A sample configuration file is provided that can be installed using godo --install. godo comes with an iTerm session controller for MacOSX that uses the rb-appscript gem to control iTerm (see lib/session.rb and lib/sessions/iterm_session.rb). It should be relatively straightforward to add new controller (e.g. for Leopard Terminal.app), or a controller that works in a different way (e.g. by creating new windows instead of new tabs). There is nothing MacOSX specific about the rest of godo so creating controllers for other unixen should be straightforward if they can be controlled from ruby. godo is a rewrite of my original 'gp' script (http://matt.blogs.it/entries/00002674.html) which fixes a number of the deficiencies of that script, turns it into a gem, has a better name, and steals the idea of using heuristics to detect project types from Solomon White's gp variant (http://onrails.org/articles/2007/11/28/scripting-the-leopard-terminal). godo now includes contributions from Lee Marlow <lee.marlow@gmail.com> including support for project level .godo files to override the global configuration, support for Terminal.app, and maximum depth support to speed up the finder. godo lives at the excellent GitHub: http://github.com/mmower/godo/ and accepts patches and forks.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.