I'm happy to introduce one more my project: PHP-reference.
This is the interactive engine for PHP documentation: the client side is implemented with ExtJS/JavaScript, and PHP for server side.
It uses original PHP documentation (processed via regexps and colored with CSS styles) as a data source.
I've tried to create it as usable as possible... any requests, ideas welcome!
24 February, 2009
18 February, 2009
TOAD connection problem under Windows XP x64
I've catch this problem with my installation of TOAD (and with PLSQL Developer) under Windows XP 64-bit edition:
"ORA-12154: TNS:could not resolve the connect identifier specified" (but under Windows XP 32-bit all OK).
And here is the simplest solution:
run TOAD via command line using short path:
instead of long:
Unfortunately Windows doesn't allow to change desktop's shortcut from long mode to short (Windows always expands short paths).
Or... move TOAD from "Program Files (x86)" to "Program Files" directory.
"ORA-12154: TNS:could not resolve the connect identifier specified" (but under Windows XP 32-bit all OK).
And here is the simplest solution:
run TOAD via command line using short path:
C:\PROGRA~2\QUESTS~1\TOAD\TOAD.exeinstead of long:
C:\Program Files (x86)\Quest Software\TOAD\TOAD.exeUnfortunately Windows doesn't allow to change desktop's shortcut from long mode to short (Windows always expands short paths).
Or... move TOAD from "Program Files (x86)" to "Program Files" directory.
19 January, 2009
19 November, 2008
Maven repository through socks proxy
There is the solution how to access remote maven repository through socks proxy.
Just put this string:
to the beginning of the "apache-maven-2.x.x\bin\mvn.bat" file.
Just put this string:
set MAVEN_OPTS=-DsocksProxyHost=yourSocksProxyHost -DsocksProxyPort=yourSocksProxyPortto the beginning of the "apache-maven-2.x.x\bin\mvn.bat" file.
24 October, 2008
Eclipse icons
How to extract icons from Eclipse
I've created it in few steps:
* Via my shell scripts.
This is one script from this project:
I've created it in few steps:
- Downloaded and unzipped eclipse
- Extracted all images from eclipse directories, subdirectories, zips and jars*
- Filtered only unique files*
- Sorted images by dimension (16x16, 24x24, 32x32, etc.)*
- Removed large images (that not look like icon)
- Created html pages (via PHP script)
* Via my shell scripts.
This is one script from this project:
#!/bin/bash
#Find and copy only unique files (with same size and checksums) from $SOURCE directory to $OUTPUT.
SOURCE=output
OUTPUT=images
rm -rf $OUTPUT
mkdir -p $OUTPUT
uniqProcess() {
echo >xqx_unique.idx
while read; do
echo -ne \\r$REPLY
echo $REPLY $(stat -c%s $REPLY)+$(md5sum $REPLY|cut -f 1 -d ' ')+$(cksum $REPLY|cut -f 1 -d ' ')>>xqx_unique.idx
done
sort -k 2 xqx_unique.idx|uniq -f 1|cut -f 1 -d ' '|xargs -I '{}' cp '{}' $OUTPUT
}
find $SOURCE -type f |uniqProcess
Ярлыки:
CSS,
Eclipse,
HTML,
ImageMagic,
JavaScript,
PHP,
Shell script
Subscribe to:
Posts (Atom)