instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Consider the file, L,12/5/2008,Blacktown C,Willy Wonker,10.00 C,Adolph Hitler,20.00 C,Attila the Hun,30.00 C,Idi Amin,40.00 C,Ghengis Khan,50.00 T,150.00 L,13/5/2008,Parramatta C,Attila the Hun,100.10 C,Willy Wonker,200.20 C,Ghengis Khan,300.30 T,600.60 L,14/5/2008,Mount Druitt C,Adolph Hitler,1000.00 T,2000.00 L,15/5/...
stackexchange/codereview
So I am trying to add a primary key to one of the tables in my database. Right now it has a primary key like this: PRIMARY KEY (user_id, round_number) Where user_id is a foreign key. I am trying to change it to this: PRIMARY KEY (user_id, round_number, created_at) I am doing this in phpmyadmin by clicking on the prim...
stackexchange/codereview
In the following code Range(C16:I16) will only copy that line of data. I need it to move to the next line below it because it will be the next day. And continue to do this until the end of each month. What would I need to add to accomplish this? Thanks. Sub test() Workbooks("MAY10-Key Indicator Daily Reportcopy.xls")....
stackexchange/codereview
I have just entered in the world of OpenX, and as figured out that new version is built with PLUGIN Framework. I have gone through the Openx plugin development documentation, but its quite bit complicated and half explained. Being a php developer, I would like to jump into plugin development for openx. If anyone can po...
stackexchange/codereview
We copy a lot of data around in our organisation, and we like using RoboCopyPlus for the robustness and the email reports at the end. I've added the RoboCopyPlus string to the folder context menu in the registry as: cmd /c robocopyplus "%1" "C:\Data" *.* /s But that means I can only copy a folder to C:\Data. ...
stackexchange/codereview
code: date=int(raw_input("Date:")) ammount=int(raw_input("Ammount:")) desc=str(raw_input("Description:")) account=str(raw_input("Account:")) def addEntry(date, ammount, desc, account): transact=open("transactions.txt", "w") transact.write(date, ammount, desc, account) transact.close() addEntry(date, ammou...
stackexchange/codereview
i have a std::vector<int> and a second container holding iterators or indexes (no keys, i want constant access to the element) to this vector for deletion purposes. Let's assume i have a vector of 1000 elements and want to erase 200 of them. The order of the non-removed elements should be the same after the deletion o...
stackexchange/codereview
My python-script (Python 2.6, on Debian Linux) asks the user for a password, wich is then saved in the users home directory. Because i don't want to safe the password as plain text, i want to encrypt it somehow. So i thought that maybe i could use the (private) ssh-key of the user to encrypt and decrypt the password t...
stackexchange/codereview
Is it possible to trap text selection via the keyboard AND mouse as a selection/selection_change type of event? (I know I can trap selection via the keyboard by watching every keypress and comparing selection range - but I see no way to detect selection via the mouse or as a discrete event by itself) I've looked at the...
stackexchange/codereview
In the SeismicXMLAppDelegate implementation file of this class they have the following code: // forward declarations @interface SeismicXMLAppDelegate () @property (nonatomic, retain) NSURLConnection *earthquakeFeedConnection; @property (nonatomic, retain) NSMutableData *earthquakeData; // the data returned fr...
stackexchange/codereview
I know there are lots of similar questions floating around, but none of the answers seem to fix my problem. I have an app that uses an NSURLConnection to download a file, and then does some calculations on the downloaded file. I set up a UILabel to display the current loading status (eg: "Loading file", "Parsing file")...
stackexchange/codereview
Are there any command-line tools specifically for SQLite 2.1.
stackexchange/codereview
i recently downloaded a free app and noticed that the icons on the apps tab were colored. and had a slight 3d perspective. so i just wanted to find out if there is anything wrong doing this in a commercial related application. because from reading the icons guideline documentation for android, they kind of sound very s...
stackexchange/codereview
$('.removeItem').live('click',function(){ var postData = {}; $(this).closest('tr').find('.tableRow'){ var keyPrefix = 'data[' + index + ']'; postData[keyPrefix + '[index]'] = $(...
stackexchange/codereview
I'm experiencing an intermittent deadlock situation with following (simplified) code. DataSet my_dataset = new DataSet() SqlCommand sql_command = new SqlCommand(); sql_command.Connection = <valid connection> sql_command.CommandType = CommandType.Text; sql_command.CommandText = 'SELECT * FROM MyView ORDER BY 1' SqlDat...
stackexchange/codereview
I might be confused here and asking the wrong question. If I use a class like the UISplitViewController inside the appdelete.m, will the only message i will receive is the message the UISplitViewController calls and not any VIEW message? for example: in my myappdelegate.m .... UISplitViewController *mySplitViewControll...
stackexchange/codereview
how can i put a ID on this <?php echo anchor('profil', 'Profil'); ?> i wanna echo a username ID to it like <a href="profil.php?id=<?php echo $id; ?>">Profile</a>
stackexchange/codereview
I have a form which actions against a php file. Once the form is completed and the data is inserted into the databse, it want it to display "Awesome". Awesome is being displayed but is above the form. I want it to replace the form and display awesome. How do i do that? Thank You. if($done ) { echo "Awesome"; } else...
stackexchange/codereview
I have an ASP.NET Web Application that needs to connect to/interact with an existing set of web services. This is going to sound like a vague question, but, I'm not sure of the address to bind to. When I look at the server on which the web services reside on, I have found a .wsdl file. I have used this .wsdl file to b...
stackexchange/codereview
I don't have any expirience in regex with php (just some copy/pasting for simple tasks) so I can't 'solve' simple situatio, and I hope that somone can help. I have a lage files that look like: xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxx text,text,text, text,text,tec,etc Now i need in php to write function where pass...
stackexchange/codereview
I am trying to run javascript on UIWebView and so far everything has been great, but I got a problem where I need to change a value in selection box, I am doing this document.getElementById('dt').selectedIndex = 5; somehow UIWebView won't change it, I can read the value perfectly, but somehow it doesn't change.
stackexchange/codereview
How can I export a table from a SQL Server 2000 database to a .sql file as a bunch of INSERT INTO statements? One of the fields in the table is a Text datatype and holds HTML so doing this by hand would be rather time-consuming. I have access to SQL Server Management Studio 2008 to access the SQL Server 2000 database.
stackexchange/codereview
say I have 3 share memory array: a b c. I am not sure if following thread arrangement will cause control divergence or not, if (threadIdx < 64) { if (threadIdx == 1) for (int i = 0; i < N; i++) c += a[threadIdx]*a[threadIdx]; else for (int i = 0; i < N; i++) c += a[thread...
stackexchange/codereview
I have Shape (Path or Polyline). I want to move my shape on some vector. I need to simple way in one method like this: Move(shape, 0, 5); How I can do this? There is there such a method in class Shape?
stackexchange/codereview
d1 + 4 works but 4 + d1 doesn't even though 4 can be converted implicitly to a GMan. Why aren't they equivalent? struct GMan { int a, b; GMan() : a(), b() {} GMan(int _a) : a(_a), b() {} GMan(int _a, int _b) : a(_a), b(_b) {} GMan operator +(const GMan& _b) { GMan d; d.a = th...
stackexchange/codereview
Instead of <?php print $somevar; ?> you can write <?= $somevar; ?>. The reason I ask is that my php configuration does not seem to be evaluating these and I need to know the name so I can change php.ini.
stackexchange/codereview
We have an existing Tomcat/Linux/Servlet/Java web server but we no longer have the developer. We have C#/Windows code (desktop app) that does the same kind of computation/data manipulation as the web site. I'm investigating why the two give slightly different results. To achieve this, I would like to write a small java...
stackexchange/codereview
I have a list of files with a bunch of attributes. One of the attributes is the file name which is how I would like to sort the list. However, the list goes something like this: filename 1, filename 2, filename 10, filename 20. The ruby sort_by method produces this: files = files.sort_by { |file| file.name } => [filena...
stackexchange/codereview
I'm trying to return the last change list synced to a specific directory per client spec. I've researched this pretty heavily and am starting to think it's impossible. This is what I have so far: p4 changes -m1 @<Client_Spec_Name> This will return the last change list synced to the passed in client spec, which I can t...
stackexchange/codereview
i had been trying to get the html newsletter on an id configured using outlook 2007/10, but the issue is that i am unable to get the background image, it just appears blank there. is there any way to get the background image there?? Or is there no way i can get the image ??
stackexchange/codereview
I'm using GAPI to try and create simple reports from our Google Analytics data. My internal customer would like to see an overview with 2 fields per page: pageviews and unique visitors. I have the pageviews part working, but I cannot get the unique visitors part to work. This is my current code. The filter would be a p...
stackexchange/codereview
I am doing an AES encryption in my C# code, using a key which is generated using PasswordDerivedKey function by passing a password and a salt of 12 byte. I have implemented the logic in my application code and the "password" is the username of the logged in user and the salt is a static byte aray. What is the best way ...
stackexchange/codereview
We have a site using Unity and IUnitOfWork for our EF context. Until now we've only been using a single EF Context so this is the one mapped in Unity config. This has all been handled through constructor injection and this is something we'd like to maintain for consistency. We've now introduced another EF Context for...
stackexchange/codereview
I would like to have a non-required Moose attribute that can be set only once. If I use is => 'ro' I must set the attribute upon creation of the object, but I want to be able to add it afterwards (as long as it's not been set already).
stackexchange/codereview
Windows applications have an icon in the top left of the titlebar, to the left of the application name? If you click it, it has options like Restore, Minimize, Maximize.. etc. In many programs they have additional menu options there (beyond the default one's provided by Windows). How can I implement this in C# Winform...
stackexchange/codereview
Hello all I am using HTMLTable of import com.google.gwt.user.client.ui.HTMLTable I instantiated it like below: HTMLTable table = new Grid(rows, col); Number of rows and columns are decided by the user input. Now I want to used colspan for the specific rows of the table. One way to this is apply css to the that specifi...
stackexchange/codereview
I use seam 2.2.0.GA. My password/confirm fields have redisplay="false" so the current password isn't in html. validateEquality is in the confirm field. I want the following behavior: when I create a new entity, both password/confirm fields should be required. When I edit an entity, both fields shouldn't be required, b...
stackexchange/codereview
I would like to know how I can set a maximal height for drawing text in a <canvas>. As a 4th argument for fillText() I can give a maximal width, but I also want to limit the vertical space for text, so that all the text which is too much is just hidden. Is this possible, and if so, how?
stackexchange/codereview
I have a swingworker class calling a method that uses DefaultHttpClient to establish a persistent connection to a secure web site. After I login and make a request to the site with an instance of swingworker, the instance of swingworker closes (as is normal). My question is: how do I maintain the persistent login to ...
stackexchange/codereview
I am following the brokenthorn operating development series to study about bootloader. In this page , these are the three line of code : bits 16 ; We are still in 16 bit Real Mode org 0x7c00 ; We are loaded by BIOS at 0x7C00 start: jmp loader ; jump over OEM block In second line He loaded the bios at 7c...
stackexchange/codereview
I have a domain and I am not aware of the domain server name or IPaddress, all I know is just the domain name. A group created under this domain. The users added to this domain belong to different domains. I have to get the list of users, irrespective of their domain, added to that group and show it in a list box. I ha...
stackexchange/codereview
Hi I am trying to develop a code to perform a task in Silverlight using Dependency property. Question: There are two textboxes, if i entered text in one text box means, the text that is entered in first textbox should also displayed in the second textbox. If anybody knows please sent me the code. Regards, Ramesh
stackexchange/codereview
Is there a proposal / RFC for resource bundles in HTML? (Or is there already a standard and I have missed the boat?) The concept of resource bundles has worked well with PDF, Java's JAR, Flash's SWF, Android's APK, etc; it seems like WWW is lagging behind here. Here's my informal proposal: Allow bundling of all the pa...
stackexchange/codereview
Can I use the DBCC CHECKIDENT(<table_name>, RESEED, value) command to reset an identity column current value to the original one in SQL Server 2008? If yes, is this the correct way of doing this operation without having any drawback? If not, is there an alternate way of doing this?
stackexchange/codereview
i have this string: string foo = "<p>temp</p>"; how can i show it on my page without using Response.Write(foo)
stackexchange/codereview
I was wondering if anyone knows a way to convert scary looking maths equations (without being able to understand them) into pseudocode so I can implement it into Java? If anyone knows of a tool that could help me understand this equation that would be great. Radon Transform Thanks for any help!
stackexchange/codereview
using sms manager it does not work with a csv list; is there any way besides looping and sending more than one text to send to multiple recipients? or is this by design a non-spam feature?
stackexchange/codereview
I have an .aspx page that contains an <asp:Login> web control. For authentication, I have another class (MyMembershipProvider) that inherits the System.Web.Security.MembershipProvider class. The login process is working fine - i.e. username/password is properly authenticated by the MyMembershipProvider object. My ques...
stackexchange/codereview
My site uses two app server, namely app1 and app2, so in the configuration I have something like this: upstream cluster { server app1:8080; server app2:8080; } Since every time I update the code I need to restart both server processes and I want the service undisturbed, I will follow these steps manually: Com...
stackexchange/codereview
How can I hide the VideoPlayer's fullscreen button please and make all the other components "snap" to full width instead of having a gap there?
stackexchange/codereview
I was changing css file urls like str_replace('url(', 'url(somelocation/', $content); now I want to exclude, absolute path ones, like url(/ does any one suggest something?
stackexchange/codereview
I've been googling this all day and can't seem to find an answer. Also searched here of course, and also didn't find it, but please forgive me if I've missed the answer somewhere. I did try! I have a YUI DataTable that contains a CheckBox field. I would like to have this box checked or unchecked based in the incoming J...
stackexchange/codereview
I know this question is probably very basic, but I am a beginner so I hope it is justified. I tried searching but could not really find anything basic on the topic. So... if I have a web app with users that are generating certain numbers over time and I want to create a pie chart and scatter plot of this data how would...
stackexchange/codereview
Is there intellisense support in Visual Studio for jQuery 1.4.3? How do I enable it? What file(s) do I need?
stackexchange/codereview
#ifndef INFINITY #ifdef _MSC_VER union MSVC_EVIL_FLOAT_HACK { unsigned __int8 Bytes[4]; float Value; }; static union MSVC_EVIL_FLOAT_HACK INFINITY_HACK = {{0x00, 0x00, 0x80, 0x7F}}; #define INFINITY (INFINITY_HACK.Value) #endif I'm currently getting started with the Chipmunk physics...
stackexchange/codereview
I am trying to set an ImageView's background every x seconds. The used Drawables are downloaded from a server, placed in a Vector and when they all have been downloaded I am starting a Timer and a TimerTask which simply has to set an ImageView in an Activity's Layout. The problem is that I am getting a : android.view.V...
stackexchange/codereview
How do I concatenate strings in Entity Framework 4 I have a data from a column and I want to save as a string a comma separated string like "value1, value2, value3" Is there a method or an operator do do this in EF4? Example: lets say that I have two columns Fruit and Farms with the following values: Apples Bananas S...
stackexchange/codereview
Often I need to choose what to do according to the value of a non-POD constant element, something like this: switch( str ) { case "foo": ... case "bar": ... default: ... } Sadly switch can only be used with integers: error: switch quantity not an integer. The most trivial way to implement such thing is then t...
stackexchange/codereview
Let’s say I have the following Bash script: while read SCRIPT_SOURCE_LINE; do echo "$SCRIPT_SOURCE_LINE" done I noticed that for files without a newline at the end, this will effectively skip the last line. I’ve searched around for a solution and found this: When read reaches end-of-file instead of end-of-line, i...
stackexchange/codereview
Jailbroken iPhones get on my nerve as it taints some fundamental APIs on iOS, by using MobileSubstrate. http://www.iphonedevwiki.net/index.php/MobileSubstrate I believe many apps use UDID as a mean to authenticate a device and/or a user since it's semi-automatic and handy, but you should be aware of this problem: UIDev...
stackexchange/codereview
I'm looking for an easy python way to compare column types from SQLAlchemy to base types. For example, if my column type is a VARCHAR of any length, I want to read it as a string. I can read the column type okay, but I'm not sure an easy way to verify it's basic type... it would be nice if I could use something like "...
stackexchange/codereview
I am the admin of a Fan Page, where users will upload a photo to Wall. I have installed a Facebook tab application on that page,which will get the Wall posts and extracts the pictures.However, I am not able to render the photos in my tab. It dies with 403 Forbidden Error. Anybody has faced such issue? I have checked...
stackexchange/codereview
I'm running a Perl script through the subprocess module in Python on Linux. The function that runs the script is called several times with variable input. def script_runner(variable_input): out_file = open('out_' + variable_input, 'wt') error_file = open('error_' + variable_input, 'wt') process = subproce...
stackexchange/codereview
Good Evening everyone, I've been trying to figure out the most efficient way to do this, but am falling short. Here's how it goes... I am ultimately trying to determine "like customers" based on a specific customer's buying habits and a given threshold, say 50%. IE customer 1 purchased products A,B,C,D ... customer 2 ...
stackexchange/codereview
After having learnt the hard way that shared variables are currently not guarded by memory barriers, I have now encountered another issue. Either I am doing something wrong, or the existing compiler optimization in dmd can break multi-threaded code by re-ordering reads of shared variables. As an example, when I compile...
stackexchange/codereview
I need to get the installation path for a given ruby gem and can't find any information on how to do that. Given: #!/usr/bin/env ruby require 'rubygems' require 'somegem' How can I find out where the installation path of somegem is on the system (without resorting to system(gem ...). The gem in question comes with so...
stackexchange/codereview
I am having an issue where I am attempting to pass a non-primitive (and user defined) data type into a WebMethod. Is there a certain way to do this? Here is an example of my code: [WebMethod] public bool GetTableRecordCnt(int i, String str, DateTime? lastUpdatedDate, UserDefinedType udt, out FDT_SCHEDULER_STATUS[] sc...
stackexchange/codereview
i am new to gwt and i have installed gwt and created an new web application and just run the project in eclipse it works fine in google App engine and how can i make it run with tomcat.. because i have tomcat alone in my server...
stackexchange/codereview
I have a file that contains this: (Float,Float,Float)"sometext" (Float,Float,Float)"sometext" (Float,Float,Float)"sometext" ... ... and I would like my program to read a line from the file, put the (Float,Float,Float) into a tripple and "sometext" into a String and all of it under a new data type so the whole thing wo...
stackexchange/codereview
hello i have a problem with my code.. why it doesn't work..?? is there fault with my code? function selectWord() { var select = window.getSelection(); if (select.getBoundingClientRect) { var rect = select.getBoundingClientRect (); x = rect.left; y = rect.top;...
stackexchange/codereview
Is there an on-value-change type of event for data input widgets like Entry, Text, Spinner, Checkbutton, Radiobutton? By on-value-change, I mean the ability to detect when the value of a widget has changed due to keyboard input or cut/delete/paste (and Text edit_undo/edit_redo) activity? I see no such event described i...
stackexchange/codereview
I am trying to use speech recognition on a Samsung Galaxy S phone (as I know the emu doesn't have the intent). The Galaxy S has a 2.1 Android ROM. For some reason I get that the package does not exist on the device, which doesn't make sense because other apps (google maps, voice dialer, etc) are clearly using this. Doe...
stackexchange/codereview
I use the Html.EditorForModel() in a view to generate fields for the edit form. I also have another partial class where I specify some Data Annotation attributes for some fields (like DisplayName, Range etc). When I run the application I have HTML inputs generated for each field. How can I specify the width of this ge...
stackexchange/codereview
How can I change text such as "áéőűú" to "aeouu" in Android? java.text.Normalizer is not available on Android systems.
stackexchange/codereview
I want a web page to display song titles and associated lyrics. I have a coldfusion cfc which provides the Flex app with the data via a database query providing two fields songTitle and songLyric. I have no problem displaying the data in a 2 column datagrid but I'm not clear how to reference just the songLyric in the ...
stackexchange/codereview
While using the default (blocking) behavior on an UDP socket, in which case will a call to sendto() block? I'm interested essentially in the Linux behavior. For TCP I understand that congestion control makes the send() call blocking if the sending window is full, but what about UDP? Does it even block sometimes or just...
stackexchange/codereview
I have 3 editions of my android app. one free with ads, one paid and one branded with company CI. so the difference betwenn them is minimal. what is the best practice to manage multiple editions of this app. one project, in code if (editionA) { ... } multiple projects, reference common code in extra project or somethi...
stackexchange/codereview
I want to design a database which is described as follows: Each product has only one status at one time point. However, the status of a product can change during its life time. How could I design the relationship between product and status which can easily be queried all product of a specific status at current time? In...
stackexchange/codereview
Just trying to understand the behavior of java.lang.Object class. public class TypeCheck{ static void printMethod(Object obj) { System.out.println(obj); } public static void main(String[] args) { Object obj = new Object(); Integer intObj = new Integer(12); St...
stackexchange/codereview
Consider this HTML: <html> <head> </head> <body> <table> <tr> <td> <h1>title</h1> <h3>item 1</h3> text details for item 1 <h3>item 2</h3> text details for item 2 <h3>item 3</h3> text details for item 3 </td> </tr> </table> </body>...
stackexchange/codereview
Ok, in my app, I have a file check that basically downloads a file located here: www.mydomain.com/files/myxml.xml. It downloads it and reads it. It is needed for the app to run. The problem is that the domain is unstable and I would like to redirect it to my new domain. I no longer have the source code for that version...
stackexchange/codereview
I'm new to iPhone programming, and I have a question about Bluetooth I can't find an answer to. I'm planning on having a number of different apps, and I want users to be able to chat with each other no matter which one they are using. I know GKSessions make Bluetooth a lot easier, but I can't find out if you can use ...
stackexchange/codereview
How to remove the default context menu of a TextBox Control? Is there a property to disable it? Thanks :)
stackexchange/codereview
I am stuck with a issue and trying to debug it. We purchased a Verisign certificate. When we use: openssl> s_client -connect myweb.com:443 -showcerts SSL Handshake never completes and at the end we see error: Verify return code: 19 (self signed certificate in certificate chain) It shows 3 ---BEGIN/END CERTIFICATE--- ...
stackexchange/codereview
On my iPhone, when I go into the Settings app, I see "Airplane Mode", "Wi-Fi", "Notifications", etc. and I'm able to scroll through pages and pages of settings. I'm new to objective-c and I'm trying to duplicate the functionality in my own app, but I don't know enough about the objects and techniques to know what to as...
stackexchange/codereview
I have a document management system where documents can have multiple versions. Each version is saved and users can view version history. What I would like to know is: What datatype should I use for version numbers? Decimal, Float or Double? I'm using .NET and C#. Version numbers start at 0.1 and each published major v...
stackexchange/codereview
I have a few links that look like this: <a href="#" class="somelink rotate-90"> ... </a> How can I bind a function to all elements that have a class that starts with "rotate-" ?
stackexchange/codereview
For part of a layout I want to make, I want to use three divs, all floating next to each other. The Left and Right have a max-width set, which works fine, but I want the middle div to expand its width to fill the remaining space. To clarify, the left and right divs may have a width of anywhere from 0px to the max-width...
stackexchange/codereview
Can anyone help me understand why the displayed labels for a TListView are truncated with an ellipsis at program startup, but are completely displayed after switching to vsIcon and back again? I don't want any truncation or ellipse... Edit 1: Columns[0].AutoSize is TRUE, MaxWidth is 50, Width is 50. Edit 2: Left h...
stackexchange/codereview
I am writing a small C++ program which passes a 2-D array (of complex numbers) to a Fortran subroutine and receives it back filled with values. I wrote a version which passes and receives a 1-D array, and this works well. The 2-D version doesn't work (my true goal is to write a 4-D version with large dimensions - so th...
stackexchange/codereview
I want the annotations callout to popup when the pin has finished it's drop animation. Currently I am able to simulate it with the following method: - (void)showCallOut { [myMapView selectAnnotation:[myMapView.annotations objectAtIndex:0] animated:YES]; } In my viewDidLoad is where my annotation is created [m...
stackexchange/codereview
My schema has the following relations: User hasMany Transaction belongsTo User Item hasMany Transaction belongsTo Item User hasManyAndBelongsTo Item using Transaction as join table I'd like to return all items of a given item symbol that belong to a given user id. I'm able to retrieve all the items that belong to t...
stackexchange/codereview
I have a .net web app hosting in IIS6 with Windows Authentication and anonymous access disabled. The web app is making connection to a SQL Server that is in the same domain, but on a different machine. I want to have the IIS Worker process acount I_USR_... to be granted access to the SQL Server. Will this work ? (Is t...
stackexchange/codereview
I am facing some problem in this function where I'm running into null values and getting a null pointer exception. sqlDate and sqlTime are null. private void setCalendarComboDetails(Map tenantConnInfo, HttpSession session, HttpServletRequest request) { logger.info("Enter setCalendarComboDetails"); Appointment ...
stackexchange/codereview
I want to add "microsoft office chart" to my windows application. But when I select "choose item .../com component", it isn't in list. Not bad I say that I have installed office 2007. Now how do I can add this component. .
stackexchange/codereview
I'd like to get all of a mysql table's col names into an array in php? Is there a query for this?
stackexchange/codereview
I have started to learn xcode and Iphone SDK, I have made a custom UITableviewCell for a tableview that load NSArrays for different values through only one xib(nib) file. What I want to know is how to make these cells opens different xib(nib) files. Here is my file. #import "SimpleTableViewController.h" #import "NextVi...
stackexchange/codereview
If (in Android) you wanted to write an alarm app where the user entered in the time for the alarm by swiping the hours & minutes up and down, what's the easiest way of achieving this? Is it the Swipe or Fling command? Are there any good tutorials out there for this? Cheers
stackexchange/codereview
I am doing a web site using spring mvc framework. I want to do a call ajax and receive a json object directly from my web controller. What is the best way/manner/plugin to do that? i have seen the tutorials from keith donald but, it as think a bit complicated. thanks for any advise. i have put the jakson json mapper in...
stackexchange/codereview
I am using document.documentElement.textContent.toLowerCase() to read a website text content, the problem is this website has so many css and js code before any real text that I don't even get the complete text, it gets trunked in some part of the css. How can I remove all the css and js code to retrieve only the text ...
stackexchange/codereview