So you can automatically cleanup all packages after scoop update *
.
Ignores held packages.
Dependency:
scoop install busybox
Gotta love some algo work: In this kata you will create a function that takes a list of non-negative integers and strings and returns a new list with the strings filtered out.
Example:
filter_list([1,2,'a','b']) == [1,2]
filter_list([1,'a','b',0,15]) == [1,0,15]
filter_list([1,2,'aasf','1','123',123]) == [1,2,123]
//make directory.
/* const newDir = (directoryName) => {
if(path.join(__dirname, directoryName) === true) {
console.log(directoryName, ' already exists.');
} else {
fs.mkdir(path.join(__dirname, directoryName ), {}, err => {
if(err) throw err;
console.log(directoryName, ' created.');
});
https://discordapp.com/channels/392832386079129630/704005036732055723/706130765007683596
so, we have normal functions:
//regular function
function aNameForFunction(aparametertogive) {
// run some code here.
};
// arrow functions (also known as fat arrow syntax)