instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
0000-00-00 00:00:00
i have this date in mysql as default date in undefined case
how i can get them in c# and re insert them without changes in MysqlDatabase.
if i get them in c#. i got error that Unable to convert MySQL date/time value to System.DateTime
how i can get this in c# and insert them without any changes in ... | stackexchange/codereview |
Table1
ID class
1 A
2 A
3 B
4 C
Table2
ID class
1 A
3 B
4 C
Hi, is there an easy way to compare the count(class) of each table, and if the 2 tables have the same count for that class, return the ID and class.
Want to get the following results:
ID class
3 B
4 C
| stackexchange/codereview |
The following code does not call the class static constructor. Is this a bug or feature?
class Test
{
static Test
{
//do stuff
}
public static AnotherClass ClassInstance { get; set; }
}
class Program
{
public static void Main()
{
var x = Test.ClassInstance;
}
}
I don't have ... | stackexchange/codereview |
Basically I have to create a min loser tree with 11 players but I'm not entirely sure what it should look like. So far my best guess is:
W
|
L4
/ \
L3 L3
... | stackexchange/codereview |
I have an image loaded from disk as a texture, and a same-sized matrix d which has the corresponding depths.
How can I use surf to show me the image as a 3d-model? Simply taking
surf(depthMatrix, img);
doesn't give a nice result since
the camera looks not from the x-y plane in z-direction
It looks fairly black
It doe... | stackexchange/codereview |
Hey everbody, i'm having problem with a simple question.
I have a NavigationController, 01.xib ans 02.xib.
I set in IB NavigationController to dont display the navigationBar. Well, when i go to 02.xib, i set it to appear.
[self navigationController].navigationBarHidden = NO;
Everything works fine.
But, when i come ba... | stackexchange/codereview |
I have a DATE column with a date in it but I need to query it to find records less than 30 days old.
START_DATE
----------
01-AUG-2010
09-AUG-2010
22-AUG-2010
09-SEP-2010
Query:
SELECT START_DATE
WHERE START_DATE < 30;
I know it is simple Query in ORACLE SQL but i am doing something wrong.
| stackexchange/codereview |
Regardless of the following persistence.xml configuration the database is persisted on disk.
<persistence-unit name="com.mysimpatico_inmemory_persistence_nbm_1.0-SNAPSHOTPU" transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<class>com.mysimpatico.memoplatform.per... | stackexchange/codereview |
My db structure:
t_data_fields
id | field_name | field_value
t_data
id | fields_id | name |
Each of the rows in t_data have a number of rows associated with it in the t_data_fields table.
Instead of joining data width data_fields and get multiple rows for each data entry, I was wondering if it's possible to append th... | stackexchange/codereview |
I have a masked text box (number of days) in a form that has to always have an integer inside. It cannot be blank when the user pressed the "OK" button on the form.
What I need is when the user pressed "OK", if the text box is not filled as it should be, a tool tip come up and show the user they need to enter informati... | stackexchange/codereview |
I'm writing my first jQuery plug-in, but I've run into a couple of problems. In my first attempt I successfully implemented the basic plug-in, but now I need to expose additional methods for the client to use.
After numerous articles, stackoverflow posts, and reading the documentation I thought I could create an object... | stackexchange/codereview |
I have already looked here,
sending mail to a configured smtp server
and here,
http://www.questionhub.com/StackOverflow/2592434
and also the sendmail spec Appendix A,
but the answers just aren't helping me.
I have Archiva running under Tomcat 5.5.27 under Windows Vista, start up is fine but mail keeps crashing.
Ha... | stackexchange/codereview |
I've seen lots of tutorials on how to build a simple app with 2 tabs and a navigation controller - especially when there is a table view where you click a row to see details (and have built this myself). But most apps I've seen have the detail view such that either the tab bar disappears or there is another type of na... | stackexchange/codereview |
In my situation, I have to set the month to last month as default.
The default month for the datepicker is current month. But I want it to be last month or other month as default showing. How can I make it?
Such as: "2010-09" as the default.
Thank you very much!
| stackexchange/codereview |
There's a name for the act of importing and normalizing data from flat files but I can't remember what it is. I know there is one because I looked it up the other day. I believe it's a three-letter abbreviation that starts with an E. Does anyone know?
| stackexchange/codereview |
I have a large OCaml project which I am compiling with ocamlbuild. Everything works fine, I have a great executable which does everything as I want. The problem is that when I take that native executable "my_prog.native" and run it somewhere else (different machine with same operating system, etc.), the new machine com... | stackexchange/codereview |
I'm using an extremely ugly function in jQuery to listen on a paste event and remove all extraneous HTML formatting from the paste. Unfortunately, what I have now is overly strict, on top of just being butt-ugly.
I want to improve this regex to allow for the same HTML I'm already allowing inside the WYSIWYG editor. Thi... | stackexchange/codereview |
I have a Perl script where variables must be initialized before the script can proceed. A lengthy if statement where I check each variable is the obvious choice. But maybe there is a more elegant or concise way to check several variables.
Edit:
I don't need to check for "defined", they are always defined with an empt... | stackexchange/codereview |
So I have this code moving an NSButton to the coordinates listed
[[MyNSButton animator] setFrame:NSMakeRect(567, 228, 109, 151)];
Then I have the same code moving another NSButton
[[MyNSButton2 animator] setFrame:NSMakeRect(695, 228, 109, 151)];
What I want to do is have the first statement execute, and then when th... | stackexchange/codereview |
How to get display:table-cell support in IE? I need lightest solution.
| stackexchange/codereview |
What is the setting used in .vimrc to make the netrw directory listing ignore/hide certain file types?
set wildignore=*.obj,*.exe only seems to work for tab completion.
Within netrw, you can ctrl-g to edit the hiding list, but that only lasts for that session.
| stackexchange/codereview |
My repo is SVN, and I do all development with git. We have a standard layout, and I initialized my local repo with git svn init -s <url to repo>
Here's my workflow for working with branches:
# creates a new branch remotely
git svn branch new-branch-name
# switches to a branch or trunk locally
git reset --hard name-of-... | stackexchange/codereview |
Whenever I have my iPod connected to my computer and I build/run from xcode, I have a difficult time making it crash. However, once I disconnect it and try to run the app by itself, it crashes in no time. it's much harder to debug with the little info I can get from the organizer console, so this is bothering the hel... | stackexchange/codereview |
i am making an app in which there is a need of money transaction...
for this i have to send SOAP xml to server but in secure way....
i have been told that i have to create SSL connection first and then send that soap message.....
I know about SOAP very well but no idea about SSL connection...
please provide some help..... | stackexchange/codereview |
When I open form to edit values:
It doesn't change form values when I navigate with <> buttons
It opens New form with same values as first edited row, and when I click "Submit", it overwrites that row instead of creating a new item
When I click to edit another row, it always shows the form values for the first edited ... | stackexchange/codereview |
I have lat/lon for 2 places. How to get directions from google maps api?
I want to show map and directions text.
| stackexchange/codereview |
I was just going through some security blogs and I found this image of an major financial entity and I was not sure of what could have caused this kind of error to appear on client facing page and how to fix it so that we do not have any potential security loop hole in the system ?
| stackexchange/codereview |
trying to run a function without putting it in the Main() when the program is run.
how do I start the new created function?
trying to call RunMix() in the Main() but get an error because of the lable1
namespace mixer
{
public partial class Form1 : Form
{
public Form1()
{
Initia... | stackexchange/codereview |
I am using c .
I have fd1 as a file descriptor, can I call like this twice?
main () {
....
shutdown(fd1, SHUT_WR);
....
shutdown(fd1, SHUT_WR);
....
}
I personally think it works because fd1 has not been really free yet. Just want somebody to confirm.
| stackexchange/codereview |
How to add an image in one grid column based on a condition (image will change depends on data in the grid column) in c1datagrid
I'm using autogenerate columns, biding grid with c1.data
| stackexchange/codereview |
Code:
HTML
<!-- snip -->
<div class="parent" id="parent">
<div class="child" id="child">
</div>
</div>
<!-- snip -->
Javascript
/* snip */
$(function () {
$("#parent").click(function () {
alert("This dialog should only show up if the parent is clicked.");
});
});
/* snip */
(This is just the b... | stackexchange/codereview |
There's probably someone else who asked a similar question, but I didn't take much time to search for this, so just point me to it if someone's already answered this.
I'm trying to take an integer (or long) and turn it into a string, in a very specific way.
The goal is essentially to split the integer into 8-bit segmen... | stackexchange/codereview |
I was wondering if any OData Python libraries are available to produce and consume OData?
There are implementations for different languages:
http://www.odata.org/libraries/
But I couldn't find Python so far. I don't mean IronPython by the way. The library should be just usable in Python.
| stackexchange/codereview |
In my main activity, I have the following code that calls my FileBrowser activity:
Intent newFileIntent = new Intent(getBaseContext(), FileBrowser.class);
newFileIntent.putExtra("action", "browseDirectories");
startActivityForResult(newFileIntent, 2);
But when this code executes, my app force closes.
I ran the a... | stackexchange/codereview |
Can anyone see what I'm missing?
I'm using Codeigniter v1.72.
In the doc:
http://codeigniter.com/user_guide/libraries/form_validation.html
It states:
$this->form_validation->set_rules('username', 'Username', 'callback_username_check');
function username_check($str)
{
if ($str == 'test')
{
... | stackexchange/codereview |
Odd - I can't seem to use a jQuery.get() to read the response from a django.HttpResponse.
From Django's end, I have a view:
def hello(request):
return HttpResponse("Hello world", content_type="application/html")
And URL:
urlpatterns = patterns('',
('^hello/$', hello),
And when I visit http://localhost:8000/he... | stackexchange/codereview |
I am new to iPhone development.
i would like to know about the storekit framework...
could you people please help me out to know about storekit and how it works ...
Thanks for your time
| stackexchange/codereview |
I have a confusion about understanding Property and Variables
public class ABC()
{
public int A;
public int B { get; set; }
}
What is the exact difference between in A and B?
| stackexchange/codereview |
I have a method as follows:
Public Sub Send()
Dim caughtException As Exception = Nothing
Try
//Attempt action.
Catch ex As Exception //Custom exceptions which can be thrown all inherit from Exception.
//Instantiate error object to be logged.
caughtException = ex
End Try
//L... | stackexchange/codereview |
I have a program which runs a thread. The thread performs processing all the time and it uses some synchronized queue.
The class snapshot is as follows:
public class MyClass:IDisposable
{
private Thread myThread = new Thread(threadFunc);
private volatile bool runThread = true;
public MyClass()
{
... | stackexchange/codereview |
In the messages users write with eachother, I wish to turn Youtube links into the youtube thumbnail of it+title.
So how can I check if $msg contains a youtube video link, and if it does, it should take the video id (?v=) of it, and run this:
$.getScript( 'http://gdata.youtube.com/feeds/api/videos/$videoid?v=2&alt=json-... | stackexchange/codereview |
Can I use MSMQ to reduce the number of synchronous write operations to a database and instead have the records written to the database every X number of minutes?
| stackexchange/codereview |
Using SPMETAL I've generated a C# file allowing me the use of LINQ to access Sharepoint objects.
However, using a very simple query produces a strange error:
Specified cast is not valid.
Stack trace:
at Set__zleceniaTrigger(Object , Object )
at Microsoft.SharePoint.Linq.StaticPropertyMap.SetToEntit... | stackexchange/codereview |
I've been trying to figure out how to do something like
SELECT * FROM domain WHERE config_id IN (1, 2, 3)
when using the nice findBy technique of Grails. Haven't really figured out how yet though, is it even possible? I was hoping for something like
Domain.findByConfigIn(configList)
but that doesn't work. Anyone kno... | stackexchange/codereview |
Here's what I want to do:
Build an existing .csproj that targets "Package"
Publish the package with MSDeploy to an IIS 6 server
This is for a TeamCity build and release that I'm trying to configure in a single step. I could create a custom build file but I'm trying to tackle this without adding any additional configu... | stackexchange/codereview |
Hi I have the following xml returned from the server:
Code:
link text
I couldn''t seem to get the xml store configuration right. Especially, I want to be able to obtain the custom tags: name, intra and referrals which are properties of the result set returned.
Many thanks!
| stackexchange/codereview |
I created 5 circles with random x and y coordinates and radii using 3 arrays (for x, y and radius size). However, I need the circles to dynamically change color based on whether or not they overlap with another circle. So if one of the 5 circles doesn't overlap at all, it should be colored black. Overlapping circles sh... | stackexchange/codereview |
In trying to provide a simple answer to a post about a "C++ compiled app" I was surprised that there weren't any questions or answers about this basic topic. Even searches on Meta didn't find anything helpful, whether on explaining compilers or beginning compiler questions in general.
We want Stackoverflow to be a good... | stackexchange/codereview |
I have a django webapp with multiple users logging in and fill in a form.
Some users may start filling in a form and lack some required data (e.g., a grant #) needed to validate the form (and before we can start working on it). I want them to be able to fill out the form and have an option to save the partial info (... | stackexchange/codereview |
I would like to get into Plugin development using the Gmail API and as such I would like to ask those who already have experience in it a few questions.
What language / languages should I be familiar with? I'm not familiar with Python, PHP, or JavaScript. Will I need to pick up on these?
What level of control do I hav... | stackexchange/codereview |
I have a set of JAX-WS generated classes which are duplicated in another package. Now I want to map between those classes by using Dozer. The problem I have now is based on JAX-WS not generating setters for Collection types. Instead of calling set(List<Foo> foo) I have to call getFoo().addAll(List<Foo>).
How can I con... | stackexchange/codereview |
I have customized customer module to meet my requirement. I am able to rewrite block classes of customer module. I am trying to add one custom block class in this module which is not exists in existing customer module but I don't know how to accomplish this.
my code looks like in config.xml
<blocks>
... | stackexchange/codereview |
I'm trying to do a 301 redirect with mod_rewrite on a PHP script from an upper directory on my website. The URL I want to redirect looks like this (obviously the querystring is always different).
http://www.foo.com/bar/script.php?variable1=bar&variable2=foo
And I want to redirect script.php? to the lower lever on my s... | stackexchange/codereview |
I'm fighting with jQuery jsTree plugin checkbox. Ok, I have find out how to handle events on checking or unchecking checkbox. If its useful I can paste a code:
.bind("check_node.jstree", function(e, data)
{
if(data.rslt.obj !== undefined && data.rslt.obj.attr(\'id\') !== undefined)
{
... | stackexchange/codereview |
I have a single table in the Sql Server 2008 r2 DB. Every few seconds I import data into this table. At one point, the import was failing, so it was constantly importing the same data, creating duplicates. (basically, if the import read 20 lines, imported 19 and failed on 20 .. then those 19 were not in a transaction .... | stackexchange/codereview |
I want to add some string which I format using the boost library as follows
boost::container::vector<std::string> someStringVector;
someStringVector.push_back(
format("after is x:%f y:%f and before is x:%f y:%f\r\n") %
temp.x %
temp.y %
this->body->GetPosition().x %
this->body->GetPosition().y;
Th... | stackexchange/codereview |
I am not sure why the validation state doesn't get reflected in my user control.
I am throwing an exception but for some reason the control doesn't show the validation state...When I use a standard Textbox (Which is commented out right now in my example) on my MainPage it shows the error state, not sure why its not whe... | stackexchange/codereview |
The Facebook XHP extension introduces what are basically XML literals (well, XHTML literals) to the PHP language, allowing syntax like the following:
$foo = <div>hello</div>;
$foo = <div>
hello
</div>;
$foo = 'hello';
echo <div>{$foo}</div>; // outputs <div>hello</div>
$foo = 'hello';
echo <div>{substr... | stackexchange/codereview |
I'm new for android.I want to make an APP change my content everyday, but I don't think my user will like to update my APP everyday.
How should I do?
| stackexchange/codereview |
Hi I want to call the corresponding html inside a Panel in code behind. How can I do that?
I have this
<asp:Panel ID="MyPanel" runat="server">
// other asp.net controls and html stuffs here.
</asp:Panel>
I want to get the HTML equivalent of MyPanel and all of its contents in my code behind say in PageLoad or some ... | stackexchange/codereview |
im tryin to populate check boxes and set their values from a xml file using jquery by folloowing code... the problem is its not working can anybody plz tell me whats im doin wrong
$(document).ready(function(){
$.ajax({
type: "POST",
url: "controls.xml",
dataType: "xml",
... | stackexchange/codereview |
I am using Ruby on Rails and have a situation that I am wondering if is appropriate for using some sort of Key Value Store instead of MySQL. I have users that have_many lists and each list has_many words. Some lists have hundreds of words and I want users to be able to copy a list. This is a heavy MySQL task b/c it ... | stackexchange/codereview |
I'm using MySQL in PHPMyAdmin. I would like to create table where one can find distinct id's for every user. Can this be done by auto_increment, like
`user_id` SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY
or what does the auto_increment mean?
| stackexchange/codereview |
I wanted to know if anybody has an idea how to use opensmpp, I want to create a java program that connects through an smpp interface to send sms messages. If you can provide me with a guide and if there are any opensource applications that does the same thing out there?
| stackexchange/codereview |
I want to get "PrintScreen" of Client PC when he access a particular Web Page.
I tried GOOGLEing this IDEA! but was unable to get much,
Infact what i got know on stackoverflow itself is Javascript PrintScreen
JavaScript cannot be used for such functionality.
So, I would like to know can it be done in Ajax,ASP.NET with ... | stackexchange/codereview |
I am using charset=utf-8; in the csv options. The chinese characters and some special characters ( for eg :- '»', ) are still not rendered correctly in the csv, though the same text looks fine in the browser.
| stackexchange/codereview |
An ASP.NET 2.0 web application has been compiled with PDB symbols, deployed to a server running IIS 6.
In the web.config, user impersonation is enabled:
<identity impersonate="true" />
When an Exception is thrown, the stack trace is missing line numbers, making it very difficult to determine exactly where the except... | stackexchange/codereview |
In my app.yaml file I have:
handlers:
- url: /resume
static_dir: resume
Inside my /resume folder I have an index.htm file. I want this file to show when I navigate to http://myapp/resume -- how do I tell GAE that index.htm should be the default page in this directory?
| stackexchange/codereview |
Is there a correct way to include multiple forms in a single table?
For example, I have 8 rows, four of them correspond to a single table, the other four correspond to a second. What would be the best way to do this? I know putting a table between TRs is invalid.
| stackexchange/codereview |
I have a html file that has two buttons, approve and reject. I want that if someone clicks on the approve button, I want the box to disappear and display a message PERMANENTLY.
By permanently I mean that it should not return the box when I refresh the page.
Is it possible with JS or PHP or anything else?
Thanks.
| stackexchange/codereview |
somebody knows how to pass a list of object to a cfselect coldfusion tag?
for example I have this java class
public class Person{
private long id;
private string name;
//getters and setters
}
And I receive a java.util.List on coldfusion. How I get inside the <cfselected> the id and name attributes from the lis... | stackexchange/codereview |
Possible Duplicate:
Xps printing from windows service
I have a custom .TTF font that is referenced in a XAML document.
ex:
<TextBlock FontFamily="custom font name">render me</TextBlock>
if I view the xaml document in IE the font renders just fine
If I print the xaml to an .xps file, the font will render just fin... | stackexchange/codereview |
I'm trying to return a simple object (that was created in an EDMX with EF 4) through a WebGet operation in my WCF Data Service. I'm able to see the object, but the property that is an object is not populated (int this Case DisplaySize is empty, even though I've set it. I'm planning on making a database call to populate... | stackexchange/codereview |
So I have a mysql table for photos on my website. Every photo is tied to one of two sets of entities, so has two columns; nEntity1FK, nEntity2FK.
Exactly one of these columns is always non-zero in every row. As such about 50% of the rows have "0" in nEntity1FK, and about 50% have "0" in nEntity2FK.
All well and good s... | stackexchange/codereview |
Is there any way to make a rounded border in IE without using images using CSS only, or any other easy way?
I have checked other questions like this on Stack Overflow, but I’m not getting an exact way.
| stackexchange/codereview |
I am getting this warning when compiling the code, setAllowsImageEditing is deprecated.
Any help pls.
self.imagePicker.allowsImageEditing = YES;
| stackexchange/codereview |
So, we have imported data which we have queried and then created a pivot table off that query. It is essentially a list of files, each having unique ID numbers, and various attributes (file extension, type of document, hash, etc). In any case, this data is based off "hits" on keyword searches from a different program. ... | stackexchange/codereview |
I've been trying to get Html 5 file uploading to work. I just don't seem to "get it". So rather than tell you about all the problems I'm facing I was wondering if someone has already nicked this in the bud and would be willing to help.
Nice to have features would be
1. File upload progress
2. Time left
3. Some sort of... | stackexchange/codereview |
In PyQt 4 I would like to create a QTreeView with possibility to reorganize its structure with drag and drop manipulation.
I have implemented my own model(QAbstractItemModel) for QTreeView so my QTreeView properly displays the data.
Now I would like to add drag and drop support for tree's nodes to be able to move a nod... | stackexchange/codereview |
I have created an SQL server database and saved data using vb.net code.
How can I read that file's data, the way we do in Access?
Thanks
Furqan
| stackexchange/codereview |
I have such code:
if(object != null && object.field != null){
object.field = "foo";
}
Assume that object is null.
Does this code result in nullPointerException or just if statement won't be executed?
If it does, how to refactor this code to be more elegant (if it is possible of course)?
| stackexchange/codereview |
I follow the code snippet to calculate Session size.
Profile Memory Usage of Session State ASP.Net
My problem is some properties of objects aren't marked as Serializable so I cannot apply the solution.
Can I just bypass non-serializable properties?
Thanks
| stackexchange/codereview |
I am new to Ubuntu and I had the following questions.
When compiling a C or any other program one often writes a command such as gcc hello.c -lm
I am told the -lm option is for explicitly linking the math library during the compiling
phase. I wanted to know where the library 'foo' is supposed to be located if linked ... | stackexchange/codereview |
I have a complex save process (a cyclical reference that needs to be resolved by validating and saving and one model, validating and saving another and then updating the first with an id from the second) that has rollbacks depending on if something bad happened etc.
My models are related in this way:
Accounts have one... | stackexchange/codereview |
I got this line of code from a book. I don't understand how would some one know that controller.List().ViewData.Model could be typecasted as IList??
var people = controller.List().ViewData.Model as IList<Person>;
| stackexchange/codereview |
I have a bunch of graphics assets in a fla, the MovieClips are linked to some classes. I export the fla as a swc , which I add to my library with the option "Merged into Code".
All works great, I can create instances of my MovieClips , just by calling their classes like this.
//example 1
var newMc:BaseClass =... | stackexchange/codereview |
I'm having problems with something that should be simple.
I have two use cases...
The user is the site directly
The user is using an iframe from
another site
I want to do the same thing in either case except I don't want to use the layout for my website in the case it's the iframe so I have a "plain" layout
layout ... | stackexchange/codereview |
For my iPhone app, I'm trying to use Apple's MixerHostAudio class to mix and play the audio files specified by the user.
To make the MixerHostAudio class play the files specified by the user, I instantiated the class with the NSURL of the files. This works great for the first instantiation, however when I wanted to the... | stackexchange/codereview |
I have a requirement to delete all files in a directory, except for the 5 that were created the longest time ago. So if I have a directory with files that were created on.
11/6/2010, 11/5/2010, 11/4/2010, 11/3/2010, 11/2/2010, 11/1/2010
The only file to be deleted would be the one created on 11/6/2010. What is the best... | stackexchange/codereview |
I'm having some trouble mapping my apple key in vim.
I know that 'D' is the mapping symbol for the command button, but it doesn't work!
I've tried with: map! <D-s> <Esc>:w<Enter>, but it doesn't work!! I'm getting real frustrated - does anyone know why it's not working?
It works with map! <F2> <Esc>:w<Enter>
I am using... | stackexchange/codereview |
in my 2d game I would like to create an intelligent bot who can "shoot" to the player.
Suppose I can pass to my bot:
actual xEnemy, yEnemy
also enemy speed and angle direction
How can I calculate "where to shoot" considering that Bot must rotate its gun to the right direction?
This is a really big problem for me, be... | stackexchange/codereview |
I am trying to determine if a textarea is empty if a user deletes what is already pre-populated in the textarea using jQuery.
Anyway to do this?
This is what I have and its not working
$(textarea).live('change', function(){
if($(this).val().length == 0) {
$(submitButtonClass).addClass('disab... | stackexchange/codereview |
I'm working on a page on my little project where I want to list all users in my database to a page.
At the moment I'm at the select statement, but I dont know how to pass it to the view:
public ActionResult Index()
{
SqlConnection connection = new ...
connection.Open();
SqlCommand command = new SqlCommand("SELEC... | stackexchange/codereview |
I need to write a script that sets the short name of a file on a FAT32 file system. On NTFS I can use the FSUTIL utility under windows but I cannot seem to fathom out how to do this for a FAT32 drive.
Bonus kudos for a window command or powershell script
| stackexchange/codereview |
I would like to have framework for tracking web site/page usage within company firewalls on asp.net platform.
Want to track hits and integrate with particular feature within an application to understand end user usage (i.e. log particular actions of users in addition to simple page count type analytics)
I have yet to f... | stackexchange/codereview |
I'm trying to do something stupid: load a CRL and output the list of revoked certificates serials.
With M2Crypto loading the CRL is done with:
import M2Crypto
crl = M2crypto.X509.load_crl('my.crl')
But i'm really surpised that the returned object has only one usefull which is
crl.as_text()
With some regexp, i can pa... | stackexchange/codereview |
I have a custom UITableViewCell on which I have added a button, I have associated that button on an IBAction in my viewController. Now the problem that i am facing is how do I know from which cell that button was created. When I present my viewController which has a table in it and has multiple rows (custom UITableView... | stackexchange/codereview |
I'm doing something for class where I want to use a different format string based on certain conditions. I defined it like so:
const char *fmts[] = {"this one is a little long", "this one is short"};
later, I can use
printf(fmts[0]);
or
printf(fmts[1]);
and it works.
Is the compiler doing something for us? My guess ... | stackexchange/codereview |
Why Flash Firebug doesn't work with flex 4.5?
UPDATE:
Hy!
I have Flex 4.5 and in the main application, in the script tag I write:
import ominds.Firebug;
I use flash player WIN 10,1,85,3 Debug enabled.
I export swf as 10.1.85 version.
And when I open the flashFirebug I get this:
"No SWF files with the O-Minds package f... | stackexchange/codereview |
I can't play more than one sound per page.
I created 2 instances of MediaElement, and each one, I set to play, but it only play one!
How can I solve this please?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.