Python setup.py develop stuck at "writing dependency_links"

Python
I am trying to run python setup.py develop on a package that contains some helper scripts. The package is structured as follows: mytools |--mytools ...
1 year ago

Check whether a character is ( { [ using regular expressions

Ruby
I want to check whether a character is one of (,[,{ I can do it like this if char == "{" || char == "(" || char == "[" But I want to use regular e...
1 year ago

Picasso Android memory issues

Android
I am using Picasso to load 5 images, first thing first, I am resizing my image to match my screen width, which am also using as my height to have a sq...
1 year ago

Extract XML Value in bash script

Bash
I'm trying to extract a value from an xml document that has been read into my script as a variable. The original variable, $data, is: <item> ...
1 year ago

Center LOGO in middle of navigation menu by jQuery & CSS

CSS
I have a problem regarding the centered logo on a navigation menu.. I have tried a jquery solution and it's great, however when the menu items is in ...
1 year ago

Defining file_counts

Python
Re-implementation of the counts function that obtains a list of numbers from a file. In the file, every single line will contain a single integer and ...
1 year ago

Ruby while loop not stopping when condition is met

Ruby
I starting to learn Ruby, and i'm stuck with this program i'm writing which is suppose to be the game "Craps" small part of the game at least anyway, ...
1 year ago

ring an alarm even in silent mode when sms keyword is received for android

Android
What does alarmmanager really do? Is it the one that really plays the sound or just some kind of trigger? I'm trying to make an application that will ...
1 year ago

Getting the name of the current executing method

Java
Is there a way to get the name of the currently executing method in Java?
1 year ago

Get the contents of a text file into a javascript variable

Javascript
I'm working with a desktop notification. I'm using this code to show it, and its working fine: // If the user is okay, let's create a notification if...
1 year ago

import only some parts of a module, but list those parts as strings

Python
This question was marked as duplicate. However the duplicate questions deals with modules while my question is asking for how to import parts of modul...
1 year ago

Network related error while trying to authenticate against a role?

C#
I feel silly asking this but hey, its happening. I am authenticating my MVC controller using: Authorize[Roles="Admin"] I have a custom Identity li...
1 year ago

How to cast an int unique_ptr into a void unique_ptr?

C++
Suppose I have a function that looks like void *func(){ int *a = new int; *a = 1; void *b = a; return b; } and in my main function...
1 year ago

How to use a:hover

CSS
**UPDATE: #tablaarriba a:hover { color: gray ; } <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd...
1 year ago

Relative Link to Repo's Root from Markdown file

Markdown
I need to have a relative link to root of my repo from markdown file (I need it working for any forks) So it looks like the only way it's to provide...
1 year ago

Not Able To Debug App In Android Studio

Android
I am making an app in Android Studio, now trying to debug it through adb. When I click on the word Android and the logo on the bottom bar, logcat come...
1 year ago

cURL with Visual Studio 2013

C++
So i have came along with cURL as a very nice library and working very fine in OSX. But on windows now i have got big troubles with getting ready wit...
1 year ago

Redirect output of tar command to a variable in shell script

Bash
I am untaring a .tar.gz file and redirecting the output to a variable. But it gives me an error while doing this operation. old_file =$(tar -tvzf $no...
1 year ago

How to count occurrences of int value in nested dictionary in c#

C#
I have a dictionary looking Dictionary<string, Dictionary<string, int>> personStats In my code it automatically generate new "persons"...
1 year ago

How to remove class using CSS

CSS
I need to remove classes from different elements within the @media print on my CSS and add those classes on the @media screen. Is there anyway to rem...
1 year ago