I need to add a logo (like 100X15) on the top left corner (like x 10; y 10) of videos. The logo would be a png image. How would I do that with the help of mencoder? Googling didn't help much. Thanks.
Hi,
I need to add a new action to the ActionList in the Invoices page
I don't know where magento creates this list and how it call the selected action, so I thought you guys would know where I should start looking...
Thanks!
Jonathan
I would like to add links around image tags with preg_replace().
Before:
<img href="" src="" alt="" />
After:
<a href="" ..><img href="" src="" alt="" /></a>
I would greatly appreciate any help. Thank you very much.
I am working on photo sharing web site and i want to add functionality which can create my application's whole gallery in to the face book gallaries . Is ther any code whch can be added to do such things .
Please help me out . IF find any link, kindly share in the answer , i hope i am clear anough ?
I want to add one more function/property to a text property of a textbox like this.
txtControl.Text.IsEmpty(); or txtControl.Text.IsEmpty;
which returns me bool value.
I dont want to compare for empty string every time.
i.e.
if(txtControl.text==string.Empty)
{}
else
{}
Can we do some other way also
if just want to do it like
if(txtControl.text.isEmpty){}
I have a decorated function (simplified version):
class Memoize:
def __init__(self, function):
self.function = function
self.memoized = {}
def __call__(self, *args, **kwds):
hash = args
try:
return self.memoized[hash]
except KeyError:
self.memoized[hash] = self.function(*args)
return self.memoized[hash]
@Memoize
def _DrawPlot(self, options):
do something...
now I want to add this method to a pre-esisting class.
ROOT.TChain.DrawPlot = _DrawPlot
when I call this method:
chain = TChain()
chain.DrawPlot(opts)
I got:
self.memoized[hash] = self.function(*args)
TypeError: _DrawPlot() takes exactly 2 arguments (1 given)
why doesn't it propagate self?
I have a consumer thread taking elements from a LinkedBlockingQueue, and I make it sleep manually when it's empty. I use peek() to see if the queue empty because I have to do stuff because sending the thread to sleep, and I do that with queue.wait().
So, when I'm in another thread and add()an element to the queue, does that automatically notify the thread that was wait()ing on the queue?
i need following algorithm
let say we have 5 //101 and 7 //111 numbers are arbitrary i need to add these numbers using the recursive method and at the same time using bitwise methods
such that result should be
101
+
111
110 0
or 12 can anybody help me?
I'm trying to figure out a way to add a binding extension to an endpoint via code, instead of through configuration files. Ideally I want it to simply be an attribute I place on the service method.
So far it seems like the only thing that isn't exposed publicly is the binding extensions.
After creating a new list in SharePoint, I can add other types of fields, but not lookup fields or person or group fields.
When creating a new column... as soon as I change the column type radio to one of these two types of fields, I get a 403 forbidden error.
Any ideas why that might be happening? Is it a setting in Central Administration or something?
I followed the tutorial
http://www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key
to dismiss the number pad,
this tutorial add the button as sub view to the number pad,
my problem is, in the same view i am using the text field to enter text also,so, how to differentiate the number field, and text field. so that i can hide the button view accordingly.
thanks in advance.
I add to my project a PageFunction and I get a dozen of the following error and the project won't compile:
'ResourceDictionary' root element is a generic type and requires a x:Class
attribute to support the x:TypeArguments attribute specified on the root
element tag.
Basically I get an error for each DataTemplate I merge in the ResourceDictionary, has anyone encoutered this problem before?
Note: I use VB.NET 3.5 on VS 2010.
I know you can programmaticaly add markers for directions on the map. But how do you let the user do that? Like on the Google maps site, you just right click and then click on 'directions from/to here' and the marker is added. This functionality seems to be absent from the API.
I have a 24 hour time string (ie 16:30) and would like to add x time blocks of 30 mins. For example if x = 4, then 16:30 + 4(30) = 18:30. Is there any easy way to do this with out exploding the string and doing if statements for mins/hours.. etc? Also this is on a php page would it be easier to do this in php then echo it to the javascript?
Thanks for the help!
i want to add a currently displayed string in a textview to the last position in a pre-defined but empty string array. and then i want a button to display the last string in that string array, and if that button is clicked again it will go to the previous string and works its way up the array.
I am working in a CMS where we use tokens ( which is turned into a user control. Is there a way to add the user control into an attribute value for our template style?
example :
<div class="<$tokenName/$>" /
this currently outputs an encoded user control, which is then not parsed by IIS.
Hi team,
I am going to develop outlook add in as my final year project. for that as a initial stage i need to develop a button in Outlook page after clicking that button system gets user's particular E-mail address (after clicking button the another window is open ans ask for mail address) and read unread E-mails from .pst file. pls help me to start my project by
- developing particular button on Outlook,
- then opening a particular window after clicking that button and
- reading unread e-mail messages from .pst file.
Thank you
I would like to add some sort of icon that a user can press in order to flip a variable in a broadcast receiver my app uses. Basically I just can a icon that they can press which will flip the value of a boolean in the broadcast receiver, and change the icon to indicate something happened. I think I need to do something with a widget? Could anyone point me in the direction of some tutorial I could check out?
I have a few directories and sub-directories containing files with no file extension. I want to add .jpg to all the files contained within these directories. I have seen bash scripts for changing the file extension but not for just adding one. It also needs to be recursive, can someone help please?
Is it possible to style the option elements of a select list/dropdown beyond background and font? I'm specifically looking to add some padding/margins so the list isn't as cramped.
I'm in a situation where I want to add the equivalent of the sql statement
SET QUERY_GOVERNOR_COST_LIMIT
to my query I created with linq to entities.
How would I go about that?
How do I add a custom route for a new resource in the Rails 3 routes?
I know how to do it for collections and members but this style doesn't seem to be working for new resources. Is this a bug or am I doing something wrong?
So these work:
collection do
get :wish
end
member do
get :wish
end
But this doesn't work:
new do
get :wish
end