One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| """ | |
| Gaussian Elimination with Partial Pivoting. | |
| This module contains 5 functions which procedurally solve | |
| the linear system Ax = b, A is an nxn matrix and b is a | |
| column vector with n rows. | |
| """ | |
| import numpy | |
| import math |
| <div id="container"> |
| """ | |
| Implementation of the Gaussian Elimination Algorithm for finding the row-reduced echelon form of a given matrix. | |
| No pivoting is done. | |
| Requires Python 3 due to the different behaviour of the division operation in earlier versions of Python. | |
| Released under the Public Domain (if you want it - you probably don't) | |
| """ | |
| def like_a_gauss(mat): | |
| """ | |
| Changes mat into Reduced Row-Echelon Form. |
| for (var arrScripts = document.getElementsByTagName('script'), i = 0; i < arrScripts.length; i++) { | |
| if (arrScripts[i].textContent.indexOf('externalId') != -1) { | |
| var channelId = arrScripts[i].textContent.match(/\"externalId\"\s*\:\s*\"(.*?)\"/)[1]; | |
| var channelRss = 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId; | |
| var channelTitle = document.title.match(/\(?\d*\)?\s?(.*?)\s\-\sYouTube/)[1]; | |
| console.log('The rss feed of the channel \'' + channelTitle + '\' is:\n' + channelRss); | |
| break; | |
| } | |
| } |
| name: Security audit | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| push: | |
| paths: | |
| - '**/Cargo.toml' | |
| - '**/Cargo.lock' | |
| jobs: | |
| security_audit: |
| #!/bin/bash | |
| # Dependency: node and npm must be installed on the jupyter(lab) instance. This could probably also be hacked around using nvm (node version manager) | |
| cd | |
| npm i ijavascript | |
| npx ijsinstall | |
| sed -i 's/ijskernel/node", "\/home\/jovyan\/node_modules\/ijavascript\/lib\/kernel\.js/g' .local/share/jupyter/kernels/javascript/kernel.json | |
| echo "Try to refresh the page (F5). JavaScript notebook and console should be available then." |