I am using T4toolbox to generate a bunch of files, let's say my t4 file name is x.t4,
but default it generate a x.txt, which has nothing inside, can I tell t4 engine not to do this?
Are there any good reasons to modify your projects build output path from its default of "bin\debug"? Is there any benefit to pointing all your projects within a solution to a common build output location?
I have a sprite inside another sprite
SpriteB is inside SpriteA
I would like to change the default coordinate(top left corner) to say 250,10
When SpriteB.x = 0, SpriteB.y = 0 puts SpriteB to 250,10 in SpriteA
Is this possible?
Hello,
i'm trying to write unobtrusive default/placeholder text in input (actually, relatively placed label over input, which hides on onFocus, and stays hidden if input isn't empty on onBlur), but I don't want to use jQuery, because this is the only javascript used on page - therefore using jQuery seems a bit over the top.
Please, how can I do this without jQuery?
Thank you.
I have following statement in one of the oracle SP:
OPEN CUR_NUM FOR
SELECT RTRIM(LTRIM(num)) as num
FROM USER WHERE USER_ID = v_user_id;
When the above does not return anything the SP result just has no column name in it. But I'd like the cursor to still have num column with some default value like NOTHING when no data is found.
Is this doable ?
I have a model:
class Example(models.Model):
unique_hash = models.CharField(max_length=32,unique=True)
content = models.FileField(upload_to='source',blank=True,verbose_name="HTML Content File")
I would like to be able to set the content filename to default to a callable, but I don't see any way to have the callable reference unique_hash (or vice versa). Is this possible?
how can I make this menu here have the default be the "about" tab?
http://www.sohtanaka.com/web-design/examples/horizontal-subnav/
so when your mouse isnt hovering over any of them, its on the about tab?
I am having a problem in accessing Locale string in android. The requirement is:-
I have one string in english(values/string.xml) as well as in korean(values-ko/string.xml). Now i want to show my string in both languages in a single activity.
I don't want to change phone Locale or call Locale.setDefault("ko")
I am trying to call following line but it is not working for me.
getString(R.string.mystring, Locale.KOREAN); (My default language is English)
Please help
Hi
Is there any way to skip the default params, say suppose my method declaration is like this:
procedure Myfunc1(var isAttr1: Boolean = FALSE;
isAttr2: Boolean = FALSE;
isAttr3: Boolean = FALSE);
I can't call the function like this:
Self.Myfunc1( , , Attr3);
because I don't want unnecessary var declarations, at the same time I want the last param return value (it is a var type)
Thank for help in advance
I want to Change default installation path which is Program Files in windows application When Creating setup. I tried but i couldn't do that please tell me solution.
I want to send the below data to default.ctp, I want to display menus in all the pages, I'm using Auth, The problem is if I'm logged in I get the Menus correctly, but if I logout, I'm getting error saying variable'$topMenu' not found.
The MenuController can be accessed only if logged in.
$this->loadModel('Menu');
$this->set('topMenu',$this->Menu->find('all'));
Any help on how to solve this?
Can the app icon and default screen be localized in iPhone? Has anyone tried it?
In theory it should be possible as they're just image resources, but I found no explicit mention of this in the documentation, and I wouldn't like to have my app rejected or failing for this.
Is there a way to prevent the usage of the default constructor?
All I can think of is throwing an exception, but I would like something that causes a compile time error.
I want to Change default path which is Program Files in windows application When Creating setup. I tried but i couldn't do that please tell me solution.
When we add a new file,
In .h & .m file, there is always a comments/documentation section at top.
example.
//
// abc.h
// Project name
//
// Created by myname on 06/11/12.
//
//
How to modify those default comments to :
// File Name: abc.h
// Created By: myName
// Created On: 06/11/12.
// Purpose:
// Copyright (c) 2012 mycompany name. All rights reserved.
Please do help me on this issue
How to submit default data when using $.ajax?
I have tried:
$.ajaxPrefilter(function(options, originalOptions, jqXHR) {
// can't access anything here... (tried jqXHR.data but undefined)
});
$.ajaxSetup({
beforeSend: function(jqXHR, settings) {
// can't access anything here... (tried jqXHR.data but undefined)
}
});
I need this so I can send my CSRF token, each time and when logged in submit the user ID each time. I prefer not to submit a token in headers.
Thanks
<asp:TextBox ID="txtDate" runat="server" AutoPostBack="true" OnTextChanged="txtDate_TextChanged"></asp:TextBox>
how can with Jquery add default date. I do not know where and when to call this code:
function addDefaultDate() {
if ($('#txtDate').val().length == 0) {
var now = new Date();
$('#txtDate').text(now.getDate() + '.' + now.getMonth() + '.' + now.getYear());
}
}
I want to set my GtkComboBox to have some default value/name, on it as follows:
+---------------+---+
| Image Options | X |
+---------------+---+
| Image Option 1 |
+-------------------+
| Image Option 2 |
+-------------------+
| Image Option 3 |
+-------------------+
"Image Options" will be just a Title and it will disappear once user selects any option from list. when user click on the list and selects "Image Option 3" then it will display selected value insted of "Image Options". "Image Options" will not be a part of option list.
Hello,
I have a Win7 PC in use as part of an experiment control system. The experiment in question uses 4 windows simultaneously, and I would like to find away to open, position and size these 4 windows with a script.
The script would run at start up, so that the newly booted PC presents the user with the four windows as default.
Obviously I can use a batch file in the startup folder to open windows and run applications, but is there a way to specify the layout of these windows?
Many thanks
Si
I need to have either the only country viewed or the default country to be Canada and more specifically british columbia when choosing an address in magneto. What would be needed to make this change?
<?php
namespace default
gives me an unexpecected T_DEFAULT, is there any way of working around this? Can I escape the reserved word somehow?
My system uses the name of the current module in my site for the namespace so it would be nice to be able to use any string as a namespace.