Skip to content

Instantly share code, notes, and snippets.

View bretdavidson's full-sized avatar

Bret Davidson bretdavidson

  • North Carolina State University Libraries
View GitHub Profile
var ann,
bar,
chart,
g,
gBar,
gEnter,
gRule,
line,
rects,
rule,
@bretdavidson
bretdavidson / error.txt
Created March 11, 2017 18:15
conda build r-plotly error
conda build r-plotly/
BUILD START: r-plotly-4.5.6-r3.3.2_0
(actual version deferred until further download or env creation)
updating index in: /usr/local/Anaconda3-4.3.0-Linux-x86_64/conda-bld/linux-64
updating index in: /usr/local/Anaconda3-4.3.0-Linux-x86_64/conda-bld/noarch
The following NEW packages will be INSTALLED:
bzip2: 1.0.6-3
cairo: 1.14.8-0
@bretdavidson
bretdavidson / difference.js
Last active June 12, 2017 13:35
Possible Interview Questions
// Remove elements of second array from the first array
// Ex. 1 JavaScript Filter (no IE 8 support)
var arr1 = ['A', 'B', 'C', 'D', 'E', 'F'],
arr2 = ['C', 'E', 'F'],
filteredArray;
filteredArray = arr1.filter(function(e, i) {
return !(arr2.indexOf(e) > -1);
});
@bretdavidson
bretdavidson / JSLint Options Descriptions
Last active October 5, 2018 22:37 — forked from dannygarcia/SublimeLinter.sublime-settings
Sublime Linter User Settings
anon true, if the space may be omitted in anonymous function declarations
bitwise true, if bitwise operators should be allowed
browser true, if the standard browser globals should be predefined
cap true, if upper case HTML should be allowed
continue true, if the continuation statement should be tolerated
css true, if CSS workarounds should be tolerated
debug true, if debugger statements should be allowed
devel true, if logging should be allowed (console, alert, etc.)
eqeq true, if == should be allowed
es5 true, if ES5 syntax should be allowed
@bretdavidson
bretdavidson / gist:3820069
Created October 2, 2012 15:22
Yahoo Leaked Passwords
# Statistics of the "450.000 leaked Yahoo accounts".
## More information available here:
http://blog.eset.se/statistics-about-yahoo-leak-of-450-000-plain-text-accounts/
https://twitter.com/nilssonanders
Total entries = 442773
Total unique entries = 342478