Stack Overflow
   21 tags on

1 answer

expect script with RSA private key refused with ec2 instance

This is an example expect script I found for entering a password for sftp protocol. Right now, I want to copy files from one ec2 instance to another via a script. Later I want to transfer files ...

1 answer

Running a java project in terminal with multiple .java files (multiple attempts described inside)

I have been doing a coding exercise inside the IntelliJ IDEA Community Edition 14 IDE, using OpenJDK. I'm new to the Linux environment so please bare with me! The project is split over 4 .java files ...

2 answers

match two sections of string using SED

I need to print only the sections I want from a string. For example: 10/11/12 05:34:34 Writer has an issue. Check this info [Avg. 12 write issues found] I want to match "10/11/12 05:34:34 Writer" ...

2 answers | 29 mins ago by JohnnyLoo on Stack Overflow
0 answers

Flash CC: preview playback at 60fps?

I'm new to Flash and am having what seems like an odd problem: the document properties are set to 60fps, but when I play back animations from the timeline, the animation plays at a variety of slower ...

1 answer

maven dependency report: avoid delay and error messages for (glassfish) repository

When I run the site build of Apache Commons VFS2 the dependency-report plugin tries to fill a matrix, which artifact can be obtained by which repository. In my case it also tries to inspect the ...

3 answers

Parsing XML which is in a file but is 1 single line?

So the problem is I am trying to use AWK, Perl to find how many records are inside one xml that is one loooong line sometimes in the megabytes. Most if not all examples I've seen are assuming a nice ...

3 answers | 36 mins ago by Derik Jarne on Stack Overflow
4 answers

How to debug a bash script and get execution time per command

I have a bash script which takes nearly 5 seconds to run. I'd like to debug it, and determine which commands are taking the longest. What is the best way of doing this? Is there a flag I can set? ...

4 answers | 44 mins ago by Justin on Stack Overflow
0 answers

ffmpeg slideshow with mp3 audio but loop the slides till audio is finished?

OK first the disclaimer I am a NOOB I have podcast that can run anywhere from 1-2 hours. It is recorded to .mp3 format and during the podcast we take some pics. Sometimes as few as 4 pics and other ...

0 answers

Issue stays closed ffter deleted pushed commit

I undid a pushed commit with the git rebase command. The commit I deleted previously closed an issue via commit message. Deleting worked fine as gitk shows the cleaned history as intented. However, ...

1 answer

embedded fixed dynamic video as background with HTML and CSS

I'm attempting to create an embedded dynamic video background using HTML and CSS (no PHP and no JQuery). The background must fit the full width and height of the viewport. I was able to create the ...

1 answers | 54 mins ago by user27476 on Stack Overflow
0 answers

Git pre-push hook, enumerating all un-pushed commits

I want to run a pre-push job on all un-pushed local commits. git rev-list BRANCH --not --remotes=origin works great for all cases except when the remote you're pushing to is empty. When that is the ...

0 answers

How to improve the processing speed in GPU image and apply filters smoothly?

I use GPUImage to apply filters on a video file using "SimpleVideoFileFilter" as in the code below. I am able to successfully apply a filter to the video. movieFile = [[GPUImageMovie ...

0 answers

ffmpeg mov (prores) to mp4

I have a .mov file that I am trying to convert to mp4 or avi and having a lot of issues. These are files that were given to me to convert 8mm to digital. I am very new to ffmpeg and conversions. ...

2 answers

Can I install/use git on OS X Yosemite without CLDT?

A friend of mine need to clone a git repo, but on his machine is xcode not installed and when he tries to use git his Macbook says The command git requires the command line developer tools, do ...

2 answers | 1 hour ago by Knerd on Stack Overflow
3 answers

Removing a line, plus drop the comma of the last line with a matching pattern

DROP TABLE IF EXISTS `qalnk`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `qalnk` ( `id` bigint(20) NOT NULL, ...

3 answers | 1 hour ago by Groovy Ed on Stack Overflow
2 answers

Error when importing flask.ext.markdown

I have the following code : #!/usr/bin/env python2 #coding: utf-8 from flask import Flask, render_template from flask.ext.flatpages import FlatPages from flask.ext.markdown import Markdown But ...

2 answers

How to delete a string that starts and ends with a bracket?

How to delete a string that starts and ends with a bracket using sed? <p>["1284" align="" width="210" caption="blue sky"] <a ...

2 answers | 1 hour ago by bay on Stack Overflow
3 answers

Unable to start ember-cli project because of git error

When I try to execute ember new myproject I get the following: [ ... snip ...] create vendor/.gitkeep Installed packages for tooling via npm. Failed to execute "git ls-remote --tags --heads ...

0 answers

osqa markdown and flatpages in admin

I have a markdown problem with OSQA and flatpages in admin. To be specific markdown is not recognized, i.e. instead of ** I just get <strong> as the output. Has anyone encountered the same ...

2 answers

Merge only one file from forked git repo

We have two different projects that are forked from the same repo (say, "repo1" and "repo2" from "parent-repo"). I want to copy only one file from repo1 into repo2. What is the "best", "most git-like" ...

2 answers | 1 hour ago by eedrah on Stack Overflow
0 answers

Markdown in Python ins't rendering links correctly

I am building a website using Python, Flask and Flask-FlatPages. From what I can gather, FlatPages uses the Jinja2 template engine and Markdown for simplifying the formatting of the content. Until ...

1 answer

Mix images with Markdown in a Flask app

I am building a static site using Flask-FlatPages (and following up with Frozen-Flask). Within my pages, I want to mix up the text with images. This would be the naive way to do this: ## Look at ...

3 answers

Find and replace in same string in bash

I have a string with some words in them, example a=1 b=2 c=3 a=50. Now I want to parse this and create another string a=50 b=2 c=3 which is essentially the same as above except that if the same phrase ...

3 answers | 2 hours ago by noMAD on Stack Overflow
0 answers

Length of DASH segment?

I am trying to find out the length of a DASH segment using avconv -i or avprobe but am unable to do it. Following is the avprobe output: avprobe test.mp4 avprobe version v12_dev0-123-g4e03b20, ...

7 answers

Rename all files in directory from $filename_h to $filename_half?

Dead simple. How do I rename 05_h.png 06_h.png to 05_half.png 06_half.png At least, I think it's simple, but it's hard to Google for this kind of thing unless you already know. Thanks....

7 answers | 2 hours ago by Richard on Stack Overflow
0 answers

Is git add .; git commit -a equivalent to git add -A .; git commit -a?

I am using Git version 1.9.1 and recently received this notice when making a commit on my repository: warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal', whose behaviour ...

4 answers

How can I make git accept a self signed certificate?

Using Git, is there a way to tell it to accept a self signed certificate? I am using an https server to host a git server but for now the certificate is self signed. When I try to create the repo ...

2 answers

search pattern and delete the next line after pattern from 2nd occurrence using SED

Am new to Shell scripting and need your help in finding a way to "search a pattern and delete the next line after the pattern from the 2nd occurrence using SED". i was able to delete the line after ...

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

how to convert raw modulus & exponent to RSA public key (.pem format)

I have the modulus & exponent of an RSA public key embedded into a binary file, and I am trying to extract the entire blob and create a usable .pem public key. Currently, I am extracting the full ...

1 answers | 3 hours ago by Erik Nyquist on Stack Overflow
4 answers

Linux shell script not executing completely as desktop shortcut

I'm looking to create a shell script to open a set of applications whenever I start my workday. I found a couple posts like this which seem to be what I'm looking for. The problem is, the script ...

15 30 50 per page
1 2 3