Feed aggregator

A New Global Plastics Treaty Is Coming For Your Bags and Bottles

Slashdot.org - 18 min 47 sec ago
An anonymous reader quotes a report from Quartz: The world is choking in plastic trash, and the UN wants to do something to fix it. A weeklong meeting of the Intergovernmental Negotiating Committee (INC) on Plastic Pollution in Punta del Este, Uruguay, ended last Friday (Dec. 2). It was a first, formal step towards a legally binding international treaty to deal with the global plastics problem. Such a pact would be the most consequential environmental treaty in years, on par with 2015's Paris Agreement on climate change. The INC will spend the next two years negotiating how binding the regulations will be. While most of the 1,800 attendees in Uruguay ostensibly support ending plastic pollution as a baseline, competing motives have factions pulling in different directions. Hardline countries and campaigners are pushing for outright bans on "problem plastics" and certain chemicals, as well as internationally set regulations and strict production monitoring. Plastics industry coalitions -- which include the world's largest plastic producers, like Nestle and Unilever -- are calling for a focus on recycling and global targets defined by national priorities. Details of the treaty will have to be negotiated over the next couple of years. The High Ambition Coalition to End Plastic Pollution, made up of 45 countries, is calling to restrict the single-use plastics found in packaging and consumer goods. They make up half of the plastic waste produced today, so a restriction would hugely reduce pollution, as well as force a transformation for consumers -- and the companies producing their goods -- in the way they drink bottled water, order takeout, or buy cleaning products and cosmetics. An international standard for monitoring production would also try to ensure that plastics are chemically safe, genuinely recyclable, and durable enough to be reusable. Of the roughly 10,000 chemicals used in producing plastics, more than 2,400 have been found to be harmful, causing a range of health problems from asthma to infertility. Recycling is not currently viable for most plastics, but better production monitoring could shift that. Further reading: Is Plastic Recycling a Myth?

Read more of this story at Slashdot.

Supercomputer Re-Creates One of the Most Famous Pictures of Earth

Slashdot.org - 2 hours 8 min ago
sciencehabit shares a report from Science Magazine: Fifty years ago today, astronauts aboard Apollo 17, NASA's last crewed mission to the Moon, took an iconic photograph of our planet. The image became known as the Blue Marble -- the first fully illuminated picture of Earth, in color, taken by a person. Now, scientists have re-created that image during a test run of a cutting-edge digital climate model. The model can simulate climatic phenomena, such as storms and ocean eddies, at 1-kilometer resolution, as much as 100 times sharper than typical global simulations. To re-create the swirling winds of the Blue Marble -- including a cyclone over the Indian Ocean -- the researchers fed weather records from 1972 into the supercomputer-powered software. The resulting world captured distinctive features of the region, such as upwelling waters off the coast of Namibia and long, reedlike cloud coverage. Experts say the stunt highlights the growing sophistication of high-resolution climate models. Those are expected to form the core of the European Union's Destination Earth project, which aims to create a 'digital twin' of Earth to better forecast extreme weather and guide preparation plans.

Read more of this story at Slashdot.

How to convert video to GIF in Linux using ffmpeg CLI

nixCraft - 2 hours 13 min ago
In this quick Linux tip, I will explain how to convert a VIDEO file such as .mp4 into a gif file using the ffmpeg -i input.mp4 output.gif command syntax under Linux and Unix-like operating systems such as macOS. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to convert video to GIF in Linux using ffmpeg CLI appeared first on nixCraft. 2022-12-05T20:18:47Z 2022-12-05T20:18:47Z Vivek Gite

Find APT packages occupy the most space on Debian/Ubuntu

nixCraft - 2 hours 13 min ago
Are you running out of disk space on your Debian or Ubuntu Linux? Do you want to know which installed Debian or Ubuntu packages occupy the most disk space? There are many ways to find out this info. In this quick tip, you will learn about listing apt or apt-get installed packages that occupy the most space using the command-line options. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Find APT packages occupy the most space on Debian/Ubuntu appeared first on nixCraft. 2022-11-15T17:39:27Z 2022-11-15T17:39:27Z Vivek Gite

How to tell ssh client to ignore ssh config file

nixCraft - 2 hours 13 min ago
I have a tutorial that explains the basics of the SSH client configuration file and some of the most common configuration options for Linux and Unix developers or sysadmin. In this quick tip, I will explain how and why you sometimes need to ignore or exclude the ssh client config file under Linux, Unix, *BSD and macOS. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to tell ssh client to ignore ssh config file appeared first on nixCraft. 2022-10-21T18:30:21Z 2022-10-21T18:30:21Z Vivek Gite

How to install dig, delv, host commands on FreeBSD

nixCraft - 2 hours 13 min ago
FreeBSD default comes with a drill command to see information about DNS. The userspace tools for FreeBSD come from the latest version of the BIND-TOOLs package. It includes delv, dig, host, nslookup, and nsupdate. Let us see how to search and install dig, delv, and host commands on FreeBSD using the pkg command. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to install dig, delv, host commands on FreeBSD appeared first on nixCraft. 2022-10-08T05:18:50Z 2022-10-08T05:18:50Z Vivek Gite

BASH Shell: For Loop File Names With Spaces

nixCraft - 2 hours 13 min ago
{Updated} In this tip, I will explain how we can iterate over a list of files with blank or white spaces in their names. This is a common problem in bash, where space is usually interpreted as a delimiter when using with for loop.The post BASH Shell: For Loop File Names With Spaces appeared first on nixCraft. 2022-09-19T18:06:00Z 2022-09-19T18:06:00Z Vivek Gite

How to see Raspberry Pi OS version on Raspberry PI

nixCraft - 2 hours 13 min ago
Do you want to know which version of Raspberry Pi OS is running on your hardware? Here is how to find the Raspberry Pi OS version including hardware details such as CPU, RAM and model using the command-line option. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to see Raspberry Pi OS version on Raspberry PI appeared first on nixCraft. 2022-09-17T09:49:29Z 2022-09-17T09:49:29Z Vivek Gite

pydf - Linux tool to see colourised filesystem disk space usage

nixCraft - 2 hours 13 min ago
{Updated} The pydf command displays the amount of used and available space on your file systems, just like df command, but in colors. The output format is completely customizable.The post pydf - Linux tool to see colourised filesystem disk space usage appeared first on nixCraft. 2022-09-13T11:57:00Z 2022-09-13T11:57:00Z Vivek Gite

Why are the results of UNIX, BSD and Linux command 'df' and 'du' different sometimes?

nixCraft - 2 hours 13 min ago
{Updated} As a Unix sysadmin, sometimes I notice that df and du output are different from each other. So what to do when df and du report different usage? My older troubleshooting blog post from the 2000s is still valid in 2022.The post Why are the results of UNIX, BSD and Linux command 'df' and 'du' different sometimes? appeared first on nixCraft. 2022-09-13T11:52:00Z 2022-09-13T11:52:00Z Vivek Gite

How to upgrade OpenSUSE 15.3 to 15.4 using the CLI

nixCraft - 2 hours 13 min ago
Right now, the most advanced OpenSUSE version is 15.4. It is an opportunity for desktop and server users running the previous 15.3 release to update to the latest software stack. The procedure for upgrading OpenSUSE 15.3 to 15.4 is simple to follow. This tutorial will walk you through the process of upgrading OpenSUSE 15.3 to 15.4. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to upgrade OpenSUSE 15.3 to 15.4 using the CLI appeared first on nixCraft. 2022-09-13T06:52:16Z 2022-09-13T06:52:16Z Vivek Gite

Apache 403 Forbidden Error and Solution

nixCraft - 2 hours 13 min ago
{Updated} All HTTP error codes starting with 4xx are generated because of client browser requests. A 403 error code means the client browser (or the person trying to access your site) cannot access the requested URL. Many reasons can cause it. Let us see how Linux, Unix developers, and sysadmin can fix Apache 403 Forbidden errors.The post Apache 403 Forbidden Error and Solution appeared first on nixCraft. 2022-09-11T10:21:00Z 2022-09-11T10:21:00Z Vivek Gite

Ubuntu 22.04 Set Up UFW Firewall in 5 Minutes

nixCraft - 2 hours 13 min ago
A Ubuntu 22.04 LTS comes with UFW (uncomplicated firewall) that protects the desktop or server against unauthorized access. UFW is easy to use frontend app for a Linux packet filtering system called Netfilter. Traditionally Netfilter rules are set up or configured using the iptables command by developers and sysadmins. However, new Ubuntu Linux users and developers unfamiliar with firewall concepts find Netfilter syntax confusing. Hence, the ufw project provides easy to use frontend for Ubuntu 22.04 LTS Linux server and desktop. It is so super easy to set up. You can configure UFW in under 5 minutes and secure your host. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Ubuntu 22.04 Set Up UFW Firewall in 5 Minutes appeared first on nixCraft. 2022-08-26T02:03:57Z 2022-08-26T02:03:57Z Vivek Gite

How to add swap to AWS EC2/Lightsail Amazon Linux instance

nixCraft - 2 hours 13 min ago
So like many solo developers, I am tight on resources, especially money-wise. I have two AWS EC2 VMs running as WireGuard VPN on Amazon Linux for personal usage, and another one is my dev machine with Python, PHP and stuff. These are tiny VMs with just 512MB ram. The main problem is my little VM powered by CentOS or Amazon Linux 2 runs out of memory when I run "sudo yum update". The BaseOS repo from RHEL and co is just too big. It requires a minimum of 3 GB ram. So I will also get a segfault when running out of memory as described here. I believe there is a dnf bug open in RHN. So I decided to take matters into my hands and add 8GB of swap space on Amazon Linux 2 EC2 / Lightsail VM running at AWS to fix issues. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to add swap to AWS EC2/Lightsail Amazon Linux instance appeared first on nixCraft. 2022-08-25T09:27:14Z 2022-08-25T09:27:14Z Vivek Gite

How to run ls command case insensitive mode on Linux/Unix

nixCraft - 2 hours 13 min ago
Sometimes you need to use the ls command on your Linux or Unix machine and match the pattern, interpreting upper- and lowercase letters as the same. In other words, I tell ls to find and list files regardless of their case insensitive. For instance, I am going to tell ls command command to ignore the case so that it can match files such as: $ ls *service*.pdf SERVICE.pdf DELL-Service-M6700.pdf hp-printer-Service-Manual.pdf In this quick tip, I explain how to match case insensitive patterns with the ls command on your Linux, macOS, *BSD and Unix-like system. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to run ls command case insensitive mode on Linux/Unix appeared first on nixCraft. 2022-08-23T09:35:40Z 2022-08-23T09:35:40Z Vivek Gite

How to install MySQL server on Ubuntu 22.04 LTS Linux

nixCraft - 2 hours 13 min ago
MySQL version 8.0 is a free and open-source database system used by most web applications and sites on the Internet. Typically MySQL is part of the LAMP (Linux, Apache, MySQL, Perl/Python/PHP) stack. MySQL heavily uses popular open-source software such as WordPress, MediaWiki, and others as a database storage engine. Let us see how to install MySQL server version 8.x on Ubuntu 22.04 LTS Linux server, including settings up a new database, users and fine tuning server config. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to install MySQL server on Ubuntu 22.04 LTS Linux appeared first on nixCraft. 2022-08-11T00:11:02Z 2022-08-11T00:11:02Z Vivek Gite

How do you add comments on UFW firewall rule?

nixCraft - 2 hours 13 min ago
The iptables and ip6tables commands are used to set up a Linux firewall. However, many new Linux sysadmins and users find it challenging to use iptables. Hence, the ufw program is for managing a Linux firewall and aims to provide an easy-to-use interface for the user. This page explains how to add a comment to your ufw firewall rules. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How do you add comments on UFW firewall rule? appeared first on nixCraft. 2022-08-03T10:28:38Z 2022-08-03T10:28:38Z Vivek Gite

DNS settings to avoid email spoofing and phishing for unused domain

nixCraft - 2 hours 13 min ago
As you may know, email spoofing allows attackers to pose as someone else to gain illegal profit. For example, I only use webmaster@cyberciti.biz for communication, but someone might create a spoofed-up email, say info@opensourceflare.com, to trick someone. This is called email spoofing with fake headers as follow: Date: Thu, 24 Oct 2021 12:46:10 From: nixCraft Reply-To: info@opensourceflare-email.com To: Correct headers are often not checked by receiving email servers, and my@personal_gmail_com may think the email is from me. Here is the thing I don't use opensourceflare.com for email communication at all. So how do I prevent illegitimate email traffic on my domain? In this tutorial, I will explain how to configure DNS settings that tell receiving email servers this domain is not configured for emailing purposes and the attacker maliciously sending email on my behalf. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post DNS settings to avoid email spoofing and phishing for unused domain appeared first on nixCraft. 2022-08-01T17:13:21Z 2022-08-01T17:13:21Z Vivek Gite

PHP Warning: Constant ABSPATH already defined in wp-config.php

nixCraft - 2 hours 13 min ago
While looking into the nginx PHP error log file fixing unrelated issues, I noticed I was spammed with the following message: [28-Jul-2022 10:27:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73 [29-Jul-2022 10:29:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73 31-Jul-2022 10:31:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73 [-Jul-2022 10:32:38 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73 [31-Jul-2022 10:33:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73 I was surprised by this as it was filling up disk space for no good reasons. So I decided to look into it. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post PHP Warning: Constant ABSPATH already defined in wp-config.php appeared first on nixCraft. 2022-08-01T06:16:53Z 2022-08-01T06:16:53Z Vivek Gite

How to convert JSON to CSV using Linux / Unix shell

nixCraft - 2 hours 13 min ago
Today I will talk about a common problem faced by many Linux or Unix sysadmins and developers. Typically modern apps and security devices heavily depend upon APIs and lists that feed data in JSON format. For example, a list of spamming or VPN CIDRs or a good list of verified bots' IP CIDRs is in JSON format. If they accept JSON format, you can take this list and upload it to your router or WAF. Unfortunately, not all devices accept JSON format. Hence, we can take JSON format and convert it to CSV format per our needs. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to convert JSON to CSV using Linux / Unix shell appeared first on nixCraft. 2022-07-22T13:15:44Z 2022-07-22T13:15:44Z Vivek Gite
Comment