Hi, I've a network related command I want to run it each time my wireless interface card is up. So, is there any way to do it with a script that should be run everytime by network manager ?
not sure if I worded the title right but say I have 2 .so files called foo.so and bar.so, both placed in the same directory
bar.so depends on foo.so which I loaded manually using dlopen, when I tried to load bar.so it seems like dlopen tries to load foo.so from default search directory (like /lib, /usr/lib, etc) which because of foo.so isn't in one of those default search directory dlopen failed to find the file then returning null when I tried to load bar.so (this is my assumption, I might be wrong here)
code: (error handlings are omitted)
dlopen("./my_lib/foo.so", RTLD_LAZY); // this call succeeded
dlopen("./my_lib/bar.so", RTLD_LAZY); // but this doesn't
Exception in thread "main" java.lang.IllegalArgumentException: Interface
(LibVlc)
of library=vlc does not extend Library
at com.sun.jna.Native.loadLibrary(Native.java:643)
at com.sun.jna.Native.loadLibrary(Native.java:630)
at core.main.main(main.java:15)
Trying boolean found = new NativeDiscovery().discover(); on the other hand returns false.
Originally I tried to load libvlc without NativeLibrary but I didn't succeed. I hoped NativeLibrary would make it easier. What am I doing wrong here?
I read it may have something to do with the LD_LIBRARY_PATH variable not being set? But setting LD_LIBRARY_PATH="/usr/lib/" doesn't change anything.
What may be interesting: I tried using Haskell in Intellij a while ago and tried to add the stack executable from /usr/bin/stack through the project settings, but I just couldn't find it using Intellij's file dialog. It just wasn't shown there even though I could clearly see the executable with my normal file manager and through the terminal. So maybe this has something to do with a variable not being set and Intellij not having rights to view the files or something?
I'm working on a Node.js project with a modular codebase whereby each module is a separately hosted repo/npm module.
I wondered if there are any good tools for managing multiple git repos in a project like this - most of the tools I've tried are geared towards single repos and get a bit messy when dealing with lots of repos. I started to look into git's submodules at one point, but it all seemed to get a bit complicated...
I'm specifically looking for something that quickly and easily lets me do the following (ideally as a bulk process):
Pull latest
Check changes
Stage changes
Commit/push changes
Can be a GUI or terminal/bash-based. If there's nothing like this out there, I'll go down the bash script route (not ideal given my n00b bash skills).
On Linux is it possible to create an accelerated OpenGL context with monitor output without the use of neither X server or Wayland (or any display server for that matter)?
I have a bash script that will download youtubes videos, but only with manually supplied urls. I would like to be able to add a function to it that will check the a channels page for new content and if there is any download it so i can add it to my cron daemon to have it run daily. Does anyone know how i would go about that? Maybe save a copy of the page and then use diff to compare the page when checked the next day, and if theres a difference, delete the previous saved version of the page? I keep trying to think of ways and keep confusing my self. Help!
This release introduces netdata.cloud, a free service that replaces the old netdata registry, while providing single sign on with GitHub and Google accounts.
New data collectors:
activemq
consul
cups
lighttpd2
solr
springboot2
Dozens of other data collectors improved:
adaptec_raid
apache
apcupsd
apps
cpufreq
cpuidle
dns_query
fail2ban
freeradius
go_expavar
hddtemp
httpcheck
lighttpd
mdstat
megacli
nginx
nvidia_smi
portcheck
postgres
power supply
sensors
smartd_log
SNMP
ZFS
Netdata now has a new management API that supports disabling or silencing alarms during maintenance periods.
Netdata can now bind its API functions to separate ports (so that different ports can be used for dashboard access, registry access, streaming, etc).
I've been programming on Windows for a while now, want to switch to a Linux machine. Any suggestions on what tools/IDE's I should try? I'm mostly interested in using C++ and Java. Went with Linux Mint XFCE. Thanks in advance!