8 Useful Commands to Monitor Swap Space Usage in Linux
Blog about web development, Linux sysadmin and ...
Problem: The NTFS partition is in an unsafe state error in Ubuntu Sometimes is possible to mount partition in read only mode, if you have something important on that partition it is wise to make backup or safe copy. This problem is usually in a dual-boot configuration or sometimes for removable disks. Quick Fix: mount NTFS partition after this command […]
Once upon a time enabling HTTPS on public site was a painful job. Now you just go to this URL and follow the instructions for your configuration. There are automated scripts for all server configurations. Links: https://letsencrypt.org https://certbot.eff.org
CORS When you work whit services on a different domain, the horror and pain from fighting with CORS are unavoidable. Exactly, was unavoidable, before I discover how to prevent browsers to send “silly” preflight OPTIONS request. I was desperately trying everything, middleware, proxying requests, and accepting and dropping OPTIONS requests on the server side. But when you don’t have control on the server side, […]
This is the original article on GitHub site. After you’ve checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent. If you don’t already have an SSH key, you must generate a new SSH key. If you’re unsure whether you already have an SSH key, check for existing keys. If […]
Network monitoring on Linux This post mentions some Linux command line tools that can be used to monitor the network usage. These tools monitor the traffic flowing through network interfaces and measure the speed at which data is currently being transferred. Incoming and outgoing traffic is shown separately. Some of the commands, show the bandwidth used by individual processes. This […]
Quite a few frameworks have built-in HTTP APIs. Angular 2 has the http module, JQuery has $.ajax, and, up until Vue 2.0, Vue.js had vue-resource. In Vue 2.0, the developers decided that having a built-in http client module was rather redundant, and could be better serviced by third-party libraries. The alternative most frequently recommended is Axios. Axios is a great http client library. It uses promises by default and runs on both the client […]