In your command-line run the following commands:
brew doctorbrew update
In your command-line run the following commands:
brew doctorbrew update| require 'dry-container' | |
| require 'dry-auto_inject' | |
| module Corto | |
| module Infrastructure | |
| # Dry-Container | |
| class Container | |
| extend Dry::Container::Mixin | |
| register 'urls_repository' do |
| # Classification Lab | |
| library(kernlab) | |
| library(caret) | |
| wine_part <- read.csv("~/Schreibtisch/wine_part.csv") | |
| wine_test <- read.csv("~/Schreibtisch/wine_test.csv") | |
| normalize <- function(x) { return ((x-min(x) / (max(x)-min(x)))) } | |
| wine_norm <- as.data.frame(lapply(wine_part[,-1], normalize)) | |
| wine_test_norm <- as.data.frame(lapply(wine_test[,-1], normalize)) |
| { | |
| "language": "english", | |
| "sugLanguage": "english", | |
| "sentences": [ | |
| "The names, types, behavior, settings and other properties of audio sources are defined in a model series related document, called audio handling sources table, "BRXXX_AH_SRC" in Microsoft Excel format.", | |
| "Also, the realization of audio connections depends on the current model series. This is defined in a model series related document, called audio handling connections table, called "BRXXX_AH_CON" in Microsoft Powerpoint format.", | |
| "XXX is a wild card for the appropriate model series (e.g., 204).", | |
| "For the model series 204, the documents BR204_AH_SRC [RD906] and BR204_AH_CON [RD1046] shall be valid.", | |
| ] | |
| } |
| #[derive(Debug, Default)] | |
| struct Tree { | |
| root: Option<Node>, | |
| } | |
| impl Tree { | |
| pub fn add_node(&mut self, value: i32) { | |
| let new_node = Node { | |
| value, | |
| ..Default::default() |
| source "https://rubygems.org" | |
| gem "rspec" |
See https://www.youtube.com/watch?v=4_RJu_TrqO0&feature=youtu.be&t=8h6m40s
$ ruby dilute.rb fib.rb
def fi n
if n < 3
1
else
fib(n-1 + ib(n
end
| /mailers/devise/custom_mailer.rb | |
| class Devise::CustomMailer < Devise::Mailer | |
| def headers_for(action, opts={}) | |
| super.tap do |hash| | |
| hash.merge!({ | |
| :subject => 'Subject', | |
| :from => 'QWE',#mailer_sender(devise_mapping), | |
| :to => 'ASD',#resource.email, |
| var app = require('express').createServer() | |
| var io = require('socket.io').listen(app); | |
| var fs = require('fs'); | |
| app.listen(8008); | |
| // routing | |
| app.get('/', function (req, res) { | |
| res.sendfile(__dirname + '/chat.html'); | |
| }); |