If I have an array named $myArray how can I get a reference to it from a string of the same name myArray. I tried:
eval('myArray');
But that gave me an error.
Hi,
I'm hoping that someone will explain to me what preferred access point name refers to in the android system , and what is it's role . Also I'd like to know if by messing with all APN (adding a suffix to the "apn" and "type" fields to disable 3G/EDGE/GPRS connections , and the deleting this suffix ) , the preferred APN can be disrupted.
Also if it need special settings in case an APN manipulation is desired.
Hi, How do i get a different file name on a webserver by requesting the url.
for example "file" click url link and get "file.bin"
the "file" is located on a webserver by requesting the url, user can download "file.bin" instead of "file"
something like (file + .bin)
I need to tag the current state of my source tree in svn. My problem is I don't care what the name is, I just need to mark the current revision in an immutable* manner. (*subject to malicious behavior)
What's the best way to do this?
branches/
tags/
???
trunk/
should ??? be the date, an incrementing sequence, the repository rev # ...?
Hi,
I want to find an element by class name. I know it will appear in a particular parent div, so rather than search the entire dom, I'd like to search only the particular div. I am trying this, but does not seem to be the correct syntax:
var element = $("#parentDiv").(".myClassNameOfInterest");
what's the right way to do that?
Thanks
I'm trying to upload to AWS S3 by using thier AWS for Android SDK but both sample project within SDK and my project give the following error on devices while emulator runs without problem. So there's no problem with my AWS account.
"Host name may not be null."
Upload Code :
s3Client.createBucket(Constants.getBucket());
PutObjectRequest por = new PutObjectRequest(Constants.getBucket(), record.getFile().getName(), record.getFile());
s3Client.putObject(por);
Any help is appreciated.
Hi I need some sample MS SQL Employee database with data such as id, surname, name, age, adress etc. It must be quite big, I search with google, but I don't find any good sample.
Can any body help ?
I'm working on a project where I need to add some functionality to a service object and using a decorator to add it in seems like a good fit. However, I've only ever used decorators with simple beans, never on a singleton like a service object. Has anyone ever done this before and what are the pros and cons? In this case I don't think creating a subclass will work so a decorator seems to be a good fit. What are your thoughts on doing this?
Hi-
Is there any possibility to refresh the service list of a paired device in a programm?
At the moment, i have to go to the bluetooth options and select the device properties of the bluetooth device and have to refresh the service list manually.
Is there any API that RIMM provides to do programmatically?
thanks,
If I have a basic web form for our company's intranet and all users are logged in to the domain via AD authentication, can I extract a visitors user name in c#?
Hi,
I need a profiler that is able to measure performance of web service execition.
Our application has several layers and ideally I would like to be able to dive into each web service request and see how much time was spent in each layer (server, sql server, etc...)
Is there a tool that can help detect where are the bottlenecks ?
Is that something that can be done using VS Team System Test Edition ?
I create a new table of employee now I want to edit one of the column name in that table. I can edit but while saving a pop up window asks to save some text file. How may I resolve this? Is it possible to edit without creating a new table?
The text file is
/*
Friday, August 22, 20144:32:53 PM
User:
Server: MIDHUN\SQLEXPRESS
Database: LinQ
Application:
*/
employee
hi all,i have a desktop application that install and start a service,i know a process can get the explorer.exe token and lunch another process with the tkoen,it means the second process will run us logged on account, my question is this that can i start my service by explorer.exe token too ? is there is an example in delphi?
thx for ur time
Hello,
I have a Parent form with some child forms.
Imagine some of these child forms are opened and their name or their text are shown in a something like tabpage. now when i click on a tab page ,the related form must be active.
What can i do?
Thanks.
I'm trying to copy an existing sheet in my workbook and then I want to use the copied sheet to run the rest of my code.
(Sheet3 is the existing sheet, S_Temp is the copied sheet)
Dim s_Temp as string
Sheet3.copy
Activesheet.name = S_Temp
Sheets("S_Temp").Range("A1").value = "Test"
How can I reference to the copied sheet?
I am noting this strange behavior where one of my fields -- receive_empresa_test_info -- has worked fine though it's always been referred to as receive_empresa_info. In Functional Tests, though, the real field name is receive_empresa_test_info. What is going on here? Might this be some part of the Rails environment that I'm missing during testing?
Given a void *eip and an array of struct function symbols that contain the address, symbolic name, and binding of all function symbols in the file, how do I determine the function running at the time of the error?
I am running a Maven (2) release build with with: mvn -f release.xml clean deploy
and want to get the currently running pom file name (release.xml) into a property or mojo.
Is it possible?
When I use the annotation:
@XmlRootElement(name="RootElement", namespace="namespace")
class RootElement {
to create xml file from java, it creates the root element as:
<ns2:RootElement xmlns:ns2="namespace">
but I wanted to create without the "ns2", like:
<RootElement xmlns="namespace">
Any idea how to fix it?
Reletad link (example I used to create the xml):
http://www.java2s.com/Code/JavaAPI/javax.xml.bind.annotation/XmlRootElementname.htm
I can't figure out how to check from within C/C++ if a service is enabled via launchd. I know I can use launchctl from the command line and am currently executing ' launchctl list myServiceName ' from fork/exec.
I've found that boostrap_look_up() might be the way to check this but I can't find enough documentation to condense this down to a simple example.
Can you shed light on this? All I need is a small function to test if my service is actually registered and available.
Hi all,
I want to write code in C# for loading printer name in window. But I don't have any ideas to write it.
Can anybody help me to solve this problem?
Thanks. Ung Sopolin
hi
function liveUpdate(fld,value,id) {
$.ajax({
type: 'POST',
url: 'myurl.html',
data: { fld:value, 'id': id },
success: function(data){//console.log(data);
}
});
}
i want fld to be posted as fld's value not the variable name fld? i've tried to wrap around with eval but no luck
any ideas?
thanks
I'm trying to use a dynamically generated fully-qualified table name in sql server 2008. For example, this does not work:
select max([id]) from @dbName+N'.[T1]'
This will give an error like:
Msg 102, Level 15, State 1, Line 73
Incorrect syntax near '+'.
I know that something like this works:
declare @qualifiedTable varchar(200) = @dbName+N'.[T1]'
select max([id]) from @qualifiedTable
But I have to do this LOTS of times so I would really like to do it in line. Is it possible?
Hello,
i have a simple question,
i search the exact name of the window manager for Windows.
For Unix : X Window System
Mac : Quartz
Windows : ?
Thanks you.