The error message this fixes:
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
Run the command below:
sudo ldconfig /usr/local/cuda/lib64
it('contains DevOps course task', async function() { | |
try { | |
const expectedValue = "Finish DevOps course"; | |
const matchingTasks = await driver.findElements(By.css(`li[value="${expectedValue}"]`)); | |
matchingTasks.length.should.equal(1); | |
} catch (error) { | |
throw new Error(error); | |
} | |
}); |
it('lists four tasks', async function() { | |
try { | |
const list = await driver.findElements(By.tagName("li")); | |
list.length.should.equal(4); | |
} catch (error) { | |
throw new Error(error); | |
} | |
}); |
it('is correct', async function() { | |
try { | |
const expectedTitle = 'Example To Do List'; | |
const title = await driver.getTitle(); | |
title.should.equal(expectedTitle); | |
} catch (error) { | |
throw new Error(error); | |
} | |
}); |
describe("string length", function() { | |
it('should return number of characters in a string', function() { | |
"Hello".length.should.equal(5) | |
}); | |
}); |
describe('earth', function() { | |
describe('united kingdom', function() { | |
it('should have at least 70% rain', function() { | |
// Code for determining if there is enough rain | |
}); | |
}); | |
describe('australia', function() { | |
it('should have at least 80% sunshine', function() { |
--- | |
- hosts: mygroup | |
become: yes | |
become_method: sudo | |
vars: | |
NODEJS_VERSION: "10" | |
ansible_become_pass: devops | |
gecko_version: 0.17.0 | |
selenium_install_firefox: yes |
--- | |
- hosts: mygroup | |
become: yes | |
become_method: sudo | |
vars: | |
NODEJS_VERSION: "10" | |
ansible_become_pass: devops | |
gecko_version: 0.17.0 | |
#!/bin/bash | |
# See guide here: | |
# https://gist.github.com/DMeechan/25469e18ea9fde342540752002a17d64 | |
indent() { | |
c='s/^/ /' | |
case $(uname) in | |
Darwin) sed -l "$c";; # mac/bsd sed: -l buffers on line boundaries | |
*) sed -u "$c";; # unix/gnu sed: -u unbuffered (arbitrary) chunks of data |
#!/bin/bash | |
# See guide here: | |
# https://gist.github.com/DMeechan/25469e18ea9fde342540752002a17d64 | |
METEOR_HOME=.meteor/local | |
PATH=$METEOR_HOME/usr/bin:$METEOR_HOME/usr/lib/meteor/bin:$PATH | |
indent() { | |
c='s/^/ /' |