1
Code that send signals, one of the terminals closesview story

http://stackoverflow.com – I have a problem, and it is because I execute these two codes and the second one closes the terminal just when I execute it, and the first one gets blocked because of it. First code: #include <signal.h> #include <pthread.h> #include <stdio.h> #define N 10 // Numero de plazas disponibles en total int POcupadas; int main(){ POcupadas = 0; int sig; union sigval us (HowTos)

1
How to Python print a line from a config file containing semi-colons?view story

http://stackoverflow.com – I have a python 2.7 script on Ubuntu 12.04, using Fabric local commands it gets from a text file. When I try to use a one-liner with semi-colons in it, Fabric fails to parse the line and breaks. Is there a syntax that works, or should I look elsewhere to run this command? --------- edit ----------- a more concise problem statement than the actual one originally included. (HowTos)

1
popup notifications are white on black and very, very smallview story

http://www.linuxquestions.org – I recently installed Mate 1.8.1 on Ubuntu 1404.1. Everything works fine, but I noticed that the little popup notifications, such as from the panel weather applet, or from my printer are black with white print, and the font size is not friendly to my 71 year-old eyes. (HowTos)

1
set default values for bash variables only if they were not previously declaredview story

http://stackoverflow.com – Here's my current process: var[product]=messaging_app var[component]=sms var[version]=1.0.7 var[yum_location]=$product/$component/$deliverable_name var[deliverable_name]=$product-$component-$version # iterate on associative array indices for default_var in "${!var[@]}" ; do # skip variables that have been previously declared if [[ -z ${!default_var} ]] ; then # export each index as a v (HowTos)

1
gethostbyname returning ip address 127.0.0.1view story

http://stackoverflow.com – I want to get the ip address of my current system through following code snippet: if(gethostname(src_host, sizeof(src_host)) < 0) { printf("Error in getting host name...\n"); return 0; } else { printf("Host name = %s\n", src_host); if((src_hst = gethostbyname(src_host)) == NULL) { printf("Cannot resolve host...\n"); return 0; }else { ip->i (HowTos)

1
With NetCat on the monitoring system how to monitor traffic from laptop_2.view story

http://stackoverflow.com – i'm new in linux and netcat. I want to set one laptop as the monitoring station and the other will be the monitored system. On the monitoring system i should monitor traffic from laptop_2. How can i do this? (HowTos)

1
Fedora 21 -> PlayOnLinux -> Diablo 2 Demo -> Install crashesview story

http://www.linuxquestions.org – Hi there, So here is the new Fedora 21 out. So i wanted to install it on one of my hackbooks (not that new test oriented ones) to be able to use it in parallel with Ubuntu. But one of the apps i need is Diablo 2. I log in sometimes to chat or so. So on Ubuntu Gnome LTS on other lap it works. (HowTos)

1
How to prevent installation of software with known vulnerabilities in Linux?view story

http://superuser.com – Is there any tool for Linux which scans software during installation for known vulnerabilities (weaknesses that could later be exploited)? In addition to scanning software after it is installed, I want to know if software with known vulnerabilities can be prevented from getting installed. For example, a vulnerability was discovered in Java not long ago and later corrected. (HowTos)

1
As Box IPO Surges, Startup Community Reactsview story

http://techcrunch.com –  Box’s IPO was never a normal deal. When Wall Street cooled to tech IPOs last year, especially involving firms that are subscription-based with high customer acquisition costs, the Box offering became the canary in the Wall Street coal mine. (IT news)

1
2 Wi-Fi connections, one at 2.4 and one at 5 GHzview story

http://superuser.com – Since I'm using a dongle to receive 5GHz Wi-Fi, I seem to be able to use 2 networks at the same time, one at 2.4GHz and one at 5GHz. Now I wonder, what does my computer do when I'm connected to both bands on my router? Does this increase or decrease my connection-speed? Will this make my connection more or less stable? Are there any other problems this could establish? Thank you. Jonathan (HowTos)

1
add signature to email on linux serverview story

http://stackoverflow.com – I have a server that handle mails for large companies. The server uses centOS 6.6 with cPanel and WHM. Those companies are using either outlook or gmail with smtp to send their emails. I want to give those companies a simple interface that I will develop in php to add html signatures to all of their outgoing emails (company wide). My issue is how I can automatically add those signatures to every (HowTos)

1
Music On Console-Songs Running Slowview story

http://www.linuxquestions.org – I'm running Lubuntu on VirtualBox and it's great. However, I've run into a problem I'm unable to solve. When I'm listening to mp3s on MOC(Music on Console) it plays the tracks slowed down, as if its playing in slow motion. (HowTos)