#StackBounty: #linux #color #debian #accessibility ICC Color profile for colorblind (deuteranomaly)

Bounty: 100

I have deuteranomaly, and am looking for an ICC profile or dedicated piece of software which could modify the intensity of the colors green and red.

My intention is to use this on my PC which runs the latest version of Debian Linux. Android 8 has a feature like this built in, found in the settings under Accessibility > colour correction. I am reading that Gnome 2 (deprecated) had a feature like this within its accessibility settings as well, however the latest version of Gnome removed this feature.

If somehow the color filters could be extracted as usable profiles from either the old Gnome program or Android, that would satisfy my needs!

I have been searching for something like this for weeks, and all I could find was one ICC profile created by an individual for himself, and although it may have helped him, it does not seem to truly fix the difference in sight of a person with Deuteranomaly and normal color vision.

Alternatively I am willing to put in the effort and write my own ICC profile if nothing at all exists, however I am not sure how I can use the .icc format and its units (xyz decimals) to adjust the green and red colors to accurately reflect “normal color vision”.

Get this bounty!!!

#StackBounty: #linux #networking #wireless-networking #automation Set networking so as to turn Wi-Fi on/off when X process is started/i…

Bounty: 100

My aim is to set (through scripts/daemons/whatever piece of software might help) my laptop networking so as to turn on automatically when I start software X (e.g. Firefox), and automatically turn off once that software has been closed/terminated.
(even more ambitious, setting 2 softwares X and Y as switches, if possible)
Any contribution will be greatly appreciated!

Get this bounty!!!

#StackBounty: #linux #ubuntu #permissions #php #nginx Nextcloud: Can’t create or write into the data directory /var/nc_data

Bounty: 50

I’m getting the above error. What I tried so far:

  • checked the permissions. I even did chmod 777 /var/nc_data -R
  • first included all used party in open_basedir in my php.ini. When that didn’t work, I commented it out completely (in fpm and cli php.ini)
  • checked if SELinux is active. It isn’t.

I don’t have any more ideas to start with. I run an ubuntu server 18.04 inside a Hyper-V virtual machine. I use nginx 1.14.0, mariadb 10.1.29, php 7.2 and nextcloud 13.0.2.

Does someone have an idea?

Or could tell me where more error details could be logged so I have something to start with. nginx and php logs just have notices in them.

Thank you guys in advance 🙂


PS: Nextcloud vHost configuration: https://pastebin.com/wZJLp0rx

PPS: Nextcloud config.php:

$CONFIG = array (
  'instanceid' => 'oc2xpzs4xkog',

(it’s not much written in because it’s not set up yet)

Get this bounty!!!

#StackBounty: #linux #pycharm How to configure PyCharm to keep tabs organized in a user-defined place

Bounty: 50

PyCharm has 3 tabs on the left by default: 1:Project, 2:Favorites, 7:Structure, and 1:Project is in the top left corner, while the other two are in the bottom left corner.

I prefer having all 3 tabs next to each other in the top left corner. I can drag them from where they are to my preferred position. However, when I restart PyCharm they return to their default locations.

I’ve tried Window -> Save Current Layout As Default but that doesn’t seem to affect the tabs.

Is there a way to persist my preferred tab layout?

Get this bounty!!!

#StackBounty: #linux #grep #sed #awk #iperf How can I output iperf results for only Interval and Bandwidth?

Bounty: 50

I am trying to get the output from the command

iperf -c -t 3600 -i 2

And only need the Interval and bandwidth fields listed for the entire hour of logging.

I haven’t used grep or awk in years upon years.

Help would be awesome!

Sample Output:

Client connecting to node2, TCP port 5001
TCP window size:  129 KByte (WARNING: requested  130 KByte)
[  3] local <IP Addr node1> port 2530 connected with <IP Addr node2> port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  19.7 MBytes  15.8 Mbits/sec

Desired Output:

0.0-10.0 15.8

Get this bounty!!!

#StackBounty: #linux #permissions #windows-server-2012 #sudo #jenkins Access a linux server without being on the sudoers file

Bounty: 50

I have my jenkins installed on a windows server and I have created a jenkins user on the server now i need to push the WAR files to my Linux server to a particular user root(myrootuser) who is there in the suderos file.

I have access to this server also (myusername) in suderos files, so I can login using my credentials and su sudo su – myrootuser to gain access.

My question
Can jenkins user access myrootuser using without being in the sudoers file I tried adding the public key of jenkns into myrootuser .ssh/ authorized_keys and i added a file know_hosts in the windows server with the linux server details


I have a linux server with Jenkins on it and that server talks to this linux server perfectly fine…its public key is present in authorized_keys so I add my windows server key here… but it doesn’t work

Get this bounty!!!

#StackBounty: #linux #ubuntu #.net-core #lldb Open .NET Core 2.0 dump in lldb on Linux – which lldb version?

Bounty: 100

I’m trying to open a .NET Core 2.0 dump on Ubuntu 16.04, following instructions from http://blogs.microsoft.co.il/sasha/2017/02/26/analyzing-a-net-core-core-dump-on-linux/

Dump is created from running process with createdump PID.

I can not determine correct version of lldb.
ldd $(find /usr/share/dotnet -name libsosplugin.so) | grep lldb does not return anything (there is no lldb in the output).

I have tried latest, 3.5 and 3.6, to no avail:
Can not load or initialize libmscordaccore.so. The target runtime may not be initialized.

How can I find a correct lldb version for .NET Core 2.0 dumps?

Update: commands with output

$ find /usr/share/dotnet -name libsosplugin.so

$ ldd $(find /usr/share/dotnet -name libsosplugin.so)
linux-vdso.so.1 => (0x00007ffca344f000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3d7eecc000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3d7ebc3000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3d7e9ad000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3d7e5e3000)

Get this bounty!!!

#StackBounty: #linux #networking #vpn #routing #raspberry-pi Raspberry pi as access point with vpn

Bounty: 50

I need to connect my phone to office network while at home. Installing a vpn client on the phone is not an option. I followed this tutorial to get an access point working with an rpi :

Configure a raspberry pi to act as an access point :

Instead of creating a bridge ( br0 between wlan0 and eth0 ) as directed in the tutorial, I used iptables to do the forwarding :

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

This works pretty well, but it does not work when I connect to the vpn.
I have tried various combinations of the iptables command, but nothing seems to be working perfectly. Here are some combinations I have tried :

enter image description here

  • “vpn works” here means able to access office websites.
  • I am using vpnc to connect to vpn.

What I want to achieve is :

enter image description here

$ route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *              U     0      0        0 tun0
default         ralink.dlink.co         UG    202    0        0 eth0     *      UH    0      0        0 tun0     *        U     202    0        0 eth0     *        U     303    0        0 wlan0
as-40816.abc    ralink.dlink.co UGH   0      0        0 eth0

Get this bounty!!!

#StackBounty: #linux #centos #php #apache-2.4 #openssl Getting error when installing php in Centos 7.4 OPENSSL_1.0.2

Bounty: 50

I am trying for a couple of days to install php without any luck. The process which usually takes 2 minutes. I have CentOS 7.4.1708 and Apache 2.4.6.
When I install php using yum install php and run the command
php -v I get the error php: /lib64/libcrypto.so.10: version OPENSSL_1.0.2 not found (required by php)
When I run command rpm -qi openssl
I get package openssl is not installed
When I run openssl version
I get OpenSSL 1.0.1e-fips 11 Feb 2013
When I run command yum info openssl
I get

Available Packages
Name : openssl
Arch : x86_64
Epoch : 1
Version : 1.0.2k
Release : 8.el7
Size : 492 k
Repo : base/7/x86_64
Summary : Utilities from the general purpose cryptography library with TLS implementation
URL : http://www.openssl.org/
License : OpenSSL
Description : The OpenSSL toolkit provides support for secure communications between
: machines. OpenSSL includes a certificate management tool and shared
: libraries which provide various cryptographic algorithms and
: protocols.

yum info php gives
Available Packages
Name : php
Arch : x86_64
Version : 5.4.16
Release : 43.el7_4.1
Size : 1.4 M
Repo : updates/7/x86_64
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
: The php package contains the module (often referred to as mod_php)
: which adds support for the PHP language to Apache HTTP Server.

The output of yum update openssl is

Loaded plugins: fastestmirror, priorities
base                                                                                        | 3.6 kB  00:00:00     
cm-rhel7-8.0                                                                                | 1.3 kB  00:00:00     
cm-rhel7-8.0-updates                                                                        | 1.3 kB  00:00:00     
epel/x86_64/metalink                                                                        |  29 kB  00:00:00     
extras                                                                                      | 3.4 kB  00:00:00     
updates                                                                                     | 3.4 kB  00:00:00     
webtatic                                                                                    | 3.6 kB  00:00:00     
Loading mirror speeds from cached hostfile
 * base: centos.mirroring.pulsant.co.uk
 * cm-rhel7-8.0: updates-eu.brightcomputing.com
 * cm-rhel7-8.0-updates: updates-eu.brightcomputing.com
 * epel: www.mirrorservice.org
 * extras: centos.mirroring.pulsant.co.uk
 * updates: centos.mirroring.pulsant.co.uk
 * webtatic: uk.repo.webtatic.com
101 packages excluded due to repository priority protections
No packages marked for update

How to get the correct version of php and openssl to get rid of the error?

Get this bounty!!!