instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I developed one application in VB.Net 2010. It worked fine on my laptop.
Now when I run this on another PC, it just crashes and give windows error as below.
Application: CallinkMig.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Inva... | stackexchange/codereview |
I have an SQL Data Source which selects all rows of a table. I need to populate a dropdownlist with a certain field ('percentage') of all the rows, and when one is clicked to make the 'value' the rows 'id' field.
Is there a simple way of doing this? Thanks
| stackexchange/codereview |
what is the syntax to execute this statement in php page-
grant file on *.* to kentest@localhost identified by 'kentest1';
| stackexchange/codereview |
I have the following function, designed to walk through XML and create a linear structure of all nodes:
function get_children(n)
if n.hasChildNodes() then
for each child in n.childNodes
set local_array = array_merge(get_children(child), local_array)
next
else
set local_array = Array(n)
end if
... | stackexchange/codereview |
Am trying to call a UDF which just takes a parameter and returns a scalar. The examples I've seen all use a From clause: http://blogs.microsoft.co.il/blogs/gilf/archive/2009/10/20/calling-user-defined-functions-udfs-in-entity-framework.aspx
But I only want to call the UDF, I don't want to "join" it with any entities u... | stackexchange/codereview |
How can I detect if a device is equipped with the "PVPlayer" components or "AwesomePlayer" components?
I noticed that the Droid X, despite being on Android 2.2, still uses the PVPlayer component rather than AwesomePlayer. in other words, the Droid X has difficulty playing certain types of media.
Let me know if you need... | stackexchange/codereview |
Back in the good ol' Windows Mobile day (CE based) one good get a rough estimate of battery life using the CE CoreDll.dll. Well sometimes at least depending on your hardware. This was exposed via GetSystemPowerStatusEx.
WP7 being SilverLight based I'm assuming these sorts of Interop approaches will no longer work. Is t... | stackexchange/codereview |
I happened to be writing something like this:
int main( int nargs, char **args ) {
int i, j;
if ( i > 0 && NEAR( i-1, j ).dist == INFINITY )
{
NEAR( i-1, j ).dist = 1.0;
NEAR( i-1, j ).X = i;
NEAR( i-1, j ).Y = j;
newWorkPoints.push_back( IPoint( i-1, j ));
}
if ( j >... | stackexchange/codereview |
I am wondering if it is possible while using MAMP to have the database online?
I am developing a couple sites locally between work and home, and initially thought I could get mamp to store or point to my external drive. No bueno.
SO am thinking I can still run mamp at work or at home pointing to my external drive but t... | stackexchange/codereview |
I'm trying to port my app to Mac OS but as my program is based on Flamingo library it doesn't have any menu bar. As you may know Mac OS menu bar is fundamental part for any software, So Is there a way to add a menu bar to Mac OS and still using Flamingo?
Thanks
| stackexchange/codereview |
I am trying to override the = operator so that I can change my Point class into a Vector3 class.
Point tp = p2 - p1;
Vec3 v;
v = tp;
The problem I am facing is that, "v" will have its x,y,z members equal to zero all the time.
Vec3.h:
Vec3 operator =(Point a) const;
Vec3.cpp:
Vec3 Vec3::operator =(Point a) const
{... | stackexchange/codereview |
I am playing around with C# and WPF. I am coming from the realm of microcontrollers and was wondering for the correct way to do things.
My question is this, say for my horses I wanted to build an automated water dispenser as a school project for my kids using software. In the water control panel, the user would be ab... | stackexchange/codereview |
I'm creating a web application that uploads websites from my server to youtube on behalf of the users.
I have followed Google's documentation for PHP and been sucessful in obtaining a session token.
Here is my code I'm using to retrieve my session token:
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gda... | stackexchange/codereview |
While browsing through various apps in the market, I noticed that there's a "New in version xyz: ... " text, just above the number of downloads and comments. Did I miss something, or is there a dedicated field to provide this kind of information while uploading a new version of your app in the market instead of just ch... | stackexchange/codereview |
How can I combine those two queries into one?
1) This finds the japanese sign for dog (犬):
SELECT japanese
FROM edict
WHERE english LIKE 'dog'
LIMIT 1;
2) This finds all japanese words with the sign for 'dog' (犬) in it:
SELECT japanese
FROM edict
WHERE japanese LIKE '%犬%';
3) I am having trouble combinin... | stackexchange/codereview |
There is windowful video playing plugin (with gstreamer inside). I want things to be placed atop of it.
Can WebKit be forced to use real windows for non-embeds? Can in control their z-order?
Currently even if I intersect two windowful embeds they get random z-order disregarding my "z-index" CSS property.
| stackexchange/codereview |
I have a stored procedure in SQL Server, I want to set a time out for my sprpc so that if it does not finish in appropriate time, SQL Server forces it to stop.
thanks
| stackexchange/codereview |
Let's say I wanted to change all <img> tags to <iframe> tags on a page. Could javascript be used for this purpose?
Is there any way to change the actual tag type, or would I have to first delete the <img> and then create the <iframe>, if so, how can I make sure that the new tag has the same container as the old tag,... | stackexchange/codereview |
If my application records some audio with MediaRecorder, is it possible to play the recorded audio file into a call that was started with ACTION_CALL or ACTION_DIAL?
I see that I can start calls from an application but is there a way for my application to know that the call was answered? At this point I would like to p... | stackexchange/codereview |
consider the following templated datastructures
enum eContent{
EINT = 1,
EFLOAT = 2,
EBOOL = 4
};
template<int>
struct Container{
Container(){assert(false);} //woops, don't do that!
};
template<>
struct Container<EINT>{
Container():i(123){}
int i;
};
template<>
struct Container<EFLOAT>{
C... | stackexchange/codereview |
$("#show-sidebar").click(function () {
$(this).fadeOut("fast");
$("#sidebar").animate({
marginLeft: "0"
}, "fast");
$("#content").toggleClass("full");
});
What I wanto to do is, I guess, pretty simple: For each of this actions to execute... | stackexchange/codereview |
This really isn't an important question. I just wanted to know which method is more popular and whether there's some sort of a de facto standard.
This,
function foobar
{
int retVal = 0;
try
{
retVal+=100;
}
catch
{
//error handling code
}
return retVal;
}
Or this?
funct... | stackexchange/codereview |
I am trying a simple Keystroke command to Show All Bookmarks in Safari 5.0.2 but it is not working -
tell application "Safari" to activate
tell application "System Events"
keystroke "B" using {option down, command down}
end tell
end
Can anyone suggest me where I may be wrong?
Thanks,
Miraaj
| stackexchange/codereview |
How to add an event handler on all div elements with GWT?
I tried the following code but the window alerts are not fired up (But "etvoila" class is set up):
private NodeList<Element> pageDIVElements;
public void initDiv() {
MyDIVEventHandler handler = new MyDIVEventHandler();
pageDIVElements = Document.get(... | stackexchange/codereview |
Been trying this for a while now.
All solutions I've seen on the net don't seem to work, specially the really simple way to do it.
WMPLib.WindowsMediaPlayer c = new WMPLib.WindowsMediaPlayer();
IWMPMedia i = (IWMPMedia)c.currentMedia;
c.currentMedia is always null.
It seems that new WMPLib.WindowsMediaPlayer(); is al... | stackexchange/codereview |
I use folds for comments like
#
Stuff between the # are comments and automatically folded
#
But when folded they look like this
+-- 4 lines: #--------------------------------------------------------------
I would rather have them say
+-- 4 Stuff between the # are comments and automatically folded
and not be high... | stackexchange/codereview |
How to check if file is a dicomfile?
| stackexchange/codereview |
I had read about localization here: http://developer.android.com/guide/topics/resources/localization.html
But I need to switch language in my android applicartion in run time, e.g. via Spinner.
I attempted to do subj in this way
DisplayMetrics dm = res.getDisplayMetrics();
Configuration conf = res.getConfiguration();
c... | stackexchange/codereview |
I am developing an app with 65 class files. I recently re-installed Eclipse and now I can't run the app:
I/O Error: Cannot run program "jar":
CreateProcess error=2 The system
cannot find the file specified
I checked my Java_Path and I don't see any problems.
| stackexchange/codereview |
I'm having a little problem displaying data from a database...
I have two database tables:
categories(cat_id, cat_name)
menu_items(menu_id, menu_name, cat_id, menu_description, menu_price)
I would like to display data as:
Categorie 1 Name
cat_id = 1, menu_name, menu_description, menu_price
cat_id = 1, menu_name, m... | stackexchange/codereview |
I am exporting a 1200 X 800 matrix (indexMatrix) to a excel file using the standard Microsoft.Office.Interop.Excel. The app works, just that it is really really really slow( even for the 100 x 100 matrix) . I also export in a text file through a TextWriter an it works almost instantly . Is there any way to export to th... | stackexchange/codereview |
I have been Googling for sometime but I guess I am using the wrong set of keywords. Does anyone know this URI that lets me request permission from Facebook to let me crawl their network? Last time I was using Python to do this, someone suggested that I look at it but I couldn't find that post either.
| stackexchange/codereview |
I already have a working binary tree database. Unfortunately, it needs to have the ability to balance itself. I don't want to rewrite the whole thing, I just want to include a function that will balance the tree. Any algorithms or ideas?
| stackexchange/codereview |
I'm using jQuery replaceWith to update information of my website. Div elements which are returned are small. The function is called after 5 minutes. When I focus on browser, replaceWith function will run but my browser is not smooth and sometime can crash. Which plugin or solution can I use to resolve the problem ?
I u... | stackexchange/codereview |
"Software interrupts are delivered using signals"
Is this always true, if not then
a) what is the difference between two
If yes, is there some other mechanism, by which software interrupts are raised, other than delivering signals.
| stackexchange/codereview |
I have few hidden fields in my jqGrid on which I have to perform a case insensitive search (may be using regex - not sure). Is it possible? Can someone give me directions on it?
Thanks!
| stackexchange/codereview |
We have a report that the customer would like to have exported to an excel format where it has multiple worksheets. Essentially the two queries share the same parameters, but everything else is different.
In jasper-reports how do you export to an excel file with multiple worksheets (ideally from different data sources... | stackexchange/codereview |
I've just upgraded to Rails 3, and decided to take it for a whirl with a dummy/sandbox app. The strange thing is I can't seem to get any routes to work!
Here's my problem:
[cobychapple@shiva:Dev]$rails new TestApp
create
create README
create Rakefile
...
[cobychapple@shiva:Dev]$cd TestApp/
[... | stackexchange/codereview |
In ClearCase, is there a way to find out if a file is locked without checking out the file?
| stackexchange/codereview |
I have a css code:
-moz-border-radius-topleft:50px;
I get the result:
Is there any possibilities to give like this:
| stackexchange/codereview |
Can any one point out as where can I get some tutorials about IronJS and how to call a method written in IronJS from C# 4.0
Thanks
C#4.0, IronJS
| stackexchange/codereview |
I am using the link iframe code, directly from the google maps site, but the map when rendered on the page is very different. It is too close and it lacks the custom objects I have placed on the map.
The map is saved and public.
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0"
margi... | stackexchange/codereview |
Is possible to do a clustered web service (with JAX-WS), that each node receives automatically the resources? May be with EJBs? If possible, how to do it?
Thanks
| stackexchange/codereview |
Here is what my algorithm does:
It takes a long std::string and divides it into words and sub words based on if it's greater than a width:
inline void extractWords(std::vector<std::string> &words, std::string &text,const AguiFont &font, int maxWidth)
{
words.clear();
int searchStart = 0;
int curSearchPos... | stackexchange/codereview |
As a follow on from one of my previous posts (ASP.NET MVC2 Master Page - Server side script not rendering, first bracket being escaped) I now having a similar problem.
This time it is with trying to dynamically set the properties of a UserControl.
**For anyone familiar with N2CMS, it is the AdvancedPager control.*
Her... | stackexchange/codereview |
I'm successfully pulling back my objects however, I would like for them to already be sorted by a field in the object.
I have this working:
new Ajax.Request("/dn/com.emooney.meeting.beans.Meeting?groupName=='"+name+"'"
But I want to do something like this:
new Ajax.Request("/dn/com.emooney.meeting.beans.Meeting?group... | stackexchange/codereview |
I want to substitute all cygdrive/e with cygdrive/d using vim. But I can't get the matching pattern correctly. Here is my command:
s/cygdrive\/e/cygdrive\/d/g
it doesn't work. Can anybody show me what is wrong?
Thanks,
| stackexchange/codereview |
I have a list of tags that I would like to add to a url string, separated by commas ('%2C'). How can I do this ? I was trying :
>>> tags_list
['tag1', ' tag2']
>>> parse_string = "http://www.google.pl/search?q=%s&restofurl" % (lambda x: "%s," %x for x in tags_list)
but received a generator :
>>> parse_string
'http://<... | stackexchange/codereview |
I have an ASP.NET 2.0 web site hosted on Windows Server 2008 with IIS 7. I am using InProc session mode (specified in web.config). My client wants the timeout to be of 3 hours, meaning if the web site is idle, session should remain alive for 3 hours. Currently, what is happening is that if the web site is idle for 20-3... | stackexchange/codereview |
$.get('http://localhost/a.bb?cmd=<abc></abc>', function(data) {
alert('result comes back.');
$('.result').html(data);
});
);
Above is the code I want send to server, why jquery send OPTION for me? I want GET method.
Thanks.
| stackexchange/codereview |
How do you add create a SOAP web service header?
Example
<soap:Header>
<myHeader xmlns="https://www.domain.com">
<Username>string</Username>
<Password>string</Password>
</myHeader>
</soap:Header>
source code
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Serv... | stackexchange/codereview |
Is it possible to use WinForms layout engine to set up a form in such a way that the height is adjusted completely automatically to fit the content, but the width would be adjustable by the user?
As an example, consider the following somewhat contrived form:
TLP: TableLayoutPanel, with 1 row and 2 columns.
label1: Lab... | stackexchange/codereview |
I have an AjaxControlToolkit.AutoCompleteExtender control attached to a textbox, and three radio buttons. When the user selects a radio button, the service method used to retrieve the values listed in the AutoCompleteExtender is changed, as follows:
$("#radioButtonList input").click(function() {
var selectedValue ... | stackexchange/codereview |
My program needs to accept three kinds of input commands below:
./Myprogram input.txt
./Myprogram < input.txt
./Myprogram
I'm thinking about using argc to check the number of arguments to resolve the first two situations (since redirection doesn't count as an argument). But then I stuck on the last case, which simply ... | stackexchange/codereview |
How to convert ' in a string to \' in R?
Example: from Bob's to Bob\'s
| stackexchange/codereview |
The compiled classes directory is hidden by default, can I show it in the Package Explorer?
| stackexchange/codereview |
Is there a way to get the client's IP address inside an struts2 action method?
I have implemented both SesionAware and RequestAware interfaces, but these two inject only the session and request maps.
| stackexchange/codereview |
I'm struggling with compile error C3200
http://msdn.microsoft.com/en-us/library/3xwxftta.aspx discusses the problem and gives as an example:
// C3200.cpp
template<typename T>
class X
{
};
template<template<typename U> class T1, typename T2>
class Y
{
};
int main()
{
Y<int, int> y; // C3200
}
and suggests that i... | stackexchange/codereview |
During Technical interviews involving coding question what criteria do people use to evaluate code. Assuming there are multiple ways to code the same problem, what metrics can be used to evaluate and compare the answers objectively.
The Interview is typically 1 hour long
Some of the things I use are
Correctness
Bre... | stackexchange/codereview |
I am faced with the following issue. I need to capture a range of serial numbers in c# to be stored in a database. If these serial numbers are just numbers, it is fine, but I have ran into serial numbers which are alpha-numeric such as:
56AAA71064D6 and 56AAA7105A25
How can I accommodate the different possibilities t... | stackexchange/codereview |
Does somebody know a good library for making a radio station app to listen livestream radio's from the web in c#?
| stackexchange/codereview |
I've had an idea for a non-linear regression algorithm that I haven't seen before:
We fit a simple parametric function, such as a radial basis function, to the data using gradient descent. We find the residual from this and then fit a function to this, repeating this process to reduce the error and build up a collectio... | stackexchange/codereview |
I'm experimenting with C++0x support and there is a problem, that I guess shouldn't be there. Either I don't understand the subject or gcc has a bug.
I have the following code, initially x and y are equal. Thread 1 always increments x first and then increments y. Both are atomic integer values, so there is no problem w... | stackexchange/codereview |
We have started using Hudson, and the current workflow is:
checkout locally > code > run tests > update > run tests > commit
Rather that polling, Hudson simply sits there until we instantiate a build. It then:
checkout locally > run Phing script
The Phing script then:
svn export latest revision > run tests (if success... | stackexchange/codereview |
I'm working on a system that will need to store a lot of documents (PDFs, Word files etc.) I'm using Solr/Lucene to search for revelant information extracted from those documents but I also need a place to store the original files so that they can be opened/downloaded by the users.
I was thinking about several possibil... | stackexchange/codereview |
I don't need to crawl the whole internet, I just need to open a few URL, extract other URL, and then save some page in a way that they can be browsed on the disk later. What library would be appropriate to program that?
| stackexchange/codereview |
Given only the set of coordinates, is there a way to find the scale factor being used? It will then be used to compute the distances between the coordinates.
Let's consider this:
On a map scale: (This is the only given)
pointA(33.511615, -86.778809)
pointB(34.398558, -87.669116)
On a real world scale:
Distance bet... | stackexchange/codereview |
I have a feedback panel at the top of my page.
I have a number of panels, each have sub panels with AjaxFallback links that, when clicked I want to set info() messages to be displayed in the feedback panel.
Do I have to pass my feedback panel down through the layers of panels in order that I can re-add it to the Ajax t... | stackexchange/codereview |
So im trying to get image cropping to work on Amazon S3, I have the following function
def update_attributes(att)
scaled_img = Magick::ImageList.new(self.photo.to_file)
orig_img = Magick::ImageList.new(self.photo.to_file(:original))
scale = orig_img.columns.to_f / scaled_img.columns
args = [ att[:x1], att[:y1]... | stackexchange/codereview |
I want to open up browser dialog box when user click a button, and afaik this can be done by using a FORM tag.
The problem is the server only accepts json data (and using the form tag it has to have a name i.e.
formdata={"key":"value"}
The server does not like this format as it expects pure JSON
{"key":"value"}
... | stackexchange/codereview |
I have the following code in a Controller:
$data['what'] = 'test';
$this->load->view('test_view', $data);
$this->load->view('test_view');
View:
<?php
echo $what;
?>
The Result when running this code is:
testtest
Shouldn't it be simply 'test' because the second time I am not passing the variable $data?
How can I... | stackexchange/codereview |
So I was using Eclipse and I went to go copy some import statements I had selected. I somehow mis-typed, and the coolest thing happened: a snippet package was created, and a Snippet.java class was created that looked like this:
package snippet;
public class Snippet {
public static void main(String[] args) {
... | stackexchange/codereview |
I have this portion of code:
var hasAttribute = TypeDescriptor.GetAttributes(property.DeclaringType).OfType<CrmTypeAttribute>()
.Any((attr)
=> ((CrmTypeAttribute)attr).Name == property.Name);
if (!hasAttribute)
{
var crmTypeAttribute = new CrmTy... | stackexchange/codereview |
Using jQuery or straight Javascript, I'm looking for the best way to find the leftmost div (or in general the DOM element with the minimum or maximum position on either axis).
So far I have two solutions:
Iterate through the div objects that I want to consider, saving the smallest left position found.
Build an array ... | stackexchange/codereview |
is there a way to programmatically set style on PlaceHolder control?
thanks
| stackexchange/codereview |
i want to change this code below for the inwashfile to be able to load from any directory instead of loading from the tech_projects environmental variable.
/**Get projects directory from environment variable****************/
strcpy(pjects.arr, getenv("Tech_Projects"));
pjects.arr[strlen(pjects.arr)] = '\0';
if... | stackexchange/codereview |
Using the jquery-tmpl, I want to stripe presentation of the rows by adding a class to every second one, so from data ['Cat','Dog','Horse','Noddy'] it generates:
<li>Cat</li>
<li class="odd">Dog</li>
<li>Horse</li>
<li class="odd">Noddy</li>
The solutions suggested here looked like the start of something that could be ... | stackexchange/codereview |
I have a bunch of divs on the screen.
What I want to do is, when I select any div, I want its zIndex to be always higher than all other divs.
In my application, i will need to do this repeatedly whenever I select a div, put it on top of others.
Is this possible using Javascript?
| stackexchange/codereview |
I have successfully piped the output of one command into the input of another and then show the output of the second command to the screen.
I want to do this with three successive commands. (actually eventually I want to do it with N commands passed into the program at run time.
This is my attempt at pipelining three c... | stackexchange/codereview |
I have integrated the openID component for cakePHP from http://code.42dh.com/openid/ into my application. When I put in my openID URL (http://openid-provider.appspot.com/XXXXXXXXX ) I am prompted to log into Google from the openID page which and I get properly redirected back to my page with a whole lot of stuff in the... | stackexchange/codereview |
This is a very specific question and I have googled lots for a potential solution but nothing that points me in the right direction. I have written a Zend_Controller_Action_Helper to help me process some forms in my application. Now in the application it works fine but it seams to of broke my tests. If I comment out... | stackexchange/codereview |
I am trying to use a question mark in one of my url's but sinatra/ruby is interpreting it as the regex character that makes precedings optional. Is there any way to allow actual ? in your get methods? I have tried \? and [?] but they didn't work. Here is the begining of my get method:
get '/group?groupid=:groupId' do |... | stackexchange/codereview |
how disables CSS file?
I use CMS and in header load style.css file. O don't have permission change index.php file, so i must change only in my file.
Thanks
| stackexchange/codereview |
We are going to develop a client-server application where all the office documents will be stored on the remote server.
The problem is that users need to edit these docs very often.
The standard solution is:
download
edit locally
upload
But it is very inconvenient and would cause high traffic, cause docs are very lar... | stackexchange/codereview |
Our company is using ClearCase for version control and as a medium to exchange code with sibling companies.
Some of these sites are planning to switch from CC to sub version.
Our site management is unenthusiastic about replacing our version control system.
A possible compromise is using the CM bridge by Clearvision... | stackexchange/codereview |
I have a requirement for 2D geometric boolean operations in a non-WPF application. I know you can use WPF assebmlies in a non-WPF application. Can the CombinedGeometry and PathGeometry object be used to perform boolean operations on geometric data? Currently I am doing my boolean operations manually, and it is very ... | stackexchange/codereview |
Experimenting with sqlite, I want to init a list view with data from the DB. My source looks like this:
-(void) initTheList {
sqlite3 *db;
int rows = 0;
const char* dbFilePathUTF8 = [searchTermDBLocation UTF8String];
int dbrc = sqlite3_open( dbFilePathUTF8, &db );
// count
if (dbrc) {
NSLog( @"Could not open the ... | stackexchange/codereview |
I've found numerous posts about reading CSV with Java and the APIs they were pointing at all had a line-oriented approach when it came to reading a CSV file. Something like "while you get a line, get the values of every column".
Are there better ways to do that?
Thanks for any suggestions!
| stackexchange/codereview |
I have an access denied page, which should not be shown in menus. However, it's possible for the user to be redirected to the access denied page.
I also have a breadcrumbs section on the page, and if you go to the access denied page, it shows as blank, which is extremely ugly.
I would therefore like to register the pag... | stackexchange/codereview |
Hello
In my android application,on exit of application by using movetasktoback(true) on back of Homescreen,if the user reloads the application again ,the user is redirected directly to Homepage other that to loading screen.
Is there any solution that i could exit the application on Home and wherein should clear all the... | stackexchange/codereview |
I am trying to build a simple graphics application in WPF C#. The purpose is to draw 10000*10000 rectangles of size 4 pixels each.
I have modified the OnRender method of the canvas to draw the rectangles. Drawings are performed for smaller number of rectangles (say 50*50 or 100*100 rectangles of 4 pixel each) but it is... | stackexchange/codereview |
I wanted to add custom properties for my application file type, just like Microsoft Word file tyep .docx has properties on Details Pane in vista and window 7 that show author property and e.t.c trying to do the same for my application but have no clue yet. working in .net2.0 .i dont know what i am doing wrong,
using S... | stackexchange/codereview |
my site has many many routes. since the users can add or remove pages at will, i need a way to reregister the routes from time to time
at reregister i do not want to clear the whole route cache ("RouteTable.Routes.Clear"), but i would rather go thru the table route by route, and using a certain regex on its name, decid... | stackexchange/codereview |
I have upload my joomla project on live server (Linux basd LAMP) in phpinfo file I found the "/usr/sbin/sendmail -t -i" for smtp configuration. and my local WAMP server configuration use "/usr/sbin/sendmail" any please let know why use -t and -i. what is it ?
| stackexchange/codereview |
I would like to know if there is a way to add ruby code in a locale file. For example:
devise:
failure:
unconfirmed: 'You have to confirm your account before continuing. <%= link to "send confirmation instructions?", user_confirmation_path %>'
Thanks for your help!
| stackexchange/codereview |
I have a Quartz.NET application where I need the administrators to be able to modify the job details - mostly information in each jobs datamap, but also things like the triggers - here is my code I'm using
protected void ButtonSubmit_Click(object sender, EventArgs e)
{
JobDetail jobDetail = sched.GetJob... | stackexchange/codereview |
I have WPF 4 desktop-based application. In one of the windows of this application, I have DataGrid with data, bonded with SQL Server database (via ADO.NET Entity Framework). In order to manipulate data, I have a delete button, that deletes selected row from DataGrid and call SaveChanges() method.
Now I want to add supp... | stackexchange/codereview |
I have a php/mysql website with over 200,000 images in single folder (linux server). I don't think, that I will never need to see them in file explorer, instead they will be viewed on website on their individual pages. They are just displayed in product page on website. File system is ext3. so is it wise to save the... | stackexchange/codereview |
A few clients have asked to make some static websites because their hosting doesn't support a server-side language. Now I was wondering are there any tools/techniques for generating a static website from an Asp.net site?
The reason I ask is because without masterpage or any form of templating it gets really cumbersome.... | stackexchange/codereview |
When I look at the NSFileHandle API docs, I see there are a lot of networking methods talking about sockets and stuff like that...
At the top, they say:
NSFileHandle objects provide an
object-oriented wrapper for accessing
open files or communications channels.
What's an "communication channel" here? Are there so... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.