0
votes
0answers
2 views

how to embed a code editor in a page?

Problem I want to create a page with a code editor embedded in it.I looked up codemirror but i am having problems using it as i am new to java script. So I am looking for an easy way to embed a ...
0
votes
0answers
2 views

Jsp session & Rediretion

I am new in jsp. I am trying to do redirection to login page when expire the session. My code: String sessionUser = null; sessionUser = session.getAttribute("UserName").toString(); if(sessionUser ...
0
votes
0answers
3 views

Ambiguity in interfaces

interface A { int a=10; } interface B { int a=10; } class Access implements A,B { } class Demo { public static void main(String args[]) { Access ac=new Access(); System.out.println(Access.a); //1 } ...
0
votes
0answers
3 views

Programmatical log in by providing credentials

Consider windows users A (with administrative rights) and B (restricted access rights). Also a data folder located on the server to which only user A has the access to. The challenge I’m facing is to ...
0
votes
0answers
6 views

Custom scrollbar and custom thumbimage in android listview

i m using a custom scrollbar and custom thumbimage for android listview.but the problem is the scrollbarThumbVertical image gets elongated when i scroll the listivew..could u guys help me out. ...
0
votes
0answers
10 views

Showing that two objects are not equal while using equals() method

public class Account { String account; double balance; Account(String account,double balance) { this.account=account; this.balance=balance; } } public class AccountTest { public static void ...
0
votes
0answers
13 views

Auto in loop and optimizations

Can you explain me why there is such difference in computation time with the following codes. I suspect RVO vs move-construction but I'm not really sure. In general, what is the best practice when ...
1
vote
0answers
10 views

Programming to fill our system's L1 or L2 cache

How we can systematically write code to load data into our L1 or L2 cache? I am specifically trying to target filling the the L1 I cache of my system for some higher analysis. Any suggestions will do ...
0
votes
0answers
2 views

CodeIgniter & Twitter API 1.1 - posting status update with access_token and access_token_secret

I am using CodeIgniter and this Twitter API library (https://github.com/epoberezkin/twitter-codeigniter) to post a status update. This works nicely. I now want to post update programmatically, by ...
0
votes
0answers
5 views

How to create an activity like the one Dropbox does when sharing from Gallery

How is the following achieved: Instead of opening the Application and a full screen activity, a new smaller activity is open on top of Gallery. I'm trying to do the same but instead of the gallery ...
0
votes
0answers
3 views

Smarty 3 template from outside templates folder

I have had been doing same with previous smarty versions... Like loading a TPL file outside of specified templates folder, like this: $smarty->display("../admin/bin/tpl/default.tpl"); exit(); ...
0
votes
0answers
3 views

Code Igniter error?

Can someboady help me, i am new in CI, and i dont know where is my mistake? I have this kind of controller main class main extends CI_Controller { public function index() { ...
0
votes
1answer
2 views

How to change the default text font in Eclipse?

How do I set the default font size in Eclipse? I'd like to set a default for unrecognized file types like shell scripts and text files.
0
votes
0answers
2 views

LotusScript space character

I am writing Lotusscript agent, how do I say that I need to take value in the right of space character? For example this takes value in the right of /: fld9.Value = StrRight(Cstr(doc.request(0)), ...
0
votes
0answers
5 views

Passing an array inside the “parameters” of adapter in Worklight

The code part: function PushRequests(strUser, eClientType, iSectorId, strDeviceId, arrRequests) { var input = { method : 'post', returnedContentType : 'xml', path : ...

15 30 50 per page
1 2 3 4 5 346215