Hi guys,
I try to export excel file with some format like:
Interior.Color
HorizontalAlignment
Font.Bold
and etc..
So the question is, can we do like that is SSIS..
and how to do it?
I'm trying to use spring scheduled tasks for my scheduled jobs, I have one scheduler configured for multiple tasks executors as below
<task:scheduled-tasks scheduler="ABCTaskScheduler">
<task:scheduled ref="ABCTaskExecutor" method="execute"
cron="some_expression_1" />
<task:scheduled ref="DEFTaskExecutor" method="execute"
cron="some_expression_1" />
</task:scheduled-tasks>
My question in how can I make the task executor list dynamic, so that I do not have to change my spring config each time I have to add a new task executor.
Hello,
I recently generate two versions of Java classes generated by JAXB. So I get two packages :
V1_0 and V2_0
I notice that I have only one ObjectFactory generated. The problem is that this ObjectFactory is specific to a version (here it's specific to my version v1_0).
So the question is : Could I configure JAXB to allow to make one ObjectFactory for each version ?
Thanks a lot.
This subject is pretty often asked here and the Sun tutorial is too concise about the subject. So I thought, let's post a CW question and answer about this so that it can if necessary be referenced in other topics.
Others are of course free to add more hints and best practices here.
I am looking to create a QR code that does the following:
When scanned from inside an application, it dislpays a custom alert, (Ex. "You won $5")
When scanned with a different QR code reader (non app) it goes to a mobile web page that directs the user to download the application.
My main question is: Can you control what happens when a QR code is scanned by a reader that is not your own? (A 'default' action, if you will)
What is the best way to solve programming questions when you are givien a question to write a program, in an exam for example where you have no computer to test it. Is there a certain technique that people use to help them solve these type of written problems? Or is it all down to knowlegde of the language?
Hi All,
The question came into my mind because from last 2-3 months I am feeling a kind of bored in my job.
Actually there is nothing happening in the project, I just have to create some class , properties and some small routines to do some functionality.
I hope you guys must have gone through this phase as well in your career.
Please share your experience how did you motivate yourself in this kind of situation ?
There's another question that answers this though it doesn't specify anything regarding proxy authentication.
It's solution is
(setq url-proxy-services '(("no_proxy" . "work\.com")
("http" . "proxy.work.com:911")))
Simple question, ok a contentplaceholder is implemented for Page-specific content.
What about header region, advertisment, recommended books, footer etc
1- What do you insert this as?
2- how do you adjust the size the way you want it?
I've been teaching myself object oriented programming and I'm thinking about a situation where I have an object "Transaction", that has quite a few properties to it like account, amount, date, currency, type, etc.
I never plan to mutate these data points, and calculation logic will live in other classes. My question is, is it poor Python design to instantiate thousands of objects just to hold data? I find the data far easier to work with embedded in a class rather than trying to cram it into some combination of data structures.
I'm pretty sure you can, but in addition to answering the question in the title, could you also explain the pros, cons, caveats, if any, to doing so? I know that you can't return a List, Set, Collection, Map, or any interface, from a WebMethod (which is stupid, IMO, but I don't know what the design reasons were should I should probably withhold judgment).
Thanks for any advice.
--
LES
Please, I have another simple question for experienced programmers.
Is it possible to get source code of any webpage with javascript at client side?
With AJAX maybe?
But I need that the server I am downloading the url from does see the IP of the client.. with AJAX it will show my script server IP, right?
Thank you in advance.
I am preparing for my interview tomorrow -- I need the answer to this question:
How can you print 1 to 10 & 10 to 1 by using recursion with single variable
Does [_\s^"] means underscore and whitespace but not " (quote) in Reg
I understand that the brackets ([ ]) mean character range and that ^ means but not, but my question is can you say [this^notthat] or do I have to seperate them into two sets of brackets?
I always thought that varibales are mapped to stack locations once your Java source is compiled; additionally, they may include the info about the variable names and their scope in classfiles, but that's optional AFAIK.
The question is - how do my Eclipse/IDEA IDEs allow me to set a watch expression containing the local variable name? To me, it's hard to understand :)
I'm setting up a new svn+trac environment, the svn server's version is 1.6.11, then I can't find any corresponding pre-compiled svn-python binding, finally I found the following thread:
http://stackoverflow.com/questions/677252/python-svn-bindings-for-windows
so, my question is: how to compile from these source?
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/
I have researched this question and there seems to be two methods: 1) Run Sysprep, and 2) Run Sysprep followed by ImageX (this is what Microsoft says should be done).
What does ImageX do and any pointers on the general process to follow?
Thanks,
-Todd
The lack of expression trees in Compact Framework has bugged me for some time now, but I haven't really looked for a solution.
Today, I've found a blog post about an alternative System.Linq.Expressions built on top of Mono System.Core and used e.g. by db4o (you can find it here).
My question is - have you used this library and if so, what were your experiences with it (especially regarding performance)?
I'm looking for a Java class with the characteristics of C++ std::map's usual implementation (as I understand it, a self-balancing binary search tree):
O(log n) performance for insertion/removal/search
Each element is composed of a unique key and a mapped value
Keys follow a strict weak ordering
I'm looking for implementations with open source or design documents; I'll probably end up rolling my own support for primitive keys/values.
This question's style is similar to: Java equivalent of std::deque, whose answer was "ArrayDeque from Primitive Collections for Java".
hi. Hopefully simple question:
I have multiply nested namespace:
namespace first {namespace second {namespace third {
// emacs indents three times
// I want to intend here
} } }
so emacs indents to the third position. However I just want a single indentation.
Is it possible to accomplish this effect simply?
Thanks
I feel rather foolish as this is just a short question.
I was reading about a bunch of thread management helper classes in .net, specifically one that aids the storage of threads to help a service manager object automatically invoke delegates onto the subscribing thread. I'm pretty sure it had something to do with creating dispatchers.
Totally forgotten the name, can't find it :( Anyone know what I'm talking about?
I want to make a web application were people are paying money (for example through mastercard/visa/paypal etc.).
My question is: can it somehow be made that the money transfers are made only after a longer period when a condition is met in my web application.
Scenario is very simple
somewhere in the code I have this
dynamic myVariable = GetDataThatLooksVerySimilarButNotTheSame();
//how to do this?
if (myVariable.MyProperty.Exists)
//Do stuff
So basically the question is how to check (avoiding exceptions) that a certain property is available in my dynamic variable.
I could do GetType() but I d rather avoid that, I dont actually want to know the type of the object I want to know if a property (or method if that makes life easier) is available
Any pointers?
Cheers
May be a dumb question, but GWT FlowPanel (raw div element) does not provides something to handle a mouseclick/mousemovement on it. Overriding onBrowserEvent do not works either.
If setting onclick event using native JavaScript (need to specify positive height before, 'div' have a height of 0 if not specified), then catching these events is working properly. Is there a way to do it without using JSNI?