View highlight-and-filter.css
1 2 3
.js-filtered-highlight {
color: yellow;
}
View prevent-ghost-cell.js
1 2 3 4
// http://stackoverflow.com/questions/5805956/internet-explorer-9-not-rendering-table-cells-properly
function preventGhostCell(html) {
return html.replace(/td>[\s\r\n]+<td/gim, 'td><td');
}
View filter-blur.css
1 2 3 4 5 6 7
filter: blur(5px); /* Someday, sigh ... */
-webkit-filter: blur(5px); /* Prefixed CSS3 blur filters */
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
/* filter: url(#blur); Firefox needs SVG */
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='10'); /* IE lte 9 */
View JNDIURLAccessTag.java
1 2 3 4 5 6 7 8 9
package com.github.leodutra.util.tag.JNDIURLAccessTag;
 
import java.io.IOException;
import java.net.URI;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
 
import org.apache.log4j.Logger;
View chrome-for-eclipse
1 2 3
Google Chrome
/usr/bin/google-chrome
-url %URL%
View eclipse-rad-swt-process-browser-fix
1 2 3 4 5 6 7 8 9
Q: What do I need to run the SWT Browser in a standalone application on Linux or Solaris?
A: Follow the steps below to use the SWT Browser widget in your standalone SWT application.
A supported native browser must be installed (linux requirements) (solaris requirements).
If a supported WebKitGTK and/or XULRunner is installed then it should be found automatically at runtime with no additional effort. For other native Mozilla-based browsers:
Set the environment variable MOZILLA_FIVE_HOME to the native browser's installation folder. e.g. setenv MOZILLA_FIVE_HOME /usr/lib/mozilla
Set the environmnent variable LD_LIBRARY_PATH to include MOZILLA_FIVE_HOME. e.g. setenv LD_LIBRARY_PATH ${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
Your standalone SWT application can now use the Browser widget.
 
http://www.eclipse.org/swt/faq.php#browserlinuxrcp
View global-node-goodies.sh
1
npm i -g express express-generator bower grunt gulp phantomjs string pm2 http jade less karma
View force-no-cache.jsp
1 2 3 4 5 6 7 8 9 10
<%-- https://www.mnot.net/cache_docs/ --%>
<%-- http://www.mobify.com/blog/beginners-guide-to-http-cache-headers/ --%>
<%-- http://stackoverflow.com/a/18516720/1260526 --%>
<%-- https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching --%>
<%-- http://stackoverflow.com/questions/18148884/difference-between-no-cache-and-must-revalidate --%>
<%-- http://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers --%>
 
 
<meta http-equiv="Cache-Control" content="no-store, must-revalidate" />
<%--OPTIONS (most badly, see http://stackoverflow.com/a/18516720/1260526):
View ubuntu-14.04-netspeed-indicator.sh
1 2 3 4 5
# http://www.edivaldobrito.com.br/como-instalar-o-applet-netspeed-indicator-ubuntu-14-04/
 
add-apt-repository ppa:nilarimogard/webupd8
apt-get update
apt-get install indicator-netspeed
Something went wrong with that request. Please try again.