Hope this makes sense...
Is there a simple way to return a set of values from a table based on a single column's values being distinctly unique? What I'm hoping for is something like:
SegCode.query.filter(ref.unique()).only('ref')
That's not real code, but I was hoping there was some simple function out there that will accomplish this...
We are using Subversion for SCC. We have a great deal of our build environment in our repository so that we can check a given version out and rebuild it fairly close to what was in use at that time. We have the following in there now:
InnoSetup binaries
Third Party Components
VCL (including Indy)
Our Source (of course)
Finalbuilder project files
The only thing missing is the binaries for Delphi itself - I am wondering if there is a minimum set of files that can be copied to the repository and run.
Thanks
Hi, how do i order a given set of colors from the rainbow in VIBGYOR order. say i input the seven colors in the following order { red, blue, green, yellow, indigo, violet, orange} and i should print the output as {violet, indigo, blue, green, yellow, orange, red}, irrespective of the order i give the output should be as above. Can someone suggest me about implementing this in java program?
Thanks,
-Vijay
how to set background image in submit button?
I have to use a image in place of regular submit button? which way would be best in xhtml/css?
Button should look same in all main browsers including IE6,IE7
I am drawing a ScatterPlot using core-plot framework. My x coordinates are hours starting from 0 AM to 12 PM . How i can set these as my x coordinates ? please help me .. thanks in advance .
hi everybody,
I've a form with some radio button like this:
<input type="radio" name="leva" value="a"><input type="radio" name="leva" value="b">
with ajax post method I receive value of the radio.
The question is how can I set correct radio value to checked?
thanks in advance
ciao
h.
Hi,
Using CSS, i can set the corner radius of the top corners of a tab in a tabnavigator:
<mx:Style>
.tabstyle
{
corner-radius: 10;
}
</mx:Style>
<mx:TabNavigator tabStyleName="tabstyle" />
However, I also want the bottom corners to have a radius. Does anyone know how to do that??
Please help...
I am so confused, how to set Crystal Report 10 data source at runtime
using VB 6.0. I am using SQL SERVER 2005 for database and I create
the reports using stored procedure..
do You have any idea to solve my problem ?
thanks before..
How can I set up Django in Window Xp and Ubuntu OS
I finished the step for connection with Database and some problem with connect to admin..
I do it from reading ebook and do it..So there is any easy steps for me..
Please share all idea.
hi,
Can I set label visibility in Flex ?
newUser = new LinkButton();
newUser.label = "hello";
newUser.labelPlacement = ButtonLabelPlacement.BOTTOM;
newUser.label. //visibility ?
thanks
Looking for the best way to set-up an iPhone project in XCode ... namely:
What is the preferred project template to start with (e.g View-Based or Windows-Based application)?
What folder structure should I create in XCode to manage the project? For example, under "Classes" is it a preferred practice to add Models, Views and Controllers sub-folders?
Any other best practices, tips, etc... would be appreciated.
Thanks
I've got a gtk file chooser button on my application I am writing in c# using Mono Develop. I would like to set the file chooser's default location to the users' home directory regardless of what user is running it.
I've tried the ~/ short cut - fchFolder1.SetCurrentFolder("~/"); - but this did not work. I was just wondering if there was a value that the gtk file chooser used to refer to the users home directory? Thanks
Hi friends,
I built a website with CodeIgniter last year www.example.com, and client wanted Wordpress Blog last week. I built the blog and uploaded to www.example.com/blog
Now when I click any link on wordpress it gives error as below :/
http://www.example.com/blog/category/one-last-category/
An Error Was Encountered
Unable to
load your default controller. Please
make sure the controller specified in
your Routes.php file is valid.
How can I set Codeigniter to ignore Wordpress folder?
Appreciate helps!!!
I am looking for suggestions on the easiest to set up and use AJAX Autocomplete plugin that will use JSON key/value pairs. I want a plugin that supports setting the form value to the key of the name selected.
I have been working with jQuery UI Autocomplete, but it is a total pain in the rear to get this working. Does anyone know of anything that actually supports this out of the box, or have a thread or page where this is already detailed?
I have a set of data (in ArrayCollection) and I need to fit a power function { f(x)= B + x^alpha } to it, before display in LineChart.
As result I need the alpha and B paremeter.
How to do this with Flex?
Hi,
I have an ExpenseType object that I have created with the following migration:
class CreateExpenseTypes < ActiveRecord::Migration
def self.up
create_table :expense_types do |t|
t.column :name, :string, :null => false
t.timestamps
end
end
I can see the table name is the pluralised expense_types. My question is, how do I reference this type in a belongs_to relationship?
Is it:
belongs_to :expensetype
or is it
belongs_to :expense_type
I do not seem able to set it up correctly.
Cheers
Hi can any one tell .. how to set position inside a table.. I have table inside which I have span and certain links .. I made as cetre alignment and span text s starting from centre but when i do the same for all links everthing displayed in centre if it own.. but i need to start all text at the same position/.. how to do this???
Is it possible to set priority to a thread that currently run some specific contract operation? Say I have WCF service with Func1, Func2 and Func3. I want that Func1 will have more priority over Func2 and Func3.
How can i change drupal default language programmatically somewhere in code (like template.php)?
(i need to overwrite default language set by admin in some cases.)
i'm using drupal 6.
PS: please read my own answer for more detail. and if you may help solve that
PS: later i saw a module that was what i wanted. make sure take a look at it:
Administration Language Drupal Module