I can’t get the css, js and img loaded.
I’ve been using the web.config out of this article:
http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite Please any suggestions…
Hi i got a problem with changing urls. I have files: cat-art.php (cat- category, art- title of an article) and i would like to have nicer access to them: cat/art.php so i wrote some code in .htaccess but it doesnt work.
RewriteCond %{REQUEST_URI} ^/([^-]+)/([^-]+).html$
RewriteRule ^([^-]+)/([^-]+).html$ $1-$2.html [L]
Can sb help me please? Thanks for your help
Is there a good article or source code where I could find an WPF image rotator (moves automatically) similar to WPF carousel?
I'm not really interested with DevExpress Carousel Control for WPF. I'm only looking for a simpler approach for this one.
Hi All
I've just got my own little custom c# compiler made, using the article from MSDN.
But, when I create a new Windows Forms application using my sample compiler, the MSDOS window also appears, and if I close the DOS window, my WinForms app closes too. How can I tell the Compiler? not to show the MSDOS window at all?
Thank you :)
Recently, I have been going through search trees and I encountered red-black trees, the point confusing me is, In r-b tree, the root node should be black thats fine, now how will I decide whether the incoming node assumes red or black color.
I have gone through the wiki article but have not found a solution for this. I might be wrong, but I would be happy if someone can guide me through the exact material.
Thank you.
I have managed to adjust Flex Builder 3 to work with the Flex 4 SDK thanks to this article. However, some strange things are happening. I changed all the namespaces as suggested, but I cannot get anything from the fx: namespace using the Flex Builder code completion, as well as the spark List class.
Hi, I've read the article http://davidhayden.com/blog/dave/archive/2009/05/19/ASPNETMVCAjaxBeginForm.aspx and now I have small problem with that code:
<%using (Ajax.BeginForm("ChangeData", new AjaxOptions { UpdateTargetId = "myLabel" }))
{ %>
<input id="mbutton" type="submit" value="blabla" />
<%} %>
<label id="myLabel"></label>
then, in the MyBookController.cs is the code to be invoked asynchronous:
public ActionResult ChangeData()
{
return Content("OK");
}
but, it doesn't work asynchronously, the compiler doesn't go inside that method
Hi, I am getting "ASP.NET Session Expired" error when viewing SQL Server 2008 reports using the Microsoft ReportViewer web control. I found this article http://balanagaraj.wordpress.com/2009/09/25/session-has-expired-in-asp-net/ which suggests to use one worker process in IIS application pool, but that may affect performance, is there any other solution for this? I tried setting "AsyncRendering" to false already and that didn't work.
Solution is called Portal which holds Areas/CMS/Login folder inside it. Login controller in CMS/Controllers is the same as AccountController in Portal solution. I customized Login and it works all fine except one thing: When I use [Authorize] filter and If user is not logged in than he is redirected to http://localhost:1177/Account/LogOn?ReturnUrl=%2fCMS%2fArticle and I would like that redirection takes user to here:
http://localhost:1177/CMS/Login
Any idea how to solve this?
Thanks in advance
Hi All
I am writing some coge-gen maven-plugin.
I need my project classpath be injected in to my plugin execution classpath.
I found this article. The solution there works but is quite long. Maybe someone of you know an out of the box solution.
I keep getting this as a warning but but I don't care if its not set so how do I get rid of the warning and still achieve my goal
here is the context
var url_items = array("foo");
$article_id = db_escape($url_items[1]);
$article = get_article($article_id);
function get_article($article_id = NULL) {.....}
I'm trying to implement Florian's object permissions system from his article on Django Advent, but I'm running into an issue trying to limit the queryset returned to only items the user has permission to edit/view. Florian mentions it in his section on wrapping the admin, but skips over it. I can't see a good way to filter the queryset. Am I missing something?
Is there anyway I can run static code analysis using fxcop for silverlight code in .net 3.5
I found this article
as well as a tool XAMLToolkit
These are targetted towards .net 4.0 though!
I have been reading about Nhibernate for a while and have been trying to use it for a site I'm implementing. I read the article by Billy McCafferty on NHibernate best practices but I did not see any indication on where is the best place to handle transactions.
I thought of putting that code in the Data Access Object (DAO) but then I'm not sure how to handle cases in which more than one DAO is used. What are the best places to put transaction code in your NHibernate Application?
Hello,
I recently found this very interesting article on APNS and Emoji characters: EASY APNS - Just for fun
It contains a list with all supported Emojis. However, I couldn't get them to display in my push notifications. All I get is the code, not the image. For example, if I add \ue415 (a smiley) to my message, I never see the image, just the code.
Any idea what I'm doing wrong?
Thanks in advance.
The wikipedia article about Law of Demeter says:
The law can be stated simply as "use only one dot".
However a simple example of a fluent interface may look like this:
static void Main(string[] args)
{
new ZRLabs.Yael.Pipeline("cat.jpg")
.Rotate(90)
.Watermark("Monkey")
.RoundCorners(100, Color.Bisque)
.Save("test.png");
}
So does this goes together?
I am relatively new to using MSpec and as I write more and more tests it becomes obvious to reduce duplication you often have to use a base class for your setup as per Rob Conery's article
I am happy with using the AssertWasCalled method to verify my expectations, but where do you set up a stub's return value, I find it useful to set the context in the base class injecting my dependencies but that (I think) means that I need to set my stubs up in the Because delegate which just feels wrong.
Is there a better approach I am missing?
Hi,
is there a way to have roman numbers for the pages at the end of the article - like \bibliography{...}, \listoffigures and acronym-lists?
Currently they show up without any numbers :(
Cheers,..
Argh sorry - I was kind of incorrect I'm not looking for a way to change the page-numbers - I'm looking for a way to change the actual action-numbers...
So Index looks like:
1 Section
2 Section
2.1 SubSection
2.2 SubSection
3 Section
References
Figures
But I'm looking for:
1 Section
2 Section
2.1 SubSection
2.2 SubSection
3 Section
I References
II Figures
hi , i recently read this article nosql-vs-rdbms and i dont know too much about nosql and i didnt use it in my projects , so i have some questions :
what is the main feature that nosql has over Rdbms ?
if you think that it is best than rdbms : where and how i can learn about it (books - tutorials)?
i want to be a DBA , what this career will be after moving to nosql ?
thanks
hi , i recently read this article nosql-vs-rdbms and i dont know too much about nosql and i didnt use it in my projects , so i have some questions :
what is the main feature that nosql has over Rdbms ?
if you think that it is best than rdbms : where and how i can learn about it (books - tutorials)?
i want to be a DBA , what this career will be after moving to nosql ?
thanks
(Once again exposing the depths of my ignorance here by combining two concepts which I haven't grokked)
I read here about the Reactive framework being a 'Push' model compared to Linq's 'Pull' model. This reminded me of reading an article about 'Push' Linq.
Is there really any similarity between these two 'frameworks'?
UPDATE
Since I asked this question, Jon Skeet has asked it too, here are his first and second impressions.
I have two plugins, say com.site.plugin.core and com.site.plugin.ui.
I'd like to separate core part from UI part, so at plugin com.site.plugin.ui I created Preferences page where I defined some preferences, which should be used by com.site.plugin.core. I check article at Eclipse site, but it is quite outdated, and linked bug also do not provide much info.
So is it possible to do this using standard Eclipse mechanism, or I need use direct low-level API via package org.eclipse.core.runtime.preferences?
Hi,
Not sure if this is a available as I am new to the MVC model. But does any one have a link or link's to a article or blogs about building a MVC based PHP web application without using a Framework ?
Thanks in advance.
Hi,
Mine tex file looks like
\documentclass[a4paper,twoside]{article}`
\usepackage{graphics}
\usepackage{color}
\usepackage{hyperref}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{fullpage}
\usepackage[pdftex]{graphicx}
\usepackage{fancyhdr}
\oddsidemargin 0cm
\evensidemargin 0cm
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.0pt}
\rfoot{Raval, Ketan R -13223}
\textwidth 15.5cm
\topmargin -1cm
\parindent 0cm
\textheight 26.5cm
\parskip 1mm
\begin{document}
\fontencoding{\encodingdefault}
\renewcommand{\familydefault}{\sfdefault}
\fontshape{\shapedefault}
\selectfont
So how can I improve my overall look and feel of the pdf.
Right now all fonts are coming too dim. Is there any thing I can do to try out differnt
look and feel of the pdfs.
Thanks