convert/encode a float array as a hex string and back again.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Generate a random integer
Implements the WebIDL algorithms for converting to and from JavaScript values
Check if an array can store floats
Get consecutively unique elements from an array
Platform float word order.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Use flow-relative (inline-start and inline-end) values for float and clear
Floating tooltip component
Interactive react component for displaying javascript arrays and JSON objects.
High performance WAV file decoder and encoder
Get a random item from an array
No description provided.
Parses set-cookie headers into objects
Array manipulation, ordering, searching, summarizing, etc.
Runs (webpack) loaders
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
Node addon for string extraction for msgpackr
Stringify your JSON at max speed
Polyfill of future proposal for `util.parseArgs()`
Remove duplicate values from an array. Fastest ES5 implementation.
Loop over each item in an array and call the given function on every element.
No description provided.
A super, simple way to serialize anything from fixnums and floats to arrays and hashes.
A simple scrambler for strings, integers, floats and arrays. Number of scrambles can be specified.
Adds ".to_bool" behaviour to String, Integer, Float, Array, Hash, TrueClass, FalseClass and NilClass.
Detect and convert short strings into integers, floats, dates, times, booleans, arrays, and hashes - "like a human would". Based on YAML and JSON.
Adds simple methods toFixnum, Float, Array and String classes, will document later.
Generate JSON strings from Ruby objects with flexible formatting options. Key features: keep arrays and objects on a single line when they fit; format floats to specific precision; sort and align object keys; adjust whitespace padding of arrays and objects, inside and around commas and colons. JavaScript version included.
Grants equal rights for Hash like other Ruby data structures: Array, String, Integer, and Float.
VersionCompare simplifies comparison of version numbers with other version numbers. It aims to be as light and flexible as possible. Inputs can be a String, Integer, Float, Array, or any object that defines `#to_comparable_version`.
RBON is not JSON! Use RBON to store your configration "Items", if by "Items" you mean that: `Key = (Symbol=~/^w+[?!]?$/)` and `Item = (Key | String | Integer | Float | nil | bool)` and `Items = (Item | Array[Items] | Hash[Key, Items])`.
A very simple gem that adds some methods to some Ruby standard classes, e.g. <array>.include_any?, <array>.delete_random, etc. Simply require the gem ( require "more_ruby" ) and the additional methods will be available. # New instance methods # ## Array :all_instance_of?, :all_kind_of?, :av, :delete_random, :include_any?, :insert_flat, :mean, :modulo_fetch, :peach, :random, :random_index, :random_insert, :random_move, :stringify_all_values_deep, :sum, :wrap_fetch ## Float :format_with_thousands_delimiter, :signif ## Hash :all_keys, :all_values, :delete_random, :peach, :random_key, :random_pair, :random_value, :remove_empty_fields, :sort_deep, :stringify_all_values_deep, :strip_hash_of_keys, :to_a_deep, :to_xml ## Integer :digit_count, :format_with_thousands_delimiter, :num_to_letter, :signif ## NilClass :empty? ## Numeric :format_with_thousands_delimiter ## String :append, :camelcase, :camelcase_to_snakecase, :capitalize_all, :capitalize_first_letter_only, :escape, :escape_whitespace, :extract_values_from_xml_string, :formatted_number, :index_of_last_capital, :invert_case, :is_hex?, :is_integer?, :join, :pascalcase, :prefix_lines, :random_case, :snakecase, :snakecase_and_downcase, :to_bool, :unindent ## Time :is_after?, :is_before?, :is_within?, :remove_subseconds # New singleton methods # ## FalseClass :maybe?, :random ## File :basename_no_ext ## TrueClass :maybe?, :random
DBConfig provides a powerful, database-backed configuration store for Rails applications. Store and retrieve configuration values dynamically with automatic type detection and conversion (strings, integers, floats, booleans, arrays, hashes, and nil). Features eager loading for high-performance access to frequently used configs, a simple API (get/set/update/delete), and seamless integration with Avo admin panels. See https://github.com/avo-hq/db_config for full documentation and usage examples.
# Excel to Code [](https://travis-ci.org/tamc/excel_to_code) excel_to_c - roughly translate some Excel files into C. excel_to_ruby - roughly translate some Excel files into Ruby. This allows spreadsheets to be: 1. Embedded in other programs, such as web servers, or optimisers 2. Without depending on any Microsoft code For example, running [these commands](examples/simple/compile.sh) turns [this spreadsheet](examples/simple/simple.xlsx) into [this Ruby code](examples/simple/ruby/simple.rb) or [this C code](examples/simple/c/simple.c). # Install Requires Ruby. Install by: gem install excel_to_code # Run To just have a go: excel_to_c <excel_file_name> This will produce a file called excelspreadsheet.c For a more complex spreadsheet: excel_to_c --compile --run-tests --settable <name of input worksheet> --prune-except <name of output worksheet> <excel file name> See the full list of options: excel_to_c --help # Gotchas, limitations and bugs 0. No custom functions, no macros for generating results 1. Results are cached. So you must call reset(), then set values, then read values. 2. It must be possible to replace INDIRECT and OFFSET formula with standard references at compile time (e.g., INDIRECT("A"&"1") is fine, INDIRECT(userInput&"3") is not. 3. Doesn't implement all functions. [See which functions are implemented](docs/Which_functions_are_implemented.md). 4. Doesn't implement references that involve range unions and lists (but does implement standard ranges) 5. Sometimes gives cells as being empty, when excel would give the cell as having a numeric value of zero 6. The generated C version does not multithread and will give bad results if you try. 7. The generated code uses floating point, rather than fully precise arithmetic, so results can differ slightly. 8. The generated code uses the sprintf approach to rounding (even-odd) rather than excel's 0.5 rounds away from zero. 9. Ranges like this: Sheet1!A10:Sheet1!B20 and 3D ranges don't work. Report bugs: <https://github.com/tamc/excel_to_code/issues> # Changelog See [Changes](CHANGES.md). # License See [License](LICENSE.md) # Hacking Source code: <https://github.com/tamc/excel_to_code> Documentation: * [Installing from source](docs/installing_from_source.md) * [Structure of this project](docs/structure_of_this_project.md) * [How does the calculation work](docs/how_does_the_calculation_work.md) * [How to fix parsing errors](docs/How_to_fix_parsing_errors.md) * [How to implement a new Excel function](docs/How_to_add_a_missing_function.md) Some notes on how Excel works under the hood: * [The Excel file structure](docs/implementation/excel_file_structure.md) * [Relationships](docs/implementation/relationships.md) * [Workbooks](docs/implementation/workbook.md) * [Worksheets](docs/implementation/worksheets.md) * [Cells](docs/implementation/cell.md) * [Tables](docs/implementation/tables.md) * [Shared Strings](docs/implementation/shared_strings.md) * [Array formulae](docs/implementation/array_formulae.md)