Module to convert strings to their respective datatypes
Postgres date column parser
Schema for data modeling & validation
[](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)
A term-datatype function-factory actor
TypeScript definitions for memorystream
Compute the MD5 hash of AWS SQS Message Attributes
Validate literal value of an RDF term based on its datatype.
Data type constructor.
TypeScript definitions for python-struct
[](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)
A useful helper for any javascript program
LoopBack GeoPoint class
A useful helper for any javascript program
Common ROS message definitions using @foxglove/rosmsg
Responsive overlay that supports video and image galleries
JSON Object Manifest for Data Description and Parsing
Salesforce Formula Parser
Get the visual width of a string - the number of columns required to display it
A TypeScript/JavaScript implementation of the RDF/JS data factory.
This is a maintained fork of YAML-AST-PARSER specifically for the YAML Language server.
Jenkins Extension Store
This is a maintained fork of YAML-AST-PARSER specifically for the YAML Language server.
Modify strings, generate sourcemaps
Make activerecord support split datetime attributes, store specific datatypes (Integer, String, Boolean)
add functions to strings and enumerators to easy view and datatype change
The PHP language has a built-in http_build_query() function that creates a URL-encoded string that is a representation of multi-dimensional datatypes. This gem provides a mostly-congruent method in Ruby for dealing with PHP-based HTTP applications that expect parameters in this format.
A lightweight helper that makes inserting RDF triples (and quads) very convenient. It automatically converts strings into proper RDF::URI or RDF::Literal objects with sensible datatype guessing (including xsd:date and xsd:dateTime) and supports language tags.
= sql_valued_columns SqlValuedColumns is an ActiveRecord plugin that will let you have specific SQL statements executed on INSERT / UPDATE. It will call the SQL function you provide, passing the arguments specified in the call to sql_column. See the documentation for SqlValuedColumns::ClassMethods#sql_column for more information regarding usage, including passing Strings and Proc objects as arguments to your SQL function. Example: You have a model with two columns, one named "another_column" and the other named "size_of_another_column". Whenever you insert data into "another_column", you want to have size_of_another_column have the result of the SQL function LENGTH inserted into it. class MyModel < ActiveRecord::Base sql_column :size_of_another_column, "LENGTH", :another_column end Example 2: You have a model with three columns, position, latitude and longitude. Latitude and longitude are values expressed as angles, and position is a special datatype for your database that represents the X/Y/Z projection of that particular latitude and longitude (example: http://www.postgresql.org/docs/8.3/static/earthdistance.html ) When you insert data with latitude and longitude, you want to automatically call a function in your database to transform the latitude and longitude into the appropriate represenation. class MyModel < ActiveRecord::Base sql_column :position, "ll_to_earth", :latitude, :longitude end Example 3: You are an insane criminal who has somehow learned SQL. You would like to make anyone who runs your code to suffer database punishing queries and odd security and data formatting issues that will make them rue the day they ever learned of computers. class MyModel < ActiveRecord::Base sql_column :a_column, "(SELECT count(id) FROM large_list_of_things)", :raw => true sql_column :another_column, '(SELECT count(other_id) FROM other_large_list_of_things WHERE some_column = \'#{some_model_method}\')', :raw => true end == Notes No tests yet, am lazy. == Copyright Copyright (c) 2009 Chris Zelenak. See LICENSE for details.