3 ms·
I wrote a way to search these recently ... just paste this in your console: https://gist.github.com/kristopolous/19260ae54967c2219da8 https://gist.github.com/kr
by kristopolous 11y ago
I wrote a way to search these recently ... just paste this in your console: https://gist.github.com/kristopolous/19260ae54967c2219da8 https://gist.github.com/kristopolous/19260ae54967c2219da8
There is both OR and AND support here. If you specify your function parameter as an ARRAY then it operates as an AND, otherwise each argument is an OR.
For instance, to see posts that are remote and python OR remote and ruby, you can do
query(['remote','python'],['remote','ruby']);
The return of the function shows how many jobs were shown versus in total. For instance, as of this writing, I get the following result when running the above function:
{ shown: 56, total: 827 }
btw, i still can't find a job. :-(
- kristopolous 11y agojust realized you can do a salary search with some regexs e.g., query('1..k') works.
- rg81 11y agoJust emailed you (using the address from your paypal donate link)
- kristopolous 11y agothanks ... just got back to you.
- zerr 11y agoUncaught SyntaxError: Invalid regular expression: /c++/: Nothing to repeat... on query(['remote','c++'])
- kristopolous 11y agoI love how I'm doing support on this! query(['remote',/c\+\+/]) The lack of quotes in the above example is 100% intentional ... copy and paste that exactly ... (js is kinda weird sometimes). If you are really interested (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/search https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) will tell you more about it.
- rskinner 11y agoGreat for job seekers and employers! I'm using this in the 'who wants to be hired' thread. Hopefully that will be a recurring post.