Skip to content

Instantly share code, notes, and snippets.

View doc22940's full-sized avatar

Acampbell doc22940

View GitHub Profile
cve product bounty source
CVE-2014-0257 .NET Framework 5,000.00 https://hackerone.com/reports/18851
CVE-2015-3842 Android 2,000.00 https://code.google.com/p/android/issues/detail?id=177610
CVE-2015-3847 Android 1,500.00 https://code.google.com/p/android/issues/detail?id=179147
CVE-2015-3860 Android 500.00 https://code.google.com/p/android/issues/detail?id=178139
CVE-2015-3862 Android 333.00 https://code.google.com/p/android/issues/detail?id=181895
CVE-2015-3865 Android 1,500.00 https://code.google.com/p/android/issues/detail?id=182294
CVE-2015-3867 Android 4,000.00 https://code.google.com/p/android/issues/detail?id=182838
CVE-2015-3868 Android 4,000.00 https://code.google.com/p/android/issues/detail?id=182146
CVE-2015-3869 Android 3,000.00 https://code.google.com/p/android/issues/detail?id=182053
@doc22940
doc22940 / code.R
Created April 6, 2020 20:17 — forked from nuthanmunaiah/code.R
R scripts accompanying the class notes for Week 10 of Applied Multivariate Statistical Analysis course.
# Initialize Libraries
library("MASS")
library("ROCR")
# Function Definitions
evaluate.performance <- function(model, data){
yhat <- predict(model, newdata = data)$class
cmat <- table(data$y, yhat)
accuracy <- sum(diag(cmat)) / nrow(data)
error <- (1 - accuracy)
We can't make this file beautiful and searchable because it's too large.
release,vulnerable,sloc,num-pre-bugs,num-pre-build-bugs,num-pre-compatibility-bugs,num-pre-features,num-pre-security-bugs,num-pre-stability-crash-bugs,num-pre-regression-bugs,num-pre-tests-fails-bugs,build-experience,compatibility_experience,security_experience,stability_experience,test_fail_experience,cvss_base,bounty
5.0,f,20,2,0,0,0,0,0,1,0,0.666666666666667,0.666666666666667,0.833333333333333,0.833333333333333,0,,0.0
5.0,t,671,29,0,0,12,0,1,1,0,0.555555555555556,0.396825396825397,0.555555555555556,0.634920634920635,0.0436507936507936,7.5,1000.0
5.0,t,204,15,0,0,5,0,0,1,0,0.546875,0.3828125,0.5546875,0.6484375,0.0390625,7.5,1000.0
5.0,f,150,2,0,0,1,0,0,0,0,0.642857142857143,0.5,0.714285714285714,0.928571428571429,0,,0.0
5.0,f,59,0,0,1,2,0,0,0,0,1,1,1,1,0.166666666666667,,0.0
5.0,f,406,16,0,0,0,0,1,1,0,0.673076923076923,0.403846153846154,0.490384615384615,0.663461538461538,0,7.5,1000.0
5.0,f,34,5,0,0,0,0,0,1,0,0.777777777777778,0.37037037037037,0.444444444444444,0.703703703703704,0,,0.0
5.0,f,322,3,0,0,0,0,
@doc22940
doc22940 / organization.csv
Created April 6, 2020 20:16 — forked from nuthanmunaiah/organization.csv
Lists of GitHub repositories used to train (organization.csv and utility.csv) and validate (validation.csv) classifiers built as part of the reaper project.
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 12 columns, instead of 1. in line 9.
github_url,architecture,continuous_integration,community,documentation,history,license,management,repository_size,unit_test,stars,class
https://github.com/Netflix/SimianArmy,0.855263,1,8,0.329829,12.593750,1,5.218750,16086,0.321283,3717,project
https://github.com/mongodb/mongo,0.859924,0,17,0.201783,342.101135,1,10.662921,1922831,0.015290,8826,project
https://github.com/mono/mono,0.976082,1,17,0.110074,99.308945,1,13.975610,6294836,0.323889,4292,project
https://github.com/mozilla/socorro,0.850837,1,13,0.164479,97.484535,1,29.082474,147229,0.532899,262,project
https://github.com/FFmpeg/FFmpeg,0.892072,0,17,0.131484,445.285706,1,2.178571,801876,0.012306,3367,project
https://github.com/puppetlabs/puppet,0.979446,1,32,0.120113,159.075623,1,32.117645,224141,0.495465,3818,project
https://github.com/bitcoin/bitcoin,0.955645,1,15,0.055055,175.044769,1,91.447762,256487,0.148008,8549,project
https://github.com/scrapy/scrapy,0.910596,1,6,0.226690,61.518520,1,14.098765,22162,0.407252,12643,project
https://github.com/djan
@doc22940
doc22940 / HCMST_ver_3.04.csv
Created March 26, 2020 04:18 — forked from clbarnes/HCMST_ver_3.04.csv
How Couples Meet and Stay Together dataset, in CSV
We can't make this file beautiful and searchable because it's too large.
,caseid_new,weight1,weight2,ppage,ppagecat,ppagect4,ppeduc,ppeducat,ppethm,ppgender,pphhhead,pphouseholdsize,pphouse,ppincimp,hhinc,ppmarit,ppmsacat,ppreg4,ppreg9,pprent,ppt01,ppt1317,ppt18ov,ppt25,ppt612,children_in_hh,ppwork,ppnet,ppq14arace,pphispan,pprace_white,pprace_black,pprace_nativeamerican,pprace_asianindian,pprace_chinese,pprace_filipino,pprace_japanese,pprace_korean,pprace_vietnamese,pprace_otherasian,pprace_hawaiian,pprace_guamanian,pprace_samoan,pprace_otherpacificislander,pprace_someotherrace,papglb_friend,pppartyid3,papevangelical,papreligion,ppppcmdate_yrmo,pppadate_yrmo,pphhcomp11_member2_age,pphhcomp11_member3_age,pphhcomp11_member4_age,pphhcomp11_member5_age,pphhcomp11_member6_age,pphhcomp11_member7_age,pphhcomp11_member8_age,pphhcomp11_member9_age,pphhcomp11_member10_age,pphhcomp11_member11_age,pphhcomp11_member12_age,pphhcomp11_member13_age,pphhcomp11_member14_age,pphhcomp11_member15_age,pphhcomp11_member2_gender,pphhcomp11_member3_gender,pphhcomp11_member4_gender,pphhcomp11_member5_gend
@doc22940
doc22940 / 00-about-search-api-examples.md
Created March 10, 2020 12:51 — forked from jasonrudolph/00-about-search-api-examples.md
5 entertaining things you can find with the GitHub Search API
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Star Rating System</title>
<meta name="viewport" content="width=device-width">
<style>
.star{
color: goldenrod;
font-size: 2.0rem;
@doc22940
doc22940 / FileController.js
Created March 10, 2020 09:03 — forked from tkh44/FileController.js
Simple file upload for sails.js
module.exports = {
get: function (req, res) {
res.sendfile(req.path.substr(1));
},
_config: {
rest: false,
shortcuts: false
}
};
@doc22940
doc22940 / media-query.css
Created March 10, 2020 09:01 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
function saveSelection() {
if (window.getSelection) {
var sel = window.getSelection();
if (sel.getRangeAt && sel.rangeCount) {
return sel.getRangeAt(0);
}
} else if (document.selection && document.selection.createRange) {
return document.selection.createRange();
}
return null;