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?

[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...

How to delete a file using SSJS in XPages

It’s easy to do file deletion operation using java.io.File class because the class provides us a delete() method, but unfortunately you can’t use that method inside Domino Designer’s SSJS editor, you...

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...

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...

WordPress Cheat Sheets collection

Working on WordPress? And you want a quick way for reference, then choose one of the following cheatsheets, they are great & helpful. 1. WordPress Cheat Sheet by Andy Wibbels Download: http://andywibbels.com/files/WordPress_Cheatsheet_v1.pdf 2. WordPress...

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...

Google Plus Theme for PyroCMS

Worked with PyroCMS recently and this time I tried to make my own theme, inspired by Google Plus The theme uses FluidGrids CSS Framework for fluid layout and SuperFish for vertical menu dropdown Here is the screenshot I...

HOT NEWS