source

using php to populate textarea with css file

Hi I'm sure this is possible in php. I have several css files located in a folder on my server. I wish to list these files in a drop down menu located on a php page. When the user selects one of these files in the dropdown, a textarea on the same page is populated with the source code of that css file. Struggling with this one, any he...

Visual SourceSafe 2005 - How to GET changed files for a certain date range (command line tool)

Here I was trying to perform a GET operation to pull a list of files that have been checked in/changed for a given date range, excluding the ones that have not been changed in that time frame. Here's the command I'm using: ss Get $\MY_PROJECT to . -Vd8/01/10;12:00a~08/03/10;11:59p -R In the beginning it actually seems to do what I wa...

WPF: Getting source of a Binding

I have a reference to a Binding instance, which was defined with an ElementName in XAML. How can I get, at runtime, the actual element instance being the effective Binding's source? The same question holds for bindings with Source, implicit DataContext, etc: how to I get the effective source, given only the Binding instance? And, if ma...

MVVM - Is there an open source View Model base class?

I'm working with MVVM and instead of reinventing the wheel, I thought I could find an open source view model base class. I can't find one. ...

Where is the new_post_path, edit_post_path, posts_path ... lies in the source? I need to override them

Where is the new_post_path, edit_post_path, posts_path ... lies in the source? I need to override them. my env: ruby-1.9.2-preview rails-3.0.0.beta3 ...

How to strip source from distutils binary distributions?

I want to create a bytecode-only distribution from distutils (no really, I do; I know what I'm doing). Using setuptools and the bdist_egg command, you can simply provide the --exclude-source parameter. Unfortunately the standard commands don't have such an option. Is there an easy way to strip the source files just before the tar.gz, z...

How to analyze a project

I've been wanting to help out with an open source project for some time now. I want to do this for two main reasons. I am a strong supporter of foss and I want to gain experience. I've struggled to find a project that I thought I would want to help with. There are many I would like to help with, but they are far to complex for what I...

What is the best platform for Collaborative Blogging?

Hi guys, I have a project where the requirement is to have an "open blog" -- anyone can blog and administrators will approve & publish blog entries. I was just wondering if anyone had recommendations for a good platform to do this? I'm looking at Posterous, I like the ease of posting via email and the fact that anonymous bloggers don'...

Twitter search with source parameter from oAuth application

Would anyone happen to know how you would run a Twitter search query based on a tweet coming from an oAuth Twitter application (source)? For example, I want to be able to pull tweets that were posted from my Twitter application and be able to find it using the 'source' operator. Thanks in advance. ...

Source control when working on open source projects

How do people who aren't committers on open source projects keep their changes on source control before they are ready to submit a patch? Specifically, say I'm working on an apache project like Hadoop. I would like to be able to maintain the original subversion bindings (for things like checking project history, looking at a specific r...

How can dynmically change a line of a JavaScript function?

Hi all, Suppose I had the following function: function alertMesg() { alert("This ok function alerts message!"); } Now at run time I would like to change the alertMesg function to do something else. My thought was to do somehting like this. var temp = window.alertMesg.toString.replace("ok","great") temp = temp.replace('function a...

emulating bash 'source' in python

I have a script that looks something like this: export foo=/tmp/foo export bar=/tmp/bar Every time I build I run 'source init_env' (where init_env is the above script) to set up some variables To accomplish the same in python I had this code running reg = re.compile('export (?P<name>\w+)(\=(...

Build android branch missing imports

I'm working on nifty enhancements to an Android app and I've cloned its source from android.git.kernel.org. How does one deal with imports not found, for example: import android.content.entity* import android.os.ServiceManager import com.google.android.collect.* import com.android.internal.* etc. This is with a checkout of tag Androi...

Kaltura: Help installing please!

http://www.kaltura.org/kaltura-simple-uploader-ksu-website-integration-guide I have no idea where to start if someone with some skills could get me up and running that would be great ...

using or changing open source in a closed source project

Hi.I'm doing part of the project "Persian Linux" and I would be grateful if you could answer my question: Is there any risks that a piece of open source code change to closed source or to be used in a closed source project?if there are any,what are those risks? ...

Cannot step into XML Serialize() method in VS2010?

I'm trying to get to the code behind the Serialize() method in the .NET framework but despite having followed all the steps on the Hanselblog (and the ones that he references) it's not happening for me. I'm running VS2010 Ultimate on x64 Win7 and would appreciate any help that anyone can give. EDIT: 2010-08-31 I flattened and rebuilt m...

MySQL SOURCE Error

Hello, I have an issue with the MySQL SOURCE command. I am getting the following error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SOURCE /var/www/apps/modx_install.sql' at line 1 The query I am executing is as follows: mysql_query('SOU...

Is there any conceivable way in which a .java file could cause harm?

Is there any way in which .java files on a web server, that are linked via a tag, could possibly, conceivably, cause damage anywhere -- on the server or client machine? I don't see how on Earth that could possibly happen -- we're talking about an ASCII text file and an anchor tag, but I have been dealing with an IT person who will no...

Where on android.git.kernel.org can I find the source for such classes as Activity, Intent, and ContentProvider?

Not sure how to figure out which android project on android.git.kernel.org corresponds to the classes extended in some of the app examples in the SDK such as Activity, Intent, and ContentProvider. ...

Should autogen.sh be included in a tarball?

I have seen most tarballs does not include an autogen.sh file, but I have seen it in some tarballs. What is the rationale for including or not including autogen.sh in a tarball? ...