I'm trying to master CakePHP and I figured one way to improve my code is to read other apps. I'm wondering, where can I find well written apps made with CakePHP? Thanks in advance!
Hello, I have a master detail screen In ASP.NET MVC, when I submit something, It instantly returns to me a grid with the inserted value via Ajax, my problem is: I want to pass a message of failiure or successful via an jquery modal dialog or infobar and I can't pass a viewdata for the jquery to process It. Any ideas?
Sometimes it happens that I make some changes in my working directory and I realize that these changes should be committed in a branch different to the current one. This usually happens when I want to try out new things or do some testing and I forget to create a new branch beforehand, but I don't want to commit dirty code to the master branch.
So, how can I make that uncommitted changes (or changes stored in the index) be committed to a different branch than the current one?
Hi,
i need to dump my sql query result into the text file. i have created the following query,
DECLARE @cmd VARCHAR(2048)
SET @cmd = 'OSQL -localhost -CRN370 '
+ ' -UCRN370 -PCRN370'
+ ' -Q"SELECT TOP 5 GageId FROM EwQMS370..msgages"'
+ ' -oc:\authors.txt'
EXEC master..xp_cmdshell @cmd, NO_OUTPUT
The above query created the text file authors.txt. But the content of the file shows the following error message
" Error: Conflicting switches : -U and -E "
Any help really appreciated
On the WrkStat.aspx page I would like to add emphasis to the status of each approval stage. e.g. I want to show "Approved" in green and "Rejected" text in red.
I tried editing the page in SharePoint Designer but it gives an error about application.master.
Does anyone know how to add color to this wrkstat.aspx page or any custom workflow status page?
In c#, on a windows 7 machine, how can I programmatically access every file on the file system as though I was a "Master Administrator".
The main priority here, is that after my c# program is installed, that it won't run into any file/folder access permission problems. My program runs as a windows service, and it must allow a user to backup any files on the file system.
I'm trying to format a date in Rails 3 using the new syntax as described in the code:
http://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/date/conversions.rb
by using the following syntax in an initialiser:
Date::DATE_FORMATS[:my_format] = '%m %d %Y'
I am then referencing dates in my view like so:
comment.created_at.to_formatted_s(:my_format)
However, I'm just getting the default formatting - what could be wrong?
Display information in Farsi, but I have a problem when my site for web services can be sent a character "?" are displayed.
pages are saved with Unicode(utf-8 with signature)codepage 65001 and the following tags in my master page :
<'html
xmlns="http://www.w3.org/1999/xhtml"
lang="fa" xml:lang="fa"
<'meta http-equiv="Content-Type"
content="text/xml; charset=utf-8" /
<'meta http-equiv="Content-Language"
content="fa" / <'body lang="fa"--
and in web.confing :
<'globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" /
How does one be called a ninja ASP.Net programmer?
What set of tools and immediate knowledge(Without having to open MSDN, SO, or Google) should be known to be considered a master?
Webforms or MVC...
Can someone point me at what I should be doing under scala 2.10 in place of this deprecated type witness on Manifest?
reflect.ClassManifest.singleType(foo) <:< barManifest
Honestly, my goal here is just to replace it with something that doesn't raise a deprecation warning. I'm happy to use the new reflection API.
Here's the code in question in context, if that's important:
https://github.com/azavea/geotrellis/blob/master/src/main/scala/geotrellis/feature/op/geometry/geometry.scala#L45
Hi,
I am trying to use a Database in SQL AZURE. I have installed SQL Server 2008. I can Login SQL Azure and can use master Database. But I can't use other Database and I can't see any things in my object explorer. Its Show Error:
"USE statement is not supported to switch between databases. Use a new connection to connect to a different Database."
How can I use other database?
when I do git rebase master I get conflict sometimes. And sometimes it becomes very difficult to track down an issue even with error messages. It would be a real help if I could find out which commit git is trying to reapply and is causing conflict.
How can I find out which commit is causing the conflict?
I've been using puttycyg as a Cygwin terminal for my rails development. I've set up a git repository on a project management website and now I want to push my code to it with the following command:
git push origin master
I'm getting the following error:
error: cannot run ssh: No such file or directory
fatal: unable to fork
I know ssh is used for authentication but I don't know if I need to set anything up to use it.
In my remote bare repository the HEAD is pointing to "refs/heads/master" and I want it to point to "refs/heads/other".
I am not able to go to remote repository directory and run git symbolic-ref. Is there any git command to achieve it? Or any other way?
If there is no way, does Github allow to change the HEAD?
Thanks in advance.
Hi... I'm looking for an application developed in C# with following qualities, which is available as source code...
Based on OO Architecture
Must connect to DB.
Must handle atleast a "one to many master child" relationship (eg: Order and items ordered)
Should display the data using Datagrid or other similar controls.
Reports (either with report buider or otherwise)
I want to understand the layering of objects better... Do you have any links...
Thanks.
i'm new to this topic ... i'm using a ThreadPoolExecutor created with Executors.newFixedThreadPool( 10 ) and after the pool is full i'm starting to get a RejectedExecutionException .
Is there a way to "force" the executor to put the new task in a "wait" status instead of rejecting it and starting it when the pool is freed ?
Thanks
Issue regarding this
https://github.com/evilsocket/dsploit/issues/159
Line of code involved https://github.com/evilsocket/dsploit/blob/master/src/it/evilsocket/dsploit/net/NetworkDiscovery.java#L150
There is a master subversion repository that I've cloned a git repo from. I've got a lot of ignored files in my .gitignore that I'd like the svn repository to know about.
I know that I can use git svn show-ignored to pull the ignored list from subversion, but how can I do the reverse? Send a list of files to be ignored back to the svn repo?
Git version (and git-svn is at the same version):
git --version
git version 1.7.0.5
I am designing database tables for a master-detail scenario. The specific requirement is that it is necessary to store information about the order of children. I see some possible solutions (like adding a column representing a position in the sequence, or a column with foreign key to the previous child) but I would like to know the best practices how to solve such problems.
Best regards
Lukasz Glaz
The Boost.Test documentation and examples don't really seem to contain any non-trivial examples and so far the two tutorials I've found here and here while helpful are both fairly basic.
I would like to have a master test suite for the entire project, while maintaining per module suites of unit tests and fixtures that can be run independently. I'll also be using a mock server to test various networking edge cases.
I'm on Ubuntu 8.04, but I'll take any example Linux or Windows since I'm writing my own makefiles anyways.
Hi,
I am trying to use a Database in SQL AZURE. I have installed SQL Server 2008. I can Login SQL Azure and can use master Database. But I can't use other Database. Its Show Error:
"USE statement is not supported to switch between databases. Use a new connection to connect to a different Database."
How can I use other database?
Hi, how can I "copy" the selected option between two s that have the same options using prototype ? I tried getting the selected option from the "master" combo using
function getSelectedArea() {
$$('#areacont1 option').find(function(ele){return !!ele.selected})
}
which returns null
And setting the second combo using
var c2ROptions = $$('select#areacont2 option')
c2ROptions[getSelectedArea()].selected = true
That obviously doesn't work because the function returns null.
Any hints?
Thanks.
I've got basic page templates working in ASP.NET from master pages and can include pages in ASP.NET - however, I'm having difficulty extracting from pages and paginating them.
This is the design structure (i.e. the model for my site) I'm trying to base it on:
http://library.digiguide.com/lib/programmenextshowing/Medium-319648
I have an SQL Driver installed, my ODBC Advisor says it is MySQL ODBC Driver 5.1.
How should I get this project to work, now I have the basics under way?
I'am a newbie n interest to leaarn aspnet mvc (vb) but there's too much application sample that using C#..
i just want to know how to wrote this code in VB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Inherits="System.Web.Mvc.ViewPage<MvcGridSample
.ViewModels.Shared.Grid<Customer, CustomerSearchForm>>" %>
do you have any idea??
thx before
-dix-
It is said that a true master learns from his students. Since I'm tutoring at university, from time to time a question or a comment from the students I'm working with made me to see something from a different perspective, you get deeper insights, etc. So, what have you learned from your students/junior developers/... ?
I am a template designer and I want to create one wordpress with all generic posts, but I don't want to have to keep logging in and copy & pasteing the same wordpress posts everytime. Can I point multiple WP installs to one database? A harder way would be export a master db and importing it to each install. Before I go crazy and try to hack something together, does anyone have any advise?
-Thanks in advance.