A set of methods to query the KNMI HTTP get form for daily climate data and select a variety of measured parameters, from available stations, in a json style array of hashes, and if necessary convert to csv.
Enhances the ActiveRecord finders to return join/aggregate/calculated columns along with standard table columns.
Since ec2 instance public hostnames are dynamic, and not easy to remember or type, this script provides a list all your running instances so you can select the one you want to ssh into easily (without having to pass the aws console ritual each time you need the hostname).
An Active Admin plugin which improves one-to-many and many-to-many associations selection (jQuery required)
Dynamically create a connection for Selenium or Watir selecting the browser, version, and host os.
This gem let you to filter any kind of arrays to get the item or attributes of selected items
Adds support for displaying your ActiveRecord tables, named scopes, collections, or plain arrays in a table view when working in rails console, shell, or email template. Enumerable#to_table_display returns the printable strings; Object#pt calls #to_table_display on its first argument and puts out the result. Columns you haven't loaded (eg. from using :select) are omitted, and derived/calculated columns (eg. again, from using :select) are added. Both #to_table_display and Object#pt methods take :only, :except, and :methods which work like the #to_xml method to change what attributes/methods are output. The normal output uses #inspect on the data values to make them printable, so you can see what type the values had. When that's inconvenient or you'd prefer direct display, you can pass the option :inspect => false to disable inspection.
For rails applications, requires jQuery
Add separators to data_select on Rails.
A library of feature selection algorithms
Selects records from a table.
A plugin for formtastic to integrate calendar_date_select date/time picker
A form helper for the enum field of Rails model.
CalendarDateSelect is semi-light-weight and easy to use! It takes full advantage of the prototype.js library, resulting in less code, but maintaining a great deal of functionality. Project site: http://code.google.com/p/calendardateselect/
selectable_attr generates extra methods dynamically for attribute which has options
SimpleEnum::Multiple is extension of SimpleEnum, which brings multi-select enum support to SimpleEnum.
Helper for displaying a localised <select> of languages using the ISO 369 standard or your own custom data source.
A few CLI and general utilities. Includes a numbered-menu select loop utility, a ANSI formatting escape code handler, a text-based histogram maker, k-means and n-means (k-means with minimum optimal k) calculators, various collection utility methods, and a utility for using OptionParser with less code.
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. This gem integrates Select2 with Rails asset pipeline for easy of use.
signore helps manage email signatures and select random ones based on their tags
Adds support for serving assets from multiple providers.
Redirect all SELECT queries to a separate connection within a block
Selectmultiple jQuery plugin for Rails asset pipeline
Chosen is a javascript library of select box enhancer for jQuery, integrates with Rails asset pipeline for ease of use.
Provides a simple helper to get an HTML select list of ISO-639-1 languages. The list of languages is obtained from Wikipedia (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
activerecord-jdbc-adapter is a database adapter for Rails\' ActiveRecord component that can be used with JRuby[http://www.jruby.org/]. It allows use of virtually any JDBC-compliant database with your JRuby on Rails application. Includes patch by cmoran92 to eliminate duplicates when SELECTing DISTINCT with JOINS on MS SQL Server.
== DESCRIPTION: Charlie is a library for genetic algorithms (GA) and genetic programming (GP). == FEATURES: - Quickly develop GAs by combining several parts (genotype, selection, crossover, mutation) provided by the library. - Sensible defaults are provided with any genotype, so often you only need to define a fitness function. - Easily replace any of the parts by your own code. - Test different strategies in GA, and generate reports comparing them. Example report: http://charlie.rubyforge.org/example_report.html == INSTALL: * sudo gem install charlie == EXAMPLES: This example solves a TSP problem (also quiz #142): N=5 CITIES = (0...N).map{|i| (0...N).map{|j| [i,j] } }.inject{|a,b|a+b} class TSP < PermutationGenotype(CITIES.size) def fitness d=0 (genes + [genes[0]]).each_cons(2){|a,b| a,b=CITIES[a],CITIES[b] d += Math.sqrt( (a[0]-b[0])**2 + (a[1]-b[1])**2 ) } -d # lower distance -> higher fitness. end use EdgeRecombinationCrossover, InversionMutator end Population.new(TSP,20).evolve_on_console(50) This example finds a polynomial which approximates cos(x) class Cos < TreeGenotype([proc{3*rand-1.5},:x], [:-@], [:+,:*,:-]) def fitness -[0,0.33,0.66,1].map{|x| (eval_genes(:x=>x) - Math.cos(x)).abs }.max end use TournamentSelection(4) end Population.new(Cos).evolve_on_console(500)
Select2 Helper
Provides options for rails form_for select helper. It uses some conventions for your models.
Adds helpers for Rails views and controller in order to manage 'dynamic select'. It uses jQuery UI as support for inobtrusive use in forms. It's not the classic Autocompleter, its use is limited to belongs_to reflections.
RR (Double Ruby) is a double framework that features a rich selection of double techniques and a terse syntax. http://xunitpatterns.com/Test%20Double.html
This plugin turns unsightly select boxes into pretty, searchable, drop down unordered list that you can style.
Proper related posts plugin for Jekyll - uses document correlation matrix on TF-IDF (optionally with Latent Semantic Indexing). Each document is tokenized and stemmed, every word found is treated as keyword for analysis (except for some stop words). TF-IDF matrix for the whole site is calculated (including extra provided weights), then if given accuraccy is lower than 1.0, LSI algorithm is used to compute new simplified vector space. Document correlation matrix is created using dot product of the matrix and its transpose. For each of the post' related documents are inserted into priority queue (sorted by score from document correlation matrix), assuming the score is greater than minimal required score. Selected few bests related posts are retrieven from the queue. Liquid template for each post is rendered and <related-posts /> is replaced with the outcomes of algorithm.
Write a longer description or delete this line.
A selection of small rSpec extensions
The Sequel extension which allow you to select object with many nested descendants
This gem allows for customization of which data to marshal, especially useful for selective session data serialization.
matchHeight makes the height of all selected elements exactly equal
Two things happen on top of normal Vagrant behavior: (1) the second port forwarding entry is created on 0.0.0.0 that allows to ssh to VirtualBox VM from WSL2 on Windows IP. (2) Windows IP is automatically selected for `vagrant ssh` command instean of localhost.
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. This gem integrates Select2 with Rails asset pipeline for easy of use.
Use the ms-dropdown (select dropdown with icons) in your Rails project :)
The use library solves the multi-mixin problem by allowing you to selectively mixin specific methods from a module rather than mixing in all of them. In addition, you can alias methods on the fly as they are mixed in, effectively allowing you to change the name of the mixin method.
selectable_attr_rails makes possible to use selectable_attr in rails application
Version 2.0.2 is compatible with ActiveRecord < 3.1 Version 2.0.3+ is compatible with ActiveRecord >= 3.1 ------ Factory Girl with database accesses stubbed. The versions 2+ only work with Rails 3 (AR 3+) for stubbing queries. Now handle Rails 3 (only Rails 3) queries stubbing, Transform rail3 queries into ruby select on Plants created with factory boy. Example user = Plant(:user => 'toto', :addresses => [Plant(:address, :street => 'here')]) User.where(:name => 'toto').where('addresses.street = 'here').joins(:addresses) will be stubbed into a select ruby on plants and return here, user. See more on github and in unit tests. Compatible ruby 1.9.3.
Downloads any manga from mangahost.net. You can search and select any chapter or range of chapters
Select your bookmarks from the command line, by their bookmark id number. ZSH users will be able to tab complete through their matches, similar to how the autocompletion for `kill` works. If no bookmark is provided, booker will check if the argument is a website and visit it, or go to google (or your preferred search engine) with the string argument.
Neapolitan is a meta-templating engine. Like a candy store it allows you to pick and choose from a variety of rendering formats in the construction of a single document. Selections include eruby, textile, markdown and many others.
A time select component using only ONE select field.
Rcov Stats provides rcov extension, so you could select test files and test covered files for units and functionals tests.
INSERT SELECT Query For ActiveRecord