GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
- not equal
~= - logical AND
&&
| [Unit] | |
| Description=Puma Rails Server | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=deploy | |
| WorkingDirectory=/home/deploy/app/current | |
| ExecStart=/home/deploy/.rbenv/bin/rbenv exec bundle exec puma -C /home/deploy/app/shared/config/puma.rb | |
| ExecStop=/home/deploy/.rbenv/bin/rbenv exec bundle exec pumactl -S /home/deploy/app/shared/tmp/pids/puma.state stop |
| RSpec.configure do |config| | |
| config.before(:suite) do | |
| DatabaseCleaner.clean_with(:truncation) | |
| end | |
| config.before(:each) do | |
| DatabaseCleaner.strategy = :transaction | |
| end | |
| config.before(:each, js: true) do |
| module ActiveRecord | |
| module RailsAdminEnum | |
| def enum(definitions) | |
| super | |
| definitions.each do |name, values| | |
| define_method("#{ name }_enum") { self.class.send(name.to_s.pluralize).to_a } | |
| define_method("#{ name }=") do |value| | |
| if value.kind_of?(String) and value.to_i.to_s == value |
| namespace :figaro do | |
| desc "SCP transfer figaro configuration to the shared folder" | |
| task :setup do | |
| on roles(:app) do | |
| upload! "config/application.yml", "#{shared_path}/application.yml", via: :scp | |
| end | |
| end | |
| desc "Symlink application.yml to the release path" | |
| task :symlink do |
GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
~=&&Test task: “System for solving mathematical equations”.
The system should contain 2 main components: 1 Frontend server. 2 Backend server
1 Frontend server requirements
RoR application must provide: a) Selection of the type of equation (the default are linear and quadratic)