Clearing the DNS cache on your computer:
windows:
ipconfig /flushdns
OS X:
dscacheutil -flushcache
linux:
/etc/init.d/nscd restart
You can't clear the cache on your ISPs DNS servers but you can use different servers (opendns, googledns, etc)
Clearing the DNS cache on your computer:
windows:
ipconfig /flushdns
OS X:
dscacheutil -flushcache
linux:
/etc/init.d/nscd restart
You can't clear the cache on your ISPs DNS servers but you can use different servers (opendns, googledns, etc)
Noodle works with PostgreSQL and uses the contributions which are included in the windows installer but installed separately with package management systems like apt and yum.
before PGSQL-v9 will need:
CREATE LANGUAGE plpgsql;
All versions need a user, database and rights and the following to load the lo-manage triggers (the Noodle installer for Windows will do this for you):
ALTER USER noodleuser WITH SUPERUSER;
You will need these SQLs if you are upgrading from an old version.
Noodle uses 4 things on the server
On Windows the Noodle folder is in %PROGRAMFILES(x86)% by default.
On Linux the Noodle folder is in /opt/ by default.
Among other things the Noodle folder contains the following of potential interest:
You need custom scripts enabled.
var doc=top.noodle.headWindow().document;
var el=doc.getElementById("helpLink");
el.style.fontSize="";
el=doc.getElementById("feedback");
el.style.fontSize="";
el=doc.getElementById("logout");
el.style.fontSize="";
el=doc.getElementById("logout").parentNode.parentNode;
el.style.fontSize="14px";
You need custom scripts enabled.
function HideFrames(){
this.hide=function(){
this.navFrameSize=top.document.getElementById("lowerBody").cols;
top.document.getElementById("lowerBody").cols="0,*";
this.headFrameSize=top.document.getElementById("body").rows;
top.document.getElementById("body").rows="0,0,*";
};
this.show=function(){
top.document.getElementById("lowerBody").cols=this.navFrameSize;
top.document.getElementById("body").rows=this.headFrameSize;
};
this.init=function(){
var doc=top.noodle.headWindow().document;
var cDiv=doc.getElementById("helpLink").parentNode.parentNode;
var el = doc.createElement('a');
el.innerHTML="hideFrames";
el.href="#";
el.className="whitelinks";
top.noodle.cbc.addEventListener(el,"click",this.hide);
cDiv.appendChild(el);
};
}
if(!top.noodle.hideFrames){
top.noodle.hideFrames=new HideFrames();
top.noodle.hideFrames.init();
}
<div style="position:relative;">
<img src="some_image.png"/>
<a href="http://someurl.com" style="position:absolute;top:50px;left:50px;">some text</a>
</div>
How to change Java RAM usage
Linux:
/opt/Noodle/multiserver
MAX_MEMORY=512
Windows:
%PROGRAMFILES%\Noodle\intranet.bat
-Xmx512M
Noodle will run on almost anything but we recommend the following setups:
Moderate dedicated server or VM only running operating system, Java, database, and Noodle:
Big configuration:
An off site backup is recommended.
When using a VM shared IO can be a issue so be sure to verify your VM is getting the speed it needs.
How to reset PostgreSQL password on Windows:
0) Kill java from the task manager
1) Update your
%PROGRAMFILES%\PostgreSQL\9.0\data\pg_hba.conf
to "trust" for local connections.
2) Restart the PostgreSQL service
3) Connect as user postgres with PGAdmin
4) Set your password:
ALTER USER postgres WITH PASSWORD 'Pgsq1p@ssword';
5) Undo your changes to pg_hba.conf
6) Restart the PostgreSQL service
7) Restart the Noodle service
You need custom scripts enabled.
var doc=top.noodle.headWindow().document;
var el=doc.getElementById("status");
el.style.display="none";
el=doc.getElementById("currentUserId");
el.style.display="none";
el=doc.getElementById("currentUser");
el.style.margin="20px";
el=doc.getElementById("currentUserName").parentNode;
el.style.display="block";