Skip to content

Tag: linux

What is the opposite of mod_wsgi-express start-server

I accidentally closed the terminal after running this command And I can’t find the resource on how to stop the server What is the command? Answer The solution I opened terminal and killed the process via the pid I opened the terminal and ran the following code to get the pid of the process This is a sam…

Cross-platform file name handling in .NET Core

How to handle file name in System.IO classes in a cross-platform manner to make it work on Windows and Linux? For example, I write this code that works perfectly on Windows, however it doesn’t create a file on Ubuntu Linux: Answer Windows using Backslash. Linux using Slash. Path.Combine set the right sy…

Uniscan: loadable library and perl binaries are mismatched

Uniscan is a tool for scanning websites which comes in kali linux and other pen tests distros. I used to use it weekly to test my applications but after some updates of my linux tools it is now giving the following error when I run it: xs/Moose.c: loadable library and perl binaries are mismatched (got handsha…

Can’t connect to SVN from Subclipse in Linux

I’m trying connect to a SVN repository from Sublipse. I have followed this steps: Open SVN Repository Exploring perspective Select New > Repository Location… Enter repository url. Enter SVN access credentials The message Operation in progress… appears indefinitely The only thing that coul…

How to emit signal when the label text change?

I have 3 forms (main form, password form and menu form). The user clicks menu to open menu form, but before the menu form shows, the password form display to authenticate the user. He could display RFID card or enter his Id and password. When he puts his card the socket notifier in main form recieved the RFID…

“Too many open files” – can’t remove a directory

I’ve created a large tree of empty directories in an Android emulator, around 1024. Now whenever I try to remove it with rm -rf 1/ I get a “Too many open files” error. How can I remove it? Answer Please try to use ulimit to set the open file handle as 4000 or more, you can use “ulimit …