tool package
[](https://badge.fury.io/js/t2-browser-worker)
Experimental Do Not Use # T2 React Assessment Suite This module contains a list of assessments (web forms) for users to assess verious mental health issues.
英飞 T2 共用功能、组件项目
``` [ {id: 1, name: 'test', stat: 't', tasks: ['t1', 't2']}, {id: 2, name: 'test2', stat: 't2', tasks: ['t1', 't2']} ] ```
Multi-tier AI orchestration CLI — T1/T2/T3 hierarchical agent system
A Google App Script to call T2 Systems and populate a Google Spreadsheet with the data.
``` import Button from 't2-ui-kit/button';
Embeddable **cart** and **catalog** SDK for **[T2 Shop](https://t2-shop.com)** — a hosted commerce SaaS (product catalog, cart, stock, checkout, and payments on our infrastructure). **This package is the official client for T2 Shop stores:** it calls your
TypeScript definitions for deep-eql
TypeScript definitions for koa-compose
A Nodejs module to request T2 Systems' SOAP service and return data as a Javascript object.
t2 is both a Node.js module and command line client for Twitter. Differently than other Twitter libraries for Node.js, t2 was written to be smart about rate limiting and data use in general, support for which are built in.
The starting point of Tessel 2's command line interface
Module for controlling part of system functions of Sunmi T2 mini and P2 pro
Build a project for deployment to a Tessel 2
Lightweight library to store an in-memory DB
A tiny module for human readable timespans.
Official Trinci 2 SDK JavaScript library
A parser and formatter for delimiter-separated values, such as CSV and TSV
Download ebook pdf mobi epub Nelly Weaver Toi. Moi. Et les étoiles T2 is available now
TypeScript definitions for once
TypeScript meta functions for (especially variadic) meta programming
Agent Wallet for AI agents on Sui — gasless USDC + USDsui sends, Cetus swap, MPP paid API access, MCP integration, scriptable from any shell.
Rerun commands when files change - Rust file watcher
Dynamic parser and replacer. You can define rules at run time. It's possible to use peg format
Proc-macro combining compile-time SQL validation with a runtime QueryBuilder for dynamic queries using named parameters.
A crate to do linear algebra, fast.
Fundamental data types and type constructors, like Single, Pair, Many.
A library for extending exclusive references.
An inter- or intra-process message bus supporting publish/subscribe and request/response.
Expand macro N times for multiple generics
A derivable macro for declaring a builder pattern.
A library for parsing BigQuery queries and extracting schema-aware, column-level lineage.
define struct with default field values like rfc3681 via proc-macro
Traits to test for type equality and type inequality
This gem provides access to the Taverna 2 Server REST interface from Ruby.
Web application that generates a Web UI form for a Taverna2 workflow, given its myExperiment id, for ease of execution. The only requirement for the user is a web browser.
Wrapper methods to interface with [TransferTo](https://www.transfer-to.com/home) Airtime API
Perform validation of the low level firmware of Apple T2 computers to ensure that nothing evil lurks.
A english to multi language translator
Easy test driven development for everyone
Parse a reachability graph and process it using Mustache templates. Example State 2/2398339604900326310: / steps = <<"TenantManager", "Loader">> / db_data = {} / now = 1 / pc = [ Tail |-> "tail_wait", TenantManager |-> "tenant_manager" ] / db_tenants = {"t1"} / input_data = { [tenant |-> "t1", data |-> "d1"], [tenant |-> "t2", data |-> "d2"] } Transition -8297134421408988195 --> 2398339604900326310
== README.md: #ScheduledResource This gem is for displaying how things are used over time -- a schedule for a set of "resources". You can configure the elements of the schedule and there are utilities and protocols to connect them: - Configuration (specification and management), - Query interfaces (a REST-like API and internal protocols to query the models), and - A basic Rails controller implementation. We have a way to configure the schedule, internal methods to generate the data, and a way to retrieve data from the client. However this gem is largely view-framework agnostic. We could use a variety of client-side packages or even more traditional Rails view templates to generate HTML. In any case, to get a good feel in a display like this we need some client-side code. The gem includes client-side modules to: - Manage <b>time and display geometries</b> with "infinite" scroll along the time axis. - <b>Format display cells</b> in ways specific to the resource models. - <b>Update text justification</b> as the display is scrolled horizontally. ## Configuration A **scheduled resource** is something that can be used for one thing at a time. So if "Rocky & Bullwinkle" is on channel 3 from 10am to 11am on Saturday, then 'channel 3' is the <u>resource</u> and that showing of the episode is a <u>resource-use</u> block. Resources and use-blocks are typically Rails models. Each resource and its use-blocks get one row in the display. That row has a label to the left with some timespan visible on the rest of the row. Something else you would expect see in a schedule would be headers and labels -- perhaps one row with the date and another row with the hour. Headers and labels also fit the model of resources and use-blocks. Basic timezone-aware classes (ZTime*) for those are included in this gem. ### Config File The schedule configuration comes from <tt>config/resource_schedule.yml</tt> which has three top-level sections: - ResourceKinds: A hash where the key is a Resource and the value is a UseBlock. (Both are class names), - Resources: A list where each item is a Resource Class followed by one or more resource ids, and - visibleTime: The visible timespan of the schedule in seconds. The example file <tt>config/resource_schedule.yml</tt> (installed when you run <tt>schedulize</tt>) should be enough to display a two-row schedule with just the date above and the hour below. Of course you can monkey-patch or subclass these classes for your own needs. ### The schedule API The 'schedule' endpoint uses parameters <tt>t1</tt> and <tt>t2</tt> to specify a time interval for the request. A third parameter <tt>inc</tt> allows an initial time window to be expanded without repeating blocks that span those boundaries. The time parameters _plus the configured resources_ define the data to be returned. ### More About Configuration Management The <b>ScheduledResource</b> class manages resource and use-block class names, id's and labels for a schedule according to the configuration file. A ScheduledResource instance ties together: 1. A resource class (eg TvStation), 2. An id (a channel number in this example), and 3. Strings and other assets that will go into the DOM. The id is used to - select a resource _instance_ and - select instances of the _resource use block_ class (eg Program instances). The id _could_ be a database id but more often is something a little more suited to human use in the configuration. In any case it is used by model class method <tt>(resource_use_block_class).get_all_blocks()</tt> to select the right use-blocks for the resource. A resource class name and id are are joined with a '_' to form a tag that also serves as an id for the DOM. Once the configuration yaml is loaded that data is maintained in the session structure. Of course having a single configuration file limits the application's usefulness. A more general approach would be to have a user model with login and configuration would be associated with the user. ## Installation Add this line to your application's Gemfile: ```ruby gem 'scheduled_resource' ``` And then execute: $ bundle Or install it yourself as: $ gem install scheduled_resource Then from your application's root execute: $ schedulize . This will install a few image placeholders, client-side modules and a stylesheet under <tt>vendor/assets</tt>, an example configuration in <tt>config/resource_schedule.yml</tt> and an example controller in <tt>app/controllers/schedule_controller.rb</tt>. Also, if you use $ bundle show scheduled_resource to locate the installed source you can browse example classes <tt>lib/z_time_*.rb</tt> and the controller helper methods in <tt>lib/scheduled_resource/helper.rb</tt> ## Testing This gem also provides for a basic test application using angularjs to display a minimal but functional schedule showing just the day and hour headers in two different timezones (US Pacific and Eastern). Proceed as follows, starting with a fresh Rails app: $ rails new test_sr As above, add the gem to the Gemfile, then $ cd test_sr $ bundle $ schedulize . Add lines such as these to <tt>config/routes.rb</tt> get "/schedule/index" => "schedule#index" get "/schedule" => "schedule#schedule" Copy / merge these files from the gem source into the test app: $SR_SRC/app/views/layouts/application.html.erb $SR_SRC/app/views/schedule/index.html.erb $SR_SRC/app/assets/javascripts/{angular.js,script.js,controllers.js} and add <tt>//= require angular</tt> to application.js just below the entries for <tt>jquery</tt>. After you run the server and browse to http://0.0.0.0:3000/schedule/index you should see the four time-header rows specified by the sample config file. ## More Examples A better place to see the use of this gem is at [tv4](https://github.com/emeyekayee/tv4). Specifically, models <tt>app/models/event.rb</tt> and <tt>app/models/station.rb</tt> give better examples of implementing the ScheduledResource protocol and adapting to a db schema organized along somewhat different lines. ## Contributing 1. Fork it ( https://github.com/emeyekayee/scheduled_resource/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
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.
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.