Hi
Does someone know if if i run PSEXEC (or WMI) N times in the same program -
does it open N new sessions?
or does it uses the same session over and over again?
I have a hex string(lenght 48 chars) i want to convert to raw bytes with the pack function in order to put in in win32 vector of bytes.
could someone help how i can do this with perl ?
I have looked online at making a multi-threaded server in perl, but i cannot find any good ones that clearly explain how to create one. I have created a server and client in perl but i do not seem to be able to make it multi-threaded. Can someone help me?
I have created an application that looks like a news ticker. It suppose to run on a machine which has PPT slide show running on it always. I have set
this.TopMost = true
So the ticker application overlaps the PPT. But I want that the ticker application as well as the ppt are seen together. This is possible only if I can cascade the applications.
Can someone please help?
Hi can someone point me to some Good Open Source Code to learn Web Programming (Language doesn't matter).
i'm looking for source code of web-applications not frameworks
I'm not a beginner, I can code to some extent. I want to know how stuffs are done in real world applications.
Could someone provide a link to a good coding standard for Haskell? I've found this and this, but they are far from comprehensive. Not to mention that the HaskellWiki one includes such "gems" as "use classes with care" and "defining symbolic infix identifiers should be left to library writers only."
I'm trying to make a program so that I can run it through the command line with the following format:
./myProgram
I made it executable and put #!/usr/bin/env python in the header, but it's giving me the following error.
env: python\r: No such file or directory
However, when I run "python myProgram", it runs fine. Can someone tell me what I'm doing wrong?
I'm using silverlight 3 and i'd like to create a handler and event wired up to a mouse click in a text box that was created in code behind. Can someone point me in the right direction.
I need to make it so that some things fire off when that textbox is clicked into.
if you have an example in vb.net that would be even better.
thanks
shannon
We're using silverlight on our SharePoint site. When someone navigates to the page containing the silverlight object, they are prompted for credentials. Other pages work fine.
I'm wondering if the client is trying to retrive the xap file (which is in a location the process hosting the web application has access to, but not the user).
Is the xap file retrievd by the IIS process or the client?
Hi,
The Grails manual shows this example of dependency injecting domain classes:
class Book {
def bookService
def buyBook() {
bookService.buyBook(this)
}
}
However, I tried this out, and bookService is null. My guess is that the dependency injection happens when an object is loaded from the DB, so the following will always return null
new Book().bookService
Can someone confirm this?
Hello,
I need to write a proxy script to log into secure servers without ever revealing an administrative password.
Can someone recommend some proxy scripts (written in PHP preferably) that I can look into?
Thanks!
Edit: I would be most interested in well documented scripts... if that matters.
Say I have a file of this format
12:04:21 .3
12:10:21 1.3
12:13:21 1.4
12:14:21 1.3
..and so on
I want to find repeated numbers in the second column for, say, 10 consequent timestamps, thereby finding staleness.
and I want to output the beginning and and end of the stale timestamp range
Can someone help me come up with it?
You can use awk, bash
Thanks
Can someone provide working code to encrypt a password and store it in the database.Anything simple would do,some "salt" would be nice.
public void Encrypt(string password)
{
}
public void Verify(string password)
{
}
Hi,
I have some strings that I want to delete some unwanted characters from them.
For example: Adam'sApple ---- AdamsApple.(case insensitive)
Can someone help me, I need the fastest way to do it, cause I have a couple of millions of records that have to be polished.
Thanks
Can someone explain to me in plain English what SIP trunking is, please? I've read about it on Google, but I don't really grasp it yet. Does it allow a VoIP call to be placed outside of the LAN? So if you had Asterisk setup as the PBX, then IP calls could be made outside of the network? Am I close or am I just saying stupid words?
Hello,
Does someone knows how can I send a Timestamp value from C# to my Sql stored procedure which expect to get a timestamp value?
the sp looks like this
create sp1(@TS Timestamp)
--do do something...
go
I have done a course in Data warehousing and Mining and i am interested in going the Cognos BI way. However, i need to practice on data which i cannot find. Can someone please guide me on getting myself aquainted better with cognos ? I need sample data to work on. Where do i find it ?
I know about hashing algorithm and hashCode() to convert "key" into an equivalent integer (using some mathematically random expression) that is then compressed and stored into buckets.
But can someone point me to an implementation or at least data structure that should be used as baseline?
I haven't found it anywhere on the web.
I am a .NET developer looking for a job. I've talked to someone who works at Google and loves it there and I generally have a good feeling about working for that company because I love most of Google's products and services. But are they even interested in .NET developers? I had the impression they only use non-proprietary technologies.
Hello
I just got approved to Wordpress' plugin-repository. Howvere, they gave me access, but I have no idea about how to use it. Could someone explain me patiently, how can I use this repository to post my plugin?
I'm using Windows.
Martti laine
I'm using multiple cores in SOLR to enable offline population of indices (and then using SWAP to swap out the active core). I want to use the same solrconfig.xml file for both cores - can someone tell me where I should put this so it can be picked up by SOLR?
I have a Rails forum product that resides under the subdomains of my customers (i.e. http://forum.customer.com). Their main site has a CMS and an authentication system, and my forum product has a separate authentication system. Is there an elegant way to have "cross-signins" across these systems? I want someone already logged into the main CMS to seamlessly (as possible) transition into my product.
Hi,
I'm wondering if someone knows how to store an array into a user session?
This is the method to store a single attribute:
$this->getUser()->setAttribute('something', $something);
And the documentation says:
"User attributes can store any type of data (strings, arrays, and associative arrays)"
... but doesn't say anything more. The API documentation doesn't have a "SetAttributes" or something similarly obvious.
Thank you.
Hi All,
I have a asp.net page which is checking a UNC path on a listbox item change event using Directory.exist method.
This works fine in Internet explorer.
But when i use firefox and debugging this method returns false even though the directory exists.
What could be the reason for this strange problem.
Please someone answer this
Thanks
SNA
Hi someone can tell me how to hide a LinkButton inside a DataList?
I've tried to do this but I do not work:
protected void Page_PreRender(object sender, EventArgs e)
{
foreach (var item in listanews)
{
DataList container = dlgestionenews;
if (string.IsNullOrEmpty(item.IdNews))
{
DataListItem itemdatalist = null;
foreach (DataListItem itemdl in container.Items)
{
foreach (Control control in itemdatalist.Controls)
{
if (control.GetType().FullName == "LinkButton")
{
((LinkButton)control).Visible = false;
}
}
}
}
}
}
Thanks!