Type safe object string paths for typescript.
Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing
SharkCraft path-convention service: typed path entries and best-fit selection.
An opinionated HTTP router with typed path params, built-in body validation, and a clean auth model.
Type-safe utilities for building path-to-regexp formatted strings
ExpressJS integrations with typed-path.
Core implementation of typed-path, for use with combining with other packages.
Convert a typed array to a Buffer without a copy
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Returns an array of Typed Array names that are available in the current environment
Robustly get the byte offset of a Typed Array
Get the ArrayBuffer out of a TypedArray, robustly.
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Robustly get the byte length of a Typed Array
A simple list of possible Typed Array names.
Robustly get the length of a Typed Array
Detect whether or not an object is a Typed Array
Fast deep equal
Typed styles for cssinjs
JSON Schema TypeScript definitions with complete inline documentation.
flow typed nullthrows
Strictly and safely type any EventEmitter-like interface on any object
Node Rest and Http Clients for use with TypeScript
Type checking for JavaScript functions
Provides typed variants of Path and PathBuf for Unix and Windows
Create file paths relative to your executable for truly portable applications
Crossplatform Path - Rust library
Type-safe serializable and parsable string keys and values for pict-rs
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.