Using cloud storage is a popular choice and creating a personal cloud is now a possibility many of us have.
If you want to create your own cloud storage you can install OwnCloud or NextCloud on a webserver and connect to them usng a web browser or a client application.
I’ll show how to install NextCloud client on a Slackware64 system.
Continue reading “Nextcloud client for Slackware64”
Use fail2ban is a good way to have active secuity checks in your system, but if you are limited to an old kernel how could you avoid probems due to incompatibility ?
A solution could be using a fake ipset supporting only del and add actions.
Continue reading “Ipset : minimal version for old kernels”
Microsoft makes packages of “Skype For Linux” only in .deb and .rpm format.
If you want to use them on Slackware you have, every time, to download the file, convert it into a native package and install it.
Can we execute this procedure using a tool that requires only to be launched ?
The answer is simple : YES.
See how to use Skype4Slackware.
Continue reading “Skype4Slackware : a Skype packager for Slackware”
Installing an instance of Mozilla Firefox portable on Linux is pretty simple but this action could reserve you some trouble if you have to do it manually every time.
Because of this i created a very simple script which does the dirty job and can create a portable installation of this the browser. Supported Firefox versions, at the moment, are:
- Mozilla Firefox standard (lastest release)
- Mozilla Firefox ESR (latest release)
Continue reading “Install Mozilla Firefox portable on Linux”
Slackbuilds.org does not give anymore updated scripts to build Google Chrome as Slackware package, starting from an old script i created the one attached to this post.
Download google-chrome.tgz , extract it in a directory you want, execute google-chrome.SlackBuild and you will have an updated package with the latest Google Chome.
Often i have to copy manually a single file into many destination directories (or files), so i decided to create a command line tool to do help me in doing this task: Multicopy (mcp).
The program can be used as show below:
- mcp <src_file> <directory_1> <directory_2> … <directory_n>
copy file <src_file> into the given directories
- mcp <src_file> <file_1> <file_2> … <file_n>
copy file <src_file> into given files (creating/overwriting them)
- mcp -b <byte_buffer> <src_file> <directory_1> <directory_2> … <directory_n>
copy file <src_file> into given directories using a buffer of <byte_buffer> bytes
- mcp -b <byte_buffer> <src_file> <file_1> <file_2> … <file_n>
copy file <src_file> into given files (creating/overwriting them) using a buffer of <byte_buffer> bytes
If you have files/direcotry named as a parameter accepted by mcp you could use — (a couple of – character) to tell the program that every string that follows is not a parameter it has to parse but simple file names and/or directory names.
- copy file /tmp/test.txt into directory /home/davide/ and into file /usr/local/copia.txt
mcp /tmp/test.txt /home/davide/ /usr/local/copia.txt
- copy file /tmp/test.txt into /tmp/uno.txt and /tmp/due.txt, reading/writing blocks of 4096 bytes
mcp -b 4096 /tmp/test.txt /tmp/uno.txt /tmp/due.txt
- copy file -b into /tmp/prova and /tmp/prova2
mcp -- -b /tmp/prova /tmp/prova2
The source code is available on GitHub at this url, you will find also a couple of precompiled binaries (one built on Slackware64 for x86-64 and another one built on Raspbian for RaspberryPi 3).
After having presented RFIDer and after having show you a simple shell script to control motion detecion of a D-Link DCS-960L, i want to describe how to merge those two programs in order to enable/disable motion detection using rfid tokens and a rfid reader.
As usually i’m using a RaspberryPI as a central unit.
Continue reading “Manage D-Link DCS-960L motion detection using rfid tokens”
To monitor free disk space on a server hosting a WordPress website i created a new plugin, a sort of clone of the unix command df, called WP-Disk-Free.
This plugin allow you to:
- define in the Settings page minimum free disk space (MB) to use as a warning quota
- receive an email, sent to a configured address in the Settings page, when free disk space goes below the warning level
- receive an email, sent to a configured address in the Settings page, when free disk space goes back above the warning level
I hope this plugin will be useful also to many other bloggers out there, as WordPress Extra File Types and WP Plugins&Themes Auto Update.
After having shown a simple way on how to create a “birdwatching station” using a RaspberryPi (see this post, in italian) i am now presenting you how to send images to Google Drive.
Continue reading “Send images from RaspberryPI to Google Drive”
For a home automation project i had to connect a rdif reader (this one) to a Raspberry Pi 3 and then have the system execute a program each time a token is read by the reader:RFIDer is the tool i developed to do this job.
RFIDer sources (GPLv3 license) are available, but you can also find precompiled binaries for some platform.
Once compiled and installed on your linux box RIFDer will allow you to read digits from an input device and send everything read to the standard input of a program launched each time the read process is completed; a single “read procress” ends when the rfid-reader send a message equivalent to an “ENTER” keypress.
Continue reading “RFIDer: tool to get data from a rfid reader”