Posts

Showing posts from April, 2020

Use the blkid command to find the UUID of the device

$ sudo blkid /dev/nvme0n1p1: LABEL="/" UUID="55da5202-8008-43e8-8ade-2572319d9185" TYPE="xfs" PARTLABEL="Linux" PARTUUID="591e81f0-99a2-498d-93ec-c9ec776ecf42" /dev/nvme1n1: UUID="7c4d5e8c-5f26-475f-b985-5a1411359058" TYPE="ext2" /dev/nvme0n1: PTUUID="83181c97-6d5e-43c9-9ede-e2f50ead5338" PTTYPE="gpt" /dev/nvme0n1p128: PARTLABEL="BIOS Boot Partition" PARTUUID="4908ae49-9d5b-423e-a23c-a507a47bacf5" /dev/nvme2n1: PTUUID="5a72544b-a4e2-4bbe-aed0-04f727374581" PTTYPE="gpt" /dev/nvme2n1p1: LABEL="/" UUID="577849ee-6d06-4473-9eec-074495a45d70" TYPE="xfs" PARTLABEL="Linux" PARTUUID="7ba2672d-1d11-4f12-9358-2edd6b813413" /dev/nvme2n1p128: PARTLABEL="BIOS Boot Partition" PARTUUID="5a9fc16d-ac21-49f8-8880-28c8f8d2e8bf"

Google Meet is going free for everyone.

Google Meet tackles Zoom by going completely free for all Meet is one of several video chat apps Google offers: The company's Duo and Hangouts are free, but come with a fair number of limitations.

Hangouts only supports up to 25 participantsDuo only supports up to 12 participants. 
Google also recently added several new features to Meet, including a Zoom-like grid view with support for 16 participants at once, as well as a low-light mode and a noise cancellation feature.

Meet was formerly only available as a part of Google's G Suite business-oriented service package, which starts at $6 per month per person, but now it will be free to anyone with a Google account.

UDPTunnel is a small program which can tunnel UDP packets bi-directionally over a TCP connection.

UDPTunnel's primary  purpose  (and  original  motivation)  is  to  allow  multi-media
       conferences to traverse a firewall which allows only outgoing TCP connections.

USAGE
       UDPTunnel  can  be  run  in  two  modes:  a client mode and a server mode. The client mode
       initiates the TCP connection before  relaying  UDP;  the  server  waits  for  an  incoming
       connection  before  doing so. After the TCP connection is established, the behavior of the
       two modes is identical. If you are using UDPTunnel to traverse  a  firewall  as  discussed
       above,  the  client  would be run inside the firewall, and the server would be run outside
       it.

Quebec moves forward with plan to begin opening schools

WireGuard vs OpenVPN

FactorsWireGuardOpenVPNSpeedFastModerateCompatibilityWindows, Android, Linux, iOSAll devicesP2P File SharingYesYesEase of SetupYesNoSecurityStrongStrong

WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.

WireGuard® aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.

The Canadian Shield has won a contract from the federal government to manufacture 10 million reusable face shields

AWS M5 is meant for workloads that have consistent behavior, with a balance of CPU, RAM and storage.

For a normal application server workload, M5 is often the best choice, and many companies run their production applications on M instances.

Docker Compose is a tool that allows you to define and run multi-container Docker applications.

With Compose, you define the application’s services, networks and volumes in a single YAML file, then spin your application with a single command.

Compose can be used for different purposes such as single host application deployments, automated testing, and local development.

Language Go help

$ go help
Go is a tool for managing Go source code.

Usage:

        go <command> [arguments]

The commands are:

        bug         start a bug report
        build       compile packages and dependencies
        clean       remove object files and cached files
        doc         show documentation for package or symbol
        env         print Go environment information
        fix         update packages to use new APIs
        fmt         gofmt (reformat) package sources
        generate    generate Go files by processing source
        get         download and install packages and dependencies
        install     compile and install packages and dependencies
        list        list packages or modules
        mod         module maintenance
        run         compile and run Go program
        test        test packages
        tool        run specified go tool
        version     print Go version
        vet         report likely mistakes in packages

Use "go help <…

Finding Your Windows Version

Open the Run dialog box.
Type winver and hit ↵ Enter or click OK.
Check your version.

Serverless computing extends the abstraction of infrastructure in the cloud.

You focus on the code for your applications.

AWS meets high-availability and fault tolerance standards. They offer more than 165 services and more then 50 security and compliance certifications.

Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior to protect your AWS accounts and workloads.

With the cloud, the collection and aggregation of account and network activities is simplified, but it can be time consuming for security teams to continuously analyze event log data for potential threats. With GuardDuty, you now have an intelligent and cost-effective option for continuous threat detection in the AWS Cloud. 

Digital transformation services, like Machine Learning and Artificial Intelligence, are top priorities for customers

AWS hybrid architecture

Customers may want to run a hybrid architecture of both on-premises and in the cloud.  Almost every AWS customer with on-premises infrastructure is running a hybrid architecture. AWS customers are able to use a seamless experience between their existing on-premises investments while obtaining the benefits of the AWS Cloud. AWS doesn’t require additional on-premises investments by customers to run a hybrid architecture.

Azure DevOps is Microsoft’s all-in-one service for project management, source code management (SCM), and CI/CD.

Azure Pipelines provide the platform’s CI/CD service.  Azure DevOps allows you to control nearly every stage in the DevOps lifecycle while offering many advanced container-specific features, including private container registries and integration with Azure Kubernetes Service (AKS). 

semrush

Image

The most precious currency for digital marketer is time

Amazon EFS different than Amazon S3

Amazon EFS provides shared access to data using a traditional file sharing permissions model and hierarchical directory structure via the NFSv4 protocol. Applications that access data using a standard file system interface provided through the operating system can use Amazon EFS to take advantage of the scalability and reliability of file storage in the cloud without writing any new code or adjusting applications.

Amazon S3 is an object storage platform that uses a simple API for storing and accessing data. Applications that do not require a file system structure and are designed to work with object storage can use Amazon S3 as a massively scalable, durable, low-cost object storage solution.

produce regular, high-quality content that's valuable to your niche.

Google Fi is an MVNO - mobile virtual network operator

Google Fi piggybacks on existing wireless networks to deliver service. The uniqueness of  Fi is that it switches between three wireless networks -- T-Mobile, Sprint and US Cellular -- instead of using just one. The idea is that it'll switch to the best-performing network wherever you happen to be.

Try to avoid words with multiple meanings.

Look for low-hanging fruit; long-tail keywords with specific intent and low competition.

Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API

Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API by emulating the responses that a MongoDB client expects from a MongoDB server, allowing you to use your existing MongoDB drivers and tools with Amazon DocumentDB. Updating your application is as easy as changing the database endpoint to a new Amazon DocumentDB cluster. 

Site Kit by Google

Site Kit
Google's official WordPress plugin
Get insights about how people find and use your site, how to improve, and monetize your content, directly in your WordPress dashboard

https://sitekit.withgoogle.com/

Sync iPhone using Wi-Fi

After you set up syncing with iTunes using USB, you can set up iTunes to sync to your device with Wi-Fi instead of USB.

Connect your device to your computer with a USB cable, then open iTunes and select your device. 
Click Summary on the left side of the iTunes window. 
Select "Sync with this [device] over Wi-Fi." 
Click Apply.
When the computer and the device are on the same Wi-Fi network, the device appears in iTunes. The device

ChromeDriver can't click a moving element

This is not a supported feature of ChromeDriver. If the element eventually stops, wait for that to occur. If the element never stops moving, ChromeDriver does not guarantee the click will be successful.

Selenium IDE Common Commands

open
assertTitle / VerifyTitle
AssertForElementPresent / VerifyForElementPresent
AssertForTextPresent / VerifyForTextPresent
type / typeAndWait / sendKeys
click /clickAt / clickAndWait
waitForPageToLoad
waitForElementPresent
chooseOkOnNextConfirmation / chooseCancelOnNextConfirmation

Selenium IDE allows the user to specify a start point within a test script.

The start point points to the test step from where we wish to start the test script execution.

Start point can be used at times when we do not desire to execute the entire test script starting from the beginning rather we customize the script to execute from a certain step.

Locators in Selenium

By CSS ID: find_element_by_id
By CSS class name: find_element_by_class_name
By name attribute: find_element_by_name
By DOM structure or xpath: find_element_by_xpath
By link text: find_element_by_link_text
By partial link text: find_element_by_partial_link_text
By HTML tag name: find_element_by_tag_name

There are two kinds of Selenium waits

Implicit wait - used to set the default waiting time throughout the programExplicit wait - used to set the waiting time for a particular instance onlyImplicit Wait
It is simpler to code than Explicit Waits.
It is usually declared in the instantiation part of the code.

Explicit Wait
Explicit waits are done using the WebDriverWait and ExpectedCondition classes. For the following example, we shall wait up to 10 seconds for an element whose id is "username" to become visible before proceeding to the next command.

Selenium locating elements

VariationDescriptionSampleBy.classNamefinds elements based on the value of the "class" attributefindElement(By.className("someClassName"))By.cssSelectorfinds elements based on the driver's underlying CSS Selector enginefindElement(By.cssSelector("input#email"))By.idlocates elements by the value of their "id" attributefindElement(By.id("someId"))By.linkTextfinds a link element by the exact text it displaysfindElement(By.linkText("REGISTRATION"))By.namelocates elements by the value of the "name" attributefindElement(By.name("someName"))

Connecting your WordPress site to Google

Connecting your WordPress siteIf you're new to AdSense, one of your first tasks is to connect your site to AdSense. We highly recommend you use Site Kit for WordPress by Google. Site Kit can connect your WordPress site to your AdSense account and place the AdSense code on all your pages for you. So you can show ads automatically across your site.What is Site Kit?Site Kit is a free, open-source plugin for WordPress that helps you access unified metrics and insights from Google AdSenseGoogle AnalyticsGoogle Search Console, and PageSpeed Insights directly from your WordPress account.https://support.google.com/adsense/answer/7527509?hl=en

Selenium supports Java

Programs written in Java are faster than other popular languages like Python
Java is more widely used in commercial applications as compared to other programming languages like Python and hence integrating Selenium tests it easier

Run Selenium Automated Test

Selenium is the first thing that comes to mind when one is planning to automate the testing of web applications. Selenium is a beneficial tool because it is not only open source but also a portable software testing framework for web applications that support multiple languages like Java, C#, Ruby, Python. Choosing the right language depends on the application under test, the supporting community, available test automation frameworks, usability, elegance, and of course, seamless build integration.

Creating an XML Sitemap in WordPress using Yoast SEO

The easiest way to create an XML sitemap in WordPress is by using the Yoast SEO plugin.

It is the best WordPress SEO plugin on the market offering you a comprehensive set of tools to optimize your blog posts for SEO.

First, you need to install and activate the Yoast SEO plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to SEO » General page and switch to the 'Features' tab. From here, you need to scroll down to the 'XML Sitemap' option and make sure that it is turned on.

Import Blogger to WordPress

To start importing your Blogger site into WordPress, you need to login to your WordPress admin area and visit Tools » Import. On the Import page, go ahead and click on the 'Install Now' link below Blogger.

Log all MySQL dead locks

SET GLOBAL innodb_print_all_deadlocks = 'ON';
The option is dynamic, and can be enabled without a service restart.
If you want to make it persistent after a service restart, you may want to add it to the my.cnf file as:

[mysqld]
...
...
innodb_print_all_deadlocks = 1

SSL for Your Website

Data of your visitors is protected
SSL (Secure Sockets Layer) encrypts and protects all data that your website exchanges with visitors - such as personal data, login data, credit card information and e-mail addresses. This means that third parties have no access to this data.

Confidence in your website is strengthened
Your visitors recognize the SSL encryption by the SSL logo in the address bar of your browser and by the character string https:// in front of your domain. With SSL encryption you set a sign and show your visitors that security and protection of their data are your first priority.

Better ranking with Google and other search engines
SSL encryption is rated positively by Google and other search engines, resulting in better ranking of your site in search results.

Office 365 collaboration applications include:

Word: Word processing with multiple users
Excel: Spreadsheets with multiple users
PowerPoint: Prepare presentations with multiple users
Outlook: Share appointments, calendars and tasks with team members
Teams: Communicate with colleagues
Access: Create databases with multiple users
OneNote: Share notes with other users
OneDrive: Shared cloud storage

Canadian military assembles 'rapid reaction' teams to help with pandemic response.

Gauge is a free and open source framework for writing and running acceptance tests

Some of the key features of Gauge that makes it unique include:

Simple, flexible and rich syntax based on Markdown.Consistent cross platform/language support for writing test code.A modular architecture with plugins supportExtensible through plugins and hackable.Supports data driven execution and external data sourcesHelps you create maintainable test suitesGreat support for VS Codehttps://docs.gauge.org/overview.html?os=windows&language=javascript&ide=vscode

Gauge is a free and open source framework for writing and running acceptance tests

Learning KPI management is a branch of business analysis and basic data science

Learning KPI management equips learning professionals to monitor, measure, and track key performance indicators (KPIs).

SEO is one of the fastest-moving areas of marketing – and a skillset that every marketer needs.

systemd does not run correctly within a docker container

systemd does not run correctly within a docker container, due to a whole set of reasons, i.e. the lack of the correct privileges. You can read up on that in a variety of github issues on the docker project like running systemd inside docker arch container hangs or segfaults and related issues regarding init/process monitoring.

The 19 countries without Covid-19

Comoros; Kiribati; Lesotho; Malawi; Marshall Islands; Micronesia; Nauru; North Korea; Palau; Samoa; Sao Tome and Principe; Solomon Islands; South Sudan; Tajikistan; Tonga; Turkmenistan; Tuvalu; Vanuatu, Yemen

Check the image’s metadata

Some image creators embed crucial information about their images into the file's metadata (also known as EXIF data). It's easy to access this information from your Mac or PC desktop

Viewing EXIF data in Windows is easy. Just right-click on the photo in question and select "Properties".

View EXIF Data Using Preview in macOS
On macOS, by opening up a photo in Preview. Once open, click on "Tools" up in the menu bar at the top.

From there, select "Show Inspector".

Click on the "Exif" tab if it's not already selected.

You'll then see a slew of advanced information about the photo, including the various camera settings that were used. It'll even tell you if the flash was used or not.

Google reverse image search

Google's reverse image search is a useful tool to find details of the image owner . 
Simply upload the file or paste the image link into http://images.google.com and follow the results to see where else the image lives online. From there, you should be able to ascertain ownership information.