Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

Friday, November 16, 2007

Moodle error: Query failed in load_user_capability

In Moodle 1.8 platform, whenever you encounter the captioned error during login, the /var is likely to be full.

The solution, obviously... clean up the /var to feed more free space to it.

Thursday, September 6, 2007

phpgraphy album title length

The title length of albums could be modified at:
found in file "/base/include/yorsh-varval-request_data.inc.php"

field dirtitle

verison 0.93.

Friday, June 15, 2007

MS Word closed right after it starts

Whenever you experience this sort of problem, most likely it will be the problem of file: normal.dot

Try to seek and delete that file to solve the problem.

Ref: http://word.mvps.org/FAQs/AppErrors/ProbsOpeningWord.htm

Monday, May 7, 2007

Just played around with Greasemonkey

I'm not a javascript expert, but just played around using js in greasemonkey, quite funny.

// ==UserScript==
// @name FilterGuruEntry
// @description Filter Guru Entry
// @include http://www.guru.com/pro/search_results.cfm*
// ==/UserScript==

var allTRs, thisTR;

allTRs = document.getElementsByTagName('SPAN');

for (var i = 0; i < allTRs.length; i++) {

thisTR = allTRs[i];

if (thisTR.getAttribute("class") == "btblue") {
      myTR = thisTR.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;

myTD = thisTR.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;

if (myTR.nodeName == "TR") {

myTR.removeChild(myTD);

}

}

}

Thursday, September 7, 2006

Usage on Weka Attribute Filter

I seldom use Weka, but just reminded me some work I did years ago...





AttributeFilter af = new AttributeFilter();
int i[] = {1,2,3};
af.setAttributeIndicesArray(i);
af.setInputFormat(data);
Instances ins = Filter.useFilter(data,af);
System.out.println(ins);



Friday, August 25, 2006

Some nice software to remember...

hddsaver.com provides some cool ways to set up a portable office in a Flash drive.

Foxit Reader: Small PDF reader

Fast stone provides images viewer and screen capturing software for free.

Notepad2 a handy Notepad replacement.

Upgrade nodejs in conda (from v18 to v26)

If your conda env is nodejs v18, doing a conda install nodejs=26 is likely to create a lot of conflict. Consider remove those conflicting p...