This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.License; | |
import java.util.Arrays; | |
/** | |
* Please let us know if you have a faster/memorable :P implementation. | |
* | |
* I doubt if this approach is consistent, but over time, there are no complains :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.License; | |
import org.w3c.dom.Element; | |
import org.w3c.dom.Node; | |
import org.w3c.dom.Text; | |
/** | |
* Created by IntelliJ IDEA. | |
* User: <a href="http://www.ilikeplaces.com"> http://www.ilikeplaces.com </a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.License; | |
/** | |
* DOM event types | |
* <p/> | |
* User: <a href="http://www.ilikeplaces.com"> http://www.ilikeplaces.com </a> | |
* Date: Dec 8, 2009 | |
* Time: 11:17:06 PM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.License; | |
/** | |
* Simple Key Value Pair. | |
* <p/> | |
* <p/> | |
* Example Usage: | |
* <p/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.License; | |
import ai.ilikeplaces.rbs.RBGet; | |
/** | |
* Created by IntelliJ IDEA. | |
* User: <a href="http://www.ilikeplaces.com"> http://www.ilikeplaces.com </a> | |
* Date: Jan 1, 2010 | |
* Time: 4:26:30 PM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.*; | |
import java.io.PrintWriter; | |
import java.io.StringWriter; | |
import static ai.ilikeplaces.util.Loggers.LEVEL; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@page import="java.lang.management.*" %> | |
<%@page import="java.util.*" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | |
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<meta http-equiv="refresh" content="10" /> | |
</head> | |
<body> | |
JVM Memory Monitor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ai.ilikeplaces.util; | |
import ai.ilikeplaces.doc.License; | |
/** | |
* Just a wrapper around StringBuilder, which gives 2 additional features. | |
* New line in HTML, and Java. | |
* <p/> | |
* <p/> | |
* Example Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://gist.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function userSel(){if(document.getElementById('ilp_summarize_box') == undefined){ilp_para_id = 0;ilp_box = document.createElement('div');ilp_box.id = 'ilp_summarize_box';ilp_box.style.position='absolute';ilp_box.style.backgroundColor='#ffffff';ilp_box.style.zIndex = 99999;document.childNodes[1].insertBefore(ilp_box,document.childNodes[1].firstChild);ilp_button = document.createElement('a');ilp_button.appendChild(document.createTextNode('[close]'));ilp_button.name='close';ilp_closed = 'Done';ilp_button.href ='javascript:(function(){document.childNodes[1].removeChild(ilp_box)})();';ilp_box.appendChild(document.createElement('hr'));ilp_box.appendChild(ilp_button);ilp_box.appendChild(document.createElement('hr'));} if (window.getSelection) { txt = window.getSelection(); } else if (document.getSelection) { txt = document.getSelection(); } else if (document.selection) { txt = document.selection.createRange().text; } e |
OlderNewer