Install VeraCrypt in Linux

VeraCrypt is a free, open source and cross platform data encryption tool.
After downloading the .tar.gz file from the official website, extract it on your hard disk. Open terminal and go to extracted VeraCrypt folder. Use below command to start installing application

sudo bash veracrypt-1.19-setup-gui-x64

Keep in mind that the file name may be different if you are using different VeraCrypt version.
Follow the instruction displayed on your terminal and finish installation.

On Elementry OS Linux distribution I have got the following error once I wanted to mount existing file

No such file or directory:
dmsetup

VeraCrypt:process::Execute:88 

In order to fix it just run this command

sudo apt-get install dmsetup

Set Up Jasmine and Karma

Install karma-cli on your machine

npm install karma-cli -g

Add jasminekarma and karma-jasmine to your project’s dependencies

npm install jasmine karma karma-jasmine --save-dev

Create a karma configuration file

karma init

It starts init script where you can go with suggested settings. Once it has finished, you should manually update your project files in karma.conf.js, like so

files: [
'app/*.js',
'tests/*.js'
]

That configuration assumes that your main application logic is stored in app folder, and your Jasmine unit tests are located in the tests directory.

If your application depends on AngularJS you have to consider adding additional paths

'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',

In order to test if everything is setup properly, add your first test to the test directory

describe('first sample test', function() {
  it('should be true', function() {
    expect('bar').toBe('bar');
  });
});

and run karma

karma start

You should see that your test passed as below

2016-12-12_13h03_57

To stop karma, hit CTRL+C