coding on a computer

How to Be a Better Computer Programmer Fast in 2022

As a computer programmer, you'll find that the hardest part of your job is the coding. It's a difficult field that requires a lot of rules, called syntax. By practice, you'll...

[cheerio] TypeError: Cannot read property ‘parent’ of undefined

A beautiful autumn day and my little app threw the error 🙂 var oldParent = node.parent || node.root, ^ TypeError: Cannot read property 'parent' of undefined at Function.exports.update (/home/kang/apps/nodecrawler/node_modules/cheerio/lib/parse.js:55:25) at module.exports (/home/kang/apps/nodecrawler/node_modules/cheerio/lib/parse.js:17:11) at Function.exports.load (/home/kang/apps/nodecrawler/node_modules/cheerio/lib/static.js:19:14) at Request._callback (/home/kang/apps/nodecrawler/app.js:46:29) at...
woman using google on laptop

Different Types of Google Penalties

A high-ranking website? Yes, please!  But what if you're hit with a Google penalty that'll turn your webmaster dreams into a nightmare. Google penalties can affect any website that fails to follow...

How to get parameters from your query string with XPages

So how to get parameters from your query string with SSJS in XPages? Quick & Easy, here’s the solution, for example: I want to get the value of parameter SelectionMode context.getUrlParameter("SelectionMode") There’s another way if...
unlocked padlock in front of broken keyboard keys

The Best Ethical Hacking Tools

There are a lot of tools available to you when you begin your quest for ethical hacking. These include Hashcat, Cain & Able, and Angry IP scanner. Regardless of your level...

Search comma-separated list attribute using jQuery

I have an attribute that is comma-separated list, and I want to search for a particular value in that list example: <img id=”img1” src=”somepic.jpg” tags=”nature,flower,color”> SOLUTION Using jQuery, it’s simple to do, for example, I...

Get radio group value with Jquery

Assume you have one radio group name default_lang and you want to know which one is selected <input name="default_lang" value="en" type="radio" /> <input name="default_lang" value="fr" type="radio" /> <input name="default_lang" value="de" type="radio" /> Well, it’s easy...

How to delete Sphinx Search Service in Wind

1. DELETE Sphinx Search Service in Windows C:sphinxbinsearchd –delete If you installed with –servicename (e.g: SphinxSearch) then remove it with C:sphinxbinsearchd –delete –servicename SphinxSearch 2. REINSTALL Sphinx Search Service in Windows C:sphinxbinsearchd –install –config C:sphinxbinsphinx.conf –servicename...

“Object variable not set” error when installing ExtLib

If you try to deploy Xpages Extension Library and get the error Object variable not set (#91) in: dlgimportsite: click (line9) When doing “Import Local Update Site” then the problem might be that your...

How to show the last editor of a document in Domino

How to get the last editors of a document? this little trick (thanks to David Hancock) will help you @Subset($UpdatedBy;-1) Simple, isn’t it?

HOT NEWS