I came across the following http://ckeditor.com/demo , and was wondering if anyone had a basic tutorial how to implement this (or perhaps what key search terms I should use)?
Is this just a heavily modified TextField, or have they somehow managed to create a completely new TextField from scratch?
I tried googling this many times, and I always get pages relating to customizing the built-in TextField with CSS etc.
Hi, for a while I've been using the simple_html_dom include, but I have a question.
with the find function, i've been using
$something-find('table[class="class_name"]', 0);
and things like that, but I don't know how to specify two things, like
$something-find('table[class="class_name"][bgcolor="#ffffff"]', 0);
How would that work? (that example doesn't work)
I would like to be able to use a feature in PTX 1.3 which is not yet implemented it the C interface. Is there a way to write my own function in PTX and inject into an existing binary?
The feature I'm looking for is getting the value of %smid
Hi!
I'm interested in using unicode characters (like \apha) in function/varaible names in my c++ program which I will compile with clang++ on linux. Does anyone know of a good guide / list of rules to go by for making sure that everything ends up compiling fine / aoiding linking errors / ...
Thanks!
How to create simple web site with python?
I mean really simple, f.ex, you see text "Hello World", and there are button "submit", which (onClick) will show ajax box "submit successful".
I want to start develop some stuff with Python, and I don't know where to start :)
I am using php conditions and want to know if I can run a javascript funtion without some one have to click on it using javascript.
so
if($value == 1)
{
javascript to run the function
}
how would I do that
thanks
How do you setup a navigation rule based on a function with parameters in SEAM ?
For example
<page view-id="/firstPage.xhtml" back="enabled">
<navigation from-action="#{actionBean.fetchItem(int index)}">
<redirect view-id="/itemDetail.xhtml" />
</navigation>
</page>
Thanks
I have created a rrdcgi script to display information about the system performance with graphs. Now I would like to add an option for the users to create PDF on the fly with the details on current page (images and information) and header and footer. Is this possible to do with rrdcgi or any perl code would be really appreciated.
Hi,
I was trying to install CMS for my ASP.NET (Open source Umbraco). After the installation process, when I try to run the website, I get this error: Could not create type 'umbraco.webservices.documents.documentService'. E:\Users\Sarin\Documents\Visual Studio 2010\WebSites\WebSite20\umbraco\webservices\api\DocumentService.asmx
Here's the line from default.aspx which is showing this error.
<%@ WebService Language="C#" CodeBehind="DocumentService.asmx.cs" Class=umbraco.webservices.documents.documentService %
Any suggestions?
Hi all,
I am using a following query in MySQL for fetching data from a table. Its taking too long because the conditional check within the aggregate function.Please help how to make it faster
SELECT testcharfield
, SUM(IF (Type = 'pi',quantity, 0)) AS OB
, SUM(IF (Type = 'pe',quantity, 0)) AS CB
FROM Table1
WHERE sequenceID = 6107
GROUP BY testcharfield
I want to define the block as a string, then create the lambda.
The following example does not work.
Is something like this possible?
code_string = "|x|x*2"
l = lambda {eval(code_string)}
l.call(3) => 6
I am on the photo sharing site , and i want to give functionality to download all the images available in the gallery ,, I have taken gallery in a relation where i can get all the iamges by @gallery.uploads ,
Now what i want is to download this all files , or if its possible to create any zipfile so that we can download that one file containing uploads inside the gallery ,
thanks
I want to create a action filter that will check the url, and if its not using Ssl, redirect to the same page but with SSL.
What is the best way of doing this?
Should I just check the RawUrl, and scan the string for https, and if its not there then do:
context.Response.Redirect(context.Request.RawUrl.Replace("http:", "https:"));
SELECT count(distinct req.requirementid), req.requirementid, org.organizationid,req. locationofposting,org.registereddate
FROM OrganizationRegisteredDetails AS org,
RequirementsDetailsforOrganization AS req
WHERE org.organizationid =req.requirementid order by org.RegisteredDate desc
this shows me the error :
Column 'RequirementsDetailsforOrganization.RequirementID' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
how to do the 'order by org.RegisteredDate desc' in this Query ....
I'm calling CreateReport method on ReportingService web service to create a report on the server. I was wondering if there is a way to give this newly created report a Guid I want for the ItemID in the Catalog table?
I have a list of data indicating attendance to conferences like this:
Event Participant
ConferenceA John
ConferenceA Joe
ConferenceA Mary
ConferenceB John
ConferenceB Ted
ConferenceC Jessica
I would like to create a binary indicator attendance matrix of the following format:
Event John Joe Mary Ted Jessica
ConferenceA 1 1 1 0 0
ConferenceB 1 0 0 1 0
ConferenceC 0 0 0 0 1
Is there a way to do this in R? Sorry for the poor formatting.
This question is related to the post here. Is it possible to initialize an array in a function call or constructor call? For example, class foo's constructor wants an array of size 3, so I want to call foo( { 0, 0, 0 } ). I've tried this, and it does not work. I'd like to be able to initialize objects of type foo in other objects' constructor initialization lists, or initialize foo's without first creating a separate array. Is this possible?
I want to create a TreeMap in Java with a custom sort order. The sorted keys which are string need to be sorted according to the second character. The values are also string.
Sample Hash:
Za,FOO
Ab,Bar
Hey Guys,
This seems like a basic problem with an easy answer but I simply cannot figure it out no matter how much I try.
I am trying to create a line graph based on two lists. For my x-axis, I want my list to be a set of strings.
x_axis_list = ["Jan-06","Jul-06","Jan-07","Jul-07","Jan-08"]
y_axis_list = [5,7,6,8,9]
Any suggestions on how to best graph these items?
I am looking for function in postgres that returns last inserted id into table.
In MS SQL there is SCOPE_IDENTITY(). Is something same in PostgreSQL?
Please, do not advise use something like this:
select max(id) from table
I'm trying to think up a good hash function for strings. And I was thinking it might be a good idea to sum up the unicode values for the first five characters in the string (assuming it has five, otherwise stop where it ends). Would that be a good idea, or is it a bad one?
I am doing this in Java, but I wouldn't imagine that would make much of a difference.
i want to create sub menu for a BB application
when i click on menu item it shows
Option 1
Option 2
Option 3
When i click on option 3 it should display
1
2
3
as sub menu items..
using j2me + eclipse