-
liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
-
classifier-reborn: Bayesian and LSI classification
dependencies: GSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (localidad.Barrios.Count() == 1) | |
{ | |
if (localidad.Barrios.First().Nombre == BowConstsZonificacion.BARRIO_NO_IDENTIFICADO) | |
{ | |
if (localidad.Zonas.Count() == 0) | |
{ | |
if (localidad.TiposOrientacionLocalidad.Count() == 0) | |
{ | |
if (localidad.SufijosLocalidad.Count() == 0) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\darwin\Source\Repos\naut\angularjs> gulp build | |
[13:56:04] Using gulpfile ~\Source\Repos\naut\angularjs\gulpfile.js | |
[13:56:04] Starting 'build'... | |
[13:56:04] Starting 'clean-scripts'... | |
[13:56:04] *** Cleaning: app/js/*{js,map} | |
[13:56:04] Starting 'clean-styles'... | |
[13:56:04] *** Cleaning: app/css/*{css,map} | |
[13:56:04] Starting 'clean-markup'... | |
[13:56:04] *** Cleaning: index.html,app/views/ | |
[13:56:04] Finished 'clean-scripts' after 20 ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cannot instantiate adapter of Lotus::Model::Adapters::SqlAdapter (Sequel::Database.connect takes either a Hash or a String, given: nil) | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/gems/lotus-model-0.3.2/lib/lotus/model/config/adapter.rb:101:in `rescue in instantiate_adapter' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/gems/lotus-model-0.3.2/lib/lotus/model/config/adapter.rb:95:in `instantiate_adapter' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/gems/lotus-model-0.3.2/lib/lotus/model/config/adapter.rb:81:in `build' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/gems/lotus-model-0.3.2/lib/lotus/model/configuration.rb:168:in `_build_adapter' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/gems/lotus-model-0.3.2/lib/lotus/model/configuration.rb:59:in `load!' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/gems/lotus-model-0.3.2/lib/lotus/model.rb:87:in `load!' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/bin/ruby_executable_hooks:15:in `eval' | |
/home/darwin/.rvm/gems/ruby-2.2.1@mobijob-be/bin/ruby_executable_hooks:15:in |
apps/web/application.rb
controller.prepare do
use YourApp::WardenImpl::WebManager
include YourApp::WardenImpl::WardenHelper
authentication_via :web_strategy
auth_failure_to "/login"
before :authenticate! # run an authentication before callback
end
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//bow.js | |
| |
var bow = bow || {}; | |
(function () { | |
bow.tablas = bow.tablas || {}; | |
bow.fechas = bow.fechas || {}; | |
/** | |
* Método encargado de paginar los registros de una tabla | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreatePosts < Sequel::Migration | |
def up | |
create_table :posts do | |
primary_key :id | |
String :title | |
String :content | |
Integer :user_id | |
index :user_id | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boot Error | |
Something went wrong while loading /home/darwinrc/dev/kommit/lotustest/config.ru | |
RuntimeError: Cannot instantiate adapter of Lotus::Model::Adapters::SqlAdapter (LoadError: cannot load such file -- pg) | |
/var/lib/gems/2.1.0/gems/lotus-model-0.2.3/lib/lotus/model/config/adapter.rb:101:in `rescue in instantiate_adapter' | |
/var/lib/gems/2.1.0/gems/lotus-model-0.2.3/lib/lotus/model/config/adapter.rb:95:in `instantiate_adapter' | |
/var/lib/gems/2.1.0/gems/lotus-model-0.2.3/lib/lotus/model/config/adapter.rb:81:in `build' | |
/var/lib/gems/2.1.0/gems/lotus-model-0.2.3/lib/lotus/model/configuration.rb:168:in `_build_adapter' | |
/var/lib/gems/2.1.0/gems/lotus-model-0.2.3/lib/lotus/model/configuration.rb:59:in `load!' |