In your Gemfile:
gem 'bootstrap-components-helpers', :git => 'git://gist.github.com/2117187.git'
In your views:
= accordion do |accordion|
= accordion.pane 'My first pane' do
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
fr: | |
devise: | |
confirmations: | |
confirmed: "Votre compte a été validé." | |
send_instructions: "Vous allez recevoir les instructions nécessaires à la confirmation de votre compte dans quelques minutes." | |
send_paranoid_instructions: "Si votre e-mail existe dans notre base de données, vous allez bientôt recevoir un e-mail contenant les instructions de confirmation de votre compte." | |
failure: | |
already_authenticated: "Vous êtes déjà connecté" |
grts2<-function (design, DesignID = "Site", SiteBegin = 1, type.frame = "finite", | |
src.frame = "shapefile", in.shape = NULL, sp.object = NULL, | |
att.frame = NULL, id = NULL, xcoord = NULL, ycoord = NULL, | |
stratum = NULL, mdcaty = NULL, startlev = NULL, maxlev = 11, | |
maxtry = 1000, shift.grid = TRUE, do.sample = rep(TRUE, length(design)), | |
shapefile = TRUE, prjfilename = NULL, out.shape = "sample") | |
{ | |
if (is.null(design)) | |
stop("\nA design list must be provided.") | |
strata.names <- names(design) |
############################################### | |
## | |
## Attempt no 2 at building a shiny web app | |
## for AB Testing use - using global.R | |
## | |
## global.R - loading and defining variables for the global environment | |
## | |
############################################### | |
# Pallette used in some charts as a general indicator color for better or worse that the control group |
curl -XDELETE 'localhost:9200/test' | |
# grasp available rules with: jar tvf plugins/analysis-phonetic/commons-codec-*.jar | grep bm | |
curl -XPUT 'localhost:9200/test' -d ' | |
{ | |
"settings" : { | |
"index" : { | |
"analysis" : { |
######################################################################################################### | |
# I18n French translation for Devise (http://github.com/plataformatec/devise) | |
# I18n traduction française pour Devise | |
######################################################################################################### | |
fr: | |
errors: | |
messages: | |
not_found: "n'a pas été trouvé(e)" | |
already_confirmed: "a déjà été confirmé(e)" |
{ | |
"from" : 0, | |
"size" : 10, | |
"query" : { | |
"match_all" : { | |
} | |
}, | |
"explain" : false, | |
"facets" : { | |
"f1" : { |
Accessing Helper modules in rails | |
http://www.funonrails.com/2010/12/accessing-helper-modules-in-rails.html | |
1. Helper methods all the time for views | |
class ApplicationController < ActionController::Base | |
helper :all# include all helpers, all the time for views | |
end |
{ | |
"from" : 0, | |
"query" : { | |
"filtered" : { "query" : { "query_string" : { "query" : "jboss server" } }, | |
"filter": { | |
"and" : [ | |
{"range" : { "date" : {"from":"2007-07-25","to":"2010-12-16"}}}, | |
{"terms" : { "_index" : ["weld"]}}, | |
{"terms" : {"mail_list" : ["dev"]}}, | |
{"terms" : {"from.not_analyzed" : [ "Galder Zamarreno <[email protected]>","Pete Muir <[email protected]>"]}} |
{ | |
"from" : 0, | |
"query" : { | |
"filtered" : { "query" : { "query_string" : { "query" : "jboss server" } }, | |
"filter": { | |
"and" : [ | |
{"range" : { "date" : {"from":"2007-07-25","to":"2010-12-16"}}}, | |
{"terms" : { "_index" : ["weld"]}}, | |
{"terms" : {"mail_list" : ["dev"]}}, | |
{"terms" : {"from.not_analyzed" : [ "Galder Zamarreno <[email protected]>","Pete Muir <[email protected]>"]}} |
In your Gemfile:
gem 'bootstrap-components-helpers', :git => 'git://gist.github.com/2117187.git'
In your views:
= accordion do |accordion|
= accordion.pane 'My first pane' do