instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I know for links the css is
a:focus {
text-decorations: none;
-mozselectedsomethingorother: none;
}
or something like that, but is there a way to remove the blue border
http://cl.ly/1d20272p36180S3f1c36
| stackexchange/codereview |
I have a standard asmx webmethod, that when referenced creates the following method in the client proxy:
msr.SendAndReceiveAsync("Hello");
This is just an example, any method you generate with asmx automatically gets the Async method included.
I can call this method fine, what I can't seem to get right is hook up the... | stackexchange/codereview |
Exist a mode or method to obtained that result? please seem my image in the post
I want my result is a product of numbers in vertical (black line) multiplied by number
horizontal (red line)
| stackexchange/codereview |
Is it possible to query file indexing service using C#?
Does file indexing service expose a database?
If so what is the scheme of this database?
| stackexchange/codereview |
This is my html page:
upload your file here:
<form action="<%= blobstoreService.createUploadUrl("/bootstrap") %>" method="post" enctype="multipart/form-data">
<input type="file" name="myFile">
<input type="submit" value="Submit">
</form>
This is my controller:
protected void processRequest(HttpS... | stackexchange/codereview |
I am using java.util.logging.Logger to do my logging on my Java GoogleAppEngine app. This works peachily when the app is deployed. However, I am unable to see my log messages when running my app in the development server.
Salient additional details:
I'm running the app engine development server inside the GWT developm... | stackexchange/codereview |
Can you please help me to solve the following problem.
I am running a script to authenticate client from google and then i got the following error
Resource id #4
HTTP/1.0 302 Moved Temporarily Content-Type: text/html; charset=UTF-8 Location: https://www.google.com/accounts/ClientLogin Content-Length: 225 Date: Wed, 10... | stackexchange/codereview |
Is there a tool which can handle model checking large, real-world, mostly-C++, distributed systems, such as KDE?
(KDE is a distributed system in the sense that it uses IPC, although typically all of the processes are on the same machine. Yes, by the way, this is a valid usage of "distributed system" - check Wikipedia.)... | stackexchange/codereview |
I have difficulties understanding a problem I encountered during instantiation of a QT class but I have the feeling that it might be general oop thing. The problem was that it only worked after I used a pointer to the object but didn't work with just the object variable itself.
In main() I create an instance of a widge... | stackexchange/codereview |
What is the default font family of a WPF application? Is this system dependent? I found Tahoma on my system.
If I create a control then what will be the default fontfamily of control is set?
| stackexchange/codereview |
I'm learning javascript for a new project.
I have seen many tutorials about javascript and xmlhttprequest,
but when I try to run decode it won't work.
can somebody help me.
here is my html+javascript code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition... | stackexchange/codereview |
I'm writing a PHP error collection widget that collects errors from an application and then by making a POST request to a URL, reports them.
How many different ways to do this are there, and how would you detect whether they are available? On different servers extensions may not be installed and security options may be... | stackexchange/codereview |
I'm having a method that exports content from the database to excel files. The method taks as paramaters a DataReader param and a int param - the number of rows.
For the number of rows i'm using a dataset, wich i fill using the same query as for the datareader. So I'm executing it twice...
Is there a way I can avoid th... | stackexchange/codereview |
Title of the article Author Hits
1 Restaurante Al Cambio Administrator 24
2 Convencion Verano 2010 Administrator 50
3 Ile Aiye & Ketubara Administrator 54
I have article list with this format but I want small thumbnail to each article instead of numbers 1,2,3,....I... | stackexchange/codereview |
I wanted the black box to detect if it is going to collide on the bordered box.
If the black box detected a collision it will move around and go to the position clicked by the user.
How to do this with jquery?
| stackexchange/codereview |
I am using a lightbox called nyromodal and I am calling it manually on some thumbnail images to open a larger image.
Code:
onclickActiveItem: function (item) {
$('img.active').click(function(e) {
e.preventDefault();
$.nyroModalManual({
url: 'image.jpg'
});
return false;
});
I don't want... | stackexchange/codereview |
I have been using System.Linq.Dynamic library. Is there a way to use Entities with one to many relationship. To be specific
I have 3 classes
class A
{
public int Id {get;set;}
...
...
public Class2 class2 {get;set;}
public ICollection<Another> Bs{get;set;}
}
class Class2
{
public int Id{get;set;}
}
cl... | stackexchange/codereview |
I want a div to be centered at a certain point instead of the top left of the div being set at a point.
//css code
#div {
margin-left: 50px;
margin-top: 300px;
}
If need be, I'm also using javascript and jquery.
| stackexchange/codereview |
I am running Ubuntu 10.04. Whenever I run make clean, I get this:
make: *** No rule to make target `clean'. Stop.
Here is my makefile:
CC = gcc
CFLAGS = -g -pedantic -O0 -std=gnu99 -m32 -Wall
PROGRAMS = digitreversal
all : $(PROGRAMS)
digitreversal : digitreversal.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
.PHONY... | stackexchange/codereview |
this was more a conceptual question, but I was wondering what the best C# data structure is for a cache like structure. I'll explain what I'm looking for.
I'm making a game that uses sprites for graphics. Sprites are based on Images (SFML library images, not standard C# images, but I don't think that really matters). T... | stackexchange/codereview |
I have some issues with mudflap. I'm still getting "/usr/bin/ld: cannot find -lmudflap" error, but I've already installed libmudflap using Synaptic Package Manager. How to correctly install mudflap? I'm using Ubuntu 10.10.
| stackexchange/codereview |
I have a list of action (Create a free account, view stats, etc.). Here is how it's look like.
<div class="box_go">
<div class="ico"><img src="img/ico/arrow_f.png" width="16" /></div>
<h3>Get a free account</h3>
<p>And start earning points</p>
</div>
<div clas... | stackexchange/codereview |
I just asked myself is it really needed to pass the whole List SelectedCustomers to the delete method of the Repository like:
_customerRepo.DeleteCustomers(SelectedCustomers);
Would it not be better to pass just the Id`s of the customers to be deleted like
List<int> SelectedCustomerIDs = GetSelectedCustomersIDs(Select... | stackexchange/codereview |
I'm looking for a project that:
1) Has avaiable sources including tests.
2) Was/is developed strictly using TDD.
3) Is written in Java and JUnit.
Any ideas?
| stackexchange/codereview |
If a template code is about to be used for DLL the explicit instantiation should be applied to produce the binary but I want to know Is there anyway not to do explicit instantiation but to deliver the source-code somehow implementation-hidden to the end-user so that his/her compiler can does the instantiation itself ?
| stackexchange/codereview |
foreach (var f in new DirectoryInfo(@"...").GetFiles("*.cs", SearchOption.AllDirectories)) {
string s = File.ReadAllText(f.FullName);
File.WriteAllText (f.FullName, s, Encoding.UTF8);
}
but when converting characters get destroyed. How can i prevent that čćžšđ will not be destroyed?
Manually i fisrt copy text then... | stackexchange/codereview |
I would like to create sorted set of points according to x or y coordinates.
typedef std::set <Point2D, sorter> Points;
For the type of "Point" I would like to use a different comparators. The first one sorts points according to the x coordinates, the second one according to the y coordinates:
typedef std::set <Point2... | stackexchange/codereview |
I want to grep out a batch of consecutive lines, that starts at a specific pattern and ends at specific pattern.
E.g. the content of file looks like this :
line 1
line 2
.
.
.
my_start_pattern
.
.
.
my_end_pattern
.
.
.
line n
The output of grep should look like following :
my_start_pattern
.
.
.
my_end_pattern
Than... | stackexchange/codereview |
this is my .h file:
struct _MyString;
typedef struct _MyString MyString;
i would like to declare its members in the .c file.
i tried:
typedef struct MyString{
char * _str;// pointer to the matrix
unsigned long _strLength;
}MyString;
but it doesn't work.
how do i declare the struct's memebers in the... | stackexchange/codereview |
Consider this code snippet and try to guess what y1 and y2 evaluate to
static class Extensions
{
public static Func<T> AsDelegate<T>(this T value)
{
return () => value;
}
}
class Program
{
static void Main(string[] args)
{
new Program();
}
Program()
{
double x = ... | stackexchange/codereview |
I am trying to write a simple android widget and I have the following problem.
I am trying to access a textView from the appWidgetProvider class in order to set the font to a custom typeface. The code looks like the following:
TextView mytext = (TextView) findViewById(R.id.mytext);
Typeface typeface = Typeface.createF... | stackexchange/codereview |
I'm currently running into kind of a problem.
As you might know, the ruby logger adds a logging header at the top of every newly created logfile.
"# Logfile created on %s by %s\n" % [Time.now.to_s, Logger::ProgName]
I am logging CSV files to import them in a warehouse later, usually I just skip the first line with the... | stackexchange/codereview |
XFL's DOMBitmapItem tag has attribute itemID. What is safe way how to generate such an ID if I want to add new media items from external tool?
The example of itemIDs looks like:
itemID="4cd28f37-00000036"
itemID="4cd1d136-0000029a"
itemID="4cd1bd22-0000003b"
| stackexchange/codereview |
I need to filter contents of table column(in MS-word document) using openxml sdk. I am able get table column contents(as string) using reference = tablerow.ElementAt<OpenXmlElement>(0).InnerText
What I need to do is split the content of column into muliple strings for eg:
column
abcd
efgh
I am getting abcdefgh in... | stackexchange/codereview |
I need to create FTP-uploader, i am using pycurl and python, but i dont know how to make folder with cURL on ftp's host. Help me please.
| stackexchange/codereview |
hey guys I'm trying to write an update script in which i need to set sleep time for each row and then continue the process
as long as the process is so giant and cannot be done at once ( switching Latin-1 Charset into UTF-8 ) then i need sleep time after each row is converted
this is a usual and working code to conve... | stackexchange/codereview |
I try to connect to Internet from a Symbian phone (S60v3 FP1) but..not very successfully. When I try the app within the Qt Simulator it works - connects, downloads, etc. Maybe the FP version of the phone is connected with the problem - I've read somewhere that since FP2 there are some changes.
I have tried to use QNet... | stackexchange/codereview |
I'm using Treetop to generate a parser for a small programming language.
Upon successful parsing, I'd like to do some semantic analysis on the syntax tree. Ideally, whenever I encounter a piece of (semantically) invalid code, I would like to print out an error message that includes the line where the error occurred. I ... | stackexchange/codereview |
Is there are a way to 'validate' the contents of my data grid in windows form whether it is a duplicate copy or not?
I have a combo box inside my data grid and what I want to do is every time I add a new row, the user selects an item from the combo box. The next time the user adds a new row with the same entry from the... | stackexchange/codereview |
I have two c++/cli dlls (i.e. compiled with /clr) where A.dll references B.dll. In assembly B, I have a method, GetMgdClassB, I'd like to call from assembly A. Here is the code in assembly B (B.cpp):
namespace B
{
public class NativeClassB
{
public:
NativeClassB();
// ...
};
publi... | stackexchange/codereview |
In my app i need to select a image from photos library and then user should be able to crop or scale the the image. Can any one please help me?
| stackexchange/codereview |
I want send schedule mails using my php website, I don't want to use cron job because shared hosting environments might not provide all the functions.
So how can I send schedule mails with my site. Please let me know.
Thanks in advance,
Laxmilal Menaria
| stackexchange/codereview |
So... I want to make a game, and I want to write it in C#. In the past, I've made a mario clone using C++ and OpenGL. I quite like OpenGL, but I don't know how well it's supported inside C#/WPF. Also, it might be beneficial to use an actual game library? I guess XNA is the game library for C#, so maybe I'll invest a bi... | stackexchange/codereview |
I know somethings like this;
<script>
function out() {
alert('No, stay here.');
//What to do?...
}
</script>
<body onUnload="out()">
<input />
</body>
I got some response from other community
<script>
function out() {
alert('No, stay here.');
location.href='thisPage.html';
}
But this will reload th... | stackexchange/codereview |
I have a table, my_table, that has a field my_field. myfield is defined as VARCHAR(7). When I do:
SELECT myfield
FROM my_table;
I get what appears to be the entire 7 characters, but I only want the actual data.
I tried:
SELECT TRIM(myfield)
FROM my_table;
and several variations. But instead of getting 'abcd',... | stackexchange/codereview |
I am just getting started with MEF and hoping to integrate it with an application I'm currently working on. I am wondering if it is possible in MEF to discover parts in assemblies that are in the GAC. Essentially I would like something similar to the DirectoryCatalog but that would search the GAC. Is there anything ... | stackexchange/codereview |
I read at many places, but did not find a place where I can learn about :
What is java garbage collection all about?
How is it implemented?
When and how is it called ?
What algorithms if follows in order to reclaim memory ??
In short everything about it :)
FIXED!!!
A very good article : http://www.artima.com/... | stackexchange/codereview |
I would like for the input from textbox1.text to be displayed in the place holder {0}
so that if textbox1.text = "Randy" I would like a messagebox to popup and say Firstname,Randy
MessageBox.Show("First Name,{0}", textBox1.Text);
What happens currently is a messagebox pops up and says First Name,{0}
| stackexchange/codereview |
I would like to allow people to provide the name of a hash function as a means of digitally fingerprinting some object:
def create_ref(obj, hashfn='sha256'):
"""
Returns a tuple of hexdigest and the method used to generate
the digest.
>>> create_ref({}, 'sha1')
('bf21a9e8fbc5a3846fb05b4fa0859e0917b... | stackexchange/codereview |
./chkf: line 30: syntax error near unexpected token `elif'
'/chkf: line 30: `elif [ -f "$object" ] ; then
if [ -d "$object" ] ; then
message="$message a directory"
elif [ -f "$object" ] ; then
message="$message a regular file."
else
message="$message not a known file type"
fi
Also this,
./chkf: line 38: ... | stackexchange/codereview |
I have started learning Ruby on Rails and I have been stuck at something and need you help. To learn Rails, I am building an app for creating, filling and reporting surveys.
My model is like - Each Survey has many Questions and each Survey has many Responses. Each Response has many Answers.
On my reports page controll... | stackexchange/codereview |
I would like to do it (Probably it not necessary to do it) a console interface to make an implementation of a chat bot.
I would like my chat bot has 3 levels of “intelligence”.
Level one: My chat bot is like a dictionary. You write something like “If user say ‘Hello’, chatbot say ‘Hello’”. Or “if user say ‘How are yo... | stackexchange/codereview |
I'm attempting to get a build process template to switch build tools based on the project file extension (specifically, I'm trying to build some Sandcastle and SqlSpec documentation projects without using MSBuild 4.0). I'm trying to use the Switch<T> construct to choose the tool by examining the project's file extensi... | stackexchange/codereview |
so I have an ipad app in the app store with an executable name like 'dutch.app'. Now I added an english localization to my app and when I build it now for distribution my executable is all of a sudden named 'english.app'. I can submit this just fine to the app store but I'm afraid users that update to the new version w... | stackexchange/codereview |
So I'm new to rails and am actually following a video tutorial from Lynda.com in order to learn it. I didn't follow the steps to install on the video because I heard of RVM and its been great so far with getting everything setup. But I'm still early on in the video and can't get passed something really simple... so I... | stackexchange/codereview |
I'm writing a Qt app that runs in Linux. I need to write a file to:
"$XDG_CONFIG_DIRS/whatever"/ "$HOME/whatever"
How do I resolve the environment variables ## Heading ##in my code?
| stackexchange/codereview |
I have a code that calls $.ajax like this :
$.ajax({
type: "POST",
url: "/sandbox/graphloader/mock3",
async: false,
data: {calInput1:dates[0], calInput2:dates[1]},
success: function(data){
... | stackexchange/codereview |
Note: I'm using a bash shell on a nearly-fresh osx 10.6 install. This doesn't seem to happen to a friend who is on zsh
I'm used to Postgres, so I often instinctually type
\d tablename
instead of
desc tablename ;
When I do this, the mysql client is not very happy
mysql> \d items
mysql> ;
-> desc items;
ERROR 106... | stackexchange/codereview |
Possible Duplicate:
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
this is my struct and the size of it is 40 but the size of all variables is 34.
how can I eliminate extra space of this struct?
typedef struct
{
USHORT SequenceNumber;
USHORT LinkCount;
USHORT AttributeOffset;
USHORT Flags;... | stackexchange/codereview |
I'm trying to serve an existing Python 2.5 Pylons application on OS X Snow Leopard.
I've already installed Python 2.5 and set it as the default Python installation, installed paster, and installed the version of Pylons the app needs (0.9.6.1) as well as other eggs... but when I cd to the main folder and do "paster ser... | stackexchange/codereview |
I am creating a web interface to enable a user import data from text files into mysql database.
I am wondering if anyone knows whether there is another function to handle text files as what I have seen so far is the fgetcsv() for handling csv file. One other way could be to convert the text files into csv file which I ... | stackexchange/codereview |
I need to export my checked-in codebase on the production server, but need to exclude certain files from being overwritten.
Is there a way of "exporting" (or equivalent) content (without the .svn folders, etc that are created) and excluding certain files?
What I do presently is export everything and do the changes manu... | stackexchange/codereview |
The following scenario bothers me:
I have a simple WPF Window that has a TabControl as content. The ItemsSource of the TabControl is bound to a list of objects. In order to visualize the objects I defined some DataTemplates. As the list of objects may have different types, the right visualization is chosen by the defau... | stackexchange/codereview |
This works:
<asp:HyperLink ID="EditGridItemLink" runat="server" NavigateUrl="<%# GetCustomUrl() %>">
link
</asp:HyperLink>
link value = http://localhost/MyCustomUrl.aspx
This doesn't:
<asp:HyperLink ID="EditGridItemLink" runat="server" NavigateUrl="subfolder/<%# GetCustomUrl() %>">
link
</asp:HyperLink>
link value = ... | stackexchange/codereview |
I am trying to drag and drop into a textarea using jquery ui draggable/droppable. I set the textarea as droppable. I am able to fire off events when the drop happens but I can't figure out how to determine exactly in which position in the textarea the 'drop' took place.
Basically I would like to insert text at the pre... | stackexchange/codereview |
Ok, so I'm doing the power method in python.
Basically, the equation revolves around multiplying a matrix A by a vector (y) like this:
for i in range(0, 100):
y = mult(matrix,y)
y = scalarMult(y, 1.0/y[0][0])
Then you multiply the vector y by 1/(the first element in y). Now, if the matrix is sparse or has a... | stackexchange/codereview |
I'm new to cocos2d and to iphone development at all. I want to create some animation, when some physical object with it's sprite is destroyed (for example to show a splash). And i want to to make some object i will say to: run the animation and destroy yourself when done. Then i want to forget about this object - it sh... | stackexchange/codereview |
At time 0:43:15 in this Tech-Talk about D, The implementation of the min function is discussed. Concerns about "stability" and "extra shuffling (if values are equal)" when being used in some algorithm(s) is proposed as one of the reasons for the implementation shown.
Can anyone provide a real/practical use-case (or pro... | stackexchange/codereview |
Is there a way to enable the USB Tethering option in Android 2.2 FRG22D using a shell command?
My goal is turn a Motorola Droid running Android 2.2 into a micro server. This device cannot connect to 3G and Wifi is not option. The device will always be connected via USB to a computer with a network connection. I have go... | stackexchange/codereview |
I have been working on a DisjointSet assignment in C for a couple days now. I understand the functions find (w/ and w/o path compression), using rank in the function link when performing the union on a set. But I am having issues with C syntax.
We have to make an array of records containing the rank and the key for the... | stackexchange/codereview |
So I need to calculate the longest common subsequence of two lists, but it needs to be in polynomial time. The only problem i'm having is that I'm not allowed to use "!" at all. This means that I can't change the value of a vetcor or list using set!. I can't find a polynomial algorithm that doesn't require a 2d list or... | stackexchange/codereview |
I have two models which are associated via has_many/belongs_to. I've created a class method within the child model. But I can't figure out how to access the instance methods of the parent model from within the class method. Here's a simplification of what I'm trying to do:
#User model
class User < ActiveRecord::Base
... | stackexchange/codereview |
I am experiencing an extremely wired WPF PrintDialog issue -- Windows XP64 + VS2010.
It is pretty unbelievable that it is very very slow to get PrintDialog's .PrintableAreaWidth or .PrintableAreaHeight property.
// see sample codes below - remember to include "using System.Windows.Controls"
PrintDialog pd = new PrintDi... | stackexchange/codereview |
I am trying to get this to work:
echo "Would you like to configure dns?"
select yn in "Yes" "No"; do
case $yn in
Yes ) echo "you have selected to configure dns"; break;;
No ) exit; break;;
esac
done
I keep getting this error:
menu.sh: 2: select: not found
menu.sh: 7: Syntax error: "done" une... | stackexchange/codereview |
Is there a way to use -webkit-transition with display?
I'm using CSS display to hide and show a navigations second level … but only display: none and display: block on :hover is a little un-sexy… a ease would be great (like -webkit-transition: display 300ms ease-in;)
I know that's fairly easy to do this with jQuery, bu... | stackexchange/codereview |
I have classes for Client, Project and Task.
Each Client contains multiple projects.
Each Project contains multiple Tasks.
In the database each has an ID field, and the project table has a clientid field.
Also, the Tasks table has a projectid field.
Can someone help me with the scenario so I can make each a class?
| stackexchange/codereview |
$(document).ready(function() not working after page refresh in ie 6.Is there any problem to use?Whether it will work in all condition when page load happens...In other browser also?
Thank You
| stackexchange/codereview |
i have a batch of Smarty files that i need to extract strings from, the 2 formats i need to extract from are :
format 1 : {lang mkey='some_str'}
format 2 : {lang skey='some_other_str'}
i need the output to be :
some_str
some_other_str
i'm using php, thanks in advance, sorry for the newbie question but i'm very new wi... | stackexchange/codereview |
Suppose I have the following model relationship:
class Player < ActiveRecord::Base
has_many :cards
end
class Card < ActiveRecord::Base
belongs_to :player
end
I know from this question that Rails will return me a copy of the object representing a database row, meaning that:
p = Player.find(:first)
c = p.cards[0]
c... | stackexchange/codereview |
I have a map with multiple polylines and would like to open a line-specific-infowindow when clicking the line.
So far my code only shows the content of the last iteration.
I found two very nice examples of what I want but after hours of trying I am still no further.
Example 1: http://srsz750.appspot.com/api3/polylines... | stackexchange/codereview |
I've been asked to develop a script that can via H.323 dial a voicemail system that needs better monitoring. (The device dies in mysterious ways and offers very little over snmp). The idea is to call a number, and see if it the line gets answered. The Voice Mail system will ring busy or not answer if there's a problem.... | stackexchange/codereview |
I have this right now:
<td id="delPMicon" style="padding-right:4px;padding:4px;">
...Removebutton....
</td>
This is a delete button inside every <tr> (rows the database spitted out, used while() in PHP).
All the <tr> has a id #pm at the moment.
I would like t... | stackexchange/codereview |
I would like to use the click() function of jQuery within a for loop in order to make three HTML elements clickable. I created a simple test case:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head... | stackexchange/codereview |
I'm wondering how I should approach a homework assignment.
I must develop a simple server and client in Java, which I have done. Next, I must encrypt the traffic between this server and client by using RSA with the following given keys.
Client Public Key: (5, 10142789312725007)
Client Private Key: (8114231289041741, 1... | stackexchange/codereview |
I have a query like this:
select a1.name, b1.info
from (select name, id, status
from table1 a) as a1
right outer join (select id, info
from table2 b) as b1 on (a1.id = b1.id)
I only want to include everything where a1.status=1 and since I'm using an outer join, I can't just add a where... | stackexchange/codereview |
I'm using the following code to pass to my javascript code
sb.Append("start: new Date(" + Convert.ToDateTime(appointment.AppointmentDate).Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds.ToString() + "),");
The problem is that it's not including the time along with the date. How can I include the time as well?
Tha... | stackexchange/codereview |
I have a script that imports CSV files. What ends up in my database is, among other things, a list of customers and a list of addresses. I have a table called customer and another called address, where address has a customer_id.
One thing that's important to me is not to have any duplicate rows. Therefore, each time I ... | stackexchange/codereview |
I've been trying with mod_pagespeed and would like to know if anyone know's how I can add a rule to my httpd.conf that would automatically add all current virtual hosts to the list of running domains:
ModPagepeedDomain http://vhost1.com
ModPagepeedDomain http://vhost2.com
ModPagepeedDomain http://vhost3.com
Thank you.... | stackexchange/codereview |
Using cl-ppcre, I want to discover the number of register groups in a regex, without performing any match. Is this possible and how?
| stackexchange/codereview |
I wrote a class a while back, which gets a specific set of values from specific XML files. It can then print the results in Console and it works just fine.
But of course I didn't make a class to print to console
I need to get the values into a database. There is a separate class that handles the db input.
But I am havi... | stackexchange/codereview |
I am called upon to deliver some .NET (C#) code for use in MSSQL Server by conforming to the MS Spec for user defined functions. This code has to read in a file of state and hang onto it, and then use it to perform the calculations to be exposed as a scalar function. Do I just make a static function that new's the clas... | stackexchange/codereview |
I can't figure out why I need to do to get my views in a TableLayout to align perfectly.
I have a layout similar to this:
<TableLayout android:id="@+id/keyboard"
android:layout_width="fill_parent"
android:layout_height="378px">
<TableRow android:layout_span="5" >
<TextView android:id="@+id/button20"... | stackexchange/codereview |
How can I convert the html extension into php using php script?
| stackexchange/codereview |
I am just experimenting something with jQuery.
I have an image which fades into another image as mouseOver() occurs and fades back on mouseOut()
It works great, except if you are moving your mouse over the link again and again, say 5 times, the image fades in and out repeatedly, 5 times while you just sit there and wai... | stackexchange/codereview |
I'm currently working on a web application that customers can add to their webpages by adding a javascript link to a js file on my server. The application read all the javascriptfiles from my sever, but I still get an error when trying to use ajax to get data from my database. I didn't think that would be a problem bec... | stackexchange/codereview |
I'm trying to create a custom login portlet for liferay because I also need to do some other things such as logging. However the problem I've stumbled on is that the portal-impl.jar seems to be shielded off so I can't use the loginutil class.
Now I don't want to modify how the actual login works so this is quite a bumm... | stackexchange/codereview |
I have the following result set
Status Wage --Columns Names (Table)
====== =====
Employed 10,000
What I need is:
Key Value DataType
=== ===== ========
Status Employed column data type e.g varchar
Wage 10,000 decimal(18,2)
How can this be achieved using TSQL in SQL 2... | stackexchange/codereview |
Execute this with msbuild:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Main" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Colors Include="Blue">
<Shade>Dark</Shade>
</Colors>
</ItemGroup>
<Target Name="Main">
<Message Text="Color: %(Colors.Shade... | stackexchange/codereview |
anybody me about constructor overriding..
i have this
void operator delete(void*) {}
void operator delete(void* p, void*) {}
in my class.. that looks like overloading(same function name and return type but different parameter list) but its overriding .. how its overriding..
anyone an explain me these two lines f... | stackexchange/codereview |
I want to know that does drupal can set the minimum resolution for uploaded images?
I just found only the solution to set maximum resolution for uploaded images.
Thanks you in advance.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.