A React library that makes managing complex component states easier.
This is an internal utility, not intended for public usage.
Core Inquirer prompt API
Enter/exit a state
Listen to realtime updates to your PostgreSQL database
Library to walk OAS 3 schema objects and call a callback
ECMAScript (ESTree) AST walker
Tiny, simple, and robust technique for defining and acting with local states
React hook that persist data in localStorage
No description provided.
Collection of React Hooks
A Quick description of the component
More powerful alternative to Animated library for React Native.
Spectrum UI components in React
Babel plugin for React Compiler.
mdast utility to transform to hast
mdast utility to serialize markdown
Reuse objects and functions with style
visx tooltip
A middleware for redux to sync state in different tabs
ProseMirror editor state
Editor state data structures for the CodeMirror code editor
Use immer with React hooks
[](https://npm.im/@dnd-kit/state)
AppMode provides state management for modules, classes, libraries, and applications. It may even be used to create and manage new states. The possibilities are endless. This is your chance to create a :solid state, :contemplative state, or even a :free state.
ActiveRecord aware workflow (state machine) module that will also work with any plain old ruby object.
A minimalist approach to managing object state, perhaps best described as "an enum with guard rails." Designed to work with `ActiveRecord` and `ActiveModel` classes, or anywhere where Rails validations are used.
HasStateMachine uses ruby classes to make creating a finite state machine in your ActiveRecord models a breeze.
Sometimes we have to write some Rails code in the migrations and it's hard to keep them in working state because models wich are used there changes too often. there some techniques which help to avoid these pitfalls. For example, define model classes in the migrations or write raw SQL. But they don't help in 100% cases anyway. This gem promises to solve the problem in a simple way.
FMM is a small finite state machine implementation based on Michael Martens' micromachine, but recast in the idioms of functional programming: instead of mutable state we use arguments and return values, and instead of methods bound to an instance of a class like MicroMachine, we provide utility functions that operate on any suitable data structure.
StatesmanScaffold generates StateMachine, Transition classes, and migrations for ActiveRecord models using the Statesman gem. Includes a WithStateMachine concern that wires up state machine delegation, query scopes, and transition associations with a single `with_state_machine` class macro.
StatefulJobs is a Resque based library which allows you to integrate responsive background jobs in a very easy way. StatefulJobs wraps an ActiveRecord Model around a set of jobs and adds a polling mechanism to your frontend to get your users noticed about the state of their tasks. Very useful for: * background jobs which provide its state to the frontend * background jobs which need user interaction between several steps * a set of jobs which share process information All these jobs can either be implemented as a separate Class or inline with just a handy Proc.
This class provides an enumeration function to have the object which I added tree information to in an argument. The instance receives an enumerable object and provides #each and #each_method. The #each method calls a block in an argument in own. The #each_method method calls the method of an object appointed own in an argument. I have the information of the object equal to the ancestors in own and front and back and hierarchy structure, and a block and the argument handed to a method maintain the state flag in the enumeration again. It is necessary to appoint the information about the descendant in the hierarchy structure in a block - a method explicitly. When the #into method receives an enumerable object, and a block is not exhibited, a block - a method is used recursively. This class provides a function to enumerate it, but it is not the object which it can enumerate.
Sirena is a pure Ruby implementation of Mermaid diagram rendering. It parses Mermaid syntax and generates SVG output using Parslet grammars and ELK layout. Supports 24 diagram types: flowcharts, sequence, class, state, ER, C4, block, architecture, Gantt, timeline, Git graph, mindmap, Kanban, user journey, pie, quadrant, radar, XY charts, requirement, Sankey, packet, treemap, info, and error displays.
This class provides a simple no-frills implementation of the XDG Base Directory Specification, which defines where certain user-specific application files, such as configuration, cache, and saved state, should live on the user's file system. It specifies environment variables that contain this information, and defaults that should be used if those environment variables are unset. The spec itself is at https://specifications.freedesktop.org/basedir/latest/
Crowdfund is a Ruby program developed based on Pragmatic Studio's Ruby Programming hands-on video course, and distributed as a Ruby gem. This program has been developed using all the strengths of Ruby including the following. Ruby Programming Environment * Installing Ruby on your favorite operating system (free exercise) * Running Ruby using the interactive Ruby shell (irb) and writing Ruby program files * Using Ruby's documentation system to get help * Installing external Ruby libraries using RubyGems * Troubleshooting common problems Ruby Language Constructs * Expressions and variables * Numbers, string, and symbols (free video & exercise) * Loops and conditional expressions * Arrays and hashes (free video & exercise on hashes) * Classes, modules, and structs Object-Oriented Programming * Using built-in Ruby classes * Defining your own classes with state and behavior (free video & exercise) * Creating unique objects * Telling objects what to do by calling methods * Modeling class-level inheritance relationships * Sharing code with mixins Object-Oriented Design Principles * Encapsulation * Separation of concerns * Polymorphism * Don't Repeat Yourself * Tell, Don't Ask Blocks and Iterators * Calling built-in methods that take blocks * Writing your own methods that yield to blocks * Implementing custom iterators * Effectively using blocks in your programs Organizing Ruby Code * Creating a Ruby project structure * Separating source files for easier reuse and testing * Namespacing to avoid naming clashes * Input/Output * Reading data from files * Writing data to files * Creating an interactive console prompt * Handling command-line input Unit Testing * Writing and running unit tests with RSpec * Test-driven development and the red-green-refactor cycle * Stubbing methods to control tests * Refactoring code, safely! Distribution * Conforming to RubyGems conventions * Writing a GemSpec * Building a RubyGem * Publishing a RubyGem to a public server Ruby Programming Idioms
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.