A toolkit of Nullable/Option/Result type implementation in ECMAScript. Their APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
assemblyscript version of Rust Option<T> and Result<T, E> and Box<T> etc.
Bringing Rust's Option<T> and Result<T, E> to TypeScript.
TS implementation of Rust-like enums (e.g. Option<T>, Result<T, E>)
A TypeScript port of Rust's Result<T> and Option<T> structures
A lightweight TypeScript library for Result<T, E> and Option<T>, inspired by Rust.
a stock(option) t-style table component
Rust Option<T> and Result<T, E> types for Flow
Rust-inspired pattern matching and type-safe error handling for TypeScript. Includes Option<T> for null-safety and Result<T, E> for error handling, with comprehensive pattern matching support
Provides the Option<T> type for null checks
Type-safe Option<T>, Some<T>, None for TypeScript and JavaScript. Replace null and undefined with a Rust-inspired Option type with map, andThen, filter, match, unwrap and Promise interop. Zero dependencies, dual ESM + CJS, ~2 KB.
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
This project is a Naive representation of Scala's `Option[T]`
Managing and serializing Rust-like Option types in JavaScript
Option<T> and Result<T, E> enum types for JavaScript. If you need more Rust-like features, check out derive-rust npm package
Rustify your TypeScript: Bring Rust's powerful Result<T,E> and Option<T> patterns to TypeScript for safe, functional error handling without exceptions.
A toolkit for JavaScript codemods
A TypeScript functional programming utility library that provides unified re-exports and bridge modules for Effect, option-t, and other FP libraries.
A simple toolkit for building scalable and maintainable applications
A descendant index solution for better accessibility support in compound components
A TypeScript implementation of Rust's `Option<T>` type for safe handling of nullable values with functional programming patterns. Eliminates common null/undefined runtime errors by wrapping potentially null values in an `Option` container that must be exp
Get a random temporary file or directory path
Easy-to-use & zero-dependency Option<T> and Result<T, E> types for TypeScript
`binary-options-tools` crate and the python library `BinaryOptionsToolsV2`.
The core of the `binary-options-tools` crate and the python library `BinaryOptionsToolsV2`.
Helper traits for more generalized options
Option contract type definitions including exotic options: Asian, Barrier, Binary, Lookback, Rainbow, and more.
OptionStratLib is a comprehensive Rust library for options trading and strategy development across multiple asset classes.
Script to import mysqldumps (<table_name>.txt files created with option -T) with "disabled" keys (like DISABLE KEYS for MyISAM Tables)
== FEATURES/PROBLEMS: * No known issues at this time. == SYNOPSIS: * Using BayUploader is very simple. The easiest way is just to type: bayuploader your_file.jpg This will upload the with no tags. The removal code will be set to a default value. * To tag a file you are uploading just add the -t or --tags option and a comma separated list of tags: bayuploader your_file.jpg -t yourtag,yourothertag * Finally to specify a removal code use the -c or --code option: bayuploader your_file.jpg -t yourfirsttag,yoursecondtag -c your_removal_code
t-ruby compiles .trb files with type annotations to executable Ruby (.rb) and optional type signature files (.rbs)
== FEATURES/PROBLEMS: * make any call to the technorati api and recieves the raw XML response * TODO: use XML Simple to return pure Ruby structures * TODO: add options hash for additional edge cases * TODO: better testing == SYNOPSIS: t = Technorati.new( 'your api key' ) puts t.member_info( 'brianleroux' ) puts t.info( 'westcoastlogic.com' )
Literate programming using markdown! Converts files to html or extracts the code snippets into one or more source files. To use: $ literate_md --help Options: --weave, -w: Produce documentation --tangle, -t: Produce code --outputdir, -o <s>: Directory to write files to --lang, -l <s>: Default language of code (default: ruby) --files, -f <s>: Files to process --standalone, -s: Weaves in html and body tags --help, -h: Show this message
Command line interface for nele gem ### Instalation: $ gem install nele-cli ### Usage: Generate config file placed in ~/.nele:<br/> $ nele --create-config Microsoft translator has been set as a default translator. Edit ~/.nele config file and add app id. $ nele 'nice girl' $ miÅa dziewczyna $ nele --to es 'nice girl' $ linda chica You can specify all translator's options in params e.g:<br/> $ nele -t ms --appId 5CE6C887658AB9698E1FB710C8F064F94646053B hello $ Witaj Switch to Yahoo's Babelfish translator:<br/> $ nele -t babelfish hello $ Hola
This is a polite fork of riemann-tools, using my riemann-ruby-experiments gem instead of riemann-ruby-client. As a result, events can be batched together to be sent in one message to a Riemann server. Additionally, more control over the TCP socket options is given, and UDP isn&#8217;t supported (yet?), because this gem primarily uses net_ruby_client.
# DwCR DwCA in a SQLite database complete with [Sequel](https://github.com/jeremyevans/sequel) models. ## Command Line Tool ### Create a new DwCR file From within the directory of a DwC Archive: ```ruby dwcr new -t dwcr-test.db ``` will create the file in the directory, named after the directory see `dwcr new --help` for options ### Load an existing DwCR file ```ruby dwcr load ~/documents/dwca/dwcr-test.db ```
Use Mysql AUTO_INCREMENT to support key value cache, which should be combined by an integer and string. It means to reduce the database storage size, and improve query performance. All cache will store in process memory, and will never be expired, until the process dies, so the less kvs you use, the better performance you will get. BTW, 100,000 general strings use 10MB memory. Some relatived articles: http://en.wikipedia.org/wiki/Correlation_database Usage ------------------------------------------ ## setup ```ruby create_table :kv_browser_names, :options => 'ENGINE=MyISAM DEFAULT CHARSET=utf8' do |t| t.string :name t.timestamps end class KvBrowserName < ActiveRecord::Base include IdNameCache end ``` or ```ruby create_table :common_tag, :options => 'ENGINE=MyISAM DEFAULT CHARSET=utf8' do |t| t.integer :tagid t.string :tagname end class CommonTag < ActiveRecord::Base self.table_name = :common_tag self.primary_key = :tagid include IdNameCache; set_key_value :tagid, :tagname # include IdNameCache; set_key_value_without_create :tagid, :tagname # if you dont want create it automately end ``` ### use cases ```text ruby-1.9.3-rc1 :001 > QuizTag[1] QuizTag Load (0.3ms) SELECT `common_tag`.* FROM `common_tag` WHERE `common_tag`.`tagid` = 1 LIMIT 1 => "Android" ruby-1.9.3-rc1 :002 > QuizTag[1] => "Android" ruby-1.9.3-rc1 :003 > QuizTag['Android'] QuizTag Load (0.5ms) SELECT `common_tag`.* FROM `common_tag` WHERE `common_tag`.`tagname` = 'Android' LIMIT 1 => 1 ruby-1.9.3-rc1 :004 > QuizTag['Android'] => 1 ``` == Copyright MIT, David Chen at eoe.cn
Descriptive configuration files for Ruby written in Ruby. Loquacious provides a very open configuration system written in ruby and descriptions for each configuration attribute. The attributes and descriptions can be iterated over allowing for helpful information about those attributes to be displayed to the user. In the simple case we have a file something like Loquacious.configuration_for('app') { name 'value', :desc => "Defines the name" foo 'bar', :desc => "FooBar" id 42, :desc => "Ara T. Howard" } Which can be loaded via the standard Ruby loading mechanisms Kernel.load 'config/app.rb' The attributes and their descriptions can be printed by using a Help object help = Loquacious.help_for('app') help.show :values => true # show the values for the attributes, too Descriptions are optional, and configurations can be nested arbitrarily deep. Loquacious.configuration_for('nested') { desc "The outermost level" a { desc "One more level in" b { desc "Finally, a real value" c 'value' } } } config = Loquacious.configuration_for('nested') p config.a.b.c #=> "value" And as you can see, descriptions can either be given inline after the value or they can appear above the attribute and value on their own line.
Descriptive configuration files for Ruby written in Ruby. Loquacious provides a very open configuration system written in ruby and descriptions for each configuration attribute. The attributes and descriptions can be iterated over allowing for helpful information about those attributes to be displayed to the user. In the simple case we have a file something like: Loquacious.configuration_for('app') { name 'value', :desc => "Defines the name" foo 'bar', :desc => "FooBar" id 42, :desc => "Ara T. Howard" } Which can be loaded via the standard Ruby loading mechanisms load 'config/app.rb' The attributes and their descriptions can be printed by using a Help object help = Loquacious.help_for('app') help.show :values => true # show the values for the attributes, too Descriptions are optional, and configurations can be nested arbitrarily deep. Loquacious.configuration_for('nested') { desc "The outermost level" a { desc "One more level in" b { desc "Finally, a real value" c 'value' } } } config = Loquacious.configuration_for 'nested' p config.a.b.c #=> "value" And as you can see, descriptions can either be given inline after the value or they can appear above the attribute and value on their own line.
Simple tool to resize AWS instances with EBS root.
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.