I used ChapterTool from Apple, but it's broken and discontinued since 2005..
Is there any other similar command line tool, or library (I'm writing in ruby..) ?
I have a asp:GridView with a HyperLinkField. It's DataNavigateUrlFormatString property is set to View.aspx?id={0}&isTechnical={1}
Select command of appropriate SqlDataSource returns columns of type INT and BYTE (from SQL Server 2008).
So displayed string becomes something like View.aspx?id=1&isTechnical=1. But I want to display isTechnical=true|False, i.e. Convert.ToBoolean(row["isTechnical"]).ToString().ToLowerInvariant().
How to implement such conversion in page markup?
hi i have a weird problem and here we go:
i am redirecting using this command :
return RedirectToAction("ViewMessage", "Account", new {id = model.MessageId});
but in ViewMessage action when i try to get id, its null ?!?!?!?!??
string strMessageId = RouteData.Values["id"] as string;
i have done this code in lots of places and it works fine but i dont know what is going on here.... :(
i know i can use TempData but i dont want to :)
I am trying to do the equivalent of the following curl command :
curl -H "Accept: text/plain" http://127.0.0.1:8033/stats
I tried with an Inets simple http request. But, it isn't processed.
How can I specify in Inets (or some other Erlang http client for that matter) the accept header requirement?
I just installed MySql on windows 7 ... issue is i'm unable to get multiple connection to MySql .
If I connect with command line than i'm unable to connect through any other client and vice versa.
Previously I was using same version of MySql i.e. 5.1 on vista and it was working fine.
What actually happens to the .box file (which according to the docs is simply a vbox image in tar form, in a particular format) after the first command
vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
is executed?
I can't seem to find the filesystem location of lucid32.box after the download has successfully completed...
I am aware it doesn't really matter as
vagrant init lucid32
vagrant up
vagrant ssh
will get me into the vm irregardless.
But I am curious where .box is located.
Hi there,
I need to write a script that takes the current path (%~dp0), transforms backslashes into forward slashes and passes it further to some command.
Due to the environment I'm working in the only option that I have is windows shell (not Powershell where the issue would not a problem).
Is it even possible to do that?
In OpenSolaris OS, when I run makefile generated by Eclipse CDT on the Linux OS, I get an error on the first -include line.
The same error was in FreeBSD, and was solved by executing gmake instead of make. In OpenSolaris (just installed) gmake doesn't work (command not found).
What package should I install and how exactly, to build Linux-generated C++ project in OpenSolaris?
I'm trying to run freshly compiled program, written with Tcl&Tk. When running it I get an error:
felix@Astroserver:~/?????????/Simon$ sudo ./simon1
invalid command name "tcl_findLibrary"
I'm running Ubuntu 11.04, I have installed Tcl&Tk (cause I was able to succesfully build the program).
If I'm running wish:
*% tcl_findLibrary
wrong # args: should be "tcl_findLibrary basename version patch initScript enVarName varName"*
Could anyone help?
TFS Build 2010 is completely different from 2008. There is no "" task - I'm looking for a 2010 equivalent "activity". Is there a way to perform a basic command line execution in TFS Build 2010?
I installed the vim plugin on many different ways. I try to start it with Ctrl-T but what I get is always that error:
E492: Not an editor command: FuzzyFinderTextMate
I've got the following at the start of a script
Param(
[string]$command,
[string]$version = "1.1.0"
)
This is fine, only I need for $version to not be a positional parameter, so that if you type
.\script.ps1 run argument
Then $args should contain argument and $version should be 1.1.0.
Is this even possible? I know I can do it with a c# cmdlet, but it would be massively more convenient if I could deliver this as a single script.
Hi All,
Could I get ideas on retrieving the dataset using lookup method. Basically, my scenario as I have source data needs to lookup for other source table and on matching column from source I need to get all the records from other source data.
its a one to many relations. I tried Lookup but gives only one record on matching condition, OLE DB command don't retrieve any data as it will do only Insert/Update operations.
Thanks
prav
Hello, I have this code in my .htaccess:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\+apple\+fruit/$ ?q=$1 [L]
this turns the searchquery in /keyword+apple+fruit/
thats ok.. the only problem is, if I type in /keyword+apple+fruit +any+text+haha+ apple+fruit/
the htacces is showing content - but I don't want that.
is there any command to say - ok apple + fruit only one time in the url and the second time send a 404 or show nothing..
thank you!!
I have a GridView on my ASP.NET page. What I want is to execute a function when I click
on the row, and I also want to change the style of this row. I don't want to use the select button of type command field. Any help please?
When querying ntp servers with the command ntpdate, I can use the -u argument to make the source port an unrestricted port (port 1024 and above).
With ntpd, which is meant to run in the background, I can't seem to find a way to turn this option on. So the source port is always 123. It's playing around horribly with my firewall configuration.
Is there a configuration option in ntp.conf to make it use a random source port?
I mistyped a git command which resulted in the creation of a local branch called, '--track'.
I've tried the following:
git branch -m --track delme
(this renames the current branch to delme, not the branch called --track)
git checkout --track
> fatal: --track needs a branch name
git branch -d --track
(does nothing, reports nothing)
git branch -D --track
(also does nothing)
git branch -d "--track"
(also does nothing
How can I delete this branch?
Hello everybody,
When my website is in fullscreen mode (with IE8), the window.focus() javascript command doesn' work.
Do you have a fix for my problem?
I tried to put a window.blur() before, without success.
Thank you!
Nicolas
Hello,
I'm trying to perform database migration from the command line using
"php doctrine generate-migrations-diff", it just gives me the error:
"Could not generate migration classes from difference"
Is there anyone having the same issue?
I'm using Zend Framework + Doctrine 1.2.2
Thanks.
When running the "mvn test" command, the PHPUnit tests are run.
The problem I have is that the setUpBeforeClass() method within a test class is not called when running the tests from maven.
Does anybody know the problem? I use the last version of PHPUnit (3.3.9) available on repositories.
Hi folks,
is it possible to have a way to clear the Visual Studio OUTPUT window, programatically? For example, the SysInternal's debugger app called DebugView has the specific command called DBGVIEWCLEAR .. which clears the log window.
Please don't say: right-click, clear window .. with the mouse. I know that, but that's not what i'm after.
cheers :)
I ran ldd command on an executable created by Open MPI. It shows a reference to libpthread.so
Using LD_PRELOAD variable I created my own implementation of pthread_create, but from the it output it seems that MPI implementation is not calling pthread_create as I had expected.
Why does ldd show pthread so file in output if it is not being used?
does Open MPI not use a separate MPI thread for every node to implement the functionality?