When I attempt to run Mercurial diff from within Textmate, I get an error "Couldn't find hg."
hg works from the command line and is in my path.
Any suggestions?
How can I change the Publishing Folder of already deployed applications? E.G.
Currently the path is
\\Server1\App
but I want to change this to
\\Server2\App
For performance reasons (Server1 is becoming overloaded) and therefore I'm planning to move majority of our shared folders including the Apps folder to a different server
I understand how to choose good file names, but what is the best convention? What would make searches faster and such. Should I use underscores or spaces? I'm using Windows 7 32 bit.
Also, with Windows 7 what are the restrictions on the size of file names? I occasionally get the "file path is too long" error.
I have read under: Compiling Web Application Projects (http://msdn.microsoft.com/en-us/library/aa983464.aspx)
... this compilation model creates a single assembly, you can specify attributes, such as assembly name and version.
You can supply a PATH (directory name only) in the Visual Studio "Build Options".
But where can the file name for the assembly be specified?
I have a SQL CLR dll I want to deploy, but have found you can embed the byte stream/varbinary_literal/ varbinary_expression/assembly bits into a text file to get around the messy hassle of packaging a DLL and making sure it's accessible for the CREATE ASSEMBLY command.
But what I have yet to find is how to get that byte stream/varbinary_literal/ varbinary_expression/assembly bits value. I haven't found any consistent terminology, and what I keep finding in using Load().
Help?
i am using
http://maven-dotnet-plugin.appspot.com/
but i get when i use clean command:
[INFO] Internal error in the plugin manager executing goal 'org.codehaus.sonar-plugins.dotnet:maven-dotnet-plugin:0.1:clean': Unable to load the mojo 'org.codehaus.sonar-plugins.dotnet:maven-dotnet-plugin:0.1:clean' in the plugin 'org.codehaus.sonar-plugins.dotnet:maven-dotnet-pl
ugin'. A required class is missing: org/codehaus/plexus/util/cli/CommandLineException
org.codehaus.plexus.util.cli.CommandLineException
[INFO]
I have a small Sinatra app I'm running on a shared hosting account using Passenger. However, the first time the app is accessed after a while, I get a Passenger error page saying the application could not be started. Usually because Sinatra could not be found.
I am assuming this is just a normal delay from when a new instance is spawned. However, is there a way to delay trying to load Siantra until it Passenger has fully loaded?
Hi Guys,
I am just trying to test this.
And here is my command line:
aspnet_regiis.exe -pdf "connectionStrings" c:\web.config
And this is the error I got.
Error – "The configuration for physical path ‘C:\Web.Config’ cannot be opened.
And the permissions of that file is not read only.
Can anyone please suggest.
when I call System.getProperty("java.class.path") I only get this:
/Users/pswenson/dev/sag/gradle-0.8/lib/gradle-core-0.8.jar
The other classes in question are loaded at dynamically. Any ideas on finding the full classpath?
How to invoke a dll that is dynamically created (during runtime) in a sharepoint site? i am recieving an error that i dont have the load permissions.
Any help on this will be grateful.
Hi Guys,
we need to evaluate a value in an object in run time while we have a textual statement of the exact member path for example: myobject.firstMember.secondMember[3].text
we thought of parsing this textual statement using regex and then evaluate the text value by using reflection but before we do that i wonder if C# support some kind of eval ability? so we won't have to do the parsing ourself. How do microsoft do this in their immediate window or watch windows?
thanks you very much,
Adi Barda
Hey there-
I need to have a tab interface that has a different "active" tab every time the page loads. There will be advertiser content in each of the 4 tabs, so this is a way to keep things "fair". I am familiar with the tabs part...just need pointed in the right direction getting different "active" tabs to display on page load.
Thanks!
zjm_code
|-----a.py
|-----a
|----- __init__.py
|-----b.py
in a.py is :
c='ccc'
in b.py is :
import a
print dir(a)
when i execute b.py ,it show (it import 'a' folder):
['__builtins__', '__doc__', '__file__', '__name__', '__path__']
and when i delete a folder, it show ,(it import a.py):
['__builtins__', '__doc__', '__file__', '__name__', 'c']
so my question is :
how to import a.py via not delete a folder
thanks
Hello,
I have the local file path as c:\new folder\pdf\today\k.pdf I want to replace the c:\ with file:\\c|
I tried str_replace('','',) but I get error due to the slash, no stripslash will not work.
Thanks
Jean
In books I have seen that it exists but MSDN says it does not???
What do you guys have to say on this subject???
Might load up VS later on and see if it appears in 3.5 .Net. I;m asking as some of you lot know I am lsowly revising for the exam and I don't want little nougets like this to suprise me.
TIA
Hi there,
From the Jobeet tutorial provided in Symfony website, I found out that I can load fixtures data each time I run unit test by using this script:
Doctrine_Core::loadData(sfConfig::get('sf_test_dir').'/fixtures');
However, I want to delete and reload all records from database each time I run a unit test. Currently, I'm doing this manually (Run symfony doctrine:build --all before each test). Can someone provided me a correct way to do this?
I am producing a javascript-based widget. Nothing complex just a few document.writes...
When I place it inline in the page it renders fine in all browsers. When I place it externally and load it via it fails to render in Firefox and IE but not Chrome.
Anyone know why and a possible workaround?
Hey there,
I'm currently working on an app which displays a bunch of files in a table, and you can add and remove them and whatsoever. To prevent duplicates in the table, I'd like to create a NSDictionary using the files full path as keys for another NSDictionary which contains all the file information, but I am a little concerned about the maximum key length of NSDictionary, and also whether this solution would be performance killer or not...
Looking forward to your answers.
Best regards,
x3ro
Is there a utility similar to OllyDbg / SoftICE for java? I.e. execute class (from jar / with class path) and, without source code, show the disassembly of the intermediate code with ability to step through / step over / search for references / edit specific intermediate code in memory / apply edit to file...
If not, is it even possible to write something like this (assuming we're willing to live without hotspot for the debug duration)?
if i have three checkboxes on my asp.net webform ..if 1 is already checked on pageload event then output in textbox would be 2,3 if 2 and three checkbox would be checked ...even after ...
i want if the checkboxes are already checked on page load event we have to ignore that checkboxes .... and add recently checked checkboxes checkbox2 and checkbox3 will be entered in textbox 1 as 2,3
I WANT THIS IN VB.NET !!
I use the jQuery-ui tabs widget as a navigation. Contents of all tabs are load via ajax. Seems that there is interference between tabs. I mean, for example, if in page1 in tab1, there is an element whose ID is foo, and in page2 in tab2, there is an element with the same ID. And in both page, there is javascript code to manipulate the element with ID foo, then weird things will happen.
How to deal with this situation?
Hi,
since the new SDK 1.1 is missing the tutorial for "ASPProviders", i am currently asking myself how i would implement a "azure session state provider" ( this is the path in the "old" SDK: C:\Program Files\Windows Azure SDK\v1.0\Samples\AspProviders )
Related threads:
http://stackoverflow.com/questions/1023108/how-does-microsoft-azure-handle-session-state
http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/2d1340ed-0ad0-456a-b069-aa6b85672102/
Has anyone an idea or even the old example project and could post some snippets of the config here?
Is it possible to disable all the I/O ports of the Windows PC my program is running on? If so, can that be done using C?
The goal is that the user should not be able to interact with the PC through any path except for the network card while my program is running.
I am trying to use rspec on my rails application
I run "spec path/to/spec/spec.rb" and it appears to do nothing and returns nothing. I receive no error
Rails Version 2.3.4
Ruby 1.8.7
Rspec 1.3.0
rspec-rails 1.3.2
Any help is appreciated. Thanks.
I'm still getting nothing when running "spec spec/models/fee_spec.rb" or any other *_spec.rb
It works fine for my co-worker on his mac
Here is the file fee_spec.rb
*File.dirname(FILE) + '/../spec_helper'
describe Fee do
it "should be valid" do
Fee.new.should be_valid
end
end*