instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
My service payment (iDeal Netherlands) only provide 1024-bit encryption.
What's the best 1024-bit SSL certificates provider ? (For example, I tried with godaddy.com/ssl but they only provide 2048-bit SSL certificates.
thanks
| stackexchange/codereview |
I am creating an application in Silverlight 4. The first screen the user comes in contact with is the Login screen (Login.xaml). I have written the following code in Login.xaml.cs file.
private void btnSubmit_Click(object sender, RoutedEventArgs e)
{
//first validate if the user is authorised for this application
... | stackexchange/codereview |
I would like to implement the application where user can include the different CSS files when clicked on different buttons. Please let me know how this can be achieved. I don't want to use the theme feature.
I am trying to change the CSS but I have noticed the ungly behaviour as follows:
When using mozilla i see the s... | stackexchange/codereview |
I was searching for a BinaryReader.Skip function, while I came across this feature request on msdn.
He said you can provide your own BinaryReader.Skip() function, by using this.
Only looking at this code, I'm wondering why he chose this way to skip a certain amount of bytes:
for (int i = 0, i < count; i++) {
... | stackexchange/codereview |
As part of an automated build, I clear out a directory, and copy the latest versions of the source files to this directory. First, I set up the list of files I wish to copy:
<CreateItem
Include="\\BuildServer\Build_Temp\SomeRootDirectory\**\*">
<Output
TaskParameter ="Include"
... | stackexchange/codereview |
I have a regular expression:
(<select([^>]*>))(.*?)(</select\s*>)
Since it uses lazy repeat quantifier, for longer strings(having options more than 500) it backtracks for more than 100,000 times and fails.
Please help me to find a better regular expression which doesn't use lazy repeat quantifier
| stackexchange/codereview |
I am well aware of the WP hooks admin_print_scripts-$mypage, admin_print_styles-$mypage but they seem to trigger only for pages registered with $mypage = add_management_page( ... ), add_options_page(), etc. It's quite clear you won't be able to use these for sub-generated pages with totally different markup unless you ... | stackexchange/codereview |
Just like the tabbar, I want to show badge on UISegmentedControl. As I cant see any predefined methods for UISegmentedControl just like available for UITabBar.
I thought about adding the badge as an image just on top of it, but maybe there is some better way.
| stackexchange/codereview |
I'm trying to extract the given elements from a list, but I get an Match exception?
The goal is to make my function behave like:
fun extract [#"a",#"b",#"c"] [0,1,0] = [#"a",#"b",#"a"];
And I'm trying to do it like this:
fun extract [] _ = []
| extract xr (y::yr) = List.nth(xr, y) :: extract xr yr;
But as said, I g... | stackexchange/codereview |
Can I Simulate this Code With JQUERY or Javascript?
IEnumerable<TextBox> Textboxes = (from c in pnlform.Controlswhere object.ReferenceEquals(c.GetType(), typeof(TextBox))c).AsEnumerable().Cast<TextBox>();
foreach (TextBox item in Textboxes) {
item.Text = string.Empty;
}
i want to clear all textboxes without any... | stackexchange/codereview |
I started working on a timer to show how long people have been on my page. The problem is that instead of counting the seconds, it just keeps adding zeros to the end. Can anyone show me where I went wrong?
<script language="javascript">
<!--
var seconds = 0
var minutes = 0
document.getElementById('timer').innerHTML = '... | stackexchange/codereview |
It seems wherever my mouse is in my code window it will bring up tooltip information about what's under it, this I find very distracting and quite annoying. Can anyone tell me how to turn off the tooltips in the editor?
EDIT: Clarification, for C#
| stackexchange/codereview |
I have some code that uses an iterator to traverse an arraylist. If a certain condition is met, I want to add an object to the arraylist. Can this be done with an iterator? Or do I need to just use a loopedy loop?
itr=particleArr.iterator();
while (itr.hasNext()){
particle=itr.next();
if (isMyLifeUtterlyMeanin... | stackexchange/codereview |
I'm trying to achieve this effect with jQuery.
I wrote some of the code, but it's buggy (move to the bottom-right corder and you'll see).
check it out
Basically, if there's an already-built jQuery plugin that you know of that does this, I'd be very happy using it, if not, any help with my formula would be appreciated. ... | stackexchange/codereview |
hey guys,
a little weird question that doesn't actually need to be associated with wordpress.
i want to test a wordpress website on my iPhone. since i'm in the same network, i can simply call my local apache server from my iphone. however since my setup is a bit complicated the website on the iphone has completely wron... | stackexchange/codereview |
When I use a macro, that opens a new email from a template, I would also like to access one of the commands from the Quick Access Toolbar and make sure a particular option is selected from the drop-down list on this command.
For example, the tab on the toolbar is called 'Add-Ins' and within this tab the area on the to... | stackexchange/codereview |
I have a problem when one B.swf file is loaded to another A.swf file.
A.swf file size is 400x400.
B.swf file size is 100x100.
B file has a movie clip (MC) which is animated and position of this movie can be from Y:-100 to Y:200.
B file is loaded into the center (X:150, Y:150) of the A file.
When B file is loaded, then... | stackexchange/codereview |
I have a PDF file contains table for eg employee (empID, empName, Title). I want to parse these pdf file to excel and parsing that table in Excel to datatable in my code.
| stackexchange/codereview |
Possible Duplicate:
How to create my own JavaScript Random Number generator that I can also set the seed
So, if I have this function:
function randArr(count, low, high) {
var result = [];
for (var i=0; i<count; i++) {
result.push(seededRand(low, high));
}
return result;
}
every time I call r... | stackexchange/codereview |
how can i use log4j in grails application?
| stackexchange/codereview |
Hey there,
I want to fetch / display the MAU of a specific Facebook App. Is this possible or can this be done with a plugin?
| stackexchange/codereview |
I have two files (which could be up to 150,000 lines long; each line is 160 bytes), which I'd like to check to see if the lines in each are the same. diff won't work for me (directly) because a small percentage of the lines occur in a different order in the two files. Typically, a pair of lines will be transposed.
What... | stackexchange/codereview |
When I receive a Push Notification, I want to jump to the middle tab on the tabbar and reset the tab (it has multiple table views that the user may have navigated into). I am able to jump to the tab using tabBarController.selectedIndex = 1; ... but how do I reset to the first view?
| stackexchange/codereview |
How can I check if my string contains leading letters? In C# is easy, but I am doing this in SQL. Is there a way to check this? If so, how can I remove it?
EX:
@MyString = 'A1234'
Updated string = '1234'
| stackexchange/codereview |
I'm implementing what essential amounts to an RSS reader for iPhone. I download a bunch of short messages and display them to the user in a list. Each message is encapsulated in a MyMessage object that contains the title, the body, url, etc.
I want to be sure to cache the 20 most recent messages. What is the best way ... | stackexchange/codereview |
I am trying to use the searchlogic gem to perform searches over a couple tables Post has_many assets. I need it to perform left outer joins rather than inner joins in the event of a non-existant asset.
From what I have below the query is generated with the required outer joins, and passes the first three tests, but fa... | stackexchange/codereview |
OK, I have been looking about but can not for the wits of me find a reason to why this should not work:
Base class (misc/interface/handler.h)
#ifndef __t__MISC_VIRTUAL_HANDLER_H
#define __t__MISC_VIRTUAL_HANDLER_H
#pragma message("Starting with 'handler.h'")
namespace t {
namespace misc {
namespace interfa... | stackexchange/codereview |
I have two different folders located not under the same parent folder.
Is it possible to make a Git repository that includes them both rather than I having to make two Git repositories one for each one?
| stackexchange/codereview |
I created an array sorter to sort arrays like in Win Explorer in a DNN module. As in the answer to a preview question:
Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) - VB.NET
A user is getting the following error (below) whenever they run the module, I'm not a particularly seaso... | stackexchange/codereview |
I'm trying to call an asp.net method using jquery/ajax from a button click on a modal dialog window. But all I seem to get is and alert saying "error". I've seen many similar examples for this online but I can't seem to get it to work. The page/method I'm calling (newcall.aspx/savenote) is the same page as all the jque... | stackexchange/codereview |
I'm facing a lot of problem with Silverlight way to deal with layout. Mainly, I can't find a way to predict the size occupied by strings before they are actually drawn. On iPhone, we have some very simple methods that allow us to determine the size a string will occupy on screen based on font size, word wrapping option... | stackexchange/codereview |
I have Use Cases that require the User to be show a Warning message as opposed to an Error message. The user will be shown once and then they can proceed. My problem is since it's not a Validation error the flow goes thru and the operation is performed without displaying the message. Therefore the user performs an ac... | stackexchange/codereview |
I have string presentation of some Path. I want to move path object in string presentation. For example I move "M 10,100 C 100,0 200,200 300,100" on (5, 0) and get "M 15,100 C 105,0 205,200 305,100". There is standart method for this?
| stackexchange/codereview |
This method works, but it works very slowly. I think one of the problems might be the 'eval' statements in the add_by method.
Some explanation: every Node object has three relevant attributes, :x, :y and :neighbors. :x and :y are integers representing planar coordinates, :neighbors is an array, and nodes are stored in... | stackexchange/codereview |
Alright folks, I am a newcomer to Data Services and LINQ in desperate need of some guidance. In just a few days I have encountered numerous unexpected obstacles and I'm stuck on one now. I'm hoping these are just typical frustrations of learning a new tool.
I have a WCF Data Service for serving up data from a Sql Serve... | stackexchange/codereview |
I'm attempting to select a node using an XPath query and I don't understand why XML::LibXML doesn't find the node when it has an xmlns atribute. Here's a script to demonstrate the issue:
#!/usr/bin/perl
use XML::LibXML; # 1.70 on libxml2 from libxml2-dev 2.6.16-7sarge1 (don't ask)
use XML::XPath; # 1.13
use strict;
... | stackexchange/codereview |
Here's a relevant example. It's obviously not valid C, but I'm just dealing with the preprocessor here, so the code doesn't actually have to compile.
#define IDENTITY(x) x
#define PREPEND_ASTERISK(x) *x
#define PREPEND_SLASH(x) /x
IDENTITY(literal)
PREPEND_ASTERISK(literal)
PREPEND_SLASH(literal)
IDENTITY(*pointer)
PR... | stackexchange/codereview |
I want to calculate sum of field (DateTime) in Crystal Reports , and for each group.
When i right click in field then Insert->Smmary ,in this window i can select group and it is ok. Also I can select Summary (Minimum, Maximum,Count...) BUT no SUM , why?
| stackexchange/codereview |
I would like to create a zip file in memory using a ZipArchive (or a native PHP class) and read the content of the file back to the client. Is this possible? If so, how?
The files that I want to zip in this application are a maximum of 15 MB total. I think we should be in good shape memory-wise.
| stackexchange/codereview |
There is some hype with languages like Python (that I like very much) and Ruby but I was writing a medium-size system in Python and feel the lack of some tools that I would have if I was using Java: Eclipse features, JUnit integration and some language-features like catching some errors in compile time.
Some people say... | stackexchange/codereview |
can anyone explain to me how to setup the UI for a UISplitViewControll without using a nib and have it show in landscape more with both master and detail view?
---- RESOLVED ----
all i had to do was go into the info.plist and remove a few keys
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandsca... | stackexchange/codereview |
i trying to deploy my Asp.Net website in IIS6.0 in windows server2003 64 bit.but when i try to browse the my site it showing page cant be displayed.
More I unable to ASP.Net Tab in my website Propeties.
Could you Please guide me how to deploy the my application inn IIS6.0 and windows server 2003 64 bit..
Thanking you,... | stackexchange/codereview |
I am working on a system that will store uploaded files. The metadata will go into a locally-accessible database, but the files themselves are going to be stored on a remote box via NFS so that PHP can interact with the server as if it was a directory.
I identified an issue that may occur if somebody attempts to upl... | stackexchange/codereview |
I'm trying to do something that I thought was simple but doesn't appear to be so.
What I'm wanting is to be able to include a separate website in my PHP code. Basically, the reason for this is that I'm writing a "main" page that has links on it, and below my links are the "included" websites in the same page. Reason... | stackexchange/codereview |
I'm writing a Ruby code box with syntax highlighting (for Ruby) written in php for my website, I can get it to color instance variables, comments, symbols and global variables so far but I have encountered a problem when using the following regex to match double quoted strings, here is my code:
<?php
function codeb... | stackexchange/codereview |
Is it possible to define your own key path operators, such as @avg, @sum, etc…
| stackexchange/codereview |
I have an Asp.net application 3.5. I want to be able to allow multiple/ different clients to access the same application but using different URL's. I have already managed to configure the database to allow this.
So here's the main part.
I want to host my application in a domain say...
wwww.myapplication.com
then al... | stackexchange/codereview |
I've recently been playing around with XML formatting and XLST files, because it seems like the most direct solution to a UI problem I've been wrestling with involving users accessing the central data differently. In my experimentation I've created a really nice formatting sheet that looks great... in Internet Explore... | stackexchange/codereview |
I am trying to add an open source game to my application. I mean, I developed an application. When a user installs my application, there will be button in the app and when user taps the button, internal apk (open source game) will be started.
But, I dont know where I should put the game apk file to? I dont know how I ... | stackexchange/codereview |
I will have my string as follows
String S="AB-1233-444";
From this i would like to separate AB and would like to find out the ASCII for that 2 alphabets.
| stackexchange/codereview |
Is there a way of folding open functions in netbeans when editing javascript? I currently have this, but only in html.
Or is there a key combination to go to the end '}' when standing at the begin'{'?
I'm sorry for this difficult explanation but it's the best I can do.
thx
EDIT: seems like netbeans can't fold anonymou... | stackexchange/codereview |
i wanted to use animations to load a view from the bottom of the window, i know this can be done via presentmodalViewController but in as per the requirement of my app its not valid as i only want to load the view at half of the window. So i used Animations and heres a look at what i did
-(void) displayPicker
{
... | stackexchange/codereview |
is there any way to send a web-service call to salesforce n get a security token which is reseted in desktop side...
it is possible to do this before login..?
| stackexchange/codereview |
I am trying to link directly from my app to the review page of an app.
This works perfectly with some of my App ID's, like this one [375031865]:
NSString *reviewURL = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=375031865&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Pur... | stackexchange/codereview |
I need to open a new window on first click on link .
But not to open a new windows on clicks on same link after first click.
Is there any way to solve this problem through html or javascript.
Thanks
Jyoti
| stackexchange/codereview |
I want to transform processing instructions in a source xml to some tag in an output
Input
<?xml version="1.0" encoding="utf-8"?>
<root>
<?PI_start?> SOME TEXT <?PI_end?>
</root>
I want to have the output xml like that
<root>
<tag> SOME TEXT </tag>
</root>
Can I do it? If yes what xsl must I use for transform... | stackexchange/codereview |
I've examined various questions about taglibs and implicit objects here. While many of the answers present interesting ideas, I haven't been able to find one that answers this question directly.
So to illustrate my dilemma, say I have a Java class that implements the javax.servlet.jsp.tagext.Tag interface...
import ja... | stackexchange/codereview |
I have a DevExpress xtraGrid which I want to bind. When I try to bind, the compiler gives an error that the gridView datasource is readonly. I tried the below approach, my code is
NorthwindDataContext db = new NorthwindDataContext();
var r = from p in db.Orders
select p;
var r2 = from p in db.Order_Details... | stackexchange/codereview |
list($time, $content) = split("-", $item, 2);
list($hours, $mins) = split(":", $time, 2);
How can I determine if the 1st split() [line 1] works before proceeding to [line2]?
| stackexchange/codereview |
Hi all I'm trying to use dijit from the dojo library and trying to use the Calendar component. I followed the code as it is in the online documentation but it just doesn't seem to work. Below is the code that I'm using:
<html>
<head>
<link rel="stylesheet" type="text/css" href="dijit/themes/claro/claro.css"
/>... | stackexchange/codereview |
I have to put the log info in two separate log files based on some condition.how to do that.
here is my logging.properties file
log4j.rootLogger=debug, stdout, R
log4j.appender.stdout=org.apache.log4j.RollingFileAppender
log4j.appender.stdout.File=${catalina.home}/logs/std.log
log4j.appender.stdout.MaxFileSize=200KB
lo... | stackexchange/codereview |
I cannot figure out why, but when I use an OleDbDataAdapter or OleDbCommand to read a CSV file, in both cases the resulting data is structured well (it recognizes the columns from the file header), but the row data is all empty strings.
I've done CSV processing before many times with success, so the only difference I... | stackexchange/codereview |
Do you know any online tool-website that generates the valid oauth credentials after login on twitter?
I need:
oauth_consumer_key,
oauth_signature_method,
oauth_token,
oauth_timestamp,
oauth_nonce,
oauth_version,
oauth_signature"
thanks!
| stackexchange/codereview |
I have a button click event and inside I do a lot of work.
While I am doing this work (not from the UI project) I want to send messages to the UI to display to the user.
I am doing something like:
void Button_Click(object sender, EventArgs e)
{
DoMyWork(SendMessage);
{
public void SendMessage(s... | stackexchange/codereview |
I have a string
str="234,555,456,222,666,"
Please don't use regular expressions...
If I remove any value then the final result of string should seperated values with ','.
1) First/any where in the middle value in String then I have to remove "value and , "
Example 234 --> 234,
2) If its last value in the st... | stackexchange/codereview |
So I have my two tables
TABLE_A
KEYA | VALUE
1 | 1.2
2 | 2.3
3 | 8.3
TABLE_B
KEYB | VALUE
1 | 1.2
3 | 1.6
4 | 5.5
And I want to create a report of the sync status between these two tables. I.e. Generate for each record the following information:
Record X is in TABLE_A but not in TABLE_B
Recor... | stackexchange/codereview |
Very specifically, in JDI and JPDA context, I have the following questions:
Why ObjectReference does not expose its underlying object? Is it based on some specification? Are all implementations such as Eclipse Debug Project the same that do not expose the underlying object?
Considering the situation that you have th... | stackexchange/codereview |
<?php
$_SESSION['dsize'] = $_POST['dsize'];
if ($_SESSION['deadline']=="Urgent" )
{
?>
<script type = "text/javascript">
window.open('https://usd.swreg.org/cgi-bin/s.cgi?s=104597&p=104597-1&v=0&d=0&q=<?php echo $_SESSION['dsize']?>');
</script>
<?php
}
else
{
?>
<script type = "text/javascript">
window.open('https... | stackexchange/codereview |
I am looking for ways to send works for multiple computers on my University computer grid.
Currently it is running Condor and also offers Hadoop.
My question is thus, should I try and interface with R to Hadoop or to the Conder for my projects?
For the discussion, let's assume we are talking about Embarrassingly parall... | stackexchange/codereview |
I am exporting a HTML table to excel by sending the data as a HTML Table string and setting the content headers:
Dim html as String = "<table><tr><td>example<td></tr></table>"
context.Response.Clear()
context.Response.AddHeader("Content-Disposition", "attachment; filename=" & "exceldata-" & Now.ToString("yyyyMMddHHmms... | stackexchange/codereview |
Odd problem here.
Working with an existing system that uses TinyMCE as it's text editor.
I've created a page which contains a whole lot of movable divs using jquery sortables. Now TinyMCE doesn't seem to like being moved in the dom so after doing a bit of research it appears I have to remove the tinymce instance fr... | stackexchange/codereview |
I have a query that I run everyday that requires a StartDate and EndDate value. The StartDate and EndDate used to be a manual input but I am trying to get away from that and calculate the StartDate and EndDate to be used in the query. I've developed code to capture the StartDate and EndDate in variables:
DECLARE
... | stackexchange/codereview |
We use Clearcase at my work and I have several snapshot views setup (on Windows XP). The views themselves seem to work great, however whenever I try to compare any versions of any elements from my snapshot view, I have problems with my diff tool (currently Beyond Compare). Specifically, if I'm comparing with previous... | stackexchange/codereview |
I am examining async web pages async="True". In Page_Load, I am registering 3 tasks using RegisterAsyncTask. Each of these tasks is calling a SQL Server stored procedure. The stored procedure is doing a simple select and waiting for a couple of seconds using WAITFOR DELAY '00:00:02'
My problem is that the pages takes 6... | stackexchange/codereview |
Currently we are using a generic repository for all our entities that exposes an IQueryable (using NH3 linq support) that is then used by our service layer to construct specific queries.
I now need to eagerly load an association. Is there any way I can expose an IQueryable and pass in optional fetch expressions? The pr... | stackexchange/codereview |
I want to implement some kind of sorting against my records, according to many factors
like name, age...so what I've accomplished so far is creating a User Control to display the factors (Name | City ) from the database
so when I click on "Name" it populates a repeater with all the alphabet plus "Other Characters" to d... | stackexchange/codereview |
For some reason I can't figure this out. But basically I want to compare to models and see if they have any matching emails. Here's my attempt, but this doesn't for some reason work at all.
>> CardReferral.all.select{|cf|cf.email == CardSignup.all.collect{|cs|cs.email}}
Where I can somehow return the object..
| stackexchange/codereview |
I have a UL with
border: 1px solid grey;
it contains several LIs with
border-bottom: 1px dotted grey;
to keep the items apart visually. But now the last LI has the dotted border and the UL solid border! This looks annoying. How can I avoid that? Is there a way to put borders between LIs instead of after them?
| stackexchange/codereview |
I have a large series of raster datasets representing monthly rainfall over several decades. I've written a script in Python that loops over each raster and does the following:
Converts the raster to a numpy masked array,
Performs lots of array algebra to calculate a new water level,
Writes the result to an output ras... | stackexchange/codereview |
Can anybody tell me how to do the following in in a Windows batch script? (*.bat):
Create a folder only if it doesn't already exist
In more detail, I want to create a folder named VTS on the C:\ drive, but only if that folder doesn't already exist. I don't want to overwrite the contents of the folder if it already ... | stackexchange/codereview |
In the [code] section of my ISS script I want to detect the local machine's IP addresses. What is the most elegant way to accomplish this? Is there a Win32 DLL I can import via "external"?
| stackexchange/codereview |
Are there any tools that'd indicate that your code can produce different results in different ruby versions?
I'm envisaging something like
a = 1
b = 2
string = [1, 2, 3, 4].to_s
ToolName: Array#to_s has different behaviour in Ruby 1.8 and 1.9
Or failing that, inspect each variable at each line and indicate the first p... | stackexchange/codereview |
This code enables to create a new .txt file, if the file doesn't exist yet, it will create the file.
<?php
$file = 'people.txt';
// Open the file to get existing content
$current = file_get_contents($file);
// Append a new person to the file
$current .= "John Smith\n";
// Write the contents back to the file
file_put_co... | stackexchange/codereview |
I was wondering if there is any way to tune (on a linux system), the MTU for a given socket. (To make IP layer fragmenting into chunks smaller that the actual device MTU).
When I say for a given socket, I don't mean programatically in the code of the application owning the socket but rather externally, for example via ... | stackexchange/codereview |
Following both the example from the GWT Showcase and the example found at GWT, I implemented a CellTable. The CellTable displays the first 15 results but subsequent pages only displays the loading bar. Attempting to return to the first 15 results shows only the loading bar as well. No errors in the JavaScript consol... | stackexchange/codereview |
I installed APC 3.1.5 beta because 3.0.19 gives me some weird error.
3.1.5 is installed fine, it appears on phpinfo and functions work without errors. The only problem is that data is not saved persistantly.
I can do apc_store and apc_fetch inside the same script and on the same instance it will return the stored data... | stackexchange/codereview |
What is the best way to transfer images between netbeans platform modules? I thought about BufferedImage, or InputStream or as byte[]??
Now is the page on the disk and I use the File object to get the image, but i feel that this is not the right way.
In the future, there is a possibility that the image will be transfer... | stackexchange/codereview |
Hello
What use is the final modifier on a method/constructor parameter?
Ex:
class someClass {
private final double some; // I understand the use of final in this context, immutability etc..
public someClass(final double some) {
// I don't understand what purpose is served by making "some" final
... | stackexchange/codereview |
I need to draw a line in UITableviewcell.
There is any possible way to do this one?
If anybody having any idea about to draw a line in UITableview cell please reply me.
Thanks.
| stackexchange/codereview |
The goal here is have my complete database configuration and schema generation handled by fluent nhibernate.
Is there a way to to specify a multi-column index with Fluent nhibernate?
I understand that you can specify an index on a single property/column
like so :
mapping.Map(x => x.ItemDt).Index("IX_DataTransferLog_It... | stackexchange/codereview |
Example from Wikipedia css:
#content a[href^="https://"], .link-https {
background:url("images/external-link-ltr-icon.png?2") no-repeat scroll right center transparent;
padding:0 13px 0 0;
}
| stackexchange/codereview |
I'm trying to deserialize JSON text using the Lift framework, and it doesn't appear that they support Seq trait (although List is supported). As an example...
Some JSON data representing employees (with first and last name)...
{"employees":[{"fname":"Bob","lname":"Hope"},{"fname":"Bob","lname":"Smith"}]}
Here's the e... | stackexchange/codereview |
Ok everyone knows that to hide a keyboard you need to implement:
InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);
But the big deal here is how to hide the keyboard when the user touches or selects any other place t... | stackexchange/codereview |
I am trying to manage subviews in my application. I searched web and recently meet NSPredicate class. I checked examples but I stuck at somewhere here. if someone can help or correct me I ll be glad.
I got an array of subviews in UIView class. I can get this array with this command as all you know : "self.subviews". I... | stackexchange/codereview |
So that all browser request(no matter firefox or IE) will be sending out via the proxy automatically without any configuration.
Is it kind of thing possible?
| stackexchange/codereview |
If I have a class with non-primitive public members and I want to populate them from a CSV file with OpenCSV, how can I do this? I notice that OpenCSV has some protected members relating to PropertyDescriptors
So let's say I have a Person class that has an Address member, and my CSV file contains the detailsd for each ... | stackexchange/codereview |
I have these models (I have limited the number of fields to just those needed)
class unit(models.Model):
name = models.CharField(max_length=200)
class project(models.Model):
name = models.CharField(max_length=200)
class location(address):
project = models.ForeignKey(project)
class project_unit(models.Mod... | stackexchange/codereview |
I`m new in Java and have a problem with showing data from a list of objects. I have a simple method, which should collect data across multiple tables and return it to my controller:
public List<Object> getHouseInfo(){
Query q = em.createNativeQuery("SELECT houses.id, addresses.country, addresses.region, house_details.... | stackexchange/codereview |
I have a class where some properties are going back to the database, ONLY when they are called. So, let consider the following example:
class User
{
public int UserID { get; internal set; }
public string UserName { get; set; }
public Role[] Roles
{
get
{
if (this.UserID > 0)
... | stackexchange/codereview |
I'm wondering what solutions/options I might have for managing user authentication and authorization with AD? I'm in a situation where we want to use AD accounts/groups/etc to manage our users, both internal and external. I found this article (http://blog.waleedmohamed.net/2009/12/create-active-directory-service-using... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.