instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I work under Ubuntu and use Eclipse+Subversive to commit code to my SVN repository.
I accidentally shared a project I don't want to be shared. I disconnected it, but obviously I can still see it (e.g. via websvn interface).
How can I delete this project (folder) from the repository itself?
| stackexchange/codereview |
Greetings
I am creating a service client and the following lines give me
error. I was wondering how to fix these...
// I have put in the service client stuff below...
private CheckZone mBoundService;
private ServiceConnection mConnection = new ServiceConnection() {
public void onServiceConnected(ComponentName Che... | stackexchange/codereview |
I'm trying to save the full content of the current static web page, using the code from Show IE "Save As" dialog using Watin
So here it is:
IE ie = new IE("http://localhost");
// more code
//I expect out.html is the output file
FileDownloadHandler fileDownloadHandler = new FileDownloadHandler("out.html");
/... | stackexchange/codereview |
I want to redeifine the float using:
typedef float decimal
because i'm using "uthash" table and it doesn't hava a method add_float
it can only me done through a struct
i used this in bison
%union{
decimal dec;
}
and then declare the token
%token <dec> DECIMAL
if I do in the flex
{DECIMAL} {yylval.dec=atof(yytext);... | stackexchange/codereview |
I have a commit c. I want to get the changeset of that exact commit c + metainformation and no other one. Is there a simpler way than git log -p c^..c to do that?
| stackexchange/codereview |
I'm running an ldap_list with this filter:
"(&(givenname=*)(objectClass=User)(!department=Executive))"
and I get zero results and this warning in the PHP log:
ldap_get_entries(): supplied argument is not a valid ldap result resource...
If I remove the NOT operator for department and run it:
"(&(givenname=*)(objectCl... | stackexchange/codereview |
I have two mysql database tables:
1) CARS TABLE: with following columns
i)car's name
and
ii)manufacturer's name.
2) RECORDS TABLE: with the following columns
i)name of the user
ii)rating given
iii)car's name.
Now i want the each user to give rating( rating will be a text input box) to each and every car in two ways.
... | stackexchange/codereview |
I am trying to use the new Facebook 'one-time authentication' process in my iPhone app.
The idea is that the app links out to either the Facebook app or Safari to ask the user to log in to Facebook, then Facebook returns the user to the app using a custom URL scheme.
I have set up the custom url scheme in the app, prep... | stackexchange/codereview |
Following this question: Weird MIPS assembler behavior with jump (and link) instruction I have a working GNU assembly toolchain for my single cycle MIPS project (no branch delay slot!). I would really prefer to write in C though. The code itself generated from the compiler does run, but I have to manually edit the asse... | stackexchange/codereview |
My question is why do I need IDisposable? I have a class that consumes some resources
that need to be freed. I have two options
Without IDisposable
class SomeUtilityClass
{
public Stop()
{
// free resources
}
}
With IDisposable
class SomeUtilityClass, IDisposable
{
public void Dispose()
{
... | stackexchange/codereview |
I am currently refactoring an application in which classes can call observers if their state changes. This means that observers are called whenever:
the data in an instance the class changes
new instances of the class are created
instances of the class are deleted
It is this last case that makes me worry.
Suppose th... | stackexchange/codereview |
I installed haml 2.2 on a Spree application with
rake gems:install
After placing it in my environment.rb .
Just like I thought, nothing loads anymore. Spree seems to be very exclusive about their source code.
Does anyone know anyway I can delete haml and restore my project?
| stackexchange/codereview |
Is there any iPhone development community blogs where a user can create an account and start blogging to get more exposure?
| stackexchange/codereview |
Building my solution succeeds, but the build fails upon copying from the build to the drop location. I get an error like this
TF270002: An error occurred copying files from 'E:\Workspace' to '\\server\drop location_20101026.25'.
Details: Access to the path '\\server\drop location_20101026.25\_PublishedWebsites\website... | stackexchange/codereview |
Having trouble formatting my code to execute without error using sprintf() When I run the code I get this error: Parse error: syntax error, unexpected T_VARIABLE in /location on line 16
$query = sprintf('UPDATE `%s` SET `stock` = :amount WHERE `itemname` = '$q'', $tablename);
Above is line 16 in my code. I'm assuming... | stackexchange/codereview |
I tried cp initial.txt {foo,bar,baz} but get baz is not a directory. And cp initial.txt foo bar baz doesn't work either.
Is there a way I can do this without making a shell script and looping and invoking cp multiple times? I'm thinking there has to be a succinct way of doing this.
| stackexchange/codereview |
I'm trying to make an app where you start at a menu, click a button and are brought to a list of items (which I later hope to make clickable). But I can't seem to make it call my next activity. Can anyone help?
| stackexchange/codereview |
Hello i want some data from other site form http://www.dailyfx.com/calendar & i want only calander form that site. nothing else.
also i retrive the data but hole the page data.
Kindly help me.
| stackexchange/codereview |
(Its a continution fo my question.
Now i'm having a dictionary
Dictionary<String, List<String>>MyDict = new Dictioanary<String, List<String>>();
and which contains
"A" { "A1", "", "" }
"B" { "B1", "B2", "" }
"C" { "C1", "C2", "C3" }
i need to add tthis data to a list view
Here the ... | stackexchange/codereview |
Edit: Originally I had a simple form Ajax script that wasn't working, turns out it was an extra bracket somewhere.
I have changed my question to the following:
1.)What I'd like to know is that how can I create an extra div to appear every time a value is sent? Of course, without changing the whole content inside the co... | stackexchange/codereview |
Is it possible to integrate facebook on a jsf page? Facebook only shows examples with php, but I already have an application written in jsf. I would like the single sign-on feature and be able to get my users pictures from facebook.
Maybe you have a little example on how you would do it :)
Thank you
| stackexchange/codereview |
C++0x addresses the issue of consecutive closing angle brackets in template-id's, like in
vector<vector<int>>. No space is required between > > any more. Does C++0x address the issue of <:: like in vector<::MyType> ? Is the space between < and :: still required?
Edit: I mean by the wording of the standard (draft). Man... | stackexchange/codereview |
I am writing a tiny MVC app that is a utility to simulate the actions of getting an id from a portal and setting it in a database for another app to obtain while this app is open. I attempted to write it using ASP.NET MVC to "get my feet wet." In it, I am attempting to use the JavaScriptResult (DESPITE all the warnings... | stackexchange/codereview |
I have a dictionary of form data that I want to modify using a function.
function queryCleanForm(myDictForm)
dim arrayKeys
arrayKeys = myDictForm.keys
for i=0 to myDictForm.count-1
myDictForm(arrayKeys(i)) = replace(myDictForm(arrayKeys(i)), "'", "''")
response.write myDictForm(arrayKeys(i... | stackexchange/codereview |
I'm using CLLocationManager to get a location, and I need I within about 40-50 meters. I have desiredAccuracy set to nearest ten meters (also tried with best). It always comes up as 100.00. No higher, no lower. Don't have cell service on the phone, just going off GPS and WiFi. iPhone 3G. Also tried with Apple's L... | stackexchange/codereview |
The following snippet has worked for validating user entered html snippets for ages, now in past day it started rejecting everything.
public override bool IsValid(object value)
{
var isValid = true;
try
{
var doc = new XmlDocument();
doc.LoadXml(string.Format(@"
<!DOCTYPE html [... | stackexchange/codereview |
I'm using the TransmitFile API with I/O completion ports for an efficient multithreaded file server on Windows.
This all works fine, but I've now also implemented secure sockets using SChannel. Because TransmitFile streams the file directly to the socket, I don't see a way to call EncryptMessage - will I need to read t... | stackexchange/codereview |
We are going to develop a client-server application with web interface which will store office documents on server.
When we use browser as a client we need to perform these three steps to edit a document:
download document to the local machine;
open it in office program and edit;
upload document to the server.
It is ... | stackexchange/codereview |
I've made a small script in my machine, and an alias in .bashrc that calls it. It's a bash script with 3 lines, but it can grow.
Now, some people in my team found it useful, and want to use it.
Instead of saying "copy this alias, do this, do that, install that lib" I was thinking about creating a simple package to be a... | stackexchange/codereview |
Is there a way to have AX/Axapta, prompt before compiling?
I have accidentally clicked compile for the entire app several times now, and since it takes 30-60 minutes, if I could add a prompt prior, it would be great.
Thanks
| stackexchange/codereview |
I'm trying to set up some default callbacks for listeners dynamically, and I'm not having much success at the moment.
Array:
var URLLoader_SharedCallbacks:Array = new Array();
URLLoader_SharedCallbacks.push(new Array (HTTPStatusEvent, HTTPStatusEvent.HTTP_STATUS, "URLLoader_HTTPStatus"));
URLLoader_SharedCallbacks.push... | stackexchange/codereview |
Following on from a previous question, shown here, I was wondering how I would go about changing the code below into 'foreach' statements? Any help greatly appreciated, S.
<div id="banner-wrap">
<div id="banner" class="gallery">
<ul class="galleryBar">
... | stackexchange/codereview |
New to iPhone dev here. Just wondering what's the best way to connect an iPhone app frontend (based on Cocoa) to a php/MySql based backend?
The iPhone application will frequently access and change data stored on our server.
Many thanks
| stackexchange/codereview |
i am going to develop an application for image comparison on java. For this i have choosen euclidean algorithm. This application involves with 2 images.
1. Actual image
2. Part of the actual image.
Algorithm should compare the part of the image with actual image. If the part is existed in actual image, it should return... | stackexchange/codereview |
I'm using Monotouch to develop an app for the iPhone.
In my iPhone only app, I have an InputAccessoryView appear whenever the user selects a textfield. The accessory view provides buttons which aid the user (undo/redo etc).
It works fantastically on the simulator and on iPhone devices.
However, out of the blue, the I... | stackexchange/codereview |
I have been having some trouble lately with using custom classes as types. As described in the title, I have been getting compile errors similar to the one below:
expected specifier-qualifier list before 'MyClass'
My code is usually something along the lines of this:
@interface MyCoolClass : NSObject {
MyClass *my... | stackexchange/codereview |
I have one main domain: main.com, subdomains: test1.main.com, test2.main.com and other domains one.com, two.com.
Now it's done like these:
ini_set("session.cookie_domain", ".main.com");
$domain = 'main.com';
login.php
$user = $db->query("SELECT id, login FROM users WHERE email=? AND password=?",
array($email, $passw... | stackexchange/codereview |
Let's assume that we have the next directory structure:
/parentdir/
/childdir/
child_file1.txt
child_file2.jar
file1.txt
file2.txt
so, we get next full file names:
/parentdir/file1.txt
/parentdir/file2.txt
/parentdir/childdir/child_file1.txt
/parentdir/childdir/child_file2.jar
Which regular ex... | stackexchange/codereview |
I have Restful wcf service that returns the following class, but the Total and Count fields become 0 when it reaches the client side. But they have the correct values on the server side.
public class Groups : List<Group>
{
private int total;
private int start;
/// <summary>
/// Total number of Groups ... | stackexchange/codereview |
My iPad app needs to sell products however I do not want to use Apple's payment system. The guides from Apple are very explicit and also don't provide detail.
Is there any place I find out what the rules are and how I can get around it.
e.g. Do I have to load a webpage or can I simply call a webservice for payment etc... | stackexchange/codereview |
With Django multidb, it's fairly easy to write a router that runs a master/slave infrastructure. But is it possible to write a router that writes to multiple databases? My use case is a collection of projects, all running on the same domain. To save users from registering/login in on every site, I'd like to synchronize... | stackexchange/codereview |
I've been whacking away at this for a while to no avail... Any help would be greatly
appreciated.
I have:
[{'event': 0, 'voltage': 1, 'time': 0},
{'event': 0, 'voltage': 2, 'time': 1},
{'event': 1, 'voltage': 1, 'time': 2},
{'event': 1, 'voltage': 2, 'time': 3},
{'event': 2, 'voltage': 1, 'time': 4},
{'event': 2, 'vol... | stackexchange/codereview |
I'm getting the following error:
Method 'Boolean CheckPermmision(Int32, Int32, Int32, Int32, Int32)' has no supported translation to SQL
From The function
return (from Ct in db.Salers
where Ct.isActive == true && Ct.Profile.MCID == GetActivatorMCID()
&& CheckPermmision(Get... | stackexchange/codereview |
I ran into a problem that comes with jquery animation. I am having the user be able to click a button and based off that button direction they click it slides all the list(li) elements to that opposing direction. The problem comes in that I have it set to wrap-around inside a div, so when a list element ends on one sid... | stackexchange/codereview |
I have an STL map that I want to iterate through, and can't seem to get the code to work. The code is:
//PowerupInfo is a struct defined in this class's header file
std::map<std::string, PowerupInfo> powerups;
...populate powerups
std::map<std::string, PowerupInfo>::iterator iter;
for (iter = powerups.begin(); iter !... | stackexchange/codereview |
In my this query:
SELECT *, MATCH(keywords) AGAINST ('get back future 2 ' IN BOOLEAN MODE ) AS score FROM
movie WHERE MATCH (keywords) AGAINST ('get back future 2 +movie' IN BOOLEAN MODE) HAVING
score > 0 ORDER BY score DESC, in_cinema DESC
when the record match the all keywords:' get back future 2',it return the ri... | stackexchange/codereview |
I'm getting the following error a lot when the Google bot comes by:
The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Show(Int32)' in 'someclass'. An optional parameter must be a reference type, a nullable type, or be declared... | stackexchange/codereview |
I would like to get a TTPickerTextField to search and get data from the build in AddressBook, and I understand I should make my own data source class that implements the TTTableViewDataSource protocol. But how do I implement it so that it connects correctly with the build in AddressBook? Im a newbie, so combining the A... | stackexchange/codereview |
If I make a pointer-to-base-member, I can convert it to a pointer-to-derived-member usually, but not when used within a template like Buzz below, where the first template argument influences the second one. Am I fighting compiler bugs or does the standard really mandate this not work?
struct Foo
{
int x;
};
struct... | stackexchange/codereview |
I have some classes with the same super-type. Therefore all of this classes have to override the same methods. Now I can call a method and commit it an object of the common super-type. But it is not always useful to react to each committed type therefore an exception is thrown. First i tried to solve this behaviour lik... | stackexchange/codereview |
I have both VC# Express 2010 and VS 2010 on my machine. I installed Windows phone 7 toolkit but I can only find Windows Phone 7 application template under VS 2010 not VC# Express. How can I also get it on VC# Express 2010 ?
On MS page it is advertized Windows Phone 7 for Express Edition
http://www.microsoft.com/express... | stackexchange/codereview |
How do I return the comment property from exif_read_data
link:
http://www.php.net/manual/en/function.exif-read-data.php
| stackexchange/codereview |
The problem I'm having is with fetching data from the following tables where a bus route contains 1 change or more. I am still relatively new to SQL.
I have a database containing 2 tables (bus_route and bus_stop). bus_route contains the following columns:
route - the number of the bus
run - the direction of the bus (1 ... | stackexchange/codereview |
Can this query be written with out using variable?
Basically what I need is an ID of some thing from some table for inserting a new record. Right now I'm doing it by storing that ID in variable and then using it.
DECLARE @store_num char(4);
SELECT @store_num = [store_no] FROM store WHERE (store_name = 'Rocky Mountain ... | stackexchange/codereview |
I'm having this wierd problem... in my code whether I set the value of IsRequired to false or true then it stays false.. However if I put in a DefaultValue it works?
The non-working code is:
public class FtpSettingsSection : ConfigurationSection
{
[ConfigurationProperty("host", IsRequired = true)]
public HostEl... | stackexchange/codereview |
I've the following HTML<html>
<body>
<div style="background:white;width:620px; height: 464px; overflow: hidden;">
<style>.v{width:100%;background: red;border:0px; color:#FFFFFF;text-align:
center; font-size: 11px;font-family:arial; vertical-align: middle;}</style>
<a target="_blank" href="http://www.google.com/">
<d... | stackexchange/codereview |
An image is not shown in Firefox using JavaScript.
This is the code,
<script type="text/javascript">
function ShowImage(val)
{
document.getElementById('show').innerHTML="<img src='"+val+"'>"
}
</script>
<form name="frmlist" enctype="multipart/form-data" method="post">
Filename: <INPUT type="file"... | stackexchange/codereview |
I want to convert the string Form name to Winform Object to show the form.In project the string form name is getting from database header table and its constructor is get from its detail table.
Here is the table structure
*HEADER TABLE*
ID,Name
*DETAIL TABLE*
ID,Constructor_Name,Constructor_Value
| stackexchange/codereview |
Possible Duplicate:
How to force C# App to run as administrator on Windows 7
hi
sorry about the question title, I really didn't know how to ask this, and googling failed, probably because I didn't know how to ask the question!
I know that you can right-click an .exe and then it will require elevated privileges, but ... | stackexchange/codereview |
I am looking for a Jess-like engine ( http://www.jessrules.com/jess/index.shtml ) but in unmanaged environment. I want something simple enough but possibly compliant with JSR-94. Any ideas?
| stackexchange/codereview |
After hitting the snag on the Apache module I've turned to a Daemon Application(TCustomDaemonApplication) that is also needed for my project.
Once I realized that there were no obvious way to hook to *nix signals, and the one I'm looking is SIGHUP for config reload, I dived into the source. What I find out is that the ... | stackexchange/codereview |
I have this below program
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
int x = 1;
void ouch(int sig) {
printf("OUCH! dividing by zero!\n");
x = 0;
}
void fpe(int sig) {
printf("FPE! I got a signal: %d\n",sig);
psignal(sig, "psignal");
x = 1;
}
int main(void) {
(void) signa... | stackexchange/codereview |
When we click on the back button on a nav view, is there any method (delegate) which gets called on current view controller before poping it out of stack and pushing next in stack?
| stackexchange/codereview |
What is the best way to have Maven execute a command on a remote server?
Before I use a wagon to move my newly created jar to our development environment, I want to shut down a service that depends on it.
The best I can come up with so far is to use the exec-maven-plugin to execute the remote command via ssh. Is there ... | stackexchange/codereview |
Simple situation... With any random XML file, I want to create a list of every node that it contains, but without any duplicates! So something like:
<root name="example">
<child id="1">
<grandchild/>
</child>
<child id="2"/>
<child id="3"/>
</root>
Is translated to:
/root
/root/@name
/root/child
/root/chil... | stackexchange/codereview |
I've been trying to make a ComboBox which would suggest options as you type, much like an IDE's code suggestions/code-sense, or googles suggestions when you type in a search.
The suggestions would be the items from the ComboBox dropdown, which contained the substring typed in the text box of the ComboBox.
I've tried to... | stackexchange/codereview |
The problem I am having is that I have setup runners for my Selenium/PHPUnit tests and they are always being run twice, per test, one after the other. And then it will move onto the next test. I found http://www.phpunit.de/ticket/688 that bug seems to be exactly what is happening to me -- so I removed all references ... | stackexchange/codereview |
So I have a div sandwich: three divs on top of one another. The slices of bread are both fixed-height due to background images. The meat is a 1px tall vertical repeater image. I need a way to expand the meat when overflow content from the top breadslice hits the bottom of the bottom breadslice. I figured a wrapper woul... | stackexchange/codereview |
I'm having a difficult time with the sdcard option in the Android emulator, on eclipse. It's Eclipse 3.4 on windows. It accepts the timezone option, that is in run configurations, target, the cmd line option is currently '-sdcard c://mysdcard -timezone "America/New_York"'
I've variations on the path, but when I try t... | stackexchange/codereview |
I have a nested controller that works fine, and I'd like to setup rspec to also test a nested controlled, but it doesn't test the controller unless I specify it.
i.e. my rspec test controller is here:
/spec/controllers/organizations/memberships_controller.rb
but when I run rspec to test everything, it tests everything ... | stackexchange/codereview |
I'm looking to implement a build system that will run unit tests and JSLint on the Javascript, generate documentation and compress JavaScript and CSS into minified packages.
I might also add an integration step, which automatically uploads the code to a server on each build.
I feel overwhelmed by all the choices in bui... | stackexchange/codereview |
How do I delay the jQuery animation on my page until all CSS images are loaded?
| stackexchange/codereview |
I am having some issues with the differences between running my Air Desktop application with the ADL from within my IDE and actually running it as an packaged air application that is installed. Everything functions as it should in the IDE when run with ADL, but once it is packaged the drag and drop functionality no lon... | stackexchange/codereview |
Hey, I'm used to ORM so I have huge absence of sql experience. I want to know what is the best way to insert a row into a table, that is in many-to-many relationship with another table, and within the one statement also insert a row of two foreign keys into the particular linking table to preserve data integrity.
If an... | stackexchange/codereview |
I have just placed iepngfix.htc to fix the PNG problem in ie 6, but when I include the mootools 1.3 png fix is not working.
Do you have any fixing code for this?
Thanks
Avi
| stackexchange/codereview |
I want to hide address bar and status bar in iphone because of more space. I tried this code window.scrollTo(0, 1); but this is not working in iphone. Please help me. Thanks in advance.
| stackexchange/codereview |
I've just written a couple of pagination extension methods and I was curious to know if there was any improvements I could make.
I'm pretty happy with the base pagination method, where you supply both the page size and page number (as seen below)
public static IEnumerable<T> Paginate<T>(this IEnumerable<T> source, ... | stackexchange/codereview |
I am calling a python script that uses imaplib.py and get the "no module named fcntl" error. From searching I found that this module is only available in unix and so I wonder if the py script is confused about what os it is running under. Again, script works fine under windows run directly from the python directory.
... | stackexchange/codereview |
example: i have an un-ordered list containing a bunch of form inputs.
after making the ul .sortable(), I call .disableSelection() on the sortable (ul) to prevent text-selection when dragging an li item.
..all fine but I need to re/enable text-selection on the form inputs.. or the form is basically un-editable ..
i fo... | stackexchange/codereview |
I have an SWT application that I'm trying to create a runnable .jar for; unfortunately, I cannot seem to run it from Windows Explorer, as I get an error from the Java Virtual Machine Launcher stating it:
"Could not find the main class gui.MainWindow. Program will exit."
However, it will run through command line
java -... | stackexchange/codereview |
I wrote this function and now its always returning true...
can anybody help me?
Create FUNCTION dbo.ValidateBranch
(
@BranchID nvarchar(50),
@Password nvarchar(50)
)
RETURNS bit
AS
BEGIN
declare @Res bit
if exists(Select * From TPasswords Where (BranchID = @BranchID) and (isSecurity = 0) and (... | stackexchange/codereview |
I need to inform the DomainContext in the silverlight application about changes that are made on the serverside (aka. Model of the DomainService).
Does the DomainService or other classes for RIA Services provide such notification (like Events) or do i have to call a method on the DomainService periodically to check if ... | stackexchange/codereview |
I have some code with a few errorr I do not understand how to fix at all. I have asked my professor and TA, and consulted the internet with no luck, apart from understanding more precisely what the errors mean. From what I can tell, the compiler is either confusing my overloaded operator with built in operators, or i... | stackexchange/codereview |
I was having a discussion with a co-worker over whether it is better to use a Dictionary and repopulate it whenever a result set changes or to just use linq loop over all elements in the list each time.
We're trying to map a parent / child relationship, and I suggested using the ParentID as the dictionary key, and the ... | stackexchange/codereview |
I have a block of someone else's code that does essentially this:
declare X cursor static for select * from stuff
open cursor X
fetch next from X
while @@fetch_status = 0
begin
do stuff
fetch next from X
end
fetch first from X
while @@fetch_status = 0
begin
do different stuff
fetch next from X
end
To get it o... | stackexchange/codereview |
We’re running into an issue sending duplicate notifications to our users using the Notifications module on our Mercury Pressflow implementation. The duplicate messages are identical save one thing- the [node-url] token is being replaced with ‘default’ in one of the messages. All the other tokens in the message are be... | stackexchange/codereview |
I need to put an image over jslider's knob image when mouse is present over the knob's image.
I have done something like this.:
slider = new Slider();
s= new mySliderUI(slider ,"slider.png" );
slider.setUI(s);
slider.addMouseListener(new MyMouseAction());
public class MyMouseAction implements MouseListene... | stackexchange/codereview |
Here's my code
I seem to be getting an error SQL command cannot be converted to string with this code
Dim LogData2 As sterm.markdata = New sterm.markdata()
Dim query As New SqlCommand("Select * from openquery (db, 'SELECT * FROM table WHERE person=@person')")
query.Parameters.AddWithValue("@person", Session("number")... | stackexchange/codereview |
I am making an PM system, now I am to where you are going to type the PM.
I dont know really what to use, I don't want to use an normal fugly text field, as theres much nicer stuff out there.
Ive seen those auto expand textfields, that expands more you write? What is this called? Then there's this facebook have, which ... | stackexchange/codereview |
Yet another PHP/MySQL user management question. It's for an image editor, and so each user should have their own "space" i.e. user directory (USERDIR) upon signing up, and anything under that directory should be accessible to the relevant user only. Fairly simple step up but I can't seem to find the right keywords to s... | stackexchange/codereview |
when I try the following:
if(myFunction() == "3") {
alert('its three!');
}
my function returns undefined, when I know that it is actually returning 3.
Is this because javascript evaluates the if statement before the function can return a value?
if so how can I do something like this:
var result = myFunction();
//... | stackexchange/codereview |
http://friendpaste.com/2FgBfMlNYM3IfBDuNol9i1
I get the error on line 62. The enumCW callback function simply sets the lvmHwnd variable.
The dll is injected into the processes that i'm trying to subclass.
Any help on this error is appreciated.
| stackexchange/codereview |
how to post form data in ajax way and without jquery or other libraries.
I want to define a ajaxForm function, which could serialize the form data and AJAX post, and then callback by javascript.
If I has form below:
<form action="url" method="POST">
<table>
<tr><td>label...</td><td><input name="input1" type="text"/></... | stackexchange/codereview |
Greetings
i wana know how can i export data from a table to access through a sql job
i am using sql server 2008 and office 2007
| stackexchange/codereview |
I am just messing around with some geometry shaders taking a list of GL_POINTS and outputting a box with triangle strips. i have it basically working but when i zoom in/out or pan around the triangle strips go all over the place and do not maintain their posistion in the world but are still correctly drawing the box.
... | stackexchange/codereview |
I'd like to programmatically create diagrams like this
(source: yaroslavvb.com)
I imagine I should use GraphPlot with VertexCoordinateRules, VertexRenderingFunction and EdgeRenderingFunction for the graphs. What should I use for colored beveled backgrounds?
Edit
Using mainly Simon's ideas, here's a simplified "less r... | stackexchange/codereview |
I have a sitemap file in my project. None of the links on this file are contained on our server. They all are located on another project. We need this sitemap to mimic the navigation of the original site.
Right now the url is setup like this:
url-"~/folder a/file.aspx"
What I would like to do is dynamically chang... | stackexchange/codereview |
I am looking at building a Scala web app that will have lots of code snippets in many programming languages that I would like to hightlight. It looks like one of the best, most popular syntax highlighters is Pygments, a Python tool. I downloaded Jython and was able to load first it and then Pygments from within my Scal... | stackexchange/codereview |
I need to get 3 specific fields out of a Lotus form and into a static Access table from which I can do more queries (2 of those fields make a primary key so i can join the 3rd with other stuff). In the pseudo-code below, I've fleshed out a function to do just that, but I can't figure out the details (I don't think I'l... | stackexchange/codereview |
So I am just learning .NET, WinForms, SQL Server and C#.... I previously have used VB and MS Access, so I know this is a lot different but I am looking for a place to start.
I typically used unbound forms for data entry in MS Access, then saved the data to tables on btn_Click, or button event handler with Visual Basic ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.