instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I want to rotate a UIBarButtonItem.
I have been able to do this with UIButtons using setTransform:CGAffineTransformMakeRotation(…), but UIBarButtonItem does not have this property.
I know the Camera-app does this, so it should be achieveable.
How can I achieve this?
Thanks.
| stackexchange/codereview |
How you i make my menu sortable so i can move there position around
<ul id="nav-one" class="nav">
<li> Home</a></li>
<li>
Members
<ul>
<li><a href="?p=view_users" target="_self">All Users</a></li>
</ul>
</li>
can someone lead me down the right path please
Thank you,
| stackexchange/codereview |
Insert checkbox checked value when checked to textbox as comma seperated string in vb.net or javascript
suppose i have 3 checkboxes and and 1 textboxes in my webpage.aspx
when i checked checkbox1 and checkbox2 then in textbox it will appear as 1,2 only on checkboxes checked event ...
and i want its revert also :
if i s... | stackexchange/codereview |
I create a TextView by using java code.I need to create textView with the width 50;If the textView has a lengthy text how to display the full text.Is there any marquee in android?If it exist how to apply it in textView???
Note:
i use more no of textview's and i add all textviews in to the table layout.I create all text... | stackexchange/codereview |
I want to know if i attempt to set bits inside a char/integer from multiple threads, will i lose any modification? I will have all zeros initially and the threads will only set it to 1.
The system architecture is x64.
Thanks,
Gokul.
| stackexchange/codereview |
Android Binder document has an simple example about how to pass an object Rect through Binder interface, I'm wondering how to do the modeling if the object itself has some methods which are also defined by AIDL interface?
For example, project A owns MusicStoreManager, project B owns MusicStore and Music, the interacti... | stackexchange/codereview |
$('#foo').resizable({
resize:function(){}
});
Question
This creates a east/south handle, how do you create a east/west?
By changing the south class (ui-resizable-s) to the west class (ui-resizable-w) -current debug workaround-, the west does not behave like the east. When the east is dragged, the element is expa... | stackexchange/codereview |
I'm using JAX-RS Jersey as my controller and the JSP's for my view. Here is an example:
@Path("/")
@Stateless
public class HomeController {
@Context
private HttpServletRequest request;
@EJB
private EmployeeServiceLocal employeeService;
@GET
public Viewable getHomePage() {
Employee emp... | stackexchange/codereview |
I'd only like to store images and videos.
How do I know whether that person uploaded a video or image?
How to verify?
I'm using Django.
| stackexchange/codereview |
I'm currently facing an issue with SOLR (more exactly with the slaves replication) and after having spent quite a few time reading online I find myself having to ask for some enlightenment.
- Does Solr have some limitation in size for its index?
When dealing with a single master, when is it the right moment to decide t... | stackexchange/codereview |
Possible Duplicate:
Canadian website payment processor recommendations?
I planned to use google checkout for a website selling just a few items (under 10). As I went ahead with registering, it appears that it is not available in Canada.
Can someone recommend a suitable substitute that will accept CC payments withou... | stackexchange/codereview |
I'm writing code on the Macintosh in C++. Long story short, it's interfacing with TWAIN.
We coded against the TWAIN standard and with the main flatbed scanner we used to develop against, it works perfectly. With other scanners, not so much.
In particular, the second scanner I'm working with it tends to crash at random... | stackexchange/codereview |
I'm building an XNA 4.0 app for both Windows and the xbox.
In the Windows version, I have a debug console that references IronPython and some CLR/DLR assemblies that are not supported in the compact framework. I've also got a few partial classes that reference those items.
I know that I can remove references from the x... | stackexchange/codereview |
How to find the range of enums ?
I have got two versions which state it differently when the lowest value is negative.Stroustrup says that for
enum e3 { min = -10 , max = 1000000 }; // range -1048576:1048575
but
C++ Primer Plus 5th edition says
for eg if the smallest enumerator is -6, the next power of two [times a... | stackexchange/codereview |
I'm considering moving from TFS source control to Mercurial with HgScc. How do I replace the Team Build server aspect of my Team Foundation system or reconfigure Team Build to use Mercurial to pull the newest branch? Currently all of our released to production binaries are build on our build server to prevent worksta... | stackexchange/codereview |
I have a Java program (running in JDK 1.5 for now) which is getting a strange exception while processing an XSLT stylesheet using Xalan. I'm not looking for how to fix the exception: there's plenty of information online about that. I just want to know how to capture the exception in my code:
try {
Transform... | stackexchange/codereview |
In spring file applicationConfig.xml, JAX-WS integration need some specific schemas.
I recently successfully use these declarations :
https://jax-ws.dev.java.net/spring/core.xsd
https jax-ws.dev.java.net/spring/servlet.xsd
[I must remove all url (except one) because it's my first question]
The file begins with those... | stackexchange/codereview |
I want a command line tool to download a Github repo without creating a local git repo.
One idea is a download tool to download Github zips from a url like
https://github.com/lukeholder/fuel-website/zipball/master
I'm on Windows 7 and don't want to have to install curl or wget and use only a only native tool.
It would ... | stackexchange/codereview |
Folks,
I would like to write a VBA macro to modify the charts in a Word document but I don't know how ? I used the old school trick below with no hope:
Select a Chart in an open document
Start Macro Recording
Modify the chart
Stop Recording
Edit the macro
The surprise here is that the macro is empty !!
Any advice ?... | stackexchange/codereview |
I am trying to find out what the tech is like to create a Gmail plugin that accesses my attachments. Just to get started, what would be "Hello world" as a Gmail plugin? What would be the steps to create it?
| stackexchange/codereview |
The documentation isn't very clear on this. Can someone illuminate the differences between these two?
@After - Methods annotated with the @After annotation are executed after each action call for this Controller.
@Finally - Methods annotated with the @Finally annotation are executed after each action result is applied... | stackexchange/codereview |
My company built its own project management web application. It's like basecamp on steroids. The core features of this application are:
create task lists
assign tasks to team members
track hours against task items
I am looking to build mobile application(s) as an extension to the web application. The mobile applic... | stackexchange/codereview |
I'm using the CodeIgniter PHP framework. I use JS to dynamically load a PHP page:
$('someIFrame').writeAttribute(
'src',
'/index.php/controller/method/' +
escape(userGeneratedString)
);
When I ran this, CodeIgniter gave me this error:
http://192.168.0.81/index.php/controller/method/dude%27s%20face
An Error Wa... | stackexchange/codereview |
I have to make a flash game like this:
There is a board with holes in it (more than 1000). Initially, there are 3 pegs placed on the board and a rubber band around them.
We have 3 possible operations:
1. Add peg - adds a peg on the board
2. Remove peg - removes a peg ( if there are more than 3 pegs) - the rubber band m... | stackexchange/codereview |
Below is some code I am compiling using XCode 3.2.4 with SDK 4.1:
MPMoviePlayerController *moviePlayerController = [[MPMoviePlayerController alloc] initWithContentURL:mediaUrl];
if (![moviePlayerController respondsToSelector:@selector(thumbnailImageAtTime:timeOption:)])
NSLog(@"Does not respond to selector thumbna... | stackexchange/codereview |
The XMl looks like:
<blah>
<prop1>asdf<prop1>
<prop3>
<name>name</name>
<age>age</age>
</prop3>
</blah>
So would creating a new object be like:
b = BlahAPI::Blah.new(
:prop1 => 'abc',
:prop3 => {
:name => 'name',
:age => 11
}
)
Does that look right?
| stackexchange/codereview |
I currently have a form that requests the user's email, cell phone number, and cell carrier. None of the fields are marked required, as I only need either the email or cell number. The form submits perfectly fine if the user inputs both email and phone number or just phone number and no email. However, the form will... | stackexchange/codereview |
Trying for this:
______________________
|......|.............|
|......|.............|
|......|.............|
|......|.............|
|______|.............|
|......|.............|
|......|.............|
|______|_____________|
... but I get this:
______________________
|......|.............|
|......|.............|
|........ | stackexchange/codereview |
I can't help but think that this is a duplicate, but if it is, I can't seem to find the doppelganger.
I'm just starting to learn Python (focusing on Pylons) and I'd like to know if there is a way to determine if a call to a controller is done asynchronously or not. In PHP it would look something like this:
function isA... | stackexchange/codereview |
I am trying to get hold of 1 record from a MySQL table using PHP. I have tried many different SELECT statements and had no luck so decided to ask PHP to show me ALL results for this certain column. It returned all results EXCEPT the first result.
Im guessing this is why when it finds the result i need from the SELECT ... | stackexchange/codereview |
--UPDATE--
ok this is what I have figured out so far.
for an event that is supposed to run say on a bi weekly basis this is what I have done.
convert Schedule timestamp and Current Timestamp to a unix time
(schduleTime - currentTime) % 14 // 14 because there are 14 days in 2 weeks it could be any number
this will ... | stackexchange/codereview |
I know that using wmi query WIN32_product one can read the list of installed applications but the list is different from add/remove program list under control panel.
Another approach would be to read Software\Microsoft\Windows\CurrentVersion\Uninstall in windows registry?
I am using the following few lines of ruby code... | stackexchange/codereview |
Alright here's the trickiest question I've ever had to ask on StackOverflow.
My Web App allows creating a document. This document is automatically saved lets say ever couple of seconds.
Meanwhile, I want a news feed to lets users know what there friends are up to. So I created a observer model which after_create create... | stackexchange/codereview |
I have created a controller by name AdmissionControlller there I have added two ActionResult functions: Create and Post Event
// POST: /Admission/Create
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(FormCollection collection)
{
try
{
// TODO: Add insert logic here
return RedirectToAct... | stackexchange/codereview |
I am using android 2.x and I have four bitmaps drawn on a canvas, now i want to replace "yahoo" image with some other image and that image's size is different than "yahoo" image. Now what i want is , i want to rub the yahoo image and replace it with the new one but in such a way that if i rub "yahoo" image then images ... | stackexchange/codereview |
How to get the error number and error description from this string
s = "ERR: 100, out of credit";
error should equal "100"
error description should equal "out of credit"
| stackexchange/codereview |
I've been working on a CodeIgniter project with a friend of mine for almost a year now. We feel that our development process isn't as effective as we wanted to be, and currently we're not employing any software development methodologies. We're 2 man team, looking to have more people to work with us in the future, but w... | stackexchange/codereview |
Many of the properties on my model need to be represented a simple group of Yes/No radio buttons. I need to check the corresponding radio button for pre-entered values. I went with a partial. Here's what I did:
RadioButtonsYesNo.ascx
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<KeyValuePair<str... | stackexchange/codereview |
I have just added a new database and imported alot of backed up data to it because of a malfunction in the previous database.
I use php and have my own Ubuntu server.
I use phpmyadmin, and have set all privileges to the user.
I am positive the password, username and host are correct.
But I still get this "Access denied... | stackexchange/codereview |
I'd like to make a simple game where "discs" fall from the top of the screen and the user must catch them. I have a MovieClip which I want to resize to one of three randomly chosen sizes.
As I see it, there are four things that must be done.
Create and size the MovieClip
Position the MovieClip
Make the MovieClip fall
... | stackexchange/codereview |
Rather than deal with trying to figure out the passing of parameters to an embedded SWF, I went ahead and made 20 SWF's all compiled with different values. These SWF's are now inside my Flash Builder application.
There is a state for each SWF (using includeIn) so when the user clicks the button to switch states, the a... | stackexchange/codereview |
I'm wondering how does one go about reversing an algorithm such as one for storing logins or pin codes.
Lets say I have an amount of data where:
7262627 -> ? -> 8172
5353773 -> ? -> 1132
etc. This is just an example. Or say a hex string that is tansformed into another.
&h8712 -> &h1283 or something like that.
How do ... | stackexchange/codereview |
I'm relatively new to the WPF world and I'm working on an application where I need to have multiple windows in one application. Like Photoshop when the user clicks on "New" button a new window opens and the old existing window(s) goes in the background. The toolbar and the statusbar, however, stay on top, untouched.
I... | stackexchange/codereview |
I'm new to jQuery and I want to do this simple thing in a ASP.Net application:
I have a button in the the form and which when clicked I want to execute some server side code. BUT I want the user confirmation first, given through a jQuery modal dialog.
Which of the following approaches is correct:
1) Put the ASP.Net but... | stackexchange/codereview |
Is it ok if i use it like this..for multiple events?
unit Unit4;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Clipbrd;
type
TForm4 = class(TForm)
procedure FormCreate(Sender: TObject);
procedure WMHotkey(var Message: TWMHotKey); message WM_HOTKEY;
... | stackexchange/codereview |
std::vector, std::list and std::deque have std::back_inserter, and std::set has std::inserter.
For std::stack and std::priority_queue I would assume the equivalent inserter would be a push() but I can't seem to find the correct function to call.
My intent is to be able to use the following function with the correct ins... | stackexchange/codereview |
I followed the tutorial on this page:
http://iphone-3d-programming.labs.oreilly.com/ch01.html
I got down to the part where it says, "Compile and build and you should now see a solid gray screen. Hurray!" However, when I ran the program, I just get a black screen.
These are what the files look like:
HelloArrowAppDelegat... | stackexchange/codereview |
I have a question for you, well a clarification...
I developed a program that uses hadoop map reduce wich gets just a column from a dataset (csv file) and process this data with some functions, so this program is finished, but the real question is
Is a good idea to develop this program in Pig? note that in the process ... | stackexchange/codereview |
I'm new to Haskell. How come when I try to use Days from Data.Time I get this error:
Could not find module `Data.Time':
It is a member of the hidden package `time-1.1.4'.
Perhaps you need to add `time' to the build-depends in your .cabal file.
I am importing Data.List and Control.Monad, and neither gives ... | stackexchange/codereview |
I have a web application, and my users are complaining about performance. I have been able to narrow it down to JavaScript in IE6 issues, which I need to resolve. I have found the excellent dynaTrace AJAX tool, but my problem is that I don't have any issues on my dev machine.
The problem is that my users' computers are... | stackexchange/codereview |
I want to set message version for WSHttpBinding to EnvelopeVersion.Soap11. I don't know how to do that. Can any one help me. Here is my binding code
var binding = new WSHttpBinding()
{
UseDefaultWebProxy = true,
Security =
{
Mode = SecurityMode.Transport,
... | stackexchange/codereview |
What would be the best way to compare a pattern with a set of strings, one by one, while rating the amount with which the pattern matches each string? In my limited experience with regex, matching strings with patterns using regex seems to be a pretty binary operation...no matter how complicated the pattern is, in the... | stackexchange/codereview |
What is the best practice pattern of using polymorphic data member in C++?
The simplest one that I know is just using a plain pointer.
For example, if the type of data member is not polymorphic:
class Fruit {
public:
int GetWeight() { return 1; }
};
class Food {
public:
Food(Fruit f=Fruit()) : m_fruit(f) ... | stackexchange/codereview |
I am building an order form using HTML and jQuery and it is complete, but I would like to know if there is a better way to build it or anything wrong with the way I have done it. In case you need to know this will be posted to an "classic asp" page. Here is my page code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T... | stackexchange/codereview |
var str = 'test TEST';
How to get str = '<span class="red">test</span> <span class="red">TEST</span>' in return.
Thanks a lot.
| stackexchange/codereview |
I'm just trying to make the most basic tab bar controller that gets presented modally. I want to use nibs, as opposed to doing it all programatically, but I really don't understand Interface Builder:
Why can't I drag a tab bar controller into my veiw?
Why does IB create another "window" when I drag a TBC to the docum... | stackexchange/codereview |
This is a more specific question of my other question.
I need to extract parts from this table row..
<tr><td colspan="7"><a href="http://link/index.php?view=page&id=2961" target="_blank" title="title">atext1 atext2</a> - stuff 2 - <img src="img/icon_1.gif" class="icon" title="icon1" />12 - <img src="img/icon_2.gif" c... | stackexchange/codereview |
When I try to use this sql statement:
LOAD DATA INFILE 'url/file.txt'
IGNORE
INTO TABLE myTbl
FIELDS TERMINATED BY '|'
LINES TERMINATED BY '\n'
(SPEC, PERSON, BLAH, BLUH)
I get this error: Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'. I am trying to insert into an access data... | stackexchange/codereview |
I am having an strange problem in visual studio 2010, visual basic, and using linq. My lamda expressions are not showing up in intellesence. The project I am working on was created in visual studio 2008 and I have converted it to a visual studio 2010 project.
Here is the expression I am trying to run:
ClockItemsColl.... | stackexchange/codereview |
I know that query execution plan visualizer exists.
But never see it for mysql. Do you know one?
| stackexchange/codereview |
I have a Lucene search working great on an existing Sitecore website, but recently I discovered the Meta tags don't seem to be included in the indexes. This is not a major issue, but I am curious to know if there is a way to tell Lucene to include the Meta Description and Keywords content in its indexes. Being a Site... | stackexchange/codereview |
Does anyone know if it is possible to find a working implementation of the Bully algorithm in C# or Java somewhere?
The pseudo code in the articles I have found is terrible.
Many thanks.
| stackexchange/codereview |
I'm using PyGTK for a small app I've developing. The usage of URLlib2 through a proxy will freeze my GUI. Is there anyway to prevent that?
My code that actually does the work is seperate from the GUI, so I was thinking may be using subprocess to call the python file. However, how would that work if I was to convert the... | stackexchange/codereview |
I was getting some timeouts on my app when I was trying to call a specific stored procedure. I isolated it down to a specific sproc and found that when I call a tablevalued function in that sproc with a parameter it takes forever to run. But if I pass in a specific value (like 804) it will return quickly.
If I run i... | stackexchange/codereview |
What should I do for fast, full-text searching on App Engine with as little work as possible (and as little Java — I’m doing Python.)?
| stackexchange/codereview |
How do i make sure that for particular ASP.NET page CSS/JS file will not be cached on browser side (each time its loaded from server)?
Anything that can be done using the server side code?
| stackexchange/codereview |
So I just starting coding iPhone apps, and a potential employer had asked what me, "What is your Developer Handle?" What exactly did he mean by "Developer Handle"?
| stackexchange/codereview |
I'm trying to improve my OOP skill. Recently, I've read an article that has this code structure:
$this->getUserInfo()->display();
When I code, I just do something like this:
$this->getUserInfo();
How do I do something like the above..."multiple-passing" or whatever it's called. I think it's cool if I can make my code... | stackexchange/codereview |
Imagine I have the following string:
"I'll have some %1%, some %42% and maybe some %5% as well."
Basically, I am interested in knowing the maximum integer value that follow the pattern %(integer)%.
I am not even sure it's possible to do with a regex. What regex could I use so that in the above example the answer w... | stackexchange/codereview |
I have a Google Form where users enter the data, is there anyway I could get the data in email when the user has submitted data?
If that doesn't work I want to create my own form using(PHP or JavaScript), is there a way where i could send the data from my form to Google Form.
Thank you
| stackexchange/codereview |
I recently experienced problems with some urls. If a website has '--' (2x minus sign) in url, it doesn't pass some url validators, for example it's impossible to submit it to website catalog or even twitter: http://twitter.com/share?text=test&url=http://test--test.com
(link with one minus sign )
Why do those validator... | stackexchange/codereview |
Say you have multiple "things" which can each have one or more comments attached. Product and Order, for instance. How should the tables be structured....
Product, Order, Comment, ProductComment { ProductID, CommentID }, OrderComment { OrderID, CommentID }
Product, Order, ProductComment { ProductID, Text }, OrderComme... | stackexchange/codereview |
I recently installed the fluid960gs plugin for rails, which includes some stylesheets. How can I use these stylesheets, located in the vendor/plugins/fluid960gs directory? is there a way to do it automatically using the stylesheet_link_tag function, or do i need to manually move them to the public/stylesheets directory... | stackexchange/codereview |
From what i see in the various videos/screenshots, whenever you load an executable, the win32 api calls are visible in the comment column in the main CPU window.
How can one achieve this? In my version, i don't see them.
Thanks.
| stackexchange/codereview |
I need to add an odontogram to my webpage.
It looks like this:
I would like to know if there is already some kind of open source odontogram.
I am using spring-mvc so it has to be in java
| stackexchange/codereview |
I have my own unit testing suite based on the unittest library. I would like to track the history of each test case being run. I would also like to identify after each run tests which flipped from PASS to FAIL or vice versa.
I have very little knowledge about databases, but it seems that I could utilize sqlite3 for thi... | stackexchange/codereview |
I loaded UI datepicker in inline mode.So,I make tow buttons to load and remove it.But when I reload it again.The datepicker showed but can't select any day or change month, and firebug reported error.
just simple code:
js:
var panelContents1 = $('<div />',{'id':'igto1_WH'}).append($('<div />',{'id':'igto1_whDatePicker'... | stackexchange/codereview |
This isn't solved, but I found out why: MySQL View containing UNION does not optimize well...In other words SLOW!
Original post:
I'm working with a database for a game. There are two identical tables equipment and safety_dep_box. To check if a player has a piece of equipment I'd like to check both tables.
Instead of d... | stackexchange/codereview |
I am trying to figure out how to put a mysql query result into an array that can be accessed outside the while loop. Is this possible?
My test code that I am playing with is below. I want to send email to the email addresses in the array without creating the email code inside the while loop. That way I can inject the a... | stackexchange/codereview |
A common scenario I imagine, but I can't seem to find the terminology to find this answer...
I have two tables, one referencing the other like so:
topics
------------
title
category_id
categories
------------
category_id
category_title
How would I write a query to select the title and category_title of a topic, inste... | stackexchange/codereview |
static boolean unsynchronizedSetter(Date expected){
Date newDate = new Date();
AtomicReference<Date> myAtomicReference = Lookup.getAtomicRef();
boolean myStatus = myAtomicReference.compareAndSet(expected, newDate); //CAS
return myStatus;
}
Q: If 2 threads executes it, which object will get stored in th... | stackexchange/codereview |
I'm a little confused. In many tutorials, including some in MSDN and ASP.NET website, it's almost always about Membership. But when examining the AccountModel class that's created by default, it's about an objet called _provider of type MembershipProvider.
First, I wonder why they just don't use Membership instead o... | stackexchange/codereview |
I'm currently developing a game for Android and I want to take screenshots of it.
I did so using the DDMS tool in eclipse. However, most of the screenshots are a mix of two frames:
___________
|new frame|
| |
| |
|_________|
|old frame|
| |
|_________|
The separating line is in different positi... | stackexchange/codereview |
Want to open zip file in my Windows 7 Embedded. which package I should include to my Answer File? thanks,
| stackexchange/codereview |
I am trying to use the ExternalInterface.call function in my ActionScript(2.0) to get a javascript var value set in the wrapping document. The following seems to work in FireFox and in Chrome but, naturally, it does not work in IE(8). Can anyone suggest another method for getting the value stored at this variable? Than... | stackexchange/codereview |
I'm using the autocomplete function in jQuery UI 1.8.6. And I want to highlight matching results. But for some reason when I use a regex to add "strong" tags around the matching characters, the string is being escaped. So I see [strong]matching chars[/strong], instead of marked up text.
This is the javascript I'm curre... | stackexchange/codereview |
I need access to search engines settings from Chrome extension to populate context menu with search engines list.
Extension operate as follows:
User select text, opens context menu with submenu "Search {selection} by ..." and get list of engines, click needed engine and go to relevant search url
| stackexchange/codereview |
I have a client for whom I am updating a website... the previous designer created everything in flash with .as files imported that reference xml content for some of the stuff. unfortunately, this does not help my situation, as they did not use xml for the whole site.
here's the problem: there's a navigational block t... | stackexchange/codereview |
From documentation, the MatND actually is Mat. I want to use it as a N-Way array(tensor). Even the api provide constructor to build an empty MatND, the documentation didn't give a way to build MatND form Mat or set MatND use Mat. Is there a way to easily set MatND or build MatND from Mat without per element operation. ... | stackexchange/codereview |
I just got to support a new Sharepoint Site. I created a new Site Collection scoped feature and deployed it. The things is that when I went to site settings to activate it. Site collection administration section is not there. I went to see the Site collection list in for the web application and there's only one, with n... | stackexchange/codereview |
I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North). The location is fixed and I always need the pointer to point to that specific location no matter where the user is located. I have t... | stackexchange/codereview |
I was under the impression that if a user attempted to visit a website that had been secured with an SSL certificate, but did not use HTTPS and instead used plain HTTP in the address box, a 403;4 error would be generated, and that an errormessage something like this would be presented:
"This page must be viewed over a ... | stackexchange/codereview |
I'm trying to perform a baseless merge between two branches using tf.exe.
When I run the command, it fails and tells me that there 15-20 files that are locked by another user. I've looked at the other user's pending changes and he only has three files checked out in the target branch and none of them are locked.
Has a... | stackexchange/codereview |
I'm looking for the format specifier for String.Format() (or if there is a NumberFormatInfo class that will do it) to format a integer as octal in .NET, as {0:x} formats it as hex, e.g:
String.Format("{0:x}", 15) // returns "f"
| stackexchange/codereview |
I have RHEL 5.2, with Boost 1.33 installed.
I downloaded boost_1_44_0.tar.bz2. and built it. On completion it showed:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/home/dfe/Archive/boost_1_44_0
The following directory should be added to linke... | stackexchange/codereview |
I've got a JSP which is outputting the following HTML:
<html>
<head>
<script type="text/javascript" src="jquery-1.4.3.min.js"></script>
</head>
<body>
</body>
</html>
When I open this page in Chrome, I get:
Uncaught SyntaxError: Unexpected token : jquery-1.4.3.min.js 120
jquery-1.4.3.min.js:-1Resource int... | stackexchange/codereview |
Greetings.
I have two classes, 'Database' and 'Group.' I want to be able to create instances of 'Group' and call methods on those instances from within 'Database' and to be able to distribute 'Group' instance references publicly. However, I do not want to provide public access to the constructor or other methods in 'Gr... | stackexchange/codereview |
Xcode 3.25, Mac OS X 10.6, 10.5 compatibility required.
I have a Mac Xcode project, which mixes Cocoa and C/C++. Some legacy modules require a C-only header.
I created a C header file: myCTypes.h
I wish to use a CGPoint in that header.
Compiling generates an error: CGPoint is not defined. OK, no problem, so I'll jus... | stackexchange/codereview |
Can anybody please tell me what the Constructors are used for exactly in Java?
What could be the ideal condition for using the constructors in an application?
Thanks,
david
| stackexchange/codereview |
the task is to write a shell script
inputs are a string and a number
for example,
xxx.sh "Hello World" 3
the input will be
***************
* Hello World *
* Hello World *
* Hello World *
***************
and here is what have I got so far:
function mantra() {
echo "string is $1"
echo "number is $2"
echo ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.