Hey guys. I have a problem with StandardColorMap and MainMenu. I need to create ColorMap in one submenu. How to do it?
P.S.
I am programming with delphi 2007
Hi,
I'm trying to get the contents of a directory using shell script.
My script is:
for entry in `ls`; do
echo $entry
done
However, my current directory contains many files with whitespaces in their names. In that case, this script fails.
What is the correct way to loop over the contents of a directory in shell scripting?
PS: I use bash.
I am using scilab to do some simple simulation. The outcome will a number of plot and graph. What is the easiest way to capture these outputs and publish them into a pdf or ps file?
Hopefully it is simple to do that I can include the boilerplate code into my scilab script itself?
I use Javascript to click a link in the webbrowser control. But I don't want to hear IE's "click" sound.
Is there anyway to do this?
P.S.
I don't want to change system settings.
I've seen this one(http://stackoverflow.com/questions/10456/howto-disable-webbrowser-click-sound-in-your-app-only) but Document.Write is not an option for me.
Can somebody demonstrate how to send an array of bytes over a TCP connection from a sender program to a receiver program in Java. (I'm new to Java programming, and can't seem to find an example of how to do this that shows both ends of the connection (sender and receiver.) If you know of an existing example, maybe you could post the link. (No need to reinvent the wheel.) P.S. This is NOT homework! :-)
What is the easiest and safest way to retrieve XmlHttpRequest object that works across all browsers? Without any extra libraries. Is there a code snippet you use often?
P.S. I know there are tons of examples on the net, but this is precisely the reason I am asking: there are too many different examples, and I just want something simple and proven to work.
Hi, I created a web application with asp.net 3.5 and ado.net entity framework WebForms 1, but have not yet succeeded in creating a memebrship and roles.
When I go on ASP.NET Configuration and click the Security Tab I get the following error: Keyword not supported. Parameter name: metadata
Someone has already created an application with these same features to help me understand where is the problem?
P.S.: I'm going crazy
Thanks to all
Hi,
How do I run PHP Security Scanner and SpikePHPSecAudit?
I've already extracted them at the root of my website and thought it could be run like phpSecInfo where you just navigate to
www.mySite.com/phpsecinfo/index.php
Any assistance will be appreciated.
ps I am using Windows XP and XAMPP
Can we get a list of free and open source projects, which can be supported through purchasing branded garment?
Free Software Foundation http://shop.fsf.org/
ps. I know this is extremly off-topic. But I'd like to buy clothing and support open source at the same time, if possible. And I'd like to know, where this is possible.
What gives best performance for running PostgreSQL on EC2? EBS in RAID? PGData on /mnt?
Do you have any preferences or experiences? Main "plus" for running pgsql on EBS is switching from one to another instances. Can this be the reason to be slower that /mnt partition?
PS. im running postgresql 8.4 with datas/size about 50G, amazon ec2 xlarge(64) instance.
Can we get a list of free and open source projects, which can be supported through purchasing branded garment?
Free Software Foundation http://shop.fsf.org/
OpenBSD https://https.openbsd.org/cgi-bin/order
Mozilla http://store.mozilla.org/
ps. I know this is extremly off-topic. But I'd like to buy clothing and support open source at the same time. And I'd like to know, where this is possible.
hi, is it possible to alias an aggregate function in a select clause as AliasTable.AliasColumn? The reason is because I want minimum modifications in my arrays (I'm using PHP). Thanks!
P.S.
I'm using SQl Server 2008
Hi everyone,
Please suggest me a C# cross-platform solution to copy a File with progress.
The method should be able to copy the file on Mono as well on .NET.
P.S. Most of the solutions here refers to CopyFileEx (which uses PInvoked and I am not sure if this will works on a Mono)
P.S.S. Many thanks in advance!
--
Murat
Hello everyone!
Could you please help me and find the reason why list of keys in windows registry branch "HKLM\SYSTEM\WPA\" are changing. Maybe someone knows what exactly this branch contains (i mean what information reflects in keys of branch "HKLM\SYSTEM\WPA\")???
I will be grateful for any information! Thank you very much!
P.S. Excuse me for my bad English:)
Are there any gems that would help me make a search box like the one for tags on stackoverflow?
(Rails 2.3.5, required IE7 support and graceful no-script fall-back)
P.S.: Do these boxes annoy you or do you think it's a good thing to have one?
My code base is getting quite big and it's difficult to organize all the different branches using just directories, I was wondering what would be a decent version control system for my own personal use that works (with little hassle) on Windows?
PS: I'm not looking for hosted VCS like GitHub, SourceForge or Google Code.
How to retrieve the process start time (or uptime) in python in Linux?
I only know, I can call "ps -p my_process_id -f" and then parse the output. But it is not cool.
Hello
I would like to create, in a function, a boucle to create a data.frame with a variable number of columns.
WIth something like :
a = c("a","b")
b = c(list(1,2,3), list(4,5,6))
data.frame(a,b)
I would like to get a data-frame like :
a 1 2 3
b 4 5 6
Instead of I obtain :
a 1 2 3 4 5 6
b 1 2 3 4 5 6
Thank you !
PS : I also try with rbind, but it's doesn't work...
I have a PC on remote connected by network, but it occasionally crashes or is restarted by remote users. After the restart, some services and applications have to be in running status. So I would like to find out the reboot as soon as possible. I think PS may be a good choice with some scripts so that I could make remote call to get the last reboot timestamp information.
Is there any way to get a remote Windows XP last reboot timestamp by using PowerShell 2.0?
I need to tunnel the connections (mostly TCP) made by an application through Socks5, SSH or HTTPS.
So far, I've found 3 ways to do this: api hooks, winsock lsp and a driver.
I'm looking for advice on the best way to handle this, and any recommendations on SDK's that could abstract this task for me (free/open-source preferred, but commercial ones are welcome as long as the price is not high for a one-man-starting-company to afford).
ps. I'm using .Net (C# and-or C++/CLI)
I use Fiddler for intercepting HTTP traffic when using IE or Firefox. Now that I'm using chrome for most of my day, I would like to be able to see the http traffic using something like Fiddler. What do chrome developers use ? I prefer something automatic like Fiddler but something that needs config, etc would also help.
P.S : I'm on windows vista 64-bit HOME PREMIUM, if that's important.
I have built a class in PHP and I must declare a class variable as an object. Everytime I want to declare an empty object I use:
$var=new stdClass;
But if I use it to declare a class variable as
class foo
{
var $bar=new stdClass;
}
a parse error occurs. Is there a way to do this or must I declare the class variable as an object in the constructor function?
PS: I'm using PHP 4.
I've this GIGANTIC view with several hundred columns and I need to select 114th column something like:
SELECT "144" FROM MyView;
PS: Obviously, I don't know the name of the column. I just copied the results row into an Excel file, searched for a particular value that is in EJ column so I want to select all rows showing only nth column in my view to do my further debugging.
Cheers!
I have several classes that extend C and I would need a method that accepts any argument of type C. But in this method I would like to know if I'm dealing with A or B.
*
public A extends C
public B extends C
public void goForIt(C c)()
If I cast how can I retrieve the type in a clean way (I just read using getClass or instanceof is often not the best way).
PS: Fell free to edit an explicit title.
*Sorry but I can't type closing braces