Ainthe Kitchen

Results 37 issues of Ainthe Kitchen

With this option text is 'white', but still contains ascii color seqences. This causes troubles when piping to other command on MINGW. $ echo "lang" | grasp -e "lang" --color=false...

-s 'var-decs:matches(var-decs! var-dec[init=obj:not(obj! > prop[key])]) + exp-statement assign[left=member]' however I need to match only bar x={};x.prop=10; and not x={};y.prop=10; so looking for empty literal followed by assignment to THAT literal,...

I need to search for one of the methods (map, filter, forEach) but i need to use e equery. Any chance to write this using attribute selectors ? grasp -e...

Any better idea how to match {} and [] ? # empty object literals: ``` grasp -s 'obj:not(obj! > prop[key])' ``` # emprty array ``` grasp -s 'arr:not(arr! > *)'...

grasp 'call[callee=(#define,#require)].args:first(obj)' grasp 'program.body > call[callee=(#define,#require)]' both work, but I want to combine them into something like:: grasp 'program.body > call[callee=(#define,#require)].args:first(obj)' Thanx for hint

item.label = item.label ? item.label : ""; I would like to find this and refactor to: in general: X = X ? X: __ thanx

// this is what I have grasp -s "call[callee.prop=(#forEach,#map,#filter,#reduce)]" -r now I want to limit the result to calls that have only one argument) is it possible with -s syntax...

Running windows version 1.1.0: and testing explain for aggregate queries: I have this query: db.test.aggregate([ { "$match": { "$or": [ { "variables.reportedBy.code": "CRM-00000625" }, { "variables.contactPerson.code": "CRM-00000625" }, { "variables.claimant.code":...

make uninstall Making uninstall in js make[1]: **\* No rule to make target `uninstall'. Stop. make: **\* [uninstall-recursive] Error 1