Search:
Type: Posts; User: lagdawg
Search:
Search took 0.04 seconds.
-
Okay after looking at SQLLite it looks like this is what you need:
Driver Class Name: org.sqlite.JDBC
Connection Info: jdbc:sqlite:<database_file>
Also make sure that the path to the package:...
-
I don't know what specific driver you are using to connect but I can give you a couple examples that may help you figure out what you need.
I use the Oracle Thin JDBC driver. It comes packaged...
-
This should work in Vim:
%s/^\(\( \)*\)\t/\1 /g
But you would need to issue this command once for every level of indentation there is at the beginning of a line. So if your most indented...
-
-
The system I am working on (HP-UX) does not have the export utility so I cannot use it. Is there another way to accomplish this without writing a seperate script?
-
Hello,
I currently must access a Unix quite often and change to a certain directory.
I have aliased a command that takes me to that directory in my .cshrc. (This was set up by someone else and...
-
I am not sure about PHP but for perl and any other regex system I have used you should use {5,20} in place of {5-20}. I assume you are looking for any alphanumeric string of 5 to 20 characters.
-
ghostdog, I am trying to stay away from VBscript as I want something that is more platform independent.
Hotcold, I have access to perl as I use it quite often. I would be interested in your...
-
I recently had the need to take a file and copy the first columns and add paste it in between the second and third columns in a text file.
IE the file with columns A-D:
A B C D
would...
-
This should do close to what you need it to for the first part:
sed "s/$USER/[&]/g" $myvar | grep $USER | nl >results.txt
-
How about:
diff text1.txt text2.txt | grep \> | cut -d' ' -f2 >>text1.txt
-
I agree with je_fro. I use GVIM in windows everyday for work. I program in many different languages but mostly one that no editor or IDE would have support for. We use custom syntax files for...
-
In the standard X,Y coordinate system, if you know two points then you can find the slope of a line (m):
m=
y1-y2
--------
x1-x2
When you know the slope and one point on a line you can use...
-
I think he means for you to use chgrp to change the folders group rather than changing anything in your etc/group file
-
Getting back on topic. I did something similar on my webpage using Apache, PHP, and magpierss. Magpierss is a PHP rss parser and allows you to access each individual tag in an xml rss feed. For...
-
I'm not sure what part of the url string you are trying to find but if it is the cm=( ) portion then the following code would give you the eight characters following the cm= in perl.
$url =~...
-
I have done some more work and for now I can use:
while ($varnum !~ [0-9] && $varnum !~ [0-9][0-9])
in order to force the user to enter a 1 or 2 digit number.
However, there must be a way to...
-
I have a CSH script in which it currently matches a number from 0-9 given by the user.
while( $varnum =~ [0-9])
I would like to not limit this to a one digit number. Would this line work:
...
-
David, you are a worthy opponet for fellow humans. I was once in your shoes, no one in my family would play chess. I tried playing solely against chess engines such as Chessmaster. Then I found a...
-
While I am not well versed at all on chess environments specifically for Linux, I am a chess enthusiast and have seen many different sites and engines.
In my experience I try to stay away from...
-
I have perl script that has the following line in it:
$line =~ s/^$oldLabel$|^$oldLabel(\W)|(\W)$oldLabel(\W)|(\W)$oldLabel$/$2$4$newLabel$1$3/ig;
This code works fine, however if I try to...
-
Here is my solution with reversing vrooom.
#include<stdio.h>
#include<string.h>
char str[] = "vrooom race";
void invVrooom () {
-
Well I just tried installing Ubuntu from the same disk on a different computer and it failed during the install. So I reburned from the ISO and everything worked. I still have a question though. ...
-
I am trying to install Apache using apt-get on Ubuntu 5.04 Hoary Hedgehog. I keep getting the following errors and cannot find a solution. I have tried adding repositories to my...
-
They do have more than enough bandwith 3GB/s. But as far as network transfer speed I thought they could only go 2Gb/s
|
|