Stack Overflow
   21 tags on

0 answers

How to use line breaks in eyeD3

Recently I started experimenting with eyeD3 to manage my large collection of MP3's. Using the commandline on Linux ('BASH') I want to add comments to MP3's according to this structure: Line 1 Line 2 ...

0 answers

How to do `git fetch` with pygit2?

I want to update a local repo with pygit2, here's what i did: from pygit2 import Repository repo = Repository('path/to/git/') remote = repo.remotes[0] remote.fetch() But failed with error: ...

0 answers

OSX Yosemite - invalid characters in path

I'm having trouble installing Homebrew, and it looks like the problem (invalid byte sequence in UTF-8 (ArgumentError) error message) is due to a fault in my PATH. when I run echo $PATH, I get the ...

1 answer

How to remove empty lines to one empty line between sentences in text files?

I have a text file with many empty lines between sentences. I used sed, gawk, grep but they dont work. :(. How can I do now? Thanks. Myfile: Desired file: a a b ...

1 answers | 6 mins ago by Alice on Stack Overflow
0 answers

android mediaplayer play video excepiton ,flowers screen

Loop playing one video in android by mediaplayer and surfaceview .Usually normal play,but sometimes exception,flowers screen. The video info: Format MP4 Video Coding MPEG-4 (XVID) Audio Coding MP3 ...

1 answer

grep outputs differently for pip list vs pip list -o

I know there are various ways to update outdated packages using pip, which is what I was attempting to do here. However, my question is about the different outputs given by this expression depending ...

1 answers | 16 mins ago by pak on Stack Overflow
0 answers

How do I change reverse footnotes of kramdown using CSS?

This is how I make a footnote using kramdown. (I am also working within the context of Jekyll) I make a reference to a footnote [^1]. [^1]: This is the footnote. This gives me the following HTML ...

0 answers

Windows : Ant copy file reduces permissions

The problem When ant copies a file, the 'destination' now ends up with very restrictive permissions. Windows service can't access these files. And thus the related windows services fails. in ...

0 answers

SystemUIServer process leads to high CPU usage when turning off connected video projector

I use a Mac Mini as my media server. It is directly connected to a video projector using the HDMI port on the Mini. When I turn off the video projector the SystemUIServer process takes up as much CPU ...

1 answer

Can a Makefile have a dependency on the result of a shell script?

Is there a way to use the return value of a shell script as a dependency in a Makefile? For example: Makefile: proj: cc src1.c src2.c ... wget ...

1 answers | 39 mins ago by David on Stack Overflow
1 answer

calculating days and displaying them as year, months, days between two dates shell script

I am trying to write a shell script which is going to determine the difference in years, months and days between the present date and Easter from a user input year. For example the user inputs 1995 ...

3 answers

Read names line by line and perform a certain function on it in Bash scripting

I'm writing a bash script, creating users. I want to read a text file with names line by line and perform a function on each. I've tried Googling a lot, but nothing is working out for me. I want user ...

3 answers | 41 mins ago by Umair on Stack Overflow
3 answers

Bash script to find and display oldest file

I'm trying to write a script that will display the name of oldest file within the directory that the script is executed from. This is what I have so far: #!/bin/bash for arg in $* do oldest=$1 if ...

3 answers | 42 mins ago by dkon on Stack Overflow
0 answers

How to create UICollectionView for video moderation like tiiny apps in ios

I need a help from you guys, i plan to create a video application. In this application, i wanted to implement some video moderation so the admin can moderate the submitted video before its publish to ...

0 answers

RStudio and Git Yosemite

I seem to have a path problem, perhaps of my own making. I have Yosemite installed (fresh install) and have installed Git, BUT did not use the Xcode install. I installed Git directly from their ...

1 answer

Bash script to check for diff

I'm trying to get this script to work for checking the output of a program (test21) against known correct result text files. I've tried playing around with a couple ways of writing it, but I can't get ...

1 answers | 1 hour ago by user3340037 on Stack Overflow
1 answer

Using markdown for two or more programming languages and importing the output of one to another

I know that we could use markdown for the compilation of documents within Rstudio. We could use it for shell programming, python, perl, R, etc. My question is: I have python code, that will ...

1 answers | 1 hour ago by Deepak Tanwar on Stack Overflow
1 answer

what does this strange little yellow arrow below the command prompt mean?

I am installing rbenv, following their documentation to add ~/.rbenv/bin to your $PATH for access to the rbenv command-line utility. And this arrow shows up. What does it mean?

1 answers | 1 hour ago by Nick Lashinsky on Stack Overflow
7 answers

Resolving a Git conflict with binary files

I've been using Git on Windows (msysgit) to track changes for some design work I've been doing. Today I've been working on a different PC (with remote repo brian) and I'm now trying to merge the ...

2 answers

How to make list order ascending with Jekyll and Liquid?

I am starting with Liquid & Jekyll can anyone help me with making list order ascending (by {{category}} name)? <div class="col-xs-6 col-sm-3 patickaborder"> ...

2 answers | 1 hour ago by Kodejn on Stack Overflow
2 answers

do p4 edit for multiple files which contain a matching pattern

I have few files inside a folder. But some of the files contain a particular pattern inside them. I want to grep those files and do p4 edit on those files. I have used this command on my ...

2 answers | 1 hour ago by biren.K on Stack Overflow
1 answer

Installing and running a gem in bash script

I am writing a bash script in mac OSX. now i want to set up librarian-chef, echo "installing the librarian-chef gem" gem install librarian-chef echo "librarian-chef installing cookbooks from the ...

1 answers | 1 hour ago by TheLegend on Stack Overflow
0 answers

Linux RedHat Getting IRQs Per Sec and Record to File

How can I get interrupts per sec during a test and record the information to a file? Do I use itop or what would I use to collect the information? Script in bash. Example of what I want to do: # ...

0 answers

How to play Picasa video (google plus) on IOS

I had a video on Picasa server. How to play this one on IOS. Please help me. This is sample link.

42 answers

Can a Bash script tell what directory it's stored in?

How do I get the path of the directory in which a Bash script is located FROM that Bash script? For instance, let's say I want to use a Bash script as a launcher for another application. I want to ...

42 answers | 2 hours ago by Jiaaro on Stack Overflow
1 answer

Trouble with -n in sed command with Mac

I'm writing a script using sed to look for a string in one file - temp.txt (a version number) and take this string and update the version number in another file. Here is the relevant code snippet. ...

1 answers | 2 hours ago by user1488804 on Stack Overflow
2 answers

gcloud init fails for invalid username/password

I am trying to gain access to the embedded git repository for an existing Google Developers Console (GDC) project. The GDC shows the git repository under -SOURCE CODE-Releases. I followed the official ...

2 answers | 2 hours ago by marco on Stack Overflow
1 answer

Git Bash: Could not open a connection to your authentication agent

I'm new to Github and Generating SSH Keys look a neccessity. And was informed by my boss about this, so I need to comply. I successfully created SSH Key but when I'm going to add it to the ssh-agent ...

1 answers | 2 hours ago by setsuna on Stack Overflow
1 answer

Why doesn't sed recognize the \ character?

I have a lot of \ in a file that I would like to remove using sed. Here is my command: sed -i.bak 's/\\\//g' myFile And I get the following error: sed: 1: "i.bak": command i expects \ followed by ...

1 answers | 2 hours ago by user2472704 on Stack Overflow
1 answer

Script not executing properly.

I am writing a script in linux and when I run it, it seems like it is trying to run every line as a command? My script is like this #!/bin/bash #add user script clear curUser = "$(whoami)" ...

1 answers | 3 hours ago by Kalkrin on Stack Overflow
15 30 50 per page
1 2 3