Check if a path is a file, directory, or symlink
Type-safe utilities for working in TypeScript. For example, a type-safe property path type, deep partial type, etc.
Professional typography plugin for genart.dev — kerning, optical alignment, text-to-path, type scales
A tiny class that defines a key path type for e.g. traversing deep objects, along with some related utilities
Get the first path that exists on disk of multiple paths
Determine the type of a path.
Get the PATH environment variable key cross-platform
Check if a path is a file, directory, or symlink
Check if a path exists
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Polyfill for Node.js module.createRequire (<= v12.2.0)
Compressible Content-Type / mime checking
Get the native type of a value.
Determine the `package.json#type` which applies to a location
Create a stream that emits events from multiple other streams
Merge multiple streams into one stream in sequence or parallel.
the path module from node core for browsers
Check if a path is inside another path
Runtime validation and processing of JavaScript types
Callback wrapping utility
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
Buffers events from a stream until you are ready to handle them.
Simple module to get instance type. Like a bit more advanced version of typeof
A command-line utility to help set PATH-type shell variables.
a macro for matching on syn paths
Common objects for polars-structpath and polars-structpath-derive
XPath type information
Test automation helper tool for my custom automation application
Renders wholepath and hop record types from mtr --raw path trace data
This library supports file processing. It processes the specified directory recursively and provides file type and path information.
Are you trying to become a bash ninja? Then, stop typing over and over again the same paths to the same directories! go2dir lets you create shortcuts for your most used paths and change lightning fast your current directory.
When playing ctf pwn challenges we usually needs the one-gadget of execve('/bin/sh', NULL, NULL). This gem provides such gadget finder, no need to use IDA-pro every time like a fool :p. Typing `one_gadget /path/to/libc` in terminal and having fun!
Jump is a tool that allows you to quickly change directories in the bash and zsh shells using bookmarks. Thanks to Jump, you won't have to type those long paths anymore. Jump was inspired by go-tool by ActiveState (http://code.google.com/p/go-tool/).
To create files run 'rails g trailblazer_scaffold:generate ClassName', if you have parent classes, type the whole path. for example for 'models/shop/product.rb' run "rails g trailblazer_scaffold:generate Shop::Product"
This gem allows you to easily create a new ASIC/FPGA project with a file structure and support tools that ensures consistency between your projects and gets you up to speed in no time. To create a new project simply type 'ecic new PATH'.
Jekyll's built-in include tag only supports including files within the _includes folder. This plugin supports 4 types of includes: absolute filenames, filenames relative to the top-level directory of the Jekyll web site, filenames relative to the user home directory, and executable filenames on the PATH.
You've got a script. It's got some settings. Some settings are for this module, some are for that module. Most of them don't change. Except on your laptop, where the paths are different. Or when you're in production mode. Or when you're testing from the command line. "" So, Consigliere of mine, I think you should tell your Don what everyone knows. "" -- Don Corleone Configliere manage settings from many sources: static constants, simple config files, environment variables, commandline options, straight ruby. You don't have to predefine anything, but you can ask configliere to type-convert, require, document or password-obscure any of its fields. Modules can define config settings independently of each other and the main program.
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.
The middleware makes sure any request to specified paths would have been preflighted if it was sent by a browser. We don't want random websites to be able to execute actual GraphQL operations from a user's browser unless our CORS policy supports it. It's not good enough just to ensure that the browser can't read the response from the operation; we also want to prevent CSRF, where the attacker can cause side effects with an operation or can measure the timing of a read operation. Our goal is to ensure that we don't run the context function or execute the GraphQL operation until the browser has evaluated the CORS policy, which means we want all operations to be pre-flighted. We can do that by only processing operations that have at least one header set that appears to be manually set by the JS code rather than by the browser automatically. POST requests generally have a content-type `application/json`, which is sufficient to trigger preflighting. So we take extra care with requests that specify no content-type or that specify one of the three non-preflighted content types. For those operations, we require one of a set of specific headers to be set. By ensuring that every operation either has a custom content-type or sets one of these headers, we know we won't execute operations at the request of origins who our CORS policy will block.
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.
No description provided.
No description provided.