instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am trying to call javascript from the page code behind on a button click using the following code.
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<script language=\"javascript\">");
sb.Append("alert(\"Some Message\")");
sb.Append("</script>")... | stackexchange/codereview |
Is it possible to increase the font size in Interface Builder? The ridiculously small side of those fonts, specially on the Inspector, are giving me headaches.
| stackexchange/codereview |
Short Version:
I'm using a 64bit dll (system.data.sqlite) in an Asp.net MVC app in VS 2010. The application runs and debugs fine, but all the aspx and ascx pages show errors when editing in Visual Studio 2010 and intellisense doesn't work.
This is a VS2010 regression bug. Does anyone have a work around?
(OR)
Does any... | stackexchange/codereview |
Is there documentation for what JSDoc subset, superset, or mix of the two IntelliJ supports? My motivation for using JSDoc is two-fold:
For developers: so IntelliJ can provide better code-completion, code checking, error checking, etc.
For runtime efficiency: using the Closure compiler.
For #1 above, it is important ... | stackexchange/codereview |
This last program we did, stupid simple, was to just use a jpane and graphics to draw 3 non primative shapes but I need a way so that a message (JOptionPane) shows up AFTER the JPane is closed> if you have it after in the code, they both go at the same time
| stackexchange/codereview |
i have a Search Result like this in an array
Array
(
[0] => Array
(
[StatusMessage] => Array
(
[id] => 1
[pid] => 0
[message] => First Status Message
[item_id] => 1
[commenters_ite... | stackexchange/codereview |
Possible Duplicate:
Is it possible to include a file in your .gitconfig
With bash and zsh I can source subfiles in order to better organize my config.
Can I do something similar with .gitconfig?
| stackexchange/codereview |
I'm developing a football manager website, but I can't figure out how to use properly the background-thread plugin and Quartz plugin (there is no much docs).
My problem is..
I have a Controller of a Match class, with a function that I need to start at some time.
With quartz I have tried to create a job but then I canno... | stackexchange/codereview |
If I have a string Abc: Lorem ipsum sit amet, how can I use JavaScript/jQuery to remove the string before the : including the :. For example the above string will become: Lorem ipsum sit amet.
| stackexchange/codereview |
I want a floating div to the right side of the content, I have one script in my hand but shows the div in left side, how to chnage the div position to right by editing the following script.
here is the script..
//avoid conflict with other script
$j=jQuery.noConflict();
$j(document).ready(function($) {
//this is the f... | stackexchange/codereview |
I'd like to select to the bottom of the worksheet, but not below what is used/stored. I might have 10,000 rows, but I certainly don't have 65,536. I won't know ahead of time how many rows.
In Excel itself (in recent versions, anyway; Excel 97 wasn't so kind) you can press Ctrl + End to be taken to the last row and co... | stackexchange/codereview |
I would like to find log/ln equation and express in javascript to graph google maps zoom against km distance. Unfortunately my javascript skills are better than my math skills.
Values are approximate.
km zoom
5 13
10 11
20 10
40 9
80 8
160 7
180 6
something like:
zoom = Math.round((13/Math... | stackexchange/codereview |
im using wxpython 2.8 ansi with python 2.6 ,and richtext class seems to not exist as an error message prompts that wx module does not contain richtext attribute, i've searched the web but couldn't find a clear answer,therefore i come to you:)
any thoughts?
thanks in advance
Nataly
| stackexchange/codereview |
Is there a way to get NSMutableArray to allow you to have "holes" within the array where only portions of the array are filled in instead of having contiguous items?
I want to create the initial array with some some elements filled in at the start of the array. Some time later, I would like to insert 9 new items, not i... | stackexchange/codereview |
How can I generate an array in Perl with 100 random values, without using a loop?
I have to avoid all kind of loops, like "for", foreach", while. This is my exercise, from my lab. I can't find a way to do solve this, because I am new in Perl.
In C, generating this array would by very easy, but I don't know how to do it... | stackexchange/codereview |
CODE
<div class="navheader">
<ul class="navuseraccess">
<li><a runat="server" id="mnuAccount" href="AccountSettings.aspx">My Account</a></li>
</ul>
</div>
CSS
div.navheader {
overflow: hidden;
position: absolute;
right: 0;
bottom: 0;
width: 775px;
height: 43px;
margin: 0;
... | stackexchange/codereview |
I'd like the form to only show the accounts of the current user in the ChoiceField. I tried doing the following but it doesn't work.
Edit: Sorry, I've forgot to mention the "if kwargs" I added because of the TransForm() not showing any fields. I guess this is wrong but I don't know another way.
views.py:
def in(request... | stackexchange/codereview |
I have a re-usable UITableViewController sub-class, call it "tableVC". Selecting a table row pushes that detail view controller onto the nav stack. The tableVC instance only has a valid navController when it has been pushed itself. So far so good.
I need to embed the tableVC's view inside another view whose viewContr... | stackexchange/codereview |
How can I add a "drawable left" icon to a button object?
I mean something like this:
Button button = new Button();
button.setDrawableLeft(R.drawable...);
| stackexchange/codereview |
I have a requirement that one of multiple fields is required. Using custom validator the even fires, false is returned, but no error message is display and the form validates.
What am I missing? I have tried with and without ValidationSummary.
Thanks!
<asp:CustomValidator ID="CustomValidator1" OnServerValidate="val... | stackexchange/codereview |
We can implement drilldown report using grouping feature of SSRS 2008, where we just give SSRS filtered data and group expression and rest is done by SSRS, great. Our problem is that we have very large data even after giving filter, so it takes lot of time for SSRS to get data and group it. What can be ideal situation ... | stackexchange/codereview |
I have a CSS div which contains text (basically, it's a headline). I have another CSS div that I want to have smaller sized text and to sit right to the right of the first, larger-texted div. I'm not sure how to do this...how do I tell the second div to place itself against the right of the first when each instance of ... | stackexchange/codereview |
I know that it is not possible to restart a used Java Thread object, but I don't find an explanation why this is not allowed; even if it is guaranteed that the thread has finished (see example code below).
I don't see why start() (or at least a restart()) method should not be able to somehow reset the internal states -... | stackexchange/codereview |
I need a bit of help with quotes in javascript function
function jsNewWindow(value){
//window.open ("http://www.javascript-coder.com","mywindow");
window.open("rpt_Distance.php?POST_IN1="+value+","mywindow","width=800,height=600") ;
}
thanks!
| stackexchange/codereview |
I need an XML file to change after installation, based on some parameters.
For example:
<?xml ...?>
<root xmlns="...">
<!-- remove this element when PARAM_MODE=1 -->
<sometag />
<!-- remove this element when PARAM_MODE=2 -->
<sometag2 />
<someothertag />
</root>
The easiest way it to use XSLT to remove t... | stackexchange/codereview |
I would like to know what is the best and fastest way to exchange data between services. I have been trying to bind one service to another using ServiceConnection but the actual connection never happened. Also I did not saw anything strange in LogCat.
Thanks in advance for all your replies.
| stackexchange/codereview |
I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error. How come?
Java:
private void playMidi() {
if(isPlaying.equals("0")) {
try {
song = MidiSystem.getSequence(new File(filenam... | stackexchange/codereview |
In my app, I data bind two text boxes to project settings.
<Page.Resources><p:Settings x:Key="Settings" /><Page.Resources/>
<TextBox Grid.Row="3" Name="textBox1" Text ="{Binding Source={StaticResource Settings}, Path=Default.Number_Of_Versions, Mode=TwoWay}" Grid.Column="1" Height="30" />
In the textbox I see the n... | stackexchange/codereview |
I have a country model and a places model - a country has_many places, and a place belongs_to a country. A place model also has_many posts (which belong_to a place). I would like to aggregate all the posts from places that belong to a certain country into a feed - rather like a friend activity feed on a social networki... | stackexchange/codereview |
When a POST request is processed, params[:id] returns the value of "id" stored in the form that was posted.
However I want to get the value stored in the url (query string).
def some_action
id = params[:id] # Gets id from here: /some_action?id=[VALUE] only when request.post? is false
if request.post?
# Do some st... | stackexchange/codereview |
in my application i prompt for password in onResume(), and Before this i have already created view in onCreate()
so it is compulsory for user to enter password But if user press the Back key password dialog get disappered and user easily use the application
when dialog is Being shown,if get key event for Back key then... | stackexchange/codereview |
I am little confused about how to create Master Detail view with two different user controls.
There are three choices,
Choice 1
CustomerMasterView + CustomerMasterViewModel
CustomerDetailView + CustomerDetailViewModel
And keep both View Models in App.Resources
But by doing this, binding becomes complex with all static... | stackexchange/codereview |
Can anybody tell me the jsr14 target option of javac will be still available with JDK7/8?
Say,
$ javac -source 1.5 -target jsr14 Hello.java
| stackexchange/codereview |
I have a situation in which I need to dump XML into an ADODB Recordset in VBScript. My XML is in the form below. What I would like to do in my code is convert the XML into a recordset with AddressObject rows. The code below I tried but keep running into one DomDocument error after another. Can anyone please help me wit... | stackexchange/codereview |
So in MVC3 beta, I'm looking for a controllable way to use a different set of display templates than those I've put in the DisplayTemplates folder.
Probably easiest to just say exactly what I'm trying to do, using stackoverflow as an example:
On the details page, you can imagine that you would have:
Html.DisplayForMod... | stackexchange/codereview |
I cannot open an existing website in MonoDevelop. I have tried various options with no success. Is there any way to do this?
Visual Studio has this and it works very well, but I'd like to try out MonoDevelop for my current project.
| stackexchange/codereview |
I want to create a recipient field on a form using a jQuery autocomplete field for the lookup. I want this to be allowing multiple values. I am already clued up on how to do this.
The catch is, when adding a recipient and using auto complete to perform the lookup, the recipient name should have a blue background with ... | stackexchange/codereview |
I'm trying to figure out if its possible to update an IValueConverter through the code behind.
My situation is that I've got two ComboBoxes. Once the first one is updated, I change the ItemsSource property of the second to be one of a variety of enums. I've grabbed an EnumToFriendlyNameConverter from CodeProject, but I... | stackexchange/codereview |
So, now that my previous problem was fixed, I was trying to organize the files a little bit. I found out a 'Note' type field (A multi-line textbox) was supposed to be a Multi-Pick User field. So, I decided to change that.
I seemed to change everything, but it just doesn't want to change the type. Which is much a good t... | stackexchange/codereview |
I have an HTML document with the following code
<html>
<head></head>
<body>
<div id="wrapper">
<div class="label">First Name : </div>
<div class="value">John Doe</div>
</div>
</body>
</html>
Using javascript I want to access the contents of div#wrapper as a string like
var s = '<div class="label">First Name : </di... | stackexchange/codereview |
Have you seen stretchable scrolls in HTC sense? When you scroll up to last and still try to scroll it, it scratches and goes back to original state.
How to achieve this effect?
| stackexchange/codereview |
We have a web app with the following folders/files:
somefolder\
view1.jsp
view2.jsp
We also have a servlet that is configured as follows:
<servlet>
<servlet-name>Servlet1</servlet-name>
<servlet-class>com.etc.Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Servlet1</servlet-name>
... | stackexchange/codereview |
Maybe I am searching the wrong thing or trying to implement this the wrong way. I am dynamically generating an image using a Generic Handler. I can currently access my handler using:
ImageHandler.ashx?width=x&height=y
I would much rather access my handler using something like
images/width/height/imagehandler
Is this ... | stackexchange/codereview |
We are using Nhibernate to connect to DB2 database. From my C# application.
We are able to connect using Odbc and OleDB driver but we need to connect using IBM DB2 driver (IBM.Data.DB2.dll).
We are not able to connect using it. We are getting below error seems NHibernate is not able to create NHibernate.Driver.DB2Dri... | stackexchange/codereview |
Assuming I have declared
public event EventArgs<SyslogMessageEventArgs> MessageReceived;
public int SubscribedClients
{
get [...]
}
I would like to count how many "subscribed clients" my class has. I need to sum those that subscribed over network though my APIs (not shown in the fragment) plus those that did chan... | stackexchange/codereview |
I am trying to read some XML received from an external interface over a socket.
The problem is that the encoding is specified wrong in the XML-header (it says iso-8859-1, but it is utf-16BE). It is documented that the encoding is utf-16BE, but apparently they forgot to set the correct encoding.
To ignore the encoding w... | stackexchange/codereview |
Out of interest, is it safe to assume that if Int32.TryParse(String, Int32) fails, then the int argument will remain unchanged? For example, if I want my integer to have a default value, which would be wiser?
int type;
if (!int.TryParse(someString, out type))
type = 0;
OR
int type = 0;
int.TryParse(someString, out... | stackexchange/codereview |
I'm working on a Rails app using CanCan for RBAC and I only have 3 roles and maybe I'll add 1 or 2 more somewhere down the track.
In the past I've always had roles as their own entity, joined to users via a m2m link-table. With so few, and static, roles, that seems like overkill. So I'm thinking of simply adding bool... | stackexchange/codereview |
I use this code to update the user database with the latest time when the user was online:
$postTime = $user_array['last_online'];
if ($postTime == ""){
$minutes = 11;
} else {
$now = time();
$seconds = $now - $postTime; // $seconds now contains seconds since post time
$minutes = ceil($seconds / 60); ... | stackexchange/codereview |
I have a class structure like so:
Person
Dogs (dog 1, dog 2, etc)
Puppies (puppy A, puppy B, etc)
There is one person. He has 1..n dogs. Each dog has 1..n puppies.
I want a list of all the possible combination of puppies, taking 1 puppy from each dog. Eg:
dog 1 puppy A, dog 2 puppy A
dog 1 puppy A, dog 2 puppy B
dog 1... | stackexchange/codereview |
Both are terms whose type is the intersection of all types (uninhabited). Both can be passed around in code without failing until one attempts to evaluate them. The only difference I can see is that in Java, there is a loophole which allows null to be evaluated for exactly one operation, which is reference equality com... | stackexchange/codereview |
I followed this article, explaining how to spice up an Internet Explorer COM-Object with jQuery. While the author used Python, I want to do something similar in Powershell.
Right now I have this code:
function addJQuery ($browser) {
$url="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"
$docum... | stackexchange/codereview |
https://graph.facebook.com/search?q=India&type=post
i am using the above api of Facebook and i am getting following Output
{
"data": [
{
"id": "501585456_163489377008878",
"from": {
"name": "Ian Robinson",
"id": "501585456"
},
"message": "\"Media sub... | stackexchange/codereview |
Hy people!
I have an IIS server on my computer, and there is a silverlight card game what I develop actually, and i want it as a mulitplayer game tu run on my server.
I search a lot of about it,but i can't decide which technology or what i should to use.
Which technology allow me to communicate my server with the users... | stackexchange/codereview |
I'm looking for the simplest possible solution to get mysql database records as XML output using PHP. That means no third party APIs. Just pure php code and as little of it as possible.
I posted a similar article for c# in my blog and im looking for an equivalent that will work on any hosting company.
Here is the link... | stackexchange/codereview |
In my prism module, I have the following code snippet:
using (var manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("MyAssembly.CaseHost.ViewModelDataTemplates.xaml"))
{
ParserContext context = new ParserContext();
context.XmlnsDictionary.Add("loc... | stackexchange/codereview |
I have a line l_1 given with a point series p_1,...,p_n. I now want a new line l_2 having k points: q_1,...,q_k. But for all i \in {1,...,k-1}: abs( q_i - q_i+1 ) = const, meaning the segments of l_2 are equidistant or uniform.
k >= 2
and p_1 and p_n should be in l_2.
abs( p_i - p_i+1 ) not const
One solution is to a... | stackexchange/codereview |
I have a few odd issues with a svn repository I'm trying to convert to hg. Our repository looks more or less like this.
proj_root ___ trunk
\ \___ tags
\_____ branches __A
\ \__B
\_____Q __ C
\___ D
Ideally I could specify --config con... | stackexchange/codereview |
Which is the better way(efficiency/best practice wise) to test if a double variable is equal to 0?
1. if(a_double)
.....
else
.....
OR
2. if(a_double == 0)
.....
else
.....
| stackexchange/codereview |
i have a report with parameters that have been assigned default values, it works fine while previewing the report but as soon as I publish it to the server the default values dont show up. Can some one help me figure out the best practice in publishing that maintains default value
Thanks
Abey
| stackexchange/codereview |
I understand that 'this' reference should not be escaped in Constructor due to thread safety concern, where the object is not yet completely constructed but 'leaked' out to other objects. For instance
public class TestClass{
public TestClass(){
StaticClass.addListener(this);
}
}
If I invoke t... | stackexchange/codereview |
I have a panel hide/show setup that is triggered from a list item anchor. Works great. The problem is, I also have a dropdown menu in the site navigation that also needs to trigger each panel, from any page on the site. Like say, I have panels (in this order), "Hardware", "Software", "Accessories" on the Products page.... | stackexchange/codereview |
<div style="background-color:red">
<div style="display:inline-block;background-color:green;height:20px;width:20px;"></div>
</div>
<div style="background-color:yellow">
<div style="display:inline-block;background-color:green;height:20px;width:20px;">hi</div>
</div>
When rendered in FF or Chrome the height ... | stackexchange/codereview |
Hey guys, I run a large website where the URL structure for the content pages is: site.com/T8siBD
Now the file that is currently catching all the possible ID pages is index.php.
I run nginx, and I have my 404 error page setup as index.php.
So anything will forward to index.php (if its not there)
And with
$ex ... | stackexchange/codereview |
In our codebase we have a chunk of code that makes some decisions based on the current user's memberships. Vastly simplified it looks like this:
foreach (var group in WindowsIdentity.GetCurrent().Groups)
{
try
{
string groupName = group.Translate(typeof(NTAccount)).Value;
if (groupName.StartsWit... | stackexchange/codereview |
I was asked to do a project in PHP and to make sure it was object oriented. I've done OO and I've done PHP, but never both.
The main benefit of OO PHP (outside of inheritance/polymorphism) seems to be code organization. That's fine; I'm doing that. But where I get stuck is if I should actually be creating instances for... | stackexchange/codereview |
What is the best practice to upload .Net project onto the server without disrupting users?
In Visual Studio, there is a Publish button which allows you to upload via FTP. I noticed when you publish, there is a down time (when the critical files like DLL are being overwritten). If something does not work, how do I roll... | stackexchange/codereview |
I'm using the command line to encrypt files that I am sending out but I am trying to figure out how to use the same method to decrypt them. If I run the command it get prompted for the passphrase, but I don't see a way to pass in the passphrase using the command line. Here is how I am encrypting the file:
var proc = ... | stackexchange/codereview |
I have the following jquery method:
(function($){
$(document).ready(function() {
$("select[name='publication_type[category]'] ").change(function (){
alert("It works");
});
});
})(jQuery);
It operates on the following ruby code:
select("publication_type", "category", @filters.selections.c... | stackexchange/codereview |
I'm creating my own blog in PHP and want to know your opinions on how I should format my post content.
Currently I store the post content as just plain text, call it when necessary, then wrap each line with P tags. I did this in case I wanted to change the way I formatted my text in the future and it would save me the ... | stackexchange/codereview |
I'm trying to do a horizontal list using the style type below but when using display: inline the square wont show. Any suggestions?
.vertical li {display: inline; list-style-type: square; padding-right: 5px;}
| stackexchange/codereview |
Let's say I have the following code and output:
for (j = 0; j <= i; j++)
printf("substring %d is %s\n", j, sub_str[j]);
Output:
substring 0 is max_n=20
substring 1 is max_m=20
Now I only want to print some substrings. However, if I try to do this conditionally:
for (j=0; j <=i; j++) {
if (sub_str[j] == "max_n... | stackexchange/codereview |
I'm using the Argotic syndacation framework to write an RSS feed, and I've found a strange behaviour, that may be a bug.
I want to add, trough the YahooMediaSyndicationExtension, a <media:thumbnail /> tag to link a 200 pixel miniature of a certain item, and to build the miniature I used an image handler that requires t... | stackexchange/codereview |
can anyone suggest why this does not compile? I guess I'm missing something major here. The compiler is g++ 4.2.1 (on OS X) and error is "expected `;' before ‘it’" on the line where the iterator is declared.
#include <vector>
template <class T>
class A {
public:
struct SomeStruct {
T* ptr;
int i;
... | stackexchange/codereview |
I have this GridView that have it's DataSource as a list of previously selected products.
For every item on it, I need to Eval it's ID and load a specifc form that the user must fill, then after that i've got to update the GridView.
I have made those specific forms as User Controls, is this the best approach for this s... | stackexchange/codereview |
I would like to check used bandwidth when playing a video with MPMoviePlayerController to be able to play a video which matched client bandwidth.
For now, I download a part of my file by using NSURLConnection and I can find bandwidth. But I think it's not a good idea to download more data than expected (and the goal is... | stackexchange/codereview |
I am to construct a DFA from the intersection of two simpler DFAs. The first simpler DFA recognizes languages of all strings that have at least three 0s, and the second simpler language DFA recognizes languages of strings of at most two 1s. The alphabet is (0,1). I'm not sure how to construct a larger DFA combining ... | stackexchange/codereview |
I'm writing a WebService in .NET and use a custom type with no public properties. It looks like this:
It is similar to the built-in type Guid but with special validation rules for MAC addresses. The SOAP description looks like this:
<StringProperty>string</StringProperty>
<GuidProperty>guid</GuidProperty>
<MacAddressP... | stackexchange/codereview |
Do webkit based transformations/animations affect JS performance on the IPad? Is there a separate graphics processor to handle the webkit stuff?
Basically I am developing a program with some simple webkit animations, but a bunch of them, and I think I have to pull out the animations because its making the Ipad slow. ... | stackexchange/codereview |
If I understand correctly, the purpose of groovy and grails are to execute without (visible) compilation. However, I have inherited some old grails code that I can't build any more.
I can see the advantages of having a build.xml file for special purposes, but, considering that the programming nature of Grails is to ru... | stackexchange/codereview |
I have question like in the title: how to setup ankhsvn to autorefresh status when someone commit something ? I want to see which file isn't latest version.
| stackexchange/codereview |
Firefox , safari and chrome works fine but not IE ...
Here is my HTML
<div id="sc-footer">Total<span id="sc-total">$0</span></div>
css
#sc-footer{
font-size: 1.6em;
line-height:1.5em;
position:absolute;
bottom: 20px;
padding:9px 5px;
height:20px;
background: #dadada;
color: #545454;
}
#sc-total{
display:in... | stackexchange/codereview |
Here's the story:
Write a program in C that creates a child process and a granchild process (child of a child process!).
The father process should read the contents of a file which name will take as an argument when you run the program.
The father should send the text read to the child, which takes to convert those cha... | stackexchange/codereview |
I have an MVC app using Entity Framework and a SQL Server 2008 database. I used the EF wizard to generate my data model.
I have a SQL Server table with a standard DateTime column. The EF model is using System.DateTime.
But when I try to insert a new record into this table from my application, without specifying a value... | stackexchange/codereview |
How to find char in a char array by using find function? If I just for loop the vowel then I could have gotten the answer but I'm asked to use std::find.. Thanks.
bool IsVowel (char c) {
char vowel[] = {'a', 'e', 'i', 'o', 'u'};
bool rtn = std::find(vowel, vowel + 5, c);
std::cout << " Trac... | stackexchange/codereview |
How can i know is there any options in a combobox/selectbox or not?
small Edit:
i have my comboxbox as
myCombo = $("#country");
now i want to know how many options are there in myCombo
| stackexchange/codereview |
I want to run a shell script when a specific file or directory changes.
How can I easily do that?
| stackexchange/codereview |
I'm trying to compile the following program using Qt Creator 2.0.1:
void f()
{
string a = "abc";
transform(a.begin(), a.end(), a.begin(), ptr_fun(tolower));
}
mingw throws the following error:
no matching function for call to ptr_fun( < unresolved overloaded function type > )
That function compiles fine with V... | stackexchange/codereview |
I have made commits to my local branch (let's just say master) and have 'git pull'd down changes that others have made. When I run a 'git status', I see something like:
# Your branch is ahead of 'origin/master' by 4 commits.
How can I see a list of the four commits that I have made that have yet to be pushed to origin... | stackexchange/codereview |
I am no language expert but I'm recently into languages and trying to get an overview of major concepts and "their" languages. This is similar to another question about books. So first, what are the major programming language concepts, e.g.
structured
procedural
object orientated
object orientated - prototype based ... | stackexchange/codereview |
I'm trying to build an ajax script loader, but I'm running into the issue where I'm sending pieces of my combined file over twice (ie. jquery, bunched up with other scripts, is getting sent over twice because it's required by some (ajax) requested script sent over the wire.
My first thought was that I would just appen... | stackexchange/codereview |
I have used the pop mailer for ruby (net/pop)
The problem I am having is that some of the emails are in HTML format is there a way to specify that I want plain text ?
Thanks, Alex
| stackexchange/codereview |
Is it possible to add a border to a textblock. I need it to be added in the setter property below code:
<Style x:Key="notCalled" TargetType="{x:Type TextBlock}">
<Setter Property="Margin" Value="2,2,2,2" />
<Setter Property="Background" Value="Transparent" />
</Style>
| stackexchange/codereview |
I have a site where in the top header area I have a dropdown which only works when the user hovers the mouse over it (http://liquor.com). But in mobile versions I've been informed this behaviour won't work.
So I'll put a conditional statement in the code and display another dropdown menu, but I'm curious what code shou... | stackexchange/codereview |
If I use the following code:
for (int i = 0; i < text.Length; i++)
{
char c = text[i];
Keys k = (Keys)(byte)c;
MessageBox.Show(c.ToString() + "|" + k.ToString());
}
I can get a correct conversion for uppercase letters only. The problem is, I need to be able to replicate lower case chara... | stackexchange/codereview |
I am having problem releasing NSMutableURLRequest object.
Application crashes during the deallocation of request object.
The object is created via [[NSMutableURLRequest alloc] initWithURL:my_http_url];
As mainstream flow of control, I try to release the connection object in response to connectionDidFinishLoading handle... | stackexchange/codereview |
Using Rebol/View 2.7.7, I'm trying to create a card game based on Nick's Rebol tutorial at: http://re-bol.com/rebol.html#section-10.18. What I want to do though is read the cards from the binary file Nick created, discard some of the data, and use it to layout a tableau of cards, 4 rows of 3 columns, with the 2 center ... | stackexchange/codereview |
I have a excel sheet contains three columns Name, Email ID and Contact No. I would like to read data from a excel data and check through my code that the Email ID column contains @ sign, Contact No should be of maximum 10 digits, I would like to do these types of validation.
Please suggest.
| stackexchange/codereview |
I need to customize the look and feel of jslider in swing in java.
I have an image of knob of jslider. I need to put this image of knob over jslider's knob which we used to select a value from the given range.
I dont want to use the default knob image of jslider. Instead i want to place my own knob's image over it.
P... | stackexchange/codereview |
I have written a standard DLL in Visual Studio 6 C++. I have also written a typelib to go with it so that it can be used directly in VB6 rather than via Declare.
It works fine in VB6 under Windows XP.
What doesn't work is when I take the DLL and the TLB into Vista and Windows7. There the .TLB registers fine with REGT... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.