http://www.ibm.com/developerworks/websphere/library/techarticles/0905_roberts/0905_roberts.html
- Modify the deployment XML file to change data source implementation class:
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" | |
| ) | |
| type HttpConnection struct { |
http://www.ibm.com/developerworks/websphere/library/techarticles/0905_roberts/0905_roberts.html
| package com.fct.wcs.cache; | |
| import java.io.IOException; | |
| import javax.servlet.Filter; | |
| import javax.servlet.FilterChain; | |
| import javax.servlet.FilterConfig; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.ServletRequest; | |
| import javax.servlet.ServletResponse; | |
| import javax.servlet.http.HttpServletRequest; |
| import java.io.*; | |
| import java.net.*; | |
| public class ProxyServer | |
| { | |
| /** | |
| * Thread to handle a single client connection | |
| * This way the server can handle other incoming requests | |
| */ | |
| public static class ClientHandler extends Thread |
| require 'find' | |
| require 'set' | |
| # Make sure to start in ENV['WCS_HOME'] | |
| entries = ['\.metadata/'] + Dir['*'].select{|file| File.directory?(file) } | |
| extensions = Set.new | |
| Find.find('.') do |path| | |
| extensions << "*#{File.extname(path)}" unless FileTest.directory?(path) | |
| end |
1.1. Navigate in the RAD menu to the software update setup:
Help -> Software Updates -> Available Software -> Add Site
1.2. Enter the following URL: http://m2eclipse.sonatype.org/sites/m2e-e34/
| # I have an array where each element is a hash containing a few values and a count. | |
| result = [ | |
| {"count" => 3,"name" => "user1"}, | |
| {"count" => 10,"name" => "user2"}, | |
| {"count" => 10, "user3"}, | |
| {"count" => 2, "user4"} | |
| ] | |
| # I can sort the array by count as follows: |
Enable protected mode on all security zones
1.1. Click on the "Start" button
1.2. Go to "Control Panel"
1.3. Select "View by: Large Icons"
1.4. Click on "Internet Options"
Follow these instructions:
Follow steps 1-15 from here:
Follow steps 1-5 from here:
| Steps: | |
| 1. Download "https://github.com/downloads/adoxa/ansicon/ansi150.zip" | |
| 2. Copy the files under the "x64" directory to somewhere in your path, for example "c:\windows\system32" | |
| 3. Download "https://github.com/downloads/adoxa/ansicon/ansi6432.zip" | |
| 4. Copy the files under the "x64" directory to somewhere in your path, use the same location as step #2 | |
| This should overwrite ANSI32.DLL and ansicon.exe | |
| 5. Install ansicon by typing "ansicon -I" at a command prompt |