Posts
Showing posts from June, 2020
Maven lifecycle phases
- Get link
- X
- Other Apps
Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
Setting the Default Java Version
- Get link
- X
- Other Apps
You might have 2 different versions of Java on your system. To set one as the default , use the command: sudo alternatives ––config java The system displays a list of different Java versions. If you like the default, press Enter. If you want to change it, type the number of the version you want, then press Enter.
Let's Encrypt free SSL/TLS certificates
- Get link
- X
- Other Apps
Let's Encrypt is an automated and open certificate authority (CA) operated by the Internet Security Research Group (ISRG) and founded by the Electronic Frontier Foundation (EFF), the Mozilla Foundation, and others. It provides free SSL/TLS certificates which are commonly used to encrypt communications for security and privacy purposes, the most notable use case being HTTPS. Let's Encrypt relies on the ACME (Automatic Certificate Management Environment) protocol to issue, revoke and renew certificates.
Reads a syndication feed by Java
- Get link
- X
- Other Apps
package com.rometools.rome.samples ; import java.net.URL ; import com.rometools.rome.feed.synd.SyndFeed ; import com.rometools.rome.io.SyndFeedInput ; import com.rometools.rome.io.XmlReader ; public class FeedReader { public static void main ( String [] args ) { if (args . length == 1 ) { try { URL feedUrl = new URL (args[ 0 ]); SyndFeedInput input = new SyndFeedInput (); SyndFeed feed = input . build( new XmlReader (feedUrl)); System . out . println(feed); } catch ( Exception ex) { System . out . println( " ERROR: " + ex . getMessage()); } } } }
All it takes to read a syndication feed using ROME are the following 2 lines of code
- Get link
- X
- Other Apps
SyndFeedInput input = new SyndFeedInput(); SyndFeed feed = input.build(new XmlReader(feedUrl)); ROME includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure.
ROME is a Java framework for RSS and Atom feeds. It's open source and licensed under the Apache 2.0 license.
- Get link
- X
- Other Apps
ROME includes a set of parsers and generators for the various flavors of syndication feeds, as well as converters to convert from one format to another. The parsers can give you back Java objects that are either specific for the format you want to work with, or a generic normalized SyndFeed class that lets you work on with the data without bothering about the incoming or outgoing feed type.
There are two programming models for working with XML infosets: streaming and the document object model (DOM).
- Get link
- X
- Other Apps
Streaming models for XML processing are particularly useful when your application has strict memory limitations, as with a cellphone running the Java Platform, Micro Edition (Java ME platform), or when your application needs to process several requests simultaneously, as with an application server. In fact, it can be argued that the majority of XML business logic can benefit from stream processing, and does not require the in-memory maintenance of entire DOM trees.
Microsoft is closing all of its retail stores permanently
- Get link
- X
- Other Apps
Linux Job Control Commands
- Get link
- X
- Other Apps
Job control commands enable you to place jobs in the foreground or background, and to start or stop jobs. The table describes the job control commands. Option Description jobs Lists all jobs bg %n Places the current or specified job in the background, where n is the job ID fg %n Brings the current or specified job into the foreground, where n is the job ID Control-z Stops the foreground job and places it in the background as a stopped job
A Linux job is a process that the shell manages.
- Get link
- X
- Other Apps
There are three types of Linux job statuses: 1. Foreground: When you enter a command in a terminal window, the command occupies that terminal window until it completes. This is a foreground job. 2. Background: When you enter an ampersand (&) symbol at the end of a command line, the command runs without occupying the terminal window. The shell prompt is displayed immediately after you press Return. This is an example of a background job. 3. Stopped: If you press Control + Z for a foreground job, or enter the stop command for a background job, the job stops. This job is called a stopped job.
RSS feeds are typically used for news websites, blogs and podcasts.
- Get link
- X
- Other Apps
Powerline (Home Plug) Connectors Must Be Fitted On The Same Electrical Circuit
- Get link
- X
- Other Apps
A simple cd - will move you back to your previous directory and print the directory's name out.
- Get link
- X
- Other Apps
The - alone is expanded to your previous directory. This is explained in the cd section of man bash: An argument of - is converted to $OLDPWD before the directory change is attempted. If a non-empty directory name from CDPATH is used, or if - is the first argument, and the directory change is successful, the absolute pathname of the new working directory is written to the standard output. The return value is true if the directory was successfully changed; false otherwise.
Use "CRTL+R" for repeating the last matching Linux command
- Get link
- X
- Other Apps
The novel coronavirus has now infected more than 10 million people
- Get link
- X
- Other Apps
HomePlug adapters extend internet by turning your electrical wiring into a wired network
- Get link
- X
- Other Apps
Fixed: lsb_release: command not found
- Get link
- X
- Other Apps
$ yum whatprovides lsb_release Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 192 packages excluded due to repository priority protections system-lsb-core-4.1-27.amzn2.1.x86_64 : LSB Core module support Repo : amzn2-core Matched from: Filename : /usr/bin/lsb_release $ sudo yum -y install system-lsb-core-4.1-27.amzn2.1.x86_64
Print Linux system information
- Get link
- X
- Other Apps
root@2e5540791177:/ [23:54:10]$ uname --help Usage: uname [OPTION]... Print certain system information. With no OPTION, same as -s. -a, --all print all information, in the following order, except omit -p and -i if unknown: -s, --kernel-name print the kernel name -n, --nodename print the network node hostname -r, --kernel-release print the kernel release -v, --kernel-version print the kernel version -m, --machine print the machine hardware name -p, --processor print the processor type (non-portable) -i, --hardware-platform print the hardware platform (non-portable) -o, --operatin...
Bash prompt variables
- Get link
- X
- Other Apps
We can customize bash prompt by changing the values of bash PS1, PS2, PS3, PS4. root@2e5540791177:/# echo "Bash PS1 variable:" $PS1 Bash PS1 variable: \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ root@2e5540791177:/# echo "Bash PS2 variable:" $PS2 Bash PS2 variable: > root@2e5540791177:/# PS1="\u@\H:\w [\t]\$ " root@2e5540791177:/ [23:52:00]$
Record Linux terminal session
- Get link
- X
- Other Apps
script makes a typescript of everything printed on your terminal. If the argument file is given, script saves all dialogue in the indicated file in the current directory. If no file name is given, the typescript is saved in default file typescript. root@2e5540791177:/# script output.log Script started, file is output.log # date Sat Jun 27 23:44:48 UTC 2020 # exit Script done, file is output.log root@2e5540791177:/# root@2e5540791177:/# script Script started, file is typescript # ls bin boot dev etc home lib lib32 lib64 libx32 media mnt opt proc root run sbin srv sys tmp typescript usr var # date Sat Jun 27 23:43:23 UTC 2020 # exit Script done, file is typescript root@2e5540791177:/# cat typescript Script started on 2020-06-27 23:43:14+00:00 [TERM="xterm" TTY="/dev/pts/0" COLUMNS="172" LINES="55"] # ls bin boot dev etc home lib...
Invoked Bash as an interactive non-login shell
- Get link
- X
- Other Apps
When an interactive shell that is not a login shell is started, Bash reads and executes commands from ~/.bashrc, if that file exists. This may be inhibited by using the --norc option. The --rcfile file option will force Bash to read and execute commands from file instead of ~/.bashrc. So, typically, your ~/.bash_profile contains the line if [ -f ~/.bashrc ]; then . ~/.bashrc; fi after (or before) any login-specific initializations.
Find bugs in Java Programs
- Get link
- X
- Other Apps
SpotBugs is a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the GNU Lesser General Public License. SpotBugs is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community. Please check official manual site for details. SpotBugs requires JRE (or JDK) 1.8.0 or later to run. However, it can analyze programs compiled for any version of Java, from 1.0 to 1.9. https://spotbugs.github.io/
Static analysis provides testing against code bases and binaries without the execution of any code.
- Get link
- X
- Other Apps
Apple Safari to Block Google Analytics From Collecting Data
- Get link
- X
- Other Apps
Chrome can find harmful software on your computer and remove it
- Get link
- X
- Other Apps
Remove the default CSS and JS files Blogger includes in the template.
- Get link
- X
- Other Apps
To remove CSS and JS, add the following attributes to the <html> tag at the start of the template code (present under Theme -> Customise) - <html b:css='false' b:js='false' ... b:css='false' - Removes the default CSS included by Blogger in the template b:js='false' - Removes the default JS included by Blogger in the template
Creating consistent and meaningful diagrams brings clarity and consensus across different stakeholders.
- Get link
- X
- Other Apps
Google's Go programming language has become one of the most popular systems programming languages among developers
- Get link
- X
- Other Apps
Oracle Java price
- Get link
- X
- Other Apps
The Oracle Binary Code License made it free for developers to use Java for non-commercial purposes. This means that all personal projects are totally free with the language. For commercial uses, pricing starts at about $2.50 per user per month. Oracle also has many offers and discounts for companies with multiple licenses and projects.
ClamAV is an Opensource Antivirus option for Linux/Unix O/S and protects your system against Trojans, malware and other security threats.
- Get link
- X
- Other Apps
Most important risk and unknown is the second wave probability.
- Get link
- X
- Other Apps
Introducing a new way to make money online: paid newsletters
- Get link
- X
- Other Apps
The Python Package Index (PyPI) is a repository of software for the Python programming language.
- Get link
- X
- Other Apps
National Geographic Kids
- Get link
- X
- Other Apps
National Geographic Kids offers adventure games and quizzes that educate kids all about animals, science, history and geography — to name a few. Not only is it informative, it’s also tons of fun! If you want a case of the giggles, try the “funny fill-in” section, where kids can choose random words and create wacky stories. Available on: Web Recommended age: 6+ Ads? Yes Additional paid features? No
ABCya.com Learning Games
- Get link
- X
- Other Apps
Kids will build relevant skills they need to succeed at school. With more than 400 educational games — covering topics in language, math, art, strategy and more — kids will surely find a game they love, in a subject they want to learn. Available on: Web, iTunes App Store, Google Play, Amazon Appstore Recommended age: 4 – 12 Ads? Yes Additional paid features? Optional Premium Subscriptions to remove ads, gain complete mobile access and add multiple devices.
Remove Symbolic Links with rm
- Get link
- X
- Other Apps
To get prompted before removing the symlink, use the -i option: rm -i symlink_name If the symbolic link points to a directory, do not append the / trailing slash at the end. Otherwise, you will get an error: rm symlink_to_dir/ rm: cannot remove 'symlink_to_dir/': Is a directory To be on the safe side, never -r option when removing symbolic links with rm.
Apple Watches are the best and the most advanced smartwatches available right now.
- Get link
- X
- Other Apps
Make online money from the Internet
- Get link
- X
- Other Apps
Make online money from the Internet Create your own YouTube channel and become a YouTube partner to monetize your videos. You may use Oneload to distribute the same video to multiple video sites. Make something creative – like handbags, jewelry, paintings, craft items – and sell them on Etsy , ArtFire or eBay. Build your own online store with Shopify or SquareSpace and sell both physical goods and digital downloads. Sell everything from furniture to clothes to food. Create t-shirt designs and put them on Threadless , Zazzle and CafePress . Write a book and publish it on the Kindle store, Google Play and iBooks. You can also sell your ebook to other retailers through services like Smashwoods and BookBaby . Become an instructor at SkillShare and get paid for teaching your favorite subjects – from guitar to literature to yoga to foreign languages – to a worldwid...
Make online money from the Internet
- Get link
- X
- Other Apps
Make online money from the Internet Create your own YouTube channel and become a YouTube partner to monetize your videos. You may use Oneload to distribute the same video to multiple video sites. Make something creative – like handbags, jewelry, paintings, craft items – and sell them on Etsy , ArtFire or eBay. Build your own online store with Shopify or SquareSpace and sell both physical goods and digital downloads. Sell everything from furniture to clothes to food. Create t-shirt designs and put them on Threadless , Zazzle and CafePress . Write a book and publish it on the Kindle store, Google Play and iBooks. You can also sell your ebook to other retailers through services like Smashwoods and BookBaby . Become an instructor at SkillShare and get paid for teaching your favorite subjects – from guitar to literature to yoga to foreign languages – ...
A prime number is a natural number greater than whose only positive divisors are and itself.
- Get link
- X
- Other Apps
Faban comes with a simple program (fhb) that can be used to measure the performance of a simple URL
- Get link
- X
- Other Apps
A throughput measurement is based on the amount of work that can be accomplished in a certain period of time.
- Get link
- X
- Other Apps
Amazon.ca Mastercard Rewards
- Get link
- X
- Other Apps
If you have an Amazon Prime Membership, here’s what this no fee card will earn you: 2.5% back in Amazon Rewards at Amazon.ca, Whole Food Markets, any physical Amazon store, as well as foreign currency transactions, and 1% back in Amazon Rewards spent everywhere else. Don’t have an Amazon Prime membership? Here’s what you’ll get instead: 1.5% back in Amazon Rewards spent at Amazon.ca, Whole Food Markets, and any physical Amazon store, and 1% back in Amazon Rewards everywhere else.
China finds heavy coronavirus traces in seafood, meat sections of Beijing food market
- Get link
- X
- Other Apps
Python programs can translate JSON text into Python data structures
- Get link
- X
- Other Apps
Java is the most popular primary programming language.
- Get link
- X
- Other Apps
Binary search is an essential search algorithm that takes in a sorted array and returns the index of the value we are searching for
- Get link
- X
- Other Apps
Do this with the following steps: Find the midpoint of the sorted array. Compare the midpoint to the value of interest. If the midpoint is larger than the value, perform binary search on right half of the array. If the midpoint is smaller than the value, perform binary search on left half of the array. Repeat these steps until the midpoint value is equal to the value of interest or we know the value is not in the array.
OpenSSH and Libssh have abandoned SHA-1 over growing security concerns
- Get link
- X
- Other Apps
China's job market remained generally stable in May, with the surveyed unemployment rate in urban areas standing at 5.9%
- Get link
- X
- Other Apps
Affiliate marketing is a massive multi-billion dollar online enterprise
- Get link
- X
- Other Apps
Research shows that Americans leave $45 billion worth of gift card balances unused.
- Get link
- X
- Other Apps
With Visa Infinite Privilege, you can enjoy Global Airport Lounge Access with 6 complimentary passes, and other great benefits at select airports in Canada.
- Get link
- X
- Other Apps
General online safety tips
- Get link
- X
- Other Apps
Your Client Number and PIN are the keys to your banking, so you won’t want to share them, with anyone. Don’t send personal information like your Social Insurance Number to anyone by email or other unsecured channels. Any documents with personal information should be shredded when you’re done with them.
Azure Sentinel Standing watch, by your side. Intelligent security analytics for your entire enterprise.
- Get link
- X
- Other Apps
Extend threat detection and response to secure your multicloud environment
- Get link
- X
- Other Apps
Protect your assets across environments and help your SecOps team analyze growing volumes of security data with Azure Sentinel, a cloud-native SIEM built on Azure Monitor Log Analytics. Use Azure Sentinel connectors to import data from your Microsoft sources and other cloud platforms and security solutions—to extend your threat detection and response.
Amazon Halts Police Use Of Its Facial Recognition Technology
- Get link
- X
- Other Apps
Amazon FSx for Lustre makes it easy and cost effective to launch and run the world’s most popular high-performance file system.
- Get link
- X
- Other Apps
Use it for workloads where speed matters, such as machine learning, high performance computing (HPC), video processing, and financial modeling. Allows your workloads to process data with consistent sub-millisecond latencies, up to hundreds of gigabytes per second of throughput, and up to millions of IOPS. POSIX-compliant, so you can use your current Linux-based applications without having to make any changes, providing a native file system interface that works as any file system does with your Linux operating system. Supports multiple deployment options for short-term and long-term data processing. Seamlessly integrated with Amazon S3 (connect your S3 data sets to your FSx for Lustre file system, run your analyses, write results back to S3, and delete your file system), Amazon SageMaker, Amazon Elastic Kubernetes Service (EKS), and AWS ParallelCluster. Accessible from on-premises over Direct Connect and VPN connections. File system data is automatically encrypted at-rest and in-trans...
Amazon FSx makes it easy and cost effective to launch and run popular file systems.
- Get link
- X
- Other Apps
With Amazon FSx, you can leverage the rich feature sets and fast performance of widely-used open source and commercially-licensed file systems, while avoiding time-consuming administrative tasks like hardware provisioning, software configuration, patching, and backups. It provides cost-efficient capacity and high levels of reliability, and it integrates with other AWS services so that you can manage and use the file systems in cloud-native ways.
Amazon FSx provides you with two file systems to choose from
- Get link
- X
- Other Apps
A Docker volume "lives" outside the container, on the host machine.
- Get link
- X
- Other Apps
CMHC Makes It Harder to Qualify For An Insured Mortgage
- Get link
- X
- Other Apps
Effective July 1, the following changes will apply for new applications for homeowners purchasing with less than 20% down. Refinances will not be affected. • The maximum gross debt service (GDS) ratio drops from 39 to 35 • The maximum total debt service (TDS) ratio drops from 44 to 42 • The minimum credit score rises from 600 to 680 for at least one borrower
Have you tried G Suite?
- Get link
- X
- Other Apps
It’s a cloud-based productivity suite you can access anywhere on any device that includes Gmail, Drive, Hangouts and Calendar. My team loves it because it allows us to work more efficiently. See how it can help you, too. G Suite is offering a 14-day trial. Sign up using my link and I can give you a discount. You’ll get email with your domain name and a suite of tools that allows you to get work done from anywhere. Start today: http://goo.gl/X4FxWR
Investors looks forward to the U.S. Federal Reserve’s two-day meeting for cues on economic policy
- Get link
- X
- Other Apps
Fixed: resize2fs: Bad magic number in super-block
- Get link
- X
- Other Apps
Encountered: resize2fs Couldn't find valid filesystem superblock Run instead: $ sudo xfs_growfs /dev/nvme0n1p1 meta-data=/dev/nvme0n1p1 isize=512 agcount=4, agsize=524159 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1 spinodes=0 data = bsize=4096 blocks=2096635, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 asci...
Currencies set the equilibrium between these two forces
- Get link
- X
- Other Apps
Interest earned on your savings is taxable by law.
- Get link
- X
- Other Apps
You won’t need to pay tax on the amount you deposit into your account because you’ve already paid income tax on it. But any interest accrued on your deposit is considered general income and is subject to taxation during the same year that you receive it. Interest will be taxed at the marginal rate, which is the same rate you pay on your income.
TD e-series funds are held in Canadian dollars and there is no need to convert your money into U.S. dollars.
- Get link
- X
- Other Apps
Earn 2.80%* interest for 5 months** in your first Tangerine Savings Account.
- Get link
- X
- Other Apps
Canada’s national mortgage insurance provider unveiled the stricter underwriting policies for home buyers on June 4.
- Get link
- X
- Other Apps
ACID stands for atomicity, consistency, isolation, durability.
- Get link
- X
- Other Apps
Sustainable living describes a lifestyle that attempts to reduce an individual's or society's use of the Earth's natural resources, and one's personal resources
- Get link
- X
- Other Apps
Sustainable living is often called as "earth harmony living" or "net zero living". Its practitioners often attempt to reduce their ecological footprint by altering their methods of transportation, energy consumption, and/or diet. Its proponents aim to conduct their lives in ways that are consistent with sustainability, naturally balanced, and respectful of humanity's symbiotic relationship with the Earth's natural ecology. The practice and general philosophy of ecological living closely follows the overall principles of sustainable development.