ftp · linux

ftp: send files to a specific directory in a ftp server using lftp via command line

So, you have access to a given FTP server with the appropriated user/password and now you want to push some files to it directly via command line, using a bash scrip, via your CI service, etc. How could you do this using lftp? Easy! The first step is to install lftp in your environment, you… Continue reading ftp: send files to a specific directory in a ftp server using lftp via command line

javascript · linux · minicloud · ppc64le

javascript: phantomjs on Power

PhantomJS (phantomjs.org) is a headless WebKit scriptable with JavaScript. Officially it does not support Power, with builds available only for x86_64 architecture. But, if you want to use on your ppc64le, follow the steps below: The initial step is to get access to Power virtual machine for free at Minicloud. Then, once the VM is… Continue reading javascript: phantomjs on Power

linux · openstack

openstack: calculate for how long a server is running

Today I needed to collected the time between the creation of server and the current day. Given some activities that requires monitoring those servers, an automated approach is vital for optimizing the amount of time dedicating to it. As I couldn’t find an option that could give the result right away in the openstack-cli tool,… Continue reading openstack: calculate for how long a server is running