NASA API test application

NASA API test application

Interesting application from high school project for learning react.js and using REST services. Here is github link. And here is live and functional site. The purpose of this application is to demonstrate and educate how to fetch data from public service. In this case, the app uses NASA open API. For the front-end, and rendering fetched data is used ReactJS […]

COVID19 Monitor application

Working installation: covid19.sman.cloud Source code of the API used in this application is COVID19-API Several public API is used as data sources: Coronavirus monitor API covidapi.info www.worldometers.info/coronavirus/ Used: react-redux Material Design Icons Google fonts For other staf see package.json This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: yarn start Runs the […]

Controlling the battery charging threshold on Asus laptop with Ubuntu 20.04

Controlling the battery charging threshold on Asus laptop with Ubuntu 20.04

From kernel 5.4+ there is an ability to control charging of the laptop battery. In the /sys/class/power_supply/BAT0/ are some variables useful for battery monitoring and controlling. ls /sys/class/power_supply/BAT0/alarm device@ manufacturer serial_number uevent capacity energy_full model_name status voltage_min_designcapacity_level energy_full_design power/ subsystem@ voltage_now charge_control_end_threshold energy_now power_now technology cycle_count hwmon2/ present type One of those variables is charge_control_end_threshold, it is just an integer […]

Copy, Cut and Paste in Vim&Vi

Copy, Cut and Paste in Vim&Vi

Vim or its precursor Vi comes preinstalled on macOS and almost all Linux distributions. Knowing the basics of Vim is helpful in a situation where your favorite editor is not available. Copy, Cut and Paste in Normal Mode When you launch the Vim editor, you’re in the normal mode. In this mode, you can run Vim commands and navigate through […]

Samba headaches, solution

Samba headaches, solution

From the beginning of time for me on Linux, samba is a headache!Now, finally, I think I found a solution: https://linuxconfig.org/how-to-configure-samba-server-share-on-ubuntu-20-04-focal-fossa-linux And this for some permision problems: https://forums.unraid.net/topic/56307-missing-filesfolders-via-samba/

How to reset Webmin password

How to reset Webmin password

Webmin is a web-based interface for system administration for Unix and Unix-like systems. For some wired reason, Google Chrome didn’t remember or forget to remember my webmin passwords and I have to change my passwords frequently. And every time when I have to do that, I have to search the net for the solution 🙂 because I’ve been forgetting, frequently, […]

Mount an remote directory using SSHFS

Mount an remote directory using SSHFS

Tested on Ubuntu 18.04 and 18.10 First install the module sshfs, if isn’t installed: Load module in kernel: Setting the permissions: If you get an error from last command: No such file or directory Now we need to create a directory for mounting the remote folder. For example onCloudDir. Now we ran the command to mount the remote folder: xxx.xxx.xxx.xxx is an address […]