How to move some files from one git repo to another (not a clone), preserving history

Our Git repositories started out as parts of a single monster SVN repository where the individual projects each had their own tree like so: project1/branches /tags ...

How can I see the repository path of a local copy?

This is probably close to trivial, but I can't find it. How can I see where in the repository a local copy refers to? Say, I have a workspace checked out some time ago, I want to see if it was...

Cannot redeclare class error when generating PHPUnit code coverage report

Starting a project with Zend Framework 1.10 and Doctrine 2 (Beta1). I am using namespaces in my own library code. When generating code coverage reports I get a Fatal Error about Redeclaring a...

How can I manage this CodeIgniter/PHP + Subversion workflow?

I've set up Subversion using Beanstalk + Coda for my web app, which up until now I've just been managing locally and manually. So I've got it set up successfully and in my local folder, alongside...

Run on server option not appearing in Eclipse

I'm learning SpringMVC framework and checked out a copy of their code: https://src.springframework.org/svn/spring-samples/mvc-basic/trunk/ I can do maven build, install and everything. But on...

Gradle - jar file name in java plugin

I am trying with Gradle first time. I am trying with a maven java project to compile and create a jar file. It is compiling and creating the jar file in build/libs directory...

Does C++11 allow vector<const T>?

Container requirements have changed from C++03 to C++11. While C++03 had blanket requirements (e.g. copy constructibility and assignability for vector), C++11 defines fine-grained requirements on...

wordpress widgets will not save

I followed this tutorial here to get a "base" theme set up: http://themeshaper.com/2009/06/22/wordpress-themes-templates-tutorial/ Everything has been working great, but now on the last part,...

How do I create a memory leak in JavaScript?

I would like to understand what kind of code causes memory leaks in JavaScript and created the script below. However, when I run the script in Safari 6.0.4 on OS X the memory consumption shown in...

Find/Replace Bar in Eclipse Galileo

I've been programming in Netbeans for 3 years and now I have to change to Eclipse. One of the things that bothers me is the find/replace dialog. I would like to install a plugin that permits me to...

How to instantiate Spring managed beans at runtime?

I stuck with a simple refactoring from plain Java to Spring. Application has a "Container" object which instantiates its parts at runtime. Let me explain with the code: public class Container { ...

Selenium - Multi browser and multi user log in

We are trying to start implementing automation for regression testing on our transaction based website. I successfully setup testng xml to open firefox, IE, and Chrome. And it will run the...

EF query to Oracle throwing "ORA-12704: character set mismatch"

I'm trying to combine a few columns in EF from Oracle then do a .Contains() over the columns like this: public IEnumerable<User> SearchUsers(string search) { search = search.ToLower(); ...

Fluent assertion for OR condition

I am trying to set up the fluent assertion for the below condition. But couldnt find a method with expression or an ObjectAssertion with Or(). I got to check the status of my service is of enum...

Jenkins Build Error - MSBUILD : error MSB1009: Project file does not exist

I am trying to create a Jenkins job that will build my .NET web application from an SVN repository that I manage with VisualSVN. I have added the URL of the project folder in the repository trunk...

Migrating specific folders from SVN to Git

I have an SVN repo which looks like this: Trunk: dir_1 dir_2 dir_3 dir_4 dir_5 dir_6 and I wish to Migrate only directories dir_1,dir_2 and dir_5 to a new Git repository including all the...

`require': 126: The specified module could not be found. - ../Ruby24-x64/lib/ruby/gems/2.4.0/gems/rmagick-2.16.0/lib/RMagick2.so (LoadError)

I have an existing project. I have upgraded that into Ruby24-x64, I am trying to run that but i am getting the above error. I have been trying since 2 days but no luck. I am facing the above issue...

webpack ReferenceError:window is not defined

I am currently trying to set up webpack. My project is a single page website, and my currrent webpack.config.js looks like this: const path = require('path'); module.exports = { entry:...

C++ Requires expression for checking function signature does not work for Lambdas or member functions in gcc

A c++20 requires expression can be used in order to check whether specific functions or types exist e.g. in a template argument and used in a concept. In the code snipplet below I use a requires...

checking type of attribute with concepts

I want to check that an attribute of a struct/class fits to my needs with concepts, but compiler complains about. Example: struct N { char value; auto Get() { return value; } }; struct...

I can't install FireStore pod in iOS

I can't install FireStore pod in iOS. 1. [!] CDN: trunk Repo update failed - 2 error(s): CDN: trunk URL couldn't be downloaded: ...

Flutter 'Error running pod install' When I use 'flutter_barcode_scanner: ^1.0.1'

When trying to run my flutter project I get: Error running pod install I've tried: flutter clean flutter upgrade Everything in flutter doctor is good iOS/Podfile: platform :ios, '9.0' If I...

Selenium.WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED

I am trying to user latest selenium hub in docker and try to run pytests in docker or without it for debug. I set up selenium according to official documentation. I used 3 version for docker...

React Native pod install failed on Apple Silicon (M1)

I got my new Macbook Pro which has M1 chip. I tried to run my react native project but stucked on pod install. After that, I created an empty project and tried on that still getting the same...

What's the difference between using dotnet and MsBuild for building .NET applications?

I've just had to do some builds without using Visual Studio for the first time, and clearly there is a gap in my knowledge regarding MsBuild and the build process. So, what are the differences...

Failed to install CocoaPods dependencies for iOS project React-Native

So I tried to use react-native on my brand new MacBook but I'm having some issues. (I'm on MacOs BigSur Version 11.2.2 with a M1) I followed the step on the environnement setup on react native...

Getting error while run flutter app in iOS

Launching lib/main.dart on iPhone 12 Pro Max in debug mode... Running pod install... CocoaPods' output: ↳ CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because...

"pod install" command is not working in terminal in Android Studio Arctic Fox mac m1

I am using Arctic Fox 2020.3.1 (ARM version- designed for Apple silicon), on Macbook Air M1 2020 model, running flutter project. I am successfully able to run on Android emulator, but when i try...

Potential workaround with pdgetri and pdgetrf Intel OneAPI to avoid 'std::bad_alloc' error

In C++, I need a function which enables the inversion on large matrixes (at the maximum, I need to inverse 120,000 x 120,000 size matrix). Firstly, I tried with the workstation at work to perform...

Parsing simple string with awk or sed in linux

original string : A/trunk/apple/B/trunk/apple/Z/trunk/orange/citrus/Q/trunk/melon/juice/venti/straw/ Depth of directories will vary, but /trunk part will always remain the same. And a single...