instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm writing a Python module for finding nearby WiFi client devices. All my current scanner does is listen for Probe Requests and logs the clients MAC address. The problem I'm having is that I'm completely reliant on the device broadcasting a probe request for me to discover it. I'm wondering if there is any other way ...
stackexchange/codereview
i am going to bind a datatable to the datagrid i just want to change the color of a particular row of datagrid based on the value on datatable row. i need c#/.net code for it
stackexchange/codereview
I have a WP7 app that has a search page. I would prefer to hook the hardware search button rather than having to add search icons to the menu bar. Has anyone figured out how to do this?
stackexchange/codereview
So my teacher told me to make a string that makes whatever I type go in the opposite order (e.g. "hello there" becomes "ereht olleh"). So far I worked on the body and I came up with this public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { (The in...
stackexchange/codereview
I am trying to get a demo site for a client setup. This is the 1st application my company is doing in MVC.NET, so I get to experience all the new things to find out (and all the headaches it'll cause). Anyway, the site works fine locally (localhost) and on the server inside our domain. External users not on the domai...
stackexchange/codereview
I am stuck with this following problem. Say, I have a request which has 1000 items, and I would like to utilize Java Executor to resolve this. Here is the main method public static void main(String[] args) { //Assume that I have request object that contain arrayList of names //and VectorList is container for...
stackexchange/codereview
We have a SharePoint 2007 site. It is supported by two back-end databases - one hosted on SQL Server, another on an open-source RDBMS. We issue CAML queries to retrieve data from SQL Server, and ADO.NET queries to retrieve data from the other server. Our architect says we would be better off if we used the same approac...
stackexchange/codereview
I have a list of words in an array. I need to look for matches on a string for any of those words. Example word list company executive files resource Example string Executives are running the company Here's the function I've written but it's not working $matches = array(); $pattern = "/^("; foreach( $word_list as $wo...
stackexchange/codereview
I am confused about this, I run a query such as foreach($dbh->query("SELECT * FROM ...") as $row) { ...do something with row() But when I var_dump $dbh it is a PDOstatement object. This leads me to two questions: How does foreach somehow resolve the object into separate rows? How can I store all rows in an array,...
stackexchange/codereview
I wrote a user script for the latest Chrome browser. It seems the script can't get the changed content of the page after loaded (for example, after the page loaded, I clicked ¿sth? and an embedded window popped up). Even if I used window.setTimeout(), I still can't the get updated content in the timer callback through...
stackexchange/codereview
I get this error sometimes on a session scoped component, still haven't figured out what is causing this to fail. Any ideas? ERROR [Exceptions] handled and logged exception javax.el.ELException: org.jboss.seam.core.LockTimeoutException: could not acquire lock on @Synchronized component: importUser
stackexchange/codereview
I have a lot of code that I've written, and finally have come up with the correct branding. How can I rename my project and app in XCode?
stackexchange/codereview
My client has a website hosted on a shared web server. I don't have access to IIS. I am trying to deploy a WCF Data Service onto his site. I am getting this error: IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentica...
stackexchange/codereview
In other words, which line is easier for jQuery to perform: $("#id3") or $("#id1 #id2 #id3"), where id1,id2 and id3 are nested divs' ids. Are there any rules for writing fast jQuery selectors?
stackexchange/codereview
My java program uploads a zip file from my system to FTP server. uploadfile() is a function that contains the uploading code. uploadfile("192.168.0.210","muruganp","vm4snk","/home/Admin/GATE521/LN_RB_Semivalid2junk/Output/"+date+"_RB1.zip","/fileserver/filesbackup/Emac/"+date+"_RB1.zip"); public static boolean upload...
stackexchange/codereview
Related to my previous posts I'm moving to .NET 4. I've found that using the previous StrongName.h to get my assembly signing key in unmanaged code is now deprecated, and I need to use MetaHost.h and ICLRStrongName::StrongNameTokenFromAssembly. The previous StrongNameTokenFromAssembly(..) was very straight forward, now...
stackexchange/codereview
I want to Integrate Sliding Panel Control Like used in Twitter so i can i integrate it.Give me some idea and Sample code if anybody integrate it.Thanks in Advance.
stackexchange/codereview
Is it possible to use a custom mouse pointer (png image), without having a Canvas as the root element? With Canvas as root the mouse works (like here), but unfortunately I am using several custom controls which don't work well in such setup :( Thanks! Palantir
stackexchange/codereview
I have a set of nested DIV's and I need to find each outer box from the inner box. According to jQuery API, the closest() method gets the first ancestor element that matches the selector. So I've tried this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <h...
stackexchange/codereview
Here is my code: For Each pj In wdApp.Application.VBE.VBProjects x = pj.FileName y = pj.Protection If x <> "" Then If y <> "1" Then For Each vbcomp In pj.VBComponents For i = 1 To vbcomp.CodeModule.CountOfLines newMacro = vbcomp.CodeMod...
stackexchange/codereview
Using FileSystemWatcher we can monitor the IO activity of a particular file system, but is there anyway to know that which one of the running processes is causing that IO? More specifically, suppose a running process viz. abc.exe is creating a file text.txt on drive D. We can monitor that a file named text.txt has been...
stackexchange/codereview
What is the formatter to make sure that + or - signs are always shown in front of the float value in printf() in C? I haven't done C in a while, so where can I find a good reference on the web, any suggestions are appreciated
stackexchange/codereview
How to disable caching ? What headers should doGet set? Could you provide a code snippet?
stackexchange/codereview
class MyModel(models.Model): timezone = models.CharField() In the above,should timezone be stored in a char field for the below values, from pytz import all_timezones for t in all_timezones: print t Africa/Abidjan Africa/Accra ---- ----
stackexchange/codereview
I am creation online question paper for this i wants to add the previous ,next , submit button ( note; i need each page containg only one question ). If there is any link is there means please guide me. thanks in advance
stackexchange/codereview
I'm trying to do something like this win = null; win = window.open('/url/to/link','tab'); win.focus(); but in IE7 it returns me at the line of win.focus(); the error that win is null. How can I solve it? Thanks in advance!
stackexchange/codereview
There are some Java libraries that do stuff you would otherwise have to put in every single class. For example, I had to put a clone() method in every single class until I discovered Cloner, and I had to put XML handling code until I discovered XStream. Are there any more similar helper libraries like these?
stackexchange/codereview
The need is to make a title (TextView) tappable to edit it(EditText)... I'm using the trick to have 1 TextView and 1 EditText next to each other in my xml layout, and then I play with .setVisibility(View.INVISIBLE/VISIBLE) to visually switch them. Since TextView and EditText are pretty close, is that possible to effect...
stackexchange/codereview
_memcpy_r SEGMENT memcpy_r PROC mov r10, rdi mov r11, rsi mov rdi, rcx mov rsi, rdx mov rcx, r8 shr rcx, 3 rep movsq mov rcx, r8 and rcx, 7 rep movsb mov rsi, r11 mov rdi, r10 ret memcpy_r ENDP _memcpy_r ENDS END I have the above code in a .asm file which I'm using in a Visual Studio 2010 project. It's...
stackexchange/codereview
I used following code to initialize instance of UIWebView: -(void)viewDidLoad { [super viewDidLoad]; UIWebView *webView; if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 768, 964)]; //crash } else { webView = [[UIWebVi...
stackexchange/codereview
I have a table with dynamically changing rows items. Among the rows there is a small button / link for each unit. Eg Data1 | LinkButton Data2 | LinkButton Data3 | LinkButton Data4 | LinkButton Data5 | LinkButton Data6 | LinkButton What i want is that when i click on the link button ,i need to kno...
stackexchange/codereview
How would I go about doing something like this: www.website.com/process.php?ip=32.313.131.31 to www.website.com/32.313.131.31
stackexchange/codereview
Can you use ADB to type directly on an android device from a computer? If so, how?
stackexchange/codereview
I get an input CSV file that I have to upload to my oracle database. Here is some sample data ContractId, Date, HourEnding, ReconciledAmount 13860,"01-mar-2010",1,-.003 13860,"01-mar-2010",2,.923 13860,"01-mar-2010",3,2.542 I have to convert the incoming column to DB_TIMESTAMP (to match the structure in the destinatio...
stackexchange/codereview
I'm interested to find some information about codebase size, number of developers, number of commits, duration of development, etc. for commercial software, including: IE, MS Office, Oracle Server, Microsoft IIS, Visual Studio, Windows. Any ideas where to get this information?
stackexchange/codereview
How can I get currently playing track info at app startup? http://blog.dexetra.com/2010/09/get-current-playing-track-info-from.html has nice and working example on how to get info when android media player does some action (track is changed, finished, started etc). But when I launch my app I need to get currently (in t...
stackexchange/codereview
A few friends and I are doing a self-study on Computer Science/Programming and taking the Computer Science AP A exam. Although I have experience in programming in a few languages, it's still difficult for me to explain some concepts such as OOP and memory management. Are there are interesting diagrams or infographics t...
stackexchange/codereview
I'm trying to render text to the screen but keep getting garbage symbols and i can't figure out what is so different in my approach. This code will work in my main program: char vectorText[80]; sprintf(vectorText, "vector%i = [%f, %f, %f]", 1, vector[0]->x, vector[0]->y, vector[0]->z); char* newText = vectorText; Text...
stackexchange/codereview
I have a server that response the request with XML, I want to parse it in the javascript. I really like the actionscript xml parser that is really easy for me to use. I am wandering is there a very easy/straightforward way to parse the XML I fetched from server? The ideal usage should be: fetchXML new XMLParser. parser...
stackexchange/codereview
i am working on crystal reports in asp.net using c#. i am using reportdocument object rpt for load crystal report. i am using following code ConnectionInfo connectionInfo = new ConnectionInfo(); connectionInfo.ServerName = @"servername"; connectionInfo.DatabaseName = "databasename"; connectionInfo.UserID = "userid"; co...
stackexchange/codereview
Ok, I know that serving media files through Django is a not recommended. However, I'm in a situation where I'd like to serve "static" files using fine-grained access control through Django models. Example: I want to serve my movie library to myself over the web. I'm often travelling and I'd like to be able to view any ...
stackexchange/codereview
Here's a problem for the PHP-juggler in you. I want to use plain-ol' mysql_* functions of PHP. I have the following MySQL table: +-----+-----------------+ | id | thread | +-----+-----------------+ | 14 | 01/ | | 14 | 02/ | | 14 | 03/ | | 15 | 01/ | | 22 | ...
stackexchange/codereview
I have a button and half of the button is covered by a UIView (for styling). I was wondering if there was any way to make this UIView "touch transparent" as it were, so if you press on it it lets you select the image behind it? Or will I just have to make it a button itself? Thanks Tom
stackexchange/codereview
I am just getting started on Java, Struts, Hibernate, Tomcat - based Web App Development on Eclipse. I have installed Eclipse IDE for Java EE Developers on my Ubuntu system. Do I need to install any plugins for Syntax Highlighting to work properly - for Forms, Actions, Servlets, Classes, etc.? Thanks.
stackexchange/codereview
Is there any way in iPhone to unselect all tabs of a UITabBarController ? ie, my application has a "homepage" which does not belong to any tabs on the below displayed tabbar. Now when user touches any tab on the tabbar, I would like to load the corresponding tab. Is this possible ? I have already tried: self.tabBarCont...
stackexchange/codereview
I have an app that needs to update a large amount of data over a large number of entries. Basically it does some 7,000 inserts and/or updates but it takes a looooong time (like almost 9 minutes... averaging about 0.08 seconds per query). Essentially I'm looking for general speed ups to making multiple such requests (I'...
stackexchange/codereview
I downloaded some sample ASP .NET projects from net. But they are in VS2010 format. I use VS 2008. How can I change the format?
stackexchange/codereview
hi all write one project and encountered with one problem code: private SqlConnection scon; private SqlCommand scom; string defConnection = "Data Source=" + Environment.MachineName + @"\SQLEXPRESS;" + "Integrated security=true;" + "database=dbTrash"; string altConnection = ...
stackexchange/codereview
all i need is a very simple auto complete that suggests words that have the letters the user is typing in them, very simple, nothing fancy, either inline or from an external file, i only need about 20 or so results to be suggested total. I saw this one: http://jquery.bassistance.de/autocomplete/demo/? but it's 8kb, whi...
stackexchange/codereview
I'm running into a very strange issue that I have found no explanation for yet. With SQL Server 2008 and using the GROUP BY it is ordering my columns without any ORDER BY specified. Here is a script that demonstrates the situation. CREATE TABLE #Values ( FieldValue varchar(50) ) ;WITH FieldValues AS ( SELECT '4' F...
stackexchange/codereview
I have a web app in which users can upload an avatar under 700kb. That's the only part of the application dealing with uploading images (so I won't be dealing with an exceptionally heavy load). I was wondering what the best way is to go about this. Currently I'm using Paperclip and I wan't to store all of the images on...
stackexchange/codereview
I'm deploying a rails application using Capistrano to a shared server (on WebFaction). This means there are several different Ruby version installed there. Everything works fine until I want to run some rake tasks. These tasks fail by saying I don't have the right RubyGems version. From this thread I understood that fi...
stackexchange/codereview
I've got a view which is shown in landscape mode and I want to add a label which is int he center of the view both horizontal and vertically. CGRect frame = CGRectMake(0, 0, 400, 44); UILabel *lab = [[[UILabel alloc] initWithFrame:frame] autorelease]; lab.font = [UIFont boldSystemFontOfSize:16.0]; lab.t...
stackexchange/codereview
isPositive - return true if x > 0, otherwise false Example: isPositive(-1) Legal ops: ! ~ & ^ | + << >> Max ops: 8 Note: No conditional statements are allowed. inline bool isPositive(int32_t x) { return ???; }
stackexchange/codereview
I'm trying to make a pseudo link class with the CSS3 text-shadow for both navigation and normal use of links. The problem is that the state "a:hover" is overruling "a:visited" so when doing a mouseover on the link that previously has been visited, it outputs different that it should. If the a:visited state isn't presen...
stackexchange/codereview
# include <stdio.h> int x = 5; int main(void) { int x = 7; printf("output = %d\n", x); } The above program shows output as 7. How to print 5 in c? thanx...
stackexchange/codereview
I have 100 vertices and a function f(x,y) that computes the weight of the edge between vertex x and vertex y. f is not particularly expensive, so I could generate an indexed adjacency list with weights, if necessary. What are some efficient, tractable methods for optimizing the n-coloring of these vertices by minimizi...
stackexchange/codereview
I am not sure that this is the right place to ask this, but because all here are programmers, maybe someone could help me. I always used 2008 express, I decided to try the 2010 version today. The problem now is that I need to check something in the object browser, but I can't find it anywhere.
stackexchange/codereview
I have a file that is getting added to remotely (file.txt). From SSH, I can call tail -f file.txt which will display the updated contents of the file. I'd like to be able to do a blocking call to this file that will return the last appended line. A pooling loop simply isn't an option. Here's what I'd like: $cmd = "tail...
stackexchange/codereview
i have a folder called XXX it contains .jpg .gif .txt .... etc i want only to read .txt files how to do that ? Thanks
stackexchange/codereview
I recently got involved with the jQuery Project and the PromoteJS movement has inspired me to spend some time writing a free, comprehensive book on JavaScript fundamentals for beginners (I feel you need to understand what JS is about to make the most of libraries). What I would like to target are topics that both tota...
stackexchange/codereview
interface Int { public void show(); } Int t1 = new Int() { public void show() { System.out.println("message"); } to.show();
stackexchange/codereview
I've been stuggling all morning trying to get a multivariate test going in google website optimizer. I've copy and pasted the header/footer code into the pages, and setup a basic page section just to see that everything is working. When I try to validate the code its failing saying "No sections detected on test page T...
stackexchange/codereview
I am banging my head against this wall for some time, some help will be highly appreciated: Let's say I we have a simple Model: public class Contact { public string FirstName { get; set; } public string LastName { get; set; } } And a simple editor temple: <%@ Control Language="C#" Inherits="System.Web.Mvc.View...
stackexchange/codereview
In my code I have a table, and in my table I have a slider which I transform so that it is vertical. metricSlider.transform = CGAffineTransformRotate(metricSlider.transform, 270.0/180*M_PI); But every time the code gets called to draw the slider, it of course applies the transform on top of the previously applied tran...
stackexchange/codereview
i have this code to populate the option in my select box(i have 7 select box in this page) with json response from the server(ajax) for (j=1; j <= 7; j++){ $.getJSON('mobile_json.php', {id:j}, function(data) { var select = $('#userAccess' + j); var options = se...
stackexchange/codereview
Consider following code: <p style="margin: 30px 0; padding: 0;">Some text some text some text some text some text some text some text some text</p> <p style="margin: 30px 0; padding: 0;">Some text some text some text some text some text some text some text some text</p> <input type="button" value="Button" style="marg...
stackexchange/codereview
I have a subquery within a WHERE-clause within a subquery. Notwithstanding the design issues of the database (not my job), I am getting some strange errors when trying to extend the top level WHERE-clause in this expression. The example below WORKS. LEFT OUTER JOIN CargoVoyageLocation on CargoVoyageLocation.Vo...
stackexchange/codereview
Following some examples, I have a function that gets triggered on the 'register_deactivation_hook'. This functions drops the DB created on activation. My question is: Is it good practice to DROP the table on de-activation? I might want to de-activate it to test something and it would be annoying to loose all my data ...
stackexchange/codereview
i have a table(s) with different dynamic-generated content inside. How can i do that all with only numbers inside will have text-align to the right? Well, i know how to add css to some element, the question is how to get only tds with digits Thank you!
stackexchange/codereview
I'm working on a program and I have created a fetch request to grab the data that I need to print. I'm able to log information like this: 2010-10-03 16:57:10.362 lzshow7.2[2537:10b] <NSManagedObject: 0x2ca120> (entity: Song; id: 0x2afcb0 <x-coredata://CF5A85CE-BE0F-4ADC-979A-7F4214A8FB19/Song/p9> ; data: { cueName...
stackexchange/codereview
I'm generating a list of replacement rules like this ops = {LessEqual, GreaterEqual}; ineqRules = Table[HoldPattern[Inequality[a_, op1, c_, _, e_]] -> a == c, {op1, ops}] Above doesn't work because "op1" is hidden from Table by HoldPattern, how do I fix it? This is a follow-up to previous question
stackexchange/codereview
Does anyone know some opensource Java library for reading and writing IPTC metadata to JPEG and TIFF? Now I'm using Apache Sanselan. Unfortunately, it can only read IPTC, not write (http://commons.apache.org/sanselan/formatsupport.html). Will be very grateful for your assistance. Denis.
stackexchange/codereview
I have a couple of properties declared in my header file, and just wondering when they have to be released. I'm currently doing them in my "dealloc" method, but getting the EXC_BAD_ACCESS error when doing so. Here's my code @property (nonatomic, retain) NSTimer *timer; @property (nonatomic, retain) NSString *closeimag...
stackexchange/codereview
Looking for some advice on how to update a collection on an entity. In a web app - we have a multiselect listbox allowing a user to assign and remove child entities from a list of available entities. The user would select the relevant children to associate with the parent. i.e. Product with multiple Categories it could...
stackexchange/codereview
I'm using Python and Tkinter, and I need to know the current dimensions (width, height) of a widget. I've tried somewidget["width"], but it returns only a fixed value, and is not updated whenever the widget size changes (e.g. when the window is resized).
stackexchange/codereview
I found that PasswordChar works for windows form Textbox control in this purpose, but how can I do that in case of web form? Please help.thx
stackexchange/codereview
ArrayList<HashMap<String, String>> arrayListRowsFirst = new ArrayList<HashMap<String, String>>(); Today when i was going through a code, this piece of code struck me for a while. Here are some of my questions over this declaration. What could be the requirement if one has to append an HashMap into an ArrayList. What...
stackexchange/codereview
code: public class Main{ public static void main(String[] a){ long t=24*1000*3600; System.out.println(t*25); System.out.println(24*1000*3600*25); } } This prints : 2160000000 -2134967296 Why? Thanks for all the replies. Is the only way to use L after the number? I have tried the (lon...
stackexchange/codereview
... vs declarative sqlalchemy ?
stackexchange/codereview
I have a table which needs a relationship over itself. Table Example: field_PK ---> Primary key field_A ---> used as Foreign key to field_B field_B Mapping: <id name="field_PK"> <generator class="assigned"/> </id> ...... <bag name="childs"> <key column="field_A" update="false"/> <on...
stackexchange/codereview
Are there existing libraries for generating .ttf via image(s) using PHP (say, a series of images)? There are several references about creating gdf from images, but I've not yet found examples of ttf-font creation via PHP. N.B. There are also several online resources that let you upload an image (write a letter in each ...
stackexchange/codereview
Well, I've been trying to change the default theme of spree by following this tutorial http://blog.endpoint.com/2010/01/rails-ecommerce-spree-hooks-tutorial.html But the homepage doesn't change at all, well since the tutorial is meant for rails 2, I'm just wondering what do I need to change from the tutorial to make it...
stackexchange/codereview
Hi How can i convert doc,docx to TIFF whith delphi?
stackexchange/codereview
We are using the approach described here to log our webservice errors with Elmah. And this actually works, but sadly the username beeing logged is empty. We did some debugging and found, that when logging the error in the ErrorHandler the HttpContext.Current.User has the correct User set. We also tried: HttpContext co...
stackexchange/codereview
I re-installed my windows 7, and installed all software needed for my work (that is MS Visual Studio and stuff). My problem is with WMDC (Windows Mobile Device center). Though before formatting it ran smoothly, now it doesn't seem to start :( I plug my Intermec Pocket PC and while Mobile Adapter is enabled, wmdc doesn'...
stackexchange/codereview
I want to add or update webconfig file in C#. How can i do this?
stackexchange/codereview
I was wondering if anyone has the TouchJSON framework working in conjunction with basic apache HTTP authentication. Essentially the directory of the RESTful webservice that I am calling is secured with basic http authentication. My calls are obviously all returning null now. Has anyone managed to get this working? I co...
stackexchange/codereview
Using MySQL I can run the query: SHOW CREATE TABLE MyTable; And it will return the create table statement for the specificed table. This is useful if you have a table already created, and want to create the same table on another database. Is it possible to get the insert statement for an already existing row, or set...
stackexchange/codereview
that is, to tell the current Rails version it should use, and also to find out what version of Rails started this project.
stackexchange/codereview
Hey guys , thanx for the previous help Before I try to explain my problem, you guys need to know what the code is about. Its pretty much "To write a game in which a user is to guess a random number between 1 and 1000. The program should read a number from the keyboard, and print whether the guess was too high, too low ...
stackexchange/codereview
MSDN explicitly says it should do 401 redirect, but I'm getting a 302 redirect on FF, and this is causing problems in AJAX requests as the returned status is 200 (from the redirected page). http://msdn.microsoft.com/en-us/library/system.web.mvc.authorizeattribute.aspx I've found someone else with the same problem: htt...
stackexchange/codereview
When I run my swf locally in the Flash Player application, its memory usage starts at around 50 Mb, and though it definitely fluctuates, it generally stays centered at around 50 Mb. Then I embed the same swf in an html page and run it in my browser (firefox). Now the memory usage starts at 20 Mb, but increases at a ne...
stackexchange/codereview
Is it possible with a Delphi TAdoQuery to execute multiple inserts in one go, or do you have to execute each statement separately? What I want to do is this: AdoQuery.SQL.Clear; AdoQuery.SQL.Add('INSERT INTO user VALUES (1, "User 1");'); AdoQuery.SQL.Add('INSERT INTO user VALUES (2, "User 2");'); AdoQuery.SQL.Add('INSE...
stackexchange/codereview
I'm confused, what does the @rails3 do when creating a new gemset? I want to run both rails2.1.1 and rails3 applications, and switch between the two. I create a rvm for 1.9.2 and 1.8.7 And inside 1.9.2 I created 2 gemsets, and installed rails 2.1.1 in one gemset, and rails3 in another gemset. Am I doing this right? I'...
stackexchange/codereview
I'd like to track an id in the route if it's possible? This is pretty much what I want: /groups/{id} - Show group /groups/{id}/forum/topic/{id} - Show forum topics for the group /groups/{id]/calendar/ - Show the calendar for the group As you see I want to keep track of what group the user is in by the url, instead of ...
stackexchange/codereview
I have a nvarchar column which contains English and Japanese text. I want to make full text search on this column. When configure full text search, we need to specify language option for word breaker (e.g. using English work breaker or using Japanese word breaker). I am wondering in this case, what language should I as...
stackexchange/codereview
I'm editing my web.release.config file for production. I want the web.config file changed after a publish. I found how to change the web.config by using the web.release.config file properly, but not for this particular component. The URL of an dynamic webservice has to change. In the web.config: <applicationSettings> ...
stackexchange/codereview
normally on would use the following :- aspx page:- <a ID="a1" href="javascript:void(0);">Link1 </a> code behind:- a1.HRef="www.mySite.com/mypage.aspx"; how do u set this HRef attribute in case the anchor tag is within a repeater ?
stackexchange/codereview
I have a base.mako template with a if statement to include or not jQuery <head> % if getattr(c, 'includeJQuery', False): <script type="text/javascript" src="jquery.js"></script> % endif ... Several templates inherit from base.mako, someone needs jQuery, someone don't. At the moment I have to set the attribute in t...
stackexchange/codereview