https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
function f() { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
#include <algorithm> | |
#include <fstream> | |
#include <iostream> | |
#include <vector> | |
#include <cmath> | |
#include <iterator> | |
#include <map> | |
#include <set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file naive_bayes_classifier_impl.hpp | |
* @author Parikshit Ram (pram@cc.gatech.edu) | |
* @author Vahab Akbarzadeh (v.akbarzadeh@gmail.com) | |
* @author Shihao Jing (shihao.jing810@gmail.com) | |
* | |
* A Naive Bayes Classifier which parametrically estimates the distribution of | |
* the features. This classifier makes its predictions based on the assumption | |
* that the features have been sampled from a set of Gaussians with diagonal | |
* covariance. |