create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# generate a new pgp key: (better to use gpg2 instead of gpg) | |
gpg --gen-key | |
# maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null` | |
# check current keys: | |
gpg --list-secret-keys --keyid-format LONG | |
# export private key in gpg: | |
gpg --export-secret-key -a "your_username" |
youtube-dl is a handy little command-line utility that, with the right command, automagically downloads videos from Youtube as well as other platforms such as Vimeo, Lynda.com, BBC, CNN etc..(Full list of supported websites)
Kindly proceed to youtube-dl's Github repo for detailed installation instructions for your respective OS
In case of an error, make sure you have Python 2.6, 2.7 or 3.2+ installed as youtube-dl needs it to run.
You can download whole courses from an array of tutorial sites with the CLI tool youtube-dl
. In the example further down I'm using my Pluralsight account to get videos from a course at their site. Here is a list of all supported sites that you can download from with this tool
The flags you have to supply may vary depending on which site you make a request to.
You can get a free 3 month trial to Pluralsight by signing up for free to Visual Studio Dev Essentials
Scenario: | |
1. Explain the difference between (a) supervised and (b) unsupervised machine learning (i.), and (ii.) give examples of when a machine learning specialist would use each. Additionally, provide a description of algorithms one might use in either or both of these machine learning categories. | |
The major difference between supervised learning in contrast to unsupervised machine learning is that in supervised the datasets are already labelled (discrete classified, or known values in the variable the analyst is interested in determining), whereas in unsupervised analysis the aim is to produce interesting inferences about the data. | |
(a.) Supervised machine learning and algorithms | |
(i.) Supervised machine learning refers to predictive modelling based on known (labelled), prospective training data (e.g. a set of tuples with variable inputs and a known output/label) in the aim to be able to predict subsequent new datasets accordingly (categorical classification and regression continuous variables). | |
Reg |
| Title | Description
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
* Off the top of my head * | |
1. Fork their repo on Github | |
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
git remote add my-fork [email protected] |
var time = 60; var clock = 300; function TimeHack(){ | |
setInterval(function Applytime() { | |
document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerText = time; document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerHtml = time; | |
document.getElementsByClassName('clockHand').rotate = clock; | |
}, 1);}; function TimeHackm() { | |
setInterval(function Addtime() { | |
time = time + 1; | |
clock = clock + 6; | |
}, 1000);} | |
var score = 1; |
function logClass(target: any) { | |
// save a reference to the original constructor | |
var original = target; | |
// a utility function to generate instances of a class | |
function construct(constructor, args) { | |
var c : any = function () { | |
return constructor.apply(this, args); | |
} |