instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I know this is possible, but can I do without a remote SMTP server or the like? Basically I want to send mail with PHP, but without mail()
| stackexchange/codereview |
I created an index in my migrations:
add_index "enrollments", ["student_id", "lecture_id"], :name => "index_enrollments_on_student_id_and_lecture_id", :unique => true
How is it possible to validate this pair of keys in Rails? I tried:
validates_uniqueness_of :enrollment_id, :scope => [:student_id, :lecture_id]
But it ... | stackexchange/codereview |
Working with new pieces of code, I asked myself a question : Are multiple typedef's over the same basetype impacting performances ?
Example (I know it's silly but that's what I actually saw, four levels of typedef...) :
typedef float T_FLOAT
typedef T_FLOAT T_TIME
typedef T_TIME T_CURRENTTIME
tyoedef T_CURRENTTIME CLOC... | stackexchange/codereview |
When I run my website through debug mode in visual studio everything looks great and all the images on the page show up fine. But once I deploy my website to an IIS7 web server (doubt that other versions would make any difference, but you never know) then users can't see the images on the site until they log in.
The w... | stackexchange/codereview |
Suppose you want to take advantage of move semantics, but one of your movable classes needs to be part of an std::pair. The purpose would be to create a function that returns an std::pair that can be treated as an rvalue, and forwarded along.
But I can't see how this can be done, unless an internal change to std::pai... | stackexchange/codereview |
Is there any plugin to create daily tips in the wordpress and then show them on the site
thanks
| stackexchange/codereview |
I need this update query to run on both SQL Server and Oracle. Our Oracle version is 10.2 if that matters. When I run the query in Oracle I get "ERROR ORA-00933: SQL command not properly ended". What do I need to do to get this to run in Oracle?
UPDATE dbo.tableUpdate
SET fieldA = tt.fieldB
FROM dbo.tableTranslate tt
W... | stackexchange/codereview |
HI Frdz, i have around 40 tables in database and i have created a document with all of these table names, fields, datatype, length of datatype, NUll or NOT NULL. but when i was working on tables in database i had to change the table field names, datatype and length of datatype as well. now as i am done with all my codi... | stackexchange/codereview |
I've written a simple COM DLL inproc server with a single simple COM object. The COM object implements a connection point.
I know how to create an ATL client that derives from IDispEventImpl, and uses a sink map to simplify this process.
But, for the purposes of demonstration, I'd like to create a win32 console applic... | stackexchange/codereview |
I have a jQuery code that is going to check when the user is near the bottom of the page. That's not the problem though. This jQuery is going to send a AJAX request, giving it some details on what to load when the user is near the bottom of the page. The code looks a bit like this at the moment:
$("<div>").load('?ajax=... | stackexchange/codereview |
I have a UITableViewCell that has an integrated UITextView. The goal is to make a cell that auto-expands while editing. The issue right now is that when the UITableViewController sends setEditing:YES, the UITextView scrolls and clips some of the text at the top.
I'm sure there is a better way to do this but I just do... | stackexchange/codereview |
I've created a class which is an extension of Thread. This class hits a web service and throws some data on screen. I don't care about persisting this data (the screen displays search results).
Currently, the user simply types into an EditText and clicks a search button. I'd like to take away the search button and i... | stackexchange/codereview |
private var nsPlay : NetStream = main.media.nsPlay;
When nsPlay changes,main.media.nsPlay should change accordingly;vice versa.
How to achieve that?
| stackexchange/codereview |
I am looking for an improvement to the below query, any input gratefully received
with cteA as (
select name, count(1) as "A"
from mytable
where y="A"
group by name
),
cteB as (
select name, count(1) as "B"
from mytable
where y="B"
... | stackexchange/codereview |
I have developed a PowerPoint add-in for versions 2003 and earlier that generates a custom commandbar/toolbar on install.
I have no difficulty removing this commandbar on uninstall, but because it uses the Auto_Close event to do so, it also deletes the toolbar every time PowerPoint closes, preventing the user from perm... | stackexchange/codereview |
Hi please give me idea or reference to create Paging User control.
Thank You very much in advance.
| stackexchange/codereview |
Does anyone know for a good cascade/chained select jquery 1.4.x plugin(s) (or jquery ui widget) that uses ajax call to php that returns json format data for populating options?
| stackexchange/codereview |
I'm reading the book Expert F# from Apress and there is a snippet there that I don't truly understand:
let powerOfFour n =
let nSquared = n * n in nSquared * nSquared
Console.WriteLine(powerOfFour 2)
What is the 'in' keywords doing here, and does it allow me to call a method inside of the method itself?
| stackexchange/codereview |
I am working with some legacy HTML/JS code, where I need to attach to the load event.
The script I am working with is outside of the <head> tags.
Is listening to the load event unreliable when attaching the event listening outside of the head?
i.e.
Is it somehow possible that the page already loads and ignores my event... | stackexchange/codereview |
I'm giving a demo and instroduction of Visual Studio, C# and WPF to C++ on Linux developers that will be soon coding in C#. My plan is to go over a demo application that explains some basics in C#/WPF and an overview of some of the VS options.
Does anyone have any suggestions on conducting the demo?
Any good website... | stackexchange/codereview |
I've got the following JPA entity:
@Entity
@Table(schema = "myschema")
@SequenceGenerator(schema = "myschema", name = "seqGenerator",
sequenceName = "person_s1", allocationSize = 1)
public class Person {
@Id
@GeneratedValue(generator = "seqGenerator", strategy = GenerationType.AUTO)
private long i... | stackexchange/codereview |
I am working on location based service. I couldn't find any clear answer related to my following queries and so am asking-
How to enable HTML5 geolocation in our own server? Or is there any central geolocation DB there which will provide location service by default (like DNS)?
I was stunned seeing the accuracy of geolo... | stackexchange/codereview |
A while ago I created a small cardgame web app for fun. The player plays against the computer and mostly it works fine. Sometimes though the computer player gets into a loop, the point of the game is to lose all your cards and if you don't have a card to play you take the pile. Sometimes the computer plays x,y,z, takes... | stackexchange/codereview |
I've looked at the various options that seem to be available on the .NET framework (I think). In particular, I've looked at
1. TypeConverter
2. Convert.Toxxx
3. Convert.ChangeType
Each of them for one reason or another don't work for me. I'm quite surprised that there doesn't seem to be a solution in the .NET framework... | stackexchange/codereview |
I'm having trouble with a processing thread in C#. Basically the thread manages chat windows when new messages arrive or are sent and unfortunately I'm having different situations occur based on the running environment.
When running a Debug build (either with or without a debugger), or a Release build under a debugger... | stackexchange/codereview |
this code draws bezier curves properly when the window is used on its original size (640 x 480) but renders the control points incorrectly when its resized.
on the click mouse function there is:
if(button == GLUT_LEFT_BUTTON && state == GLUT_DOWN) {
// Store where the user clicked, note Y is backwards.
abc[NU... | stackexchange/codereview |
Possible Duplicate:
Insert image in xls sheet throgh php code.
Hello All,
it feels great that after the help topics and Questionnaire on blog post i am able to insert the image in xls sheet using PHP5,and i am sure about this because befor inserting the image the size of xls file is 15 KB but after ins... | stackexchange/codereview |
I have a list of checkboxes and i have a select_all checkbox. Please check the comment in the code.
$('#select_all').change(function() {
var checkboxes = $("input[name^='select']");
if($('#select_all').is(':checked')) {
//here i want to check where this checkbox (checkbox from the list not se... | stackexchange/codereview |
Error messages associated with Validation attributes such as [Required] can be easily customized and localized either by providing directly the message string or a resource containing the message.
However, is it possible to customize the error message produced by Silverlight or Wpf when they are not able to convert t... | stackexchange/codereview |
In C++ what is the difference (if any) between using char and char[1].
examples:
struct SomeStruct
{
char x;
char y[1];
};
Do the same reasons follow for unsigned char?
| stackexchange/codereview |
Alright, so I'm working on a game and I have found out that my enemies don't like my collision detection that works perfectly for my player. After a little debugging I found out it's because my enemies are bigger than my tiles, while my player is smaller than my tiles.
Now I need to be able to make big enemies and bos... | stackexchange/codereview |
When my app receives a Push Notification, application:didReceiveRemoteNotification: receives the data. When the user open the app from a notification, I want to jump to the last UITableView in the stack, to display the 'details' related to the Push Notification.
I am able to jump to the correct tab in the UITabBar.
Is ... | stackexchange/codereview |
can anyone get me a code for hiding the time stamp from a string.
I used this code to get the date from the string
suppose the
$date_string = "02/06/2011 11:00 am - 2:00 pm";
$date = strtotime($date_string);
$date = date('m/d/y', $date);
But the out put I am getting is something like this
1/1/70
Please suggest a b... | stackexchange/codereview |
ActivityA is main visible activity. I want to start activityB inside activityA. And build activityB in FrameLayout (or something like that) of activityA. Is it possible? And how?
| stackexchange/codereview |
In the following query how to eliminate the duplicates,
d_query = Profile.objects.filter(company="12")
search_string ="Tom"
if search_string != "":
d_query = d_query.filter(Q(profiles__name__icontains=search_string) | Q(first_name__icontains=search_string)| Q(last_name__icontains=search_string))
| stackexchange/codereview |
In my controller I have:
def update
case params[:something]
when 'x'
if all_is_good
good_stuff_happens
flash[:notice] = "Good stuff happened"
else
access_denied
end
when 'y'
other_good_stuff_happens
flash[:notice] = "Other good stuff happened"
when 'z'
even_more_good_st... | stackexchange/codereview |
I'm looking for some networking gurus to help me with a problem. I have many computers running my software which uses UDP multicasting. This works fine if the computers are connected ONLY to one network (network A). My computer (which is also running said software) will listen on port XXXX for the multicasts. This comp... | stackexchange/codereview |
I have an Active X control, which when first called or loaded in my asp.net application, is really slow to load. However, after the first load, it is really quick!!
My question is this, "How do I make my Active X control, when first called, load much faster? Is there away to preload the active x to the page so when it ... | stackexchange/codereview |
Sorry for the F#...
I have a VS project with the following class:
namespace ABCCommonSilverlight
module ConvertersAndFormatters =
type FixedDecimalConverter () =
interface IValueConverter with
member this.Convert(value, targetType, parameter, culture) =
if value = null then
... | stackexchange/codereview |
Why interface of program is fit in eclipse emulator but not fit in my N1 and Liquid?
How to solve it?
| stackexchange/codereview |
I'm trying to implement in jsf something that will serve sort of a 3 way pick list:
I can do this pretty easily.
My only problem is making the buttons rotate as they are in the image.
Is it even possible? (Other than doing some clickable image that will only appear rotated)
| stackexchange/codereview |
This is a theoretical question, as I can't imagine any practical uses.
I made a bold statement today saying that in JavaScript, the following will always return true:
if (x=y){
//code
}
And the //code, whatever it is, will always be executed.
This is the classic typo of not entering == or even ===.
This feature ... | stackexchange/codereview |
I'm about to go through a new experience with my cousin who is also a software engineer. We have few ideas that we like to turn into software applications.
We are currently collaborating via email to record our ideas and thoughts. But to manage our little project and control source code and track our issues.
Now my que... | stackexchange/codereview |
On JBoss 5, there is the NamingService, which lets you specify the properties Port (1099 by default) and RmiPort (1098 by default). I've never needed to know how this works before now, it has always Just Worked™.
How are these ports used? Is Port used to find objects in JNDI and then RmiPort used to invoke them, or do ... | stackexchange/codereview |
I'm creating an Internet Explorer plugin using C#. I've been following a tutorial where the code imports a couple of classes that I don't have available, namely:
using System.Windows;
using SHDocVw;
I realise I need to add the relevant components to my project but I'm not sure how to find the components that contain t... | stackexchange/codereview |
How can I can display modal popup with some text clicking on Hyperlink. I would link use Ajax with ASP.net 4.0. I am new to ASP.NET 4.0. Please advise!
Thanks..
| stackexchange/codereview |
I get an exception from Wicket 1.4.11 reading:
2010-11-03 17:44:51,971 [http-8080-1] ERROR org.apache.wicket.RequestCycle - Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = customer]] threw an exception
org.apache.wicket... | stackexchange/codereview |
How to Fix The Error When There Is An Error After Building The Project Dlls to Another Directory?
Error 39 Unable to copy file access is denied
For Example:
Error 1 Unable to copy file "obj\Debug\fAppCreditService.dll" to "..\..\..\..\..\2005\2005.Application\bin\fAppCreditService.dll".
The process cannot acces... | stackexchange/codereview |
What is the difference between apostrophes and quotation marks in Python?
So far I've only been able to find one difference
print "'"
print '"'
print '''
print """
The first print statement will output ' while the second ". However the third statement starts a comment block.
Any other differences I should be aware... | stackexchange/codereview |
I am adding a UIImageView to my view in viewDidLoad.
It works fine when I run the application using the simulator, but when I use a device the image is not shown.
Any idea?
| stackexchange/codereview |
I am pretty new to Wordnet and so finding it a little confusing to be honest. Just wondering how I am able to generate a full list of nouns and a full list of adjectives from the Wordnet database ?
Thanks
| stackexchange/codereview |
Probably misunderstanding something simple, but i can't seem to get this to work.
I want to: go trough each img element in "wrapper", and strip all html from the title attribute (with stripTags() from mootools more). I get the error:
"this.get is not a function"
here is the code:
$('wrapper').getElements('img').each(fu... | stackexchange/codereview |
From http://code.google.com/appengine/docs/python/tools/webapp/running.html
Tip: App Engine routes requests to
Python scripts based on the URL and
mappings specified in the
application's app.yaml file. A webapp
WSGIApplication further maps specific
URL paths to request handlers. How
you use both mappings i... | stackexchange/codereview |
In a previous application version we were using a particular field for a primary key, but because the field may represent different identities across various systems we have made it a non significant field(ie not a primary key or part of a composite primary) however since we dont have another system yet users still use... | stackexchange/codereview |
So say I have one xml file such as this:
<shapes>
<shape>shape1</shape>
</shapes>
And another xml file like this:
<parentNode>
<shapes>
<shape>shape 2</shape>
</shapes>
</parentnode>
I would like the output to be:
<parentNode>
<shapes>
<shape>shape1</shape>
<shape>shape 2</shap... | stackexchange/codereview |
My problem is very simple but I could not find even a simple sample code. Can anyone kindly tell me how to add an image on a button? Here is my sample jQuery button:
$("<input>", {
type: "button",
name: "deletebutton_" + li_name + "_" + li_index,
id: "deletebutton_" + li_name + "_" + li_index,
click: f... | stackexchange/codereview |
they removed buddypress category from their showcase, lead developer Andy Peatling is not there, and there are some sad articles on buddypress but nothing specific. Do you know what the status is?
| stackexchange/codereview |
I am having a problem with my code here. The error that I am receiving is on the bottom.
I have to enter payroll in and calculate pay with overtime or without.
enter code here
####################### Functions ########################
def Input():
try:
name=raw_input("Enter your first and last name: ")... | stackexchange/codereview |
I have a Panel (PanelBase) with a TextBox. I need to draw and drag a rectangle over the textbox using doble buffer to eliminate the flicker. To do that I'm puting a transparent panel over de PanelBase and draw the rectangle. How can I clear the last graphics in the transparent panel?
| stackexchange/codereview |
Any body have any experience (or even better a solution) to IE7 submitting a request to a webserver twice?
Its seems that any POST or GETs I send are being called twice. This only happens in IE7. Chrome, FF, Safari and IE8 are fine.
I'm running IE7 "through" IE8 using Browser Mode in developer tools - could this be the... | stackexchange/codereview |
Let's assume I have the following text:
"something [234][3243]"
I am trying to pull the values in between the square brackets. I came up with the following regex expression: .*\[(.*)\].* however this only allows me to pull the last value in between the brackets, in this example 3243. How do I pull all values, meaning... | stackexchange/codereview |
I need to verify if given URL matches my domain mask.
Example: I want to allow only domains which satisfy this "pseudo-mask":
https://*.domain.com
http://*.domain.com
So next domains are OKAY:
http://my.domain.com/something/blah.html
https://www.domain.com/
http://domain.com/go/somewhere.html
https://very.weird.domain... | stackexchange/codereview |
I'm working on a web application that's using CakePHP and MySQL. Depending on the circumstances, I may be using one of two computers and I may be behind a proxy server that won't allow me to directly modify any code on my web server. Because of this, I've installed XAMPP on my machines to act as a local web server, a... | stackexchange/codereview |
My issue is that the back button will not restore its visibility if my web request does not finish before or soon after ViewWillAppear has fired.
I have a navigation based iPhone 4.0 application used a simple Root and Detail view setup.
I am working with data that is returned from a webservice so when I push my detail ... | stackexchange/codereview |
When I try to install the new phone tool application, it requires me to remove the previous beta version in order starting with phone developer tools beta. so go to control panel uninstalll I click on tit it gives me an error. "a problem has been encountered while loading the set up components. canceling set up" Anyone... | stackexchange/codereview |
I found a function which will extract a word that is between 2 other words and this works well but I would like to extend the function so it scan the entire string that I choose and extract ALL of the words that are between the 2 keywords and not just the first one it comes to. I am guessing I will need to add a loop o... | stackexchange/codereview |
I already did a lot of research on this topic and have implemented a lot of solutions myself.
Including OpenID, Facebook Connect (using the old Rest API and the new Graph OAuth 2.0 API), Sign in with twitter (which has been upgraded to fully qualified OpenID by now as far as I know), and so on...
But what I'm still mis... | stackexchange/codereview |
I'm using the code below to resize images and store them on the server. However, with some JPGs, the resize produces a reddish tint on the image. Any ideas what could be causing this? Here's the original image: http://www.unctv.org/tWxkBbq_10M6wKRRL/PNCWWD01.jpg and here's what it produces afterward: http://www.unctv.o... | stackexchange/codereview |
Hey, this is my first post on stackoverflow.
I'm trying to replace é with e and other similar special characters. I've tried str_replace() and converting it from UTF-8 to ASCII but nothing seems to work. When I convert it from UTF-8 to anything it just drops the é off. When I use str_replace() it never catches it ... | stackexchange/codereview |
I need to run a Ruby app on a customer computer. It will usually take a couple of days to finish (copies big backup files). The problem is if sleep is enabled, it will interrupt the app. If not the computer will stay on for weeks untill my next visit. Is there some way to prevent sleep during execution and let Windows ... | stackexchange/codereview |
"select full_name from user u join user_contact_info ui on ui.user_id=u.user_id,
ui.user_contact_state, ui.user_contact_city_town, ui.user_contact_country where
u.full_name like '"+keyWord+"%'" + "and u.user_id = "+id;
from my user u table I want the fullname and from my user_contact_info table ui i want the... | stackexchange/codereview |
This is my code ( you can edit it ) :
SELECT * FROM posts WHERE posts.user_id = 1 OR posts.user_id = 2
How to select the first post of user 1 and 2 ?
| stackexchange/codereview |
Should I create a Listener within a BaseAdapter or should I pass it in?
I have 4 classes that inherit from a base class. I pass the Adapter a list objects. The Adapter is eventually used with a ListActivity
I want to create a View based on the derived class and I want them to launch an Activity based on the type of a V... | stackexchange/codereview |
ASP.net MVC globalized application
I would like to know the best way to handle updates when the input has numeric values but they are entered using the users culture not default of server (en-US); I am guessing there is something built in to asp MVC to handle this situation but I came up short on Google searching.
an e... | stackexchange/codereview |
I have a theory as to why I have the following problem, but I can't find any documentation proving my theory one way or another so I'd like some advice.
I have a (signed) applet which loads a DLL. Now, last Friday I was hitting "Refresh" and the applet was reloading fine, including apparently reloading the DLLs. But ... | stackexchange/codereview |
When I read a few articles about memory management in C#, I was confused by Finalizer methods.
There are so many complicated rules which related with them.
For instance, nobody knows when the finalizers will be called, they called even if code in ctor throws, CLR doesn't guarantee that all finalizers be called when pr... | stackexchange/codereview |
I have a BlackBerry 9630 running OS v5.0.0.624. I can add my Gmail account (or any existing non-BB email account) by going to SETUP | EMAIL SETTINGS.
I am trying to find some way of either a) setting up an alternative account programmatically from within my BB application, or b) using Invoke to start up the email sett... | stackexchange/codereview |
I've been trying to use the ASM bytecode toolkit to replace the body of a public and static method in a class. The actual body replacement seems to work fine and I do get the expected behavior if execute the following once the transformation has completed:
Class cls = loadClass("ext.hm.cmd.MyProg");
cls.getMethod("hell... | stackexchange/codereview |
I've got a Silverlight Page with a combo box and text box. The Text property of the text box and the SelectedValue property of the combo box are both bound to the same property on the View Model. The ItemsSource of the combo box provides a limited selection of values: 30, 45, 60, 90.
When a value is selected in the com... | stackexchange/codereview |
I was troubleshooting some vbscript designed to query the default printer of a remote computer when I discovered the error in the script was actually because WMI is returning conflicting or even erroneous information. Please see this screenshot:
Both are against the same computer (CLIFGRIFFIN-PC). The left one is ru... | stackexchange/codereview |
I am getting following error message:
java.lang.IllegalStateException: Neither BindingResult
nor plain target object for bean name 'billingInfoCommand'
available as request attribute
My JSP looks like:
<form:form commandName="billingInfoCommand" method="post"
onsubmit="return checkVals()">
My controller looks ... | stackexchange/codereview |
I work on a pretty big J2EE e-commerce website (3 billion turnover) and we developpers are kinda bored of the way we handle properties and log4j config.
We actually have many applications, some of them use a main application. Each application have minor versions and each version have a properties/log4j configuration th... | stackexchange/codereview |
I have to have the program display an error if the term the user types is less than 50 or greater than one so anything inbetween is an error. The user must type 50+ or 0 to not get an error. I was almost positive it worked until I looked at the project closer. I get the error when you type any number.
Const strMSG ... | stackexchange/codereview |
I have a working production environment of SQL Server Reporting Services 2008 that is configured for Forms Authentication. I have been trying to setup a new environment that uses the same custom authorization extension dll. Unfortunately, it is not working. The original creators of the dll and environment configuration... | stackexchange/codereview |
The following code doesn't appear to work properly for me. It requires starting a ppserver on another computer on your network, for example with the following command:
ppserver.py -r -a -w 4
Once this server is started, on my machine I run this code:
import pp
import time
job_server = pp.Server(ppservers = ("*",))
jo... | stackexchange/codereview |
I wanted to have a Visual Studio package that is loadable in VS2008. To do so I've followed these steps:
Created a new package project in VS2008 and made sure it loads fine
Ported the project to VS2010 format, compiled there and made sure it works.
Then I changed the target framework to .NET 4 and when I compiled, I g... | stackexchange/codereview |
I have a list of objects (L1) and another list of integers (L2) that represents the order that the objects should be in. For reasons that aren't important to this problem, the only operation that I'm allowed to perform on L1 is
L1.move(int fromIndex, int toIndex)
I was wondering if someone could point me to an algor... | stackexchange/codereview |
I have implemented a simple Android application that I now would like to test on a real device. I have a Nexus One.
In the Android Eclipse plugin, I have downloaded and installed the USB driver (revision 3) package. But when I connect my Nexus One to my PC (running Windows 7) using the USB cable, a message box pops up ... | stackexchange/codereview |
We have a ton of SQL Server stored procedures which rely on dynamic SQL.
The parameters to the stored procedure are used in a dynamic SQL statement.
We need a standard validation function inside these stored procedures to validate these parameters and prevent SQL injection.
Assume we have these constraints:
We can't r... | stackexchange/codereview |
What's the value for WM_MSO_BROADCASTCHANGE, and how would I figure it out for myself next time?
| stackexchange/codereview |
I've recently converted to Visual Studio 2010 and ran the conversion on a project that worked perfectly in VS2008. Things are not so sunny in Visual Studio 2010.
This is a .Net 2.0 WinForms project that makes a lot of use of binding ListViews and Grids to Generic Lists so taking out the Generic Lists isn't feasible.
I ... | stackexchange/codereview |
I'm getting a timestamp back from the WordPress API, but the usual method of converting from timestamp to datetime is failing me.
I run this:
print pages[1]['dateCreated']
print datetime.fromtimestamp(pages[1]['dateCreated'])
And get this:
20100228T09:25:07
Traceback (most recent call last):
File "C:\Python26\Lib\SI... | stackexchange/codereview |
I am trying to download a worksheet from google spreadsheets using curl. I checked their documentation and online resources but I am still having trouble.
I obtained the key using the script below:
curl https://www.google.com/accounts/ClientLogin -d Email=XXX@gmail.com -d Passwd=XXX -d accountType=HOSTED_OR_GOOGLE -... | stackexchange/codereview |
I am interacting with Visual Basic code on a different tier, using a client-side C# program. The Visual Basic function signature looks like this:
Public Sub toggleExclusion( _
ByVal mouse As Double, _
ByVal study As Integer, _
Optional ByVal box As Integer = 0)
When I call this from C# as such:
_obj.toggle... | stackexchange/codereview |
How can I check database compatability mode in query analyzer version 8?
| stackexchange/codereview |
My Form code
<html:form styleId="myForm" action="/doAction" method="post">
<html:text title="Transaction Name" styleId="transactionName" property="trans_name" />
<input title="Upload" id="submit" type="submit" name="submit" value='Upload' />
</html:form>
My addMethod() code
$.validator.addMethod("transcationR... | stackexchange/codereview |
Is there a way of setting a initial value (One of x in the list) for a
<form:select drop down similar to the text area default value?
i.e.
<td valign="top">
<form:select id="${appNameFormId}" path="metadata.appName" items="${dbList}"
disabled="true" itemValue="appName" itemLabel="appName">
</form:s... | stackexchange/codereview |
I would like to find the dimensions of an ImageView to use to scale a Bitmap, prior to to calling view.setImageBitmap. ImageView.getWidth and ImageView.getHeight return 0 if no image has been set. (Presumably because the ImageView has not yet been measured?). Is there anyway to determine the dimensions of the ImageV... | stackexchange/codereview |
We need a .cer so a 3rd party can validate our requests and responses. How do I go about getting one?
| stackexchange/codereview |
The latest version of WMD on derobin's GitHub page is quite old and seems to be unmaintained. Following the social graph, the OpenLibrary WMD page looks much newer but still isn't the newest. Where is the authoritative source or blog or website? So I can follow development and discussions?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.