instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I would like to know if I can make a php script that will allow me to echo keywords into a meta tag.To be more precise will the keywords echoed by the php script be indexed by search engines? I don't need the actual script I just need to know if this will be any good for indexing.
stackexchange/codereview
Possible Duplicate: Difference between a Structure and a Union in C I could understand what a struct means. But, i am bit confused with the difference between union and struct. Union is like a share of memory. What exactly it means.?
stackexchange/codereview
From the mighty PEP 8: [P]lease limit all lines to a maximum of 79 characters. For flowing long blocks of text (docstrings or comments), limiting the length to 72 characters is recommended. When editing Python code in Vim, I set my textwidth to 79, and Vim automatically wraps long lines of Python code for me when I ...
stackexchange/codereview
Who wants to help me with my homework? I'm try to implement Fermat's primality test in Java using BigIntegers. My implementation is as follows, but unfortunately it doesn't work. Any ideas? public static boolean checkPrime(BigInteger n, int maxIterations) { if (n.equals(BigInteger.ONE)) return false; ...
stackexchange/codereview
I have a bit of a problem. I have an ajax request that is sent out to do a database update. A response is then returned that looks like: ... ... </head> <body class="contentpane"> {"id":"27","votes":14,"sum":45,"avg":"3.2"} </body> </html> How can I get the contents of body class "contentpane" and then convert this to...
stackexchange/codereview
I have an existing module that prints a series of reports based on a query (CAP classroom Report gr 5) by looping through another table (School_room_grade). The reports were printed based on a WhereCondition in the module that matched the rows in the School_room_grade table. This process is used so that each school_ro...
stackexchange/codereview
One of my former students sent me a message about this interview question he got while applying for a job as a Junior Developer. There are two candidates running for president in a mock classroom election. Given the two percentages of voters, find out the least amount of possible voters in the classroom. Examples: Inp...
stackexchange/codereview
I am trying to install my application onto IIS 6. It's asp.net 4 mvc 2. I get this error: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. In my Web.config I have this: <compilation ...
stackexchange/codereview
a long time ago I learned that this is a bad idea. Please don't try what I'm asking below I want to include a secret key into an iOS app so that the app can "prove" to a certain server that a request is coming from the app itself and not some other system. I know that simply hardcoding a secret key into the code itse...
stackexchange/codereview
I couldn't find any documentation of the optional parameters that are available to all field types in OpenERP models, so I added what I knew to the fields documentation page. There are a bunch of parameters that I don't understand, so I'd appreciate help fleshing out the documentation. You can post answers here, and I'...
stackexchange/codereview
I have been reading MSDN articles about COM Threading Model. In one of those, I came across following line: Like other servers, in-process servers can be single-threaded, apartment-threaded, or free-threaded. I am confused about what (COM Client thread and COM Server Object) is put and where. if COM client thre...
stackexchange/codereview
I would like to be able to copy one row and five columns from an Excel spreadsheet to a table like structure on a ASP.NET web form. The idea is keeping the data in the exact row and column from Excel to the table like control on the ASP.NET web-form. Then I want to be able to save to the contents of the ASP.NET cont...
stackexchange/codereview
I have an xml file that I am using linq-to-XML to read. Linq-to-XML is preserving the line breaks and spaces for indenting. So instead of having a guid like this: "FB5417E2-DB15-481d-80D6-D0C4CB26EB1F" I am getting stuff like this: "\n FB5417E2-DB15-481d-80D6-D0C4CB26EB1F" I have made this method to try and help ...
stackexchange/codereview
I want to create simple server having low load. The goal is to give a few javascript clients access to some functionality implemented in Java through WebSockets. I seek for best library to use for that - it should be simple, robust etc. Now I consider 3 alternatives - jWebSocket - jetty - netty What is the best? Or ma...
stackexchange/codereview
I have a Python program that runs a cell model continuously. when I press "A" or "B" certain functions are called - cell divide, etc. when the "esc" key is pressed the simulation exits. Is there a way for the program to exit and then restart itself when "esc" is pressed?
stackexchange/codereview
I'm working my way through Graham's book "On Lisp" and can't understand the following example at page 37: If we define exclaim so that its return value incorporates a quoted list, (defun exclaim (expression) (append expression ’(oh my))) > (exclaim ’(lions and tigers and bears)) (LIONS AND TIGERS AND BEARS OH MY) ...
stackexchange/codereview
I have a base interface and several inherited interfaces. There are extension methods for the base interface that modify the object and return a new instance of the base class (IChildA.Touch() => IBase, IBase.Touch() => IBase). For one inheritance path (IChildB and descendants) i want to implement extension methods th...
stackexchange/codereview
I almost have a NAnt script together that will build and deploy VS2010 database projects, but one error stands in my way: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(56,5): error MSB4062: The "SqlBuildTask" task could not be loaded from the assembly Micro...
stackexchange/codereview
Soya is a 3D game framework for python. How can I change the cursor image to/from a different image?
stackexchange/codereview
Is there anyway say Drupal to validate form elements like email fields, passwords, numeric fields validate automatically lets say bind a system validator $form['email] = array( '#title' => t('Email'), '#type' => 'textfield', '#validate_as' => array('email', ...), ... );
stackexchange/codereview
So I'd just like help understanding how exactly google analytics collects this info. I have a homepage and the statistics say that 46% of clicks are on the logo (which links to the homepage). Does google analytics just assume that if they've ended up on the homepage they have clicked there? How accurate is this measure...
stackexchange/codereview
Firefox displays an interface for RSS instead of the XML of the feed. For example goto: http://www.alistapart.com/site/rss For some reason this feed is showing the XML in Firefox instead of the interface: http://www.mmpa.net/feeds/upcoming-events.rss The xml and Content-Type headers are the same. Anyone see what I am m...
stackexchange/codereview
i have a medium SaaS project and need scale out, where i can find materials to get started my cloud project? ps: i dont want work with a PaaS, like App engine or Azure...i will use IaaS like ec2 or rackspace
stackexchange/codereview
I want to use spring taglibs in UI layer in my project. Can anyone let me know where from i need to download the spring taglibs?
stackexchange/codereview
So, in the XML below using this code sample, i can successfully grab HomeAddress and Name information for each entry from my XML. What if I also need to grab the ID (drivers license numberxxx) information from each entry? EDIT: Updated XML sample for clarificaiton Code Sample: XmlDocument xDoc = new XmlDocument(); ...
stackexchange/codereview
I'm using jQuery to add a readonly attribute to all form elements but can't seem to figure out how to do this. Here is what I'm trying: $('#form1').each( function() { $(this).attr('readonly', true); }); I have a simple form using label/input to display form elements. Also I'm using tipsy (Tool tip plug-in) as well as ...
stackexchange/codereview
I have a TextBox txtEditor. I want to find the nearest line breaks and select it Example 1: With "no selection" suppose the selection/cursor is * this is the 1st line of text this is *the 2nd line of text this is the 3rd line of text I want to extend the selection such that the selection is now this is the 1st line o...
stackexchange/codereview
Trying to find unique rows in a data table using Distinct() extension method. Some rows contain exactly the same data, but for some reason, the hash code for these rows are different from each other. I wrote a comparer class implementing IEqualityComparer<DataRow>, however, I think what I'm doing in GetHashCode() is ch...
stackexchange/codereview
Is there a way to get the total number of rows in Zend db select like with using SQL_CALC_FOUND_ROWS in a regular mysql query. I haven't been able to find a similar functionality for this apart from running the same query without the limit clause.
stackexchange/codereview
Hi All i wonder how to select between many to one relational i have two table Sub_category and Items sub category is own of relational, it contain list of Items Two class follow: @Entity @Table(name = "item") @NamedQueries({ @NamedQuery(name = "Items.findAll", query = "SELECT i FROM Items i"), @NamedQuery(nam...
stackexchange/codereview
I try to learn parsers. Because my C skills are pretty low, I googled a PHP Lemon to learn sth about Parser Generators. Anyway, the code here should be readable for normal lemon friends, too. As always when handling parsing questions, I start with trying to produce a simple calculator first. So my first step is simply ...
stackexchange/codereview
I have a plugin that relies on a custom url mapping. When i install the plugin i need to copy the content of the UrlMappings.groovy of the plugin and merge it with the one in the application where the plugin is installed I would like however to register these url mappings directly into the grails framework without copy...
stackexchange/codereview
I have been playing with jstree (1.0rc2)+jquery (1.4.2) for the first time with c#.net and although I have gotten it working, there are a couple things that I don't understand about how data is provided to the tree by the webservice I use to populate the tree (using ajax and the json_data plug-in). I was hoping someone...
stackexchange/codereview
In the following UIView animation block, I do a CGAffineTransformMakeScale and a CGAffineTransformMakeRotation, and though the duration is set to 1.0f, the scale goes really fast and the rotation goes in 1 second like it should. It must be my lack of understanding about how AffineTransforms are applied but I can't figu...
stackexchange/codereview
I am trying to use the marshalling library in my C++/CLI project. When compiled with #include <msclr/marshal.h> I get the error error C2872: 'IServiceProvider' : ambiguous symbol. Most of the resolutions seems to be suggesting moving #include <windows.h> like the one here -> Ambiguous references, but I dont have those ...
stackexchange/codereview
I have a view that has rows and columns of imageviews in it. If this view is resized, I need to rearrange the imageviews positions. This view is a subview of another view that gets resized. Is there a way to detect when this view is being resized?
stackexchange/codereview
I use tortise svn in VS2010. When I go to commit my changes at the end of the day, I get the following error. Commit item 'folder / filename' has copy flag but an invalid revision. What does that mean and how do I resolve it? I Googled for it but really only saw a transcript of a rather esoteric discussion for a Java...
stackexchange/codereview
i'm making a simple iPhone game using cocos2d-iphone. I have an array of fiends, the "fiendSet" which has to navigate around a field full of obstacles. I spent the last three nights trying to get my A* pathfinding to work. I found the actual A* implementation here on stackoverflow and it works brilliantly. However, onc...
stackexchange/codereview
How do I registertype with the container where the type doesn't have NO PARAMETER constructor. In fact my constructor accepts a string, and I normally pass in a string that represents a Path. So when I do resolve it automatically creates the new type but passing in a string?
stackexchange/codereview
Using VB6.0, How to get itemdata of a selected item in a CheckedListBox?
stackexchange/codereview
I find there are following code in NTLMAuthenticationFilter.java which used for alfresco share SSO authenticate: Response remoteRes; if (cachedNtlm) { Connector conn = connectorService.getConnector(this.endpoint, session); ConnectorContext ctx = new ConnectorContext(null, getConnectionHeaders(con...
stackexchange/codereview
I'm writing Haskell, but this could be applied to any OO or functional language with a concept of ADT. I'll give the template in Haskell, ignoring the fact that the arithmetic operators are already taken: class Thing a where (+) :: a -> a -> a (-) :: a -> a -> a x - y = x + negate y (*) :: (RealFrac b) => ...
stackexchange/codereview
I am taking a class in microprocessing, and having some trouble writing a program that will hold a value in a port for two seconds before moving on to the next port. Can any one help this make more sense? I have thought of using NOP but realized thats a bit unrealistic, I have tried ACALL DELAY but for some reason its ...
stackexchange/codereview
I've implemented a drag and drop that is mostly working in my Silverlight 4 app. Once the users have dropped the shapes onto the canvas, I wanted to use Size & Child Decorators. I've tried to implement the sample code. Code below is problem section of much larger app. xmal - <ScrollViewer Grid.RowSpan="1" Grid.Row="...
stackexchange/codereview
I need to execute the following mysql query in Zend;I am not an excpert with Zend framework SELECT `optionride`.`featureoption_id`, `optionride`.`featureoptionride_id`,`foption`.`featureoptionblock_id`, `foption`.`labelname`,`optionride`.`value` FROM `engine4_ride_featureoptionrides` AS `optionride` LEFT JOIN `engi...
stackexchange/codereview
I need to pass variables from Flex app, process its using the functions and return back to this application.
stackexchange/codereview
I had Ajax Calendar and I want to prevent user to choose date (Today or future date) I had java script code but It when I prevent me to select date earlier as (10-10-1990).Plaes any one help me. Javascript <script type="text/javascript"> function checkDate(sender,args) { if (sender._selectedDate < new Date()) ...
stackexchange/codereview
Any hints to allow Zenoss 3 to authenticate via LDAP?
stackexchange/codereview
I want to insert textbox in flexgrid row at specific column when i click on row. I want to edit the value of that column only when i select that column and that only column must be editable not all. This is the only forum where i got my ans for flexgrid and jquery as i am new to this. please guide me for this.
stackexchange/codereview
The Webmatrix Html helpers look quite handy. Is there any way to use them from a regular ASP.NET MVC project with Visual Studio? Thanks, Adrian
stackexchange/codereview
Is there a way, in php, to save a variable on server so it stay there for all of the requests (not session, need to be saved for all users ever)? i'm new in php, in asp.net is use the 'application' context. thanks.
stackexchange/codereview
Possible Duplicate: does these code has memory leakage?? static private ArrayList seriesColors = new ArrayList(); public Audiogram(int widthParm, int heightParm) throws Exception { super(widthParm, heightParm); seriesColors.add(new Color( 0, 0, 255)); /...
stackexchange/codereview
If I connect to my form's onSubmit event, how can I find out which button on the form was used for submit? Or, if the form was submitted by pressing the Enter key on an element, how can I find out which element was in focus? I cannot rely on ExplicitOriginalTarget property of the event object, as this is Mozilla-specif...
stackexchange/codereview
I'm trying to 'genericize' some code we have spattered around our system. I want to: return a generic type, pass in some kind of delegate containing the method to be called. I'm pretty new to generics so any help appreciated. Below is where my finger in the air is(!) public static T ReturnSingleObject<T>(Func<string,...
stackexchange/codereview
I have a function...in which I have return type as table variable... But performance will be increased if we use temp tables..as we have more data.
stackexchange/codereview
I want to add a Icon that represents my webpage in the browser tabs and when is saved to favorites. How do I add this. Probably some propriety of the Aplication tag that I can´t find. And what it the correct size the icon must be ? (32*32 or something like that) Thanks in advance.
stackexchange/codereview
I recently changed the Session State to use SQL server and then realized not all my entities were serializable. Now trying to find out which entities are being put in session throughout the code seems to be a big pain, so I was thinking why not make all of them serializable? Will this have any performance hit? Why are...
stackexchange/codereview
I have an input that looks like: (0 0 0) I would like to ignore the parenthesis and only add the numbers, in this case 0, to an arraylist. I am using scanner to read from a file and this is what I have so far transitionInput = data.nextLine(); st = new StringTokenizer(transitionInput,"()", true); while (st....
stackexchange/codereview
I am using jquery.alert.js library to display alert, it worked great exception one case. In normal situation, if i use the default alert box of Javascript, the box display and user has to click ok button then the next code logic will be executed. However, in case of jAlert, it is using callback function so it will cont...
stackexchange/codereview
First, let me show you the codez: a = array([...]) for n in range(10000): func_curry = functools.partial(func, y=n) result = array(map(func_curry, a)) do_something_else(result) ... What I'm doing here is trying to apply func to an array, changing every time the value of the func's second parameter. Thi...
stackexchange/codereview
I am trying to add a player that will play audio on the site. It will play music randomly and display only play/pause? are there any good javascript or jquery plugin/api? What is the best way to display a single music filefrom a list of files on a flyout on hover? it will have the option to display filename and downloa...
stackexchange/codereview
Three columns must fill the width of the parent container. The width of the left and the right columns must not be less than 150px. The center column must not be greater than 200px width. I've made a reference page that uses JavaScript to do the layout. Is it possible to do the same layout with pure CSS? screenshot htt...
stackexchange/codereview
I'm trying to make a simple "fill in the blanks" type of exam in django and would like to know what is the best way to design the database. Example: "9 is the sum of 4 and 5, or 3 and 6." During the exam, the above sentence would appear as "__ is the sum of __ and _, or _ and __." Obviously there are unlimited number...
stackexchange/codereview
I found the code below in the Apple documentation and added it to my viewDidLoad method but the slider doesn't appear when I run the code. CGRect frame = CGRectMake(0.0, 0.0, 200.0, 10.0); UISlider *slider = [[UISlider alloc] initWithFrame:frame]; [slider addTarget:self action:@selector(sliderAction:) forControlEvents:...
stackexchange/codereview
I am very new to Tomcat and web development in general and apologize for what may be a very silly question. Consider 2 situations: 1. I start Tomcat outside of Eclipse. I use eclipse to create a war file. I deploy it via admin console. All is ok 2. I start Tomcat via Eclipse I can't access admin console http://localho...
stackexchange/codereview
I am displaying a Customized UIAlertView. I need to know how to get access to the touch events taking place in that AlertView. I have a controller class which is set as the delegate of my customized UIAlertView, with the following method, but this is not triggered on touching being taking place in AlertView. - (void)to...
stackexchange/codereview
How can I prevent OpenSSL (specifically, Python's ssl module) from using system certificate authorities? In other words, I would like it to trust only the certificate authorities which I specify, and nothing else: ssl_socket = ssl.wrap_socket(newsocket, server_side=True, certfile="my_cert.pem", ...
stackexchange/codereview
Is it possible to implement the following using plain JSTL: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <table> <% java.util.Map msgMap = (java.util.Map) request.getAttribute("messageMap"); for(int loopCount=1;loopCount>0;loopCount++) { if(msgM...
stackexchange/codereview
The following is the problem I'm working on and my snippet of code. Is there a better way to implement this? I have used basic control structures for this below. Is it better to store the rows and columns in a map and searching through the map based on the key/value pairs? There is a security keypad at the entrance of...
stackexchange/codereview
http://localapartmentdeals.com/ on the above site there is a location bar and if you type any state (US) it will display an autosuggest list but it will not allow key board strokes to select the list, eg: no down arrow is working there. any help please thanks deve
stackexchange/codereview
If not and the set of reference types and value types are mutually exclusive, why doesn't this compile: public static void Do<T>(T obj) where T : struct { } public static void Do<T>(T obj) where T : class { } The compiler states: "Type already defines a member called 'Do' with the same parameter types.", but T and T a...
stackexchange/codereview
When viewing a plain text code file (i.e. ".py", ".c", ".cpp", ".m", ".as", ".js", etc.) is it possible to have the DAV SVN module render language-specific syntax coloring? That would be amazing. Currently it's all just black plain text, but it'd great to get this working so it's easier to read code in the browser, fo...
stackexchange/codereview
Is there any existing jQuery functionality that can test if characters entered into a textbox are either numeric, or valid in a number? Such as .00 or 0.00, but not 0.00.00 or 0a What I'd like to do is catch any invalid characters before they appear in the textbox. If it's not possible with jQuery, what's the best way ...
stackexchange/codereview
In our example, we can choose to define an Enumerated Type that will restrict the possible assigned values (i.e. improved type-safety): public class OfficePrinter { public enum PrinterState { Ready, OutOfToner, Offline }; public static final PrinterState STATE = PrinterState.Ready; } static final char MY_A_CONST = 'a...
stackexchange/codereview
Hi Does any body know how to pakage several webservices into one before deployment using ASP.Net. Like say for instance, I have 5 web services and i need to deploy all of them in such a way that the user need to click jus one link. Does anybody know how to do that?...
stackexchange/codereview
I'm pretty sure that this is a basic question but I really don't know where to start... so any help would be really appreciated. I'm creating an msi installer using WiX but how do you include, say an exe file, into the msi installer itself? I mean, when the msi installer is created, I want the exe file to be part of th...
stackexchange/codereview
I am using following method to get back an NSDictionary object in ViewDidAppear. But when I attempt to access it in CellForRowAtIndexPath() it is always nil. I have tried adding an extra retain and copy to it, but it still gets released. I have been pulling my hair for 3 hours now. Any help would be appreciated. Excer...
stackexchange/codereview
I am trying to set up functionality similar to Netflix. Where if you mouseover a movie - you are presented with a window of movie details (all client-side). At high level, can someone in this forum help by telling me how this should be implemented? I.E., one or more .aspx pages, what would go in code-behind, and .js...
stackexchange/codereview
I need a to create a VBA function that extract a text from a string I wrote this java method public static String extract(String str) { String s = str.substring(str.indexOf("'"),str.lastIndexOf("'")); String fg = s.substring(s.indexOf("'")+1, s.indexOf("to")-2); String sg = s.substring(s.indexOf("to")+4); ...
stackexchange/codereview
Possible Duplicate: How do I convert the string “39.9983%” into “39%” in C#? I have a "String" that is "39.999%", I'd like to extract "39" and % out of it. Similarly, a 0.9% would yield 0%
stackexchange/codereview
I have a service class : public class MyService : IService { private IRepoA repoA; private IRepoB repoB; public MyService(IRepoA repoA,IRepoB repoB) { this.repoA=repoA; this.repoB=repoB; } } my Controller depends on the MyService classL public MyController : DefaultController { ...
stackexchange/codereview
How can I make the background of the Button component transparent in actionscript (or remove it completely) ? I'd like to show a Button component with only the text label, no background, no border. ps. I'm using AS2
stackexchange/codereview
Here is my table. I need a query which returns the shift id for a specified time How can I get the value? shift_ID shift_From shift_To 1 2010-09-21 10:00:00.000 2010-09-21 18:10:00.000 2 2010-09-21 20:00:00.000 2010-09-21 05:00:00.000 Suppose I am giving 02:00:00 as input I need ...
stackexchange/codereview
while using jprobe or netbeans if it creates any problems in giving output? which profiler is best? Is there any profiler released recently in market,which is better than these two and if what are it's features
stackexchange/codereview
I'm trying to declare a function takelist : 'a list list -> int -> 'a list, so that calling takelist xs n will return the elements in spot number n in the lists from xs. takelist [[#"3", #"6"], [#"6", #"2"], [#"5", #"9"]] 1; should return [#"6", #"2", #"9"]. This is what I have: fun tagliste (x::xs) n = List.nth(x,n);...
stackexchange/codereview
I have a sharepoint server on which some files are hosted. I have some .Net code that creates a WebRequest to GET some of the files. This is is working correctly. When I try to use similar code to PUT a file at the same location, I'm getting a: System.Net.WebException: The remote server returned an error: (405) Meth...
stackexchange/codereview
As long as I can remember, whenever I use a module I include a use line at the beginning of my code. Recently I was writing two Moose object modules that use each other. Look at this over-simplistic example: One module: package M1 0.001; use Moose; use 5.010; use namespace::autoclean; # use M2; ### SEE QUESTION BELOW...
stackexchange/codereview
I am currently pondering the feasability of implementing part of the Android APIs on a desktop JVM and I was wondering whether you had already heard of such a project. If there aren't, and you know good reasons why (beyond "no one has begun that yet"), I would be glad to read them.
stackexchange/codereview
How do I walk through an assemblies BAML resources and convert them back to XAML?
stackexchange/codereview
When doing new WebSocket('ws://server/'); Safari connects fine, but when using new WebSocket('wss://server/'); it completely fails (returns a null object). Worse, it fails silently - no errors in traceback (a custom Eventlet web server) or in the error console within Safari. Chrome works fine with both the secure and n...
stackexchange/codereview
I have this code in one of my projects (part of a loop): newPath = [tileMap updatePathFromNode:point1 toNode:point2]; int x,y; x = [[newPath objectAtIndex:0] nodeX]; y = [[newPath objectAtIndex:0] nodeY]; currFiend.motionTarget = ccp(x*20,y*20); I am now looking for areas around my entire project to optimize the code...
stackexchange/codereview
I am a iPhone Developer trying to start PalmPre2 development, so I am doing as written here I have my emulator working and running. I have created my workspace directory $mkdir palmWorkspace $cd palmWorkspace I have create my app $ palm-generate -p "{title:'Hello World', id:com.nacho4d.hello, version:'1.0.0'}" HelloWo...
stackexchange/codereview
I have a service that listens on a socket and handle requests arriving to it and a client loading this service. I want to setup more nodes of the service and use a load balancer to balance the workload. What is , in your opinion and experience, the best open source software load balancer for Linux? Thanks, Ronen,
stackexchange/codereview
Many people are tired of obtrusive words with no value, like these: f**king Id|ot <|> whaaaat????!!!!??? I plan to detect suspicious records and then to verify them manually. In other words, to find rules which detect that something is most likely obtrusive. Is there any reasonable solution? I am thinking about these...
stackexchange/codereview
Hi there I've got the following code: ... <li><a href=""> <span class="nr">2</span> <span class="item">Despre clinic&atilde;</span> <span class="img"><img src="/images/footer_navi_icon1.gif" alt=""/></span> <...
stackexchange/codereview
I am using MKMapView on my application. i need to show current location on simulator. is it possible. to show current location on simulator.
stackexchange/codereview
I'm working on a project for school with converting a BNF form Decaf spec into a context-free grammar and building it in ANTLR. I've been working on it for a few weeks and been going to the professor when I've become stuck, but I finally ran into something that he says should not be causing an error. Here's the isolate...
stackexchange/codereview
can anyone provide insight or a sample of how to create a css based bubble container for html to go inside it? im looking to make a rounded table. that is to say i want the result to look like a table but with rounded edges. and it would be great to have a slight gradient inside as well. i found one sample on this site...
stackexchange/codereview
I have a data.frame with entries like: variable importance order 1 foo 0.06977263 1 2 bar 0.05532474 2 3 baz 0.03589902 3 4 alpha 0.03552195 4 5 beta 0.03489081 5 ... When plotting the above, with the breaks = variable, I would like for the order to be pr...
stackexchange/codereview
I currently have the following link_to in my Rails application: <%= link_to 'Remove this Person', @person, :confirm => 'Are you sure?', :method => :delete, :class => 'important', :class => "minimal important" %> I would like to add the person's name in place of the "this person" for the link. I don't appear to be able...
stackexchange/codereview