external

Oracle External Tables: Advanced Flat File Layout

I wish to create an external table in an Oracle database, retrieving its data from a flat file on the server. The format of this file is non-trivial. Each line in this file can be one of several different layouts, depending on the line's prefix (the prefix itself is always a fixed length). For example, a line beginning with 'TYPE1' would...

How can I improve a rails helper method with a config file?

I have a rails helper in my application_helper.rb file that looks like this: def external_link(name) url = external_links[name] if url.blank? Rails.logger.error "No URL defined for external link [#{name}]!" return "[URL undefined]" end return url end The 'external_links' variable is a hash that should b...

Receiving complex javascript values through external interface

I'm trying to receive and potentially send complex values through TWebBrowser (using TEmbeddedWB) with the provided external object. For example; in javascript I would try to use the exposed method with an array as a parameter: var test = [123, 'abc']; external.someFunction(test); //Or something more complex var complexObject = { som...

Connecting an iPhone to an xBee module

I'd like to use an iphone to monitor output from a remote source using an xBee modem (or other low power wireless device). Ideally, the iPhone can regularly poll the XBee for this information and then use it to display generate output. This is similar to the way the Nike+iPod thing works I guess but I was wondering if it was possible wi...

jQuery calls in external js file with MasterPages

I am using ASP.NET 3.5 with MasterPages. My master page has the script references to jquery and jquery UI. My web page that uses the master page has a script reference for a custom javascript file for that page. This javascript file has jquery calls in it (i.e. document.ready --> set up input boxes as calendars). When I run the websi...

Where to put unique adjustments when using abstract base class

Hi, I´m having some trouble deciding in which way to go... I've got this application which consists of one base project, and one project for the application, the application project contains code targeting a specific system, system application. The base project is an abstract class containing abstract methods which each system speci...

Externalizing Grails Datasource configuration

Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available for externalizing the database configuration in Datasource.groovy (without setting up JNDI)? It would prove helpful to be able to configure DB credentials in a simple configuration file outside the...

WPF Image External Resource

I have a custom control library with a resouce dictionary that references an image in the same custom control library. I then have a WPF application with a refernce to the custom control library which contains a resouce dictionary with a style the utilizes the image. When I try to use the style from the external resouce I get an error ...

Joomla External HTML and Access Levels

I am trying to use Joomla to create a website that allows users to do the following: submit links to external html search through the external websites based on category, rankings, etc. display the websites in multiple iframes simultaneously ( like google gadgets) limit access to certain external websites by user customize users ho...

jquery functions doesn´t work after external loading

hello everyone! I have a website.. with three div columns, colA colB and colC. on colA i have a menu that triggers some ajax functions to load text on colC and thumnails on colB. it works perfect.. here it is a piece of code. var loading = $(".loading"); var content = $("#colC"); var thumbs = $("#colB"); $("#menu li a").clic...

How to select an item in a listview which allows only 1 selected item at a time

Hello. I've been trying to select an item on an external listview but it seems to only work with listviews that accept multiple selected items: HANDLE process=OpenProcess(PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PROCESS_QUERY_INFORMATION, FALSE, 0xC30); LVITEM lvi; LVITEM* _lvi=(LVITEM*)VirtualAllocEx(process, NULL, size...

Gradient servers as external files in SVG

Hi, the fill property in SVG accepts an url to point to a gradient/pattern element, an instance of a so-called 'paint server'. The Question: Is it possible in any browser (that is, not IE, of course), to use a gradient defined in an external SVG file? Like, in rect.svg, <rect fill="url(grad.svg#my_grad)" /> and the corresponding <li...

Enumerate browser tabs from external application

Hi everyone. A bit of an odd (challenging?) question. Is it possible to programmatically access the tabs of an open browser from a external application? I realize that's a vague question, but hear me out: What I'm trying to create is a "Gmail Chat Notifier" application that flashes a notification icon in the Windows system tray when an ...

Can I pass arguments to an external (CLR) SQL Server trigger?

I have a trigger in SQL Server, but I need to pass arguments to the CLR code, i.e., information not provided in the trigger context. Is something like this even possible? CREATE TRIGGER MyTrigger ON MyTable FOR INSERT AS EXTERNAL NAME MyAssembly.MyNamespace.MyTriggerHandler("Foo", "Bar") These arguments would be static, of course. ...

Sharing Spring Security Configuration Between Applications

I'm brand spanking new at Spring and have gotten a majority of the knowledge I do have from the Spring Recipes book from Apress. I've got LDAP authentication working with Spring Security within one webapp. I would like to rip out my application context beans and properties files from this one webapp, however, and somehow externalize the...

Get a variable from an external Class

I'm using an external class to draw an object in my Flash movie but I need to get some variables from the Class as well. I want to put the variable persPoints[0].x into a variable in my main document called newvar for example. This is the part of the External Class I'm using class Shape { function set2DTo3D():Void { var persPoi...

Resizing of frame with DYNAMIC external source

I have tried.... I have tried a lot many things... Even searched Yahoo! , Google and Bing... Why oh! why does the code not reveal... I just want to complete it and put the quality seal.... External frame resizing... is so f'king tensionizing..... I need to find the solution.... before in my head it causes more pollution.... O...

Pass a var to external jQuery

How can I write var menu = $('.something'); and use it in an external .js file like so: $(menu).attr("class", "active"); I have also tried declaring the external js file after the inline code and it will not work. ...

How do I render a bar similar to images.google.com ?

How does images.google.com render its frames?? I have two servers, that have external web viewable content, and an internal search engine that only admins can use. The external content cannot be edited, it was created with some proprietary technology. What I want to do is allow my internal admins to see a bar that allows them to perfor...

External sorting of ints with O(N log N) reads and O(N) writes

I'm interested in algorithm which I should use to meet these requirements (topic subj). ...