Your looping back to your initial question ... yes, phpmyadmin, but as I said I don't use it, but I can tell you how to do it via the command line [:loop:]
best ... khay
Type: Posts; User: Khayyam; Keyword(s):
Your looping back to your initial question ... yes, phpmyadmin, but as I said I don't use it, but I can tell you how to do it via the command line [:loop:]
best ... khay
No prob ... I should have explained however that the "mysql>" is the MySQL prompt. So, you would first need to login to mysqld (the mysql service)
% mysql -u root -p
mysql> drop database <name>...
.. and perhaps the most obvious example ...
Welcome to Linux
localhost login:
best ... khay
This might not sound like a helpful answer but to me this idea of "scrolling" a terminal is just completely alien. A terminal provides everything needed for its output to be managed, you have paging,...
Seiji, et al ...
I hadn't paid any attention to the Community Discussion forums until yesterday, I generally only read/post in General Help and Programming Talk, so I was pleased to have done so,...
No, I don't find it odd. Please understand that I am not saying what is 'right' or 'wrong' here. I'm trying to point out to people that mass use of Ubuntu in state organisations means that Ubuntu...
I was responding to your question, you asked: "so you think discussing porn with an 8 year old is appropriate?" A question which I took to be loaded, now your in agreement, and we've switched to...
Habitual ...
reverse DNS is the other way round ...
host xxx.xxx.xxx.xxx | awk '{print $NF}'
best ... khay
mysql> drop database <name>
Where <name> is the name of the database ...
best ... khay
hmmmm ... well, how? You see, true/false has to have whats called a 'return value', so an 'if [[ such and such ]]; then' doesn't get to the "then" unless the test returns true. This same principle...
Correct, the "image" is much like an ".iso" (CD image). The only issue you need to be aware of it the size of the image and the amount of available disk space.
best ... khay
Your welcome ... everything that is echo'ed into user-sql-data is MySQL commands, its just quicker to script, two seconds and the database is created. Note that mostly its abount granting/denying...
So you think discussing porn with an 8 year old is appropriate? Kids that age are already hearing things at school, so it wouldn't surprise me for him to already at least have an idea of what porn...
OK ... so I have it pretty much scripted as I need to do this often for users/projects.
#!/bin/sh
# new-db.sh
# You can add the root mysql password here (for convenience), but keep
# this...
Well, you have an if statement that simply runs the diff ... I don't know what you expect to happen. If statements have to test the truth of something. Its really hard to see what your trying to do...
Yes, leave the default mysql database and create a new database for each project. I don't use phpmyadmin and so I'm not going to be much help in that regard, I'm sure its a just click away.
I...
For cron you would do something like the following:
*/5 * * * * /path/to/script.sh
"script.sh" could then be a simple oneliner to scp/sftp you image to your webserver.
best ... khay
No, your right, diff will do basic comparison on jpegs, and this is probably all you require. I use diff for text comparison, and in that regard its output is often verbose.
PIL is a library with...
winh8r ... I did write "If there are legal constaints then, however arbitrary, they should be followed", and I framed my point as having more to do with arbitraryness than any concern about religion,...
BTW, if your comparing jpegs then you should really use something like PIL, Python Image Library, 'diff' will only provide you with string comparison (and thats not what you want).
Or, if you're...
Each ${file}.txt will be different, one for each diff ... reading diffs is hard enough without appending them all to the same file. Anyhow, I was just illustrating the method, the madness has to be...
Note there are three items on that line 1). the file, this is, the file you are comparing all the other files to 2). ${file} the files to be compared against, and 3). "> ${file}.txt" where the output...
${i} is the variable of the "for" loop. It could be written:
for file in files/* ; do
diff file ${file} > ${file}.txt
done
But that would be ... ummm ... confusing :)
best ... khay
Keith ... do you not find it odd that where "mass use" is concerned we wish to prevent persons being exposed to the word "p0rn" but that these same persons can be exposed to language that describes...
It was a longshot on my part. I'm not a ksh user and so it was advice given without being able to even attempt to reproduce.
The beers are on me ... cheers! ... khay