Hi all,
I am tyring to merge an .mov file with a .wav file using java media framework, thus I need to know their duration. How can I do this? Any ideas would be appreciated..
Is there a way to run a loop through a folder and process like 30 files for a month and give the average,max of each columns and write in one excel sheet or so??
I have 30 files of size [43200 x 30]
I ran a different matlab scrip to generate them so the names are easy
File_2010_04_01.xls , File_2010_04_02.xls ..... and so on
I cannot merge them as each are 20mbs and matlab would crash.
Any ideas?
Thanks
Hi,
It is probably pretty simple but I cannot figure it out: Say I have tables A and B both with the same columns. I need to do SELECT * FROM A,B without having results merged into one row.
I.e. when each table has 2 rows, I need the result to have 4 rows.
EDIT: I know about JOIN but dont know how to join the tables without predicate. I need merge them.
Thanks
I'm working in a team of 3 developers and we have recently switched from CVS to Mercurial. We are using Mercurial by having local repositories on each of our workstations and pulling/pushing to a development server. I'm not sure this is the best workflow, as it is easy to forget to Push after a Commit, and 3 way merge conflicts can cause a real headache. Is there a better workflow we could use, as I think the complexity of distributed VC is outweighing the benefits at the moment.
Thanks
Hi,
I think there's something I don't understand about Branching
How can I run my website from localhost to test my changes made on a Branch
Let's say my branch structure is
-Dev
-UI
-App
Main
-UI
-App
The project UI and App from the main are map in my IIS, it's all working well
Now I want to make some changes in the UI project from Dev branch, and I want to test these changes before I merge them to Main
Thanks
There are a lot of libs to work with mp3 tags, but I need just 2 functions - split mp3 file in 2 parts and the second one to merge 5 mp3.
Can you suggest anything?
Thanks!
I want to create an alert box with 3 radio buttons in it. It should be like
'Replace'
'Save'
'Merge'
along with OK and Cancel buttons. Any idea how to achieve this?
Hi..
actually my question is just like the title says..
i need to find out the first cell and the last cell of a vertically merged cell..
lets say i merge the Cells B2 down to B50
how can i get in VBA the start cell(=B2) and the end cell(=B50) ?
thanks a lot
I know this isn't the BEST practice, but every once in a while when I'm merging up a huge batch up changes with the trunk (and I know my branch is current), I will simply delete the contents of the trunk and then copy the contents of my branch up, so that I don't have to deal with resolving conflicts for an hour. The problem is that I seem to lose the entire history of commit messages for each file. My branch still has the correct history of commit messages... how can I merge them up?
I have 2 tables in 2 different databases, one is in a mysql server and one is in an informix server.
Using .net and odbc, is there a way to identify the differences of both tables and merge them?
so that both informix database and mysql database have the same data.
thanks.
I would like to rename some columns from CPU_Usage to the process name before I merge the dataframes in order to make it more legible.
names(byProcess[[1]])
# [1] "Time" "CPU_Usage"
names(byProcess[1])
# [1] "CcmExec_3344"
names(byProcess[[1]][2]) <- names(byProcess[1])
names(byProcess[[1]][2])
# [1] "CPU_Usage"
names(byProcess[[1]][2]) <- 'test'
names(byProcess[[1]][2])
# [1] "CPU_Usage"
lapply(byProcess, names)
# $CcmExec_3344
# [1] "Time" "CPU_Usage"
#
# ... (removed several entries to make it more readable)
#
# $wrapper_1604
# [1] "Time" "CPU_Usage"
I was wondering if anyone new how to get access the metadata (the date in particular) from jpg, arw and dng files.
I've recently lost the folder structure after a merge operation gone-bad and would like to rename the recovered files according to the metadata.
I'm planning on creating a little C++ app to dig into each file and get the metadata.
any input is appreciated.
( alternatively, if you know of an app that already does this I'd like to know :)
I've got two CMDlets that return lists of objects. One returns objects of the type SPSolution, which contains the property Id, the other returns objects of the type SPFeature with a property SolutionId.
Now I want to join/merge this data something like this:
$f = Get-Feature
$s = Get-Solution
$result = <JOIN> $f $s
<ON> $f.SolutionId = $s.Id
<SELECT> FeatureName = $f.DisplayName, SolutionName = $s.Name
Hi,
I'm currently working on a branch and want some commits to merge into other branches:
/--a--b--c--d--e--f--g----- branchA (letters are commits)
--o--------------------------- master
-------------------------- branchB
However I noticed that it would be a good idea to pool some commits. I want to "concatenate" commit a, d, e and g into one patch and commit it to master. Commits b and f should go as one commit to branchB. Is there a good 'git'-ish way to achieve it?
We had a SVN branch recently that had been merged back to trunk, and some more work on that feature/functional area was needed. I suggested using the same branch but was told you shouldn't re-use a branch once it has been integrated into trunk (a reference in SVN docs was given, I can't find it now).
That suggests a branch is fairly useless once you merge back to trunk, so my question is once a branch is no longer needed, should it simply be deleted or kept?
I'd like to run git filter-branch on all children of a given commit. This doesn't seem to be an easy task, since there doesn't appear to be a way to tell git rev-list to only return children of a particular commit. Using the .. syntax won't work because it will also include the parent commits of any merge within that range. Am I missing something here?
Hi I have to flip a thumpnail image before merge it with another jpeg file. but when I rotate 45 degree using php. It shows a black background. how can I avoid that. any body can help me.
I am maintaining a repository A.
Another contributor has cloned A to another repository B.
Later, the other contributor added files F, which is irrelevant to me, into B.
Now I want to merge changes in B back to A, but without committing F. How to do so?
Hello,
I've a system, that have two types of users (Companies and individuals).all types have a shared set of properties but they differ in another. What is the best design merge all in one table that allows null for unmatched properties, or separate them in two tables related to a basic table with a one to one relationship.
Thanks.
In Ruby on Rails, where does one put the code from this snippet in http://gist.github.com/376389? I want to extend ActiveRecord::Errors with the code that's available there so I can merge error messages.
Is this something for ApplicationController? or for lib?
Hi everybody,
I was thinking about the possibility of accessing all the variables that are passed into an function, and merge them into an array. (Without passing variables into an array from the beginning)
Pseudo-code:
// Call function
newFunction('one', 'two', 'three' ) ;// All values are interpreted as a one rray in some way
// Function layout
newFunction( ) {
// $functionvariables = array( All passed variables)
foreach ($functionvariable as $k => $v) {
// Do stuff
}
}
Suppose that I have two numpy arrays of the form
x = [[1,2]
[2,4]
[3,6]
[4,NaN]
[5,10]]
y = [[0,-5]
[1,0]
[2,5]
[5,20]
[6,25]]
is there an efficient way to merge them such that I have
xmy = [[0, NaN, -5 ]
[1, 2, 0 ]
[2, 4, 5 ]
[3, 6, NaN]
[4, NaN, NaN]
[5, 10, 20 ]
[6, NaN, 25 ]
I can implement a simple function using search to find the index but this is not elegant and potentially inefficient for a lot of arrays and large dimensions. Any pointer is appreciated.
I know this is not a completely new question, but none of the answers solved my problem...
I have built a little menu that uses load() to load image galleries (as external html files) into a specified div ("content"). The said galleries make use of a JQuery plugin (SlideJS).
Now I know that load() does not work for script tags and that I need to use $.getscript in the callback function in order to run the scripts, but it does not work. I have two .js files that need to be loaded: one is the plugin itself and another one is a smaller script with a preloader and the animations for the captions.
I can't seem to merge them together; if I put them into the same document, the script won't run. So I tried just using $.getscript to load the two files.
I tried using two callbacks as suggested in other answer (I know it's not ideal...):
$("#proposal").click(function(){
$(this).addClass('selected');
$("a:not(:#proposal)").removeClass('selected');
$("#content").load("works/proposal/proposal.html", function(){
$.getScript("js/slide.js", function (){
$.getScript("js/slidepage.js");
});
});
});
and I tried a variable (read about it in some other faq, not sure if the syntax is correct)
$("#proposal").click(function(){
$(this).addClass('selected');
$("a:not(:#proposal)").removeClass('selected');
$("#content").load("works/proposal/proposal.html", function(){
var scripts = ['js/slide.js','js/slidepage.js'];
$.getScript(scripts);
});
});
So none of these work. What am I doing wrong? I'm just starting on jquery and my js knowledge is very limited. Should I just merge the two .js files together using minify or something? One of them is already minified, but I've tried with a non-minified version and it does not work either.
Can anyone suggest any other solution around this problem? I thought of just having the div embedded in the main document and just showing it on click, but I'll have at least 4 galleries with about 8 to 10 images each... its a lot of images to load in the main page, so I don't think its the best way.
if you need me to post any more code, please ask! Thanks in advance for all your help!
For example Id like to modify the login page, so its auto-logs me.
I want those changes to ONLY work on my development station and dont be visible in push. if I make it on a branch than i would have to somehow un-merge that change before every push.
is that supported by git?