07:32
shit - i am so sorry i fucked up badly here in the james.js code i was using eval instead of require, thats exactly how malware gets spread, i feel soo bad
my thinking was i was expecting anyone who might be interested to actually read through the code and make changes before running it, and i guess in the majority of cases thats not going to happen
1 hour later…
08:39
Anyone who blindly copy-pastes and runs code from somewhere on the Internet without reviewing it first deserves any security risks that result. It's not moderators' job to go around removing everything that might be a security risk.
3 hours later…
12 hours later…
23:41
@matt thanks matt. here's my function for making sure the slash is always between the directory and the file name
/** * Adds strings onto the end of other strings. * Separator is space by default but can be any character * @param {String} separator * @param {Array} strings **/ export function addStrings(separator=" ", ...strings: any[]) { var character = ""; var value = ""; if (separator==null) separator = " "; var numberOfStrings = strings ? strings.length : 0; for (let i = 0; i < numberOfStrings; i++) { var nextString = strings[i]; if (nextString!=null) { character = value.charAt(value.length-1);
« first day (5076 days earlier) ← previous day next day → last day (97 days later) »