Stack Overflow
   21 tags on

1 answer

How do you split a git repo, mainaining only the history per directory?

Say I have a git repository with the structure: my-repo/ .git/ directory-one/ [...] directory-two/ [...] I need to split the repo into two repositories (one for directory-one and the …

1 answers | 1 min ago by Kerrick on Stack Overflow
0 answers

linux using/applying patches and confusion related to hunks

I got a huge patch of about 200 patches from another team. I have divided them into individual patches and applying them. For some of the patches I see an output as "patching file aa/bb/cc.c" For ...

4 answers

how to ensure bash pipe processes do not overlap?

How to ensure that in the bash pipe bash>foo | bar bar starts only after foo finishes?

4 answers | 2 mins ago by Mark Galeck on Stack Overflow
1 answer

How to delete multiple Git user.names

Today is my first day trying to learn Ruby on Rails and Git using a Mac and I created multiple Git user.names by accident. How can I delete the duplicates? Note that I read through the different ...

1 answers | 2 mins ago by Sylvain on Stack Overflow
0 answers

Upload renamed package in Github

I have renamed my package in Eclipse and also changed all references of the old name. I had initially pushed my project into github with the old package name. Now that I have renamed my package, how …

0 answers

linux bash script kill process and start it again after kill

Im running several chrome browsers on my computer with different profiles. Profiles are named like "prof1" "prof2" and "prof3". Now I need to make a script which kills specific chrome process and ...

1 answer

GitHub pages generator removing <video> tag

Context I usually set up quick GitHub pages to document a few developments I do. They are usually very simple pages, which I generate from the repo settings using the Page Generator. I want to ...

0 answers

Use named pipes to send input to program based on output

Here's a general example of what I need to do: For example, I would initiate a back trace by sending the command "bt" to GDB from the program. Then I would search for a word such as "pardrivr" and …

3 answers

How to remove quotation and spaces arround numbers using sed?

I have some numbers in a CSV file which I'm trying to remove quotations and spaces arround it. Input: 1," 23","45","67 ",89 Expected output: 1,23,45,67,89 I'm trying to remove with: sed -r -e ...

3 answers | 8 mins ago by RSFalcon7 on Stack Overflow
4 answers

Using the slash character in Git branch name

I'm pretty sure I saw somewhere in a popular Git project the branches had a pattern like "feature/xyz". However when I try to create a branch with the slash character, I get an error: $ git branch …

4 answers | 9 mins ago by user58777 on Stack Overflow
1 answer

why do I have to set up the upstream when I tried to push

I'm new to git and when I'm at work I would first branch off from the master branch and then start working, after finishing the work and then add and commit, after all of these I tried to push but ...

1 answers | 11 mins ago by photosynthesis on Stack Overflow
1 answer

Why does PowerShell output change after loading assembly?

I am getting some unusual output from New-Item in a script if I've first loaded an assembly with reflection. Why? If I run ...

1 answers | 11 mins ago by Swoogan on Stack Overflow
2 answers

How to search for two patterns and write out a different line based on the results

I have twenty thousand plus archived files to search through for a certain pattern and want to output the 4th line of each file from the results. Yes the files Is this possible using grep? The data …

2 answers | 12 mins ago by Stuart Fung on Stack Overflow
2 answers

git pull: Unable to create ORIG_HEAD.lock No space left on device

I'm having an issue where when attempting to perform a "git pull", I receive the following errors message: Unable to create '/path/.git/ORIG_HEAD.lock': No space left on device The thing that's …

2 answers | 13 mins ago by MarkOwsiak on Stack Overflow
1 answer

Android SDK command line not working on mac

I have my ADT folder at /Users/username/Development/adt-bundle-mac-x86_64-20140702/ and I am trying to set the bash_profile file to work with it because whenever I type "android" or "adb" into the ...

1 answer

shell script if statement executed from java?

I'm trying to execute unix commands thru a java program. Some of these commands involve an if-then-fi statement. Can this be done thru java / Runtime class? Seems like it only handles 1 command at …

1 answers | 14 mins ago by Pat O on Stack Overflow
1 answer

pipe STDOUT of a command to several programs at once (bash)

According process substitution in bash, stdout of one command can be piped into several programs at once using the following template: echo 'foobar' | tee >(command1) >(command2) | command3 …

3 answers

bash execute multiple greps on each line in a file

I want to run 2 different greps sequentially on each line in a file so that it will output the matches in the order that occurred in the input file. I have a simple file called temp.txt that I will …

3 answers | 17 mins ago by stevo on Stack Overflow
1 answer

Need to add 50 users with specific uid range, identified userid list, custom user comment and custom primary group

I am using centOS in an administration class, I do not want all the answers as I know that is taboo here for understandable reasons. But I would appreciate a nudge in the correct direction with a ...

1 answer

battery status command for Ratpoison on ubuntu

I have begun Ratpoison as a tiling window manager for my ubuntu laptop. One thing I have noticed is that there is no support for battery alerts leading me to completely draining my laptop battery ...

1 answers | 18 mins ago by theSage on Stack Overflow
3 answers

Modified files not showing up after applying git add --all

I cloned a git repository into my local machine I replace four files in my physical location. Performing git status yields following results On branch XXX Changes not staged for commit: (use …

3 answers | 24 mins ago by DolphinJava on Stack Overflow
0 answers

Invoke remote MSBuild script inside a MSBuild script with cygwin sshd

I'm trying to do some MSBuild automation for deploy and backup. I tried several different remote execution platforms (Powershell/WMI, PsExec and Cygwin) and had some troubles with all of them. With …

1 answer

Git: Having server git repo 'push' to /public_html

I'm in the process of learning how to get a new git repo set up. I just have previously used git repos in the pass that were set up. Goal: I'm trying to figure out how the set-up process to this ...

1 answers | 28 mins ago by tdm on Stack Overflow
2 answers

Github workflow questions

I have a question about Git workflow. We have 3 environments that we develop in - 'production', 'practice', and 'training'. Production contains all stable and tested code, Practice contains all ...

2 answers | 28 mins ago by Darius on Stack Overflow
2 answers

How to share objects between two git repos that have almost the same history?

I have two remote repos A and B. B is separated from A not a long time ago, so they basically have the same commit history. Now I already have a local clone of A, and added B as another remote, but …

2 answers | 33 mins ago by wei on Stack Overflow
1 answer

How to merge in master?

I created a branch "feature200" based on another subbranch "score" of master. Now I am 103 commits behind master. Do I merge master into "feature200" or merge "feature200" into master? ALSO ...

1 answers | 40 mins ago by jdog on Stack Overflow
0 answers

Multicast video captured via VLC show a gray background for first 1/2 second

I am capturing multicast video using VLC.exe and performing some processing/converting using FFmpeg.exe. The resulting video starts with a gray background with some of the moving objects moving ...

1 answer

Running ADB Shell commands rapidly in C# console app

I'm trying to run a rapid amount of adb shell commands. Basically, i want to start adb shell, and then run a bunch of commands in rapid succession. Can I reuse a Process in some way? I'd like to just …

1 answers | 46 mins ago by Stealth Rabbi on Stack Overflow
0 answers

playing online videos using DLNA

Is it possible to play online videos on a Digital Media Renderer from online media servers (like vimeo) and control it from a phone without the use of any additional server (DLNA server or HTTP ...

1 answer

Adding a Remote to a Git Repo Owned by Someone Else

Not sure if this is the right place to be asking this, and quite possibly incredibly simple or dumb. A company has a private GitHub repository which they have granted me access to, so that I may pull …

1 answers | 47 mins ago by cchiera on Stack Overflow
15 30 50 per page
1 2 3