Amazon WorkMail Introduces Outbound Mail Flow Rules

You can now add outbound mail flow rules for your Amazon WorkMail organization. Outbound mail flow rules allow you to perform simple control actions like blocking sending of a message or routing messages to a custom appliance via the SMTP protocol. This adds extensibility to the WorkMail product by allowing you to control sending or delegate handling of outbound e-mail to 3rd party or custom appliances. For example, you can now route to appliances for data leak protection, email encryption, IP reputation management, and archiving. Furthermore, you can specify conditions for each outbound mail flow rule based on the domain and email addresses of the message sender and recipients. The rule will then only run when the sender and recipients match the rule’s condition. This way you can route traffic differently depending on who is sending and who they are sending to. This control is especially useful if you are routing to appliances with a per-user cost model, so you can route to only the users who need it. Finally, this feature complements Amazon WorkMail’s interoperability with Microsoft Exchange by enabling customers who are transitioning from Exchange to WorkMail to route outbound email through their existing on-premises Exchange setup.

Like inbound mail flow rules, setting up outbound mail flow rules is easy with just a few quick steps in the Amazon WorkMail console. To get started, go to your Amazon WorkMail organization and click on Organization Settings. You can specify rules with the drop, bounce, or the SMTP routing actions, together with which sender and recipient email addresses or domains the rule should apply to.

Outbound mail flow rules are available today for Amazon WorkMail in all AWS Regions where Amazon WorkMail is offered. To learn more about Amazon WorkMail, or to start your trial, please visit Amazon WorkMail.

Source

How to Draw Arrows in GIMP

Drawing Arrows in GIMP used to be very easy. You were able to head to the plugin site and download a script that could handle all your arrow-based needs without an issue.

Recently, however, the GIMP registry has gone down, and trying to access the link now only results in a blank page. Unfortunately, a lot of tutorials are now linking directly to a dead website as a solution! If you have the need to draw arrows, never fear – there are other ways to achieve this goal.

Grabbing the Plugin via Mirrors

Thankfully, the original plugin is still available at other sources. It’s a very useful plugin, so it’s worth hunting down to solve your arrow-based problems. There’s a forum post that has the file — you need to click the download link at the bottom of the post instead of the top one to get it. Alternatively, you can download a copy of the arrow.scm file from our Dropbox folder.

If you’ve never installed a GIMP plugin, it can be a little confusing as to what to do with the .scm file. It’s very easy to install. First, head to your GIMP folder. On Windows, this is typically in Program Files; for Mac, it can be found in Applications; Linux users may need to do some hunting, but it can typically be found in your home catalogue folder. Once you find it, go to the “lib” folder, then “gimp,” then the folder with the current GIMP version number as the name, and then plug-ins. Drop the .scm file in here to install the plugin.

gimp-arrows-directory

If you’re having issues finding the folder, you can see where GIMP keeps its plugins in the software itself. Open GIMP, then click Edit, then Preferences. Scroll down to the category Folders, expand it if it’s not already expanded, and click Plug-ins to see where GIMP keeps them.

gimp-arrows-paths

To use the tool, first make a path. This is done by clicking the Path icon in the toolbox, then clicking on two spots on the canvas.

gimp-arrows-path

A path will be formed between them. Click on Tools, then the arrow plugin name.

gimp-arrows-tool

A lot of options will pop up. You can tweak the length of the arrow wings and the brush thickness here. “Use first path point as arrow head?” will place the head where you first clicked. If you want the arrow to be pointing toward the second point you clicked, untick this box. You can even make a double-headed arrow here if you like! Once you’re done, click OK.

gimp-arrows-settings

The arrow will be drawn as per your parameters.

gimp-arrows-result

Using Arrow Brushes

If you’re not a fan of fiddling with paths and settings, you can use brushes instead. These use the paintbrush tool and are “painted on” as a static image. Arrow brushes usually come in one of two styles: a single arrow head with multiple directions or a variety of arrows that all point one way and need to be manually rotated. You can find brushes anywhere, but GimpHelp and Softpedia have some pretty good ones.

In your GIMP folder go to Share, gimp, the version number, then brushes. Take the folder the brushes came in (or make a new one if it didn’t come in one), and place it here among the other folders.

In GIMP select the paintbrush tool. On the right pane in the brushes panel, select the arrow you want to use.

gimp-arrows-brushes

Click once on the canvas, as if you were using a stamp. This will paint an arrow onto the canvas. You can tweak its color by changing the brush color and clicking on the canvas again.

Make Your Own Brush

If you can draw a good arrow but don’t want to keep redrawing it every time you want a new one, why not make it a brush? Once it’s made into a brush, you can then stamp it wherever you’d like by following the above instructions.

First, start by drawing your perfect arrow. Crop the image so it’s as close to the arrow as possible. You can do this by drawing a selection box around it, then clicking “Image -> Crop to Selection.” Once cropped, click File, Export As, then export it as a .gbr file. You may need to manually add “.gbr” if you can’t find the option in the export images dropdown box.

gimp-arrows-save

Once you’ve exported your .gbr file, you can install and use your new arrow just like a regular brush as covered above.

Keep on the Straight and Arrow

With the GIMP registry going away, a lot of tutorials on how to draw arrows in GIMP are now pointing to dead links. Thankfully, there are other ways to get the tool back, as well as alternate means of drawing arrows.

Which one works for you? Let us know below!

Is this article useful?

Source

Microsoft working on Sysinternals for Linux

Windows Subsystem for Linux is one of Microsoft’s success stories and has allowed developers to complete tasks using their Linux tools as easily from Windows as from a Linux desktop.

Microsoft is, however, also looking to make it easy for those used to Windows tools to be productive in the Linux environment and to help that cause Microsoft is porting their Sysinternals tools to Linux, starting with ProcDump for Linux, as revealed by Microsoft developer David Fowler.

ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinternals suite of tools for Windows. ProcDump provides a convenient way for Linux developers to create core dumps of their application based on performance triggers.

ProcDump in use

The tool currently supports Red Hat Enterprise Linux / CentOS 7, Fedora 26, Mageia 6 and Ubuntu 14.04 LTS, with other versions being tested.

Microsoft is currently working on ProcMon, according to Mario Hewardt is a Principal Developer Premier Field Engineer at Microsoft and author of Advanced Windows Debugging and Advanced .NET Debugging.

Check out ProcDump at Github here.

Via WalkingCat

Source

Amazon Rekognition Announces More Accurate Object and Scene Detection, Can Now Locate Objects in Your Images

Posted On: Nov 2, 2018

Amazon Rekognition is a deep learning-based image and video analysis service that can identify objects, people, text, scenes, and activities, as well as detect unsafe content. Today we are announcing a major update to object and scene detection, also known as label detection. Label detection identifies objects and scenes in images. Until now, Amazon Rekognition could identify the presence of an object in an image, but couldn’t find where the object is within the image. Amazon Rekognition can now specify the location of common objects such as dogs, people and cars in an image by returning object bounding boxes, and comes with significantly improved accuracy for all existing object and scene labels across a variety of use cases. In addition, customers can use the bounding box information to infer how many of each object (“3 dogs”) occur in the image, and the relationship between objects (“dog on a couch”). These new enhancements all come at no additional cost.

Customers in news, sports, and social media companies all face rapidly growing image libraries. They are looking for ways to quickly search and filter such content. Human-provided metadata works to a degree for such applications, but that approach has limited accuracy and scalability. With Amazon Rekognition object and scene detection, customers can automatically index vast image libraries to make them searchable.

“GuruShots connects and inspires millions of photo enthusiasts around the world, reinventing the way people interact with their photos to make the experience more fun, exciting and rewarding. Previously, our end users were manually tagging images to get better insights. To provide a better customer experience, we’ve been looking for scalable ways to automatically tag uploaded images for further analysis. Using Amazon Rekognition, we now tag each user uploaded image and use the generated metadata to detect trends, improve search results, and adjust content to suit user preferences. This new streamlined process resulted in a 40% increase in user retention and a 50% increase in engagement.” – Eran Hazout, Founder and CTO, GuruShots

Now with object bounding boxes, customers can count how many of each object appears in an image (“3 dogs”), and can also determine which objects are prominent or important compared to others by using the position coordinates and bounding box size relative to image dimensions. This information can be used to make decisions on user preferences. For example, someone who has lot of photos where ‘Car’ is prominent is likely to be an automotive enthusiast. Some customers will also use bounding boxes to further process their images, for example to blur certain objects like weapons. Bounding box information can be further used to search for specific types of images (images with multiple dogs, or prominent dogs, versus one dog in the background). To make asset search even more powerful, Amazon Rekognition now returns parent labels in a hierarchical list, for example, the label ‘Dog’ has the parents ‘Mammal’, ‘Canine’ and ‘Animal’. This metadata allows customers to group labels related by parent-child relationships to improve categorization and filtering.

Bounding boxes, hierarchical metadata, and improved label detection accuracy are available today in all regions where Amazon Rekognition Image is offered. Label improvements for Amazon Rekognition Video are coming soon. You can get started today via the Rekognition Console or by downloading the latest AWS SDK. For more information please refer to the documentation.

Source

How to Install Django on CentOS 7

Django is a free and open source high-level Python web framework designed to help developers build secure, scalable and maintainable web applications.

There are different methods to install Django, depending on your needs. It can be installed system-wide or in a Python virtual environment using pip. Django packages are also included in the CentOS repositories and can be installed using the yum package manager but they are outdated.

In this tutorial, we will be installing and configuring the latest stable version of Django on a CentOS 7 machine inside a Python virtual environment.

The main purpose of Python virtual environments is to create an isolated environment for different Python projects. This way you can have multiple different Django environments on a single computer and install a specific version of a module on a per project basis without worrying that it will affect your other Django installations. If you install Django into the global environment then you can install only one Django version on your computer.

Installing Django on CentOS 7

The following sections provide a step by step instructions about how to install Django in a Python virtual environment on CentOS 7.

1. Installing Python 3

We’ll be installing Python 3.6 from the Software Collections (SCL) repositories.

CentOS 7 ships with Python 2.7.5 which is a critical part of the CentOS base system. SCL will allow you to install newer versions of python 3.x alongside the default python v2.7.5 so that system tools such as yum will continue to work properly.

Start by enabling SCL by installing the CentOS SCL release file which is included in the CentOS extras repository:

sudo yum install centos-release-scl

Once the repository is enabled install Python 3.6 with the following command:

sudo yum install rh-python36

Once Python 3.6 is installed we are ready to create a virtual environment for our Django application.

2. Creating Virtual Environment

Starting from Python 3.6, the recommended way to create a virtual environment is to use the venv module.

Navigate to the directory where you would like to store your Python 3 virtual environments. It can be your home directory or any other directory where your user has read and write permissions.

Create a new directory for your Django application and cd into it:

mkdir my_django_app
cd my_django_app

To access Python 3.6 you need to launch a new shell instance using the scl tool:

scl enable rh-python36 bash

Run the following command to create a new virtual environment:

The command above creates a directory called venv, which contains a copy of the Python binary, the Pip package manager, the standard Python library and other supporting files. You can use any name you want for the virtual environment.

To start using this virtual environment, you need to activate it by running the activate script:

Once activated, the virtual environment’s bin directory will be added at the beginning of the $PATH variable. Also your shell’s prompt will change and it will show the name of the virtual environment you’re currently using. In our case that is venv:

3. Installing Django

Now that the virtual environment is activated, you can use the Python package manager pip to install Django:

Within the virtual environment, you can use the command pip instead of pip3 and python instead of python3.

To verify the installation use the following command which will print the Django version:

python -m django –version

At the time of writing this article the latest official Django version is 2.1.2

Your Django version may differ from the version shown here.

4. Creating a Django Project

To create a new django project named mydjangoapp use the django-admin command-line utility:

django-admin startproject mydjangoapp

The command above will create a mydjangoapp directory in your current directory.

mydjangoapp/
|– manage.py
`– mydjangoapp
|– __init__.py
|– settings.py
|– urls.py
`– wsgi.py

Inside that directory you will find the main script for managing projects named manage.py and another directory including database configuration, and django and application-specific settings.

Let’s migrate the database and create an administrative user.

Start by navigating to the mydjangoapp directory:

By default Django uses SQLite database. For production applications, you can use PostgreSQL, MariaDB, Oracle or MySQL Database.

Run the following command to migrate the database:

The output will look something like the following:

Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
Applying contenttypes.0001_initial… OK
Applying auth.0001_initial… OK
Applying admin.0001_initial… OK
Applying admin.0002_logentry_remove_auto_add… OK
Applying admin.0003_logentry_add_action_flag_choices… OK
Applying contenttypes.0002_remove_content_type_name… OK
Applying auth.0002_alter_permission_name_max_length… OK
Applying auth.0003_alter_user_email_max_length… OK
Applying auth.0004_alter_user_username_opts… OK
Applying auth.0005_alter_user_last_login_null… OK
Applying auth.0006_require_contenttypes_0002… OK
Applying auth.0007_alter_validators_add_error_messages… OK
Applying auth.0008_alter_user_username_max_length… OK
Applying auth.0009_alter_user_last_name_max_length… OK
Applying sessions.0001_initial… OK

Once the database is migrated, create an administrative user so that you can use the Django admin interface:

python manage.py createsuperuser

The command will prompt you for a username, an email address, and a password for your administrative user.

Username (leave blank to use ‘linuxize’): admin
Email address: [email protected]
Password:
Password (again):
Superuser created successfully.

5. Testing the Development Server

Start the development web server using the manage.py script followed by the runserver option:

python manage.py runserver

You’ll see the following output:

Performing system checks…

System check identified no issues (0 silenced).
October 20, 2018 – 11:16:28
Django version 2.1.2, using settings ‘mydjangoapp.settings’
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

If you installed Django on a virtual machine and you want to access Django development server then you’ll need to edit the settings.py file add the server IP address inside the ALLOWED_HOSTS list.

Open http://127.0.0.1:8000 in your web browser and you will be presented with the default Django landing page:

You can access the Django admin interface, by adding /admin/ to the end of the URL (http://127.0.0.1:8000/admin/). This will take you to the admin login screen:

Enter your username and password and you will be redirected to the Django admin page:

To stop the development server type CTRL-C in your terminal.

6. Deactivating the Virtual Environment

Once you are done with your work, deactivate the environment, by typing deactivate and you will return to your normal shell.

Conclusion

You have learned how to create a Python virtual environment and install Django on your CentOS 7 machine. To create additional Django development environments repeat the steps we outlined in this tutorial.

If you are new to Django, visit the Django documentation page and learn how to develop your first Django app.

If you are facing any problem, feel free to leave a comment.

Source

Linux Today – Ubuntu 19.04 “Disco Dingo” Daily Build ISOs Now Available to Download

Nov 02, 2018, 08:00

Dubbed the “Disco Dingo,” Ubuntu 19.04 will be released next year on April 18, 2019, and will be supported for nine months, until July 2020. Its development cycle started on October 25, 2018, with the toolchain upload, and the first daily build ISO images are already available to testers. Of course, these are based on the previous release, Ubuntu 18.10 (Cosmic Cuttlefish), which was released earlier last month on October 18, so don’t expect them to have any new features or enhancements, nor to look any different than the Ubuntu 18.10 live images.

Source

Download TurnKey Drupal 8 Live CD 15.2

TurnKey Drupal 8 Live CD is a freely distributed and open source operating system based on the highly acclaimed Debian GNU/Linux distribution and built around the powerful Drupal 8 software. It is designed from the ground up to act as an appliance for deploying dedicated Drupal servers.

Drupal is a highly modular opensource content management platform that can support a variety of websites ranging from personal blogs, corporate brochures and large community-driven websites. The appliance comes with all of the upstream Drupal configurations, which are installed in /var/www/drupal8.

This special TurnKey edition includes a wide range of popular Drupal 7 modules and dependencies, which are installed by default in /var/www/drupal7/sites/all/modules. Among them, we can mention Panels, Date, Backup and Migrate, Link, Devel, Email, Drush, Token, Ckeditor, as well as Jquery_ui.

Furthermore, the Imce, Rules, Recaptcha, Advanced_help, PathAuto, Google Analytics, GlobalRedirect, Lightbox2, FiveStar, Tagadelic, Webform, Admin menu, and Logintoboggan modules are also included in this TurnKey Drupal appliance.

In addition, it features out-of-the-box support for secure connections using the latest SSL implementation, the phpMyAdmin software for easy management of MySQL databases, a Postfix mail transfer agent for sending emails to users, and Webmin modules for configuring Postfix, Apache, PHP and MySQL.

Users can download this special Drupal 8 appliance as Live CD ISO images, supporting both 32- and 64-bit architectures, as well as ready-to-use virtual machine images for the OpenStack, OpenNode, OpenVZ, OVF and Xen virtualization technologies.

While the default username for the Webmin, MySQL, phpMyAdmin and SSH components is root, the default Drupal 7 username is admin. During the first boot configuration process, users will be able to add new passwords to these pre-defined accounts.

Don’t forget to note the IP addresses and ports of the active services (SSH, SFTP, Webmin, phpMyAdmin and Web Shell). A Drupal 6 Live CD appliance is also available for download on Softpedia.

Source

How to Use Ubuntu Snap Packages

When running Linux, snap is one of the most powerful features you can enjoy. It allows running the same app over multiple platforms without needing to change the code of the program the slightest bit. That’s why you can also call snap packages as universal apps for the Linux platform. Ubuntu is one of the most popular Linux distros for its simplicity and usability. Let’s check out on using snap packages on Ubuntu.

Snap packages are managed by the snap core, a powerful app manager with tons of powerful features. It allows running any snap package on any platform. There are tons of apps available as snap packages. Snap also makes the work of developers a lot easier. The devs only have to develop the snap packages and forget about making the app inter-compatible. Managing snap packages is also very easy. Just run a simple command to install/uninstall apps. No need to worry about updating the app as the “core” will always keep everything up-to-date.

Source

Download Bitnami AbanteCart Stack Linux 1.2.13-1

Bitnami AbanteCart Stack is a multiplatform and freely distributed software project that has been designed from the ground up to help users who know nothing about installing a database or web server, with the installation and hosting of the AbanteCart shopping cart web-based application on desktop computers and laptops.

What is AbanteCart?

AbanteCart is an open source e-commerce, shopping cart system that allows you to create a powerful website for selling products online in minutes, without too much effort. Key features include support for both tangible and digital products, SEO-friendly URLs, product ratings, product reviews, support for multiple currencies, support for multiple languages, flexible layouts, support for a wide range of payment gateways, as well as support for mobile phones and tablets.

Installing Bitnami AbanteCart Stack

Bitnami AbanteCart Stack is distributed mainly as native installers, which have been tested on both 32-bit and 64-bit (recommended) hardware platforms, designed with BitRock’s cross-platform installer tool.

To install AbanteCart on your personal computer, you will have to download the package that corresponds to your computer’s hardware architecture, run it and follow the instructions displayed on the screen.

Host AbanteCart in the cloud

In addition to install AbanteCart on your personal computer, you can also host it in the cloud, thanks to Bitnami’s pre-built cloud images for the Amazon EC2 and Windows Azure cloud hosting providers.

AbanteCart virtual appliance and Docker container

Besides the pre-build cloud images and native installers, Bitnami also offers a virtual appliance for the AbanteCart application, allowing the user to virtualize it on the VMware ESX, ESXi and Oracle VirtualBox virtualization software. A AbanteCart Docker container will also be available for download on the project’s homepage.

The Bitnami AbanteCart Module

Users who have the Bitnami LAMP, MAMP or WAMP stacks installed can skip this project and download the Bitnami AbanteCart Module software, which allows them to deploy the AbanteCart application on their PCs without having to install its runtime dependencies.

Source

Install Visual Studio Code on Ubuntu

A code editor is one of the most important tools a developer has to keep in hand all the time. There are tons of available code editors on the internet. Visual Studio Code is an open-source code editor from Microsoft with tons of advanced and powerful features. Visual Studio Code is a lightweight yet extremely powerful source code editor. It’s available on all the major platforms – Windows, macOS, and Linux. By default, the editor comes up with support for JavaScript, Noje.js, and TypeScript. There are a number of available extensions to enable support for other popular programming languages like C++, C#, Python, Java, PHP, Go etc. Are you thinking to start programming, or looking for an advanced code editor? Let’s get started with Visual Studio Code!

The app is very simple to install. For Ubuntu platform, it’s even easier to enjoy Visual Studio Code.

  • DEB package

Get the latest DEB package of Visual Studio Code.

After the download is complete, run the following commands in a terminal –

sudo dpkg -i code_1.28.2-1539735992_amd64.deb
sudo apt install -f

  • Snap package

Visual Studio Code is also available as a snap package. Check out Visual Studio Code on Snapcraft store.

Run the following command in a terminal –

sudo snap install vscode –classic

Using Visual Studio Code

Once the installation is complete, it’s time to code with Visual Studio Code!

Here’s a demo code from HTML5 Test Page on GitHub.

The interface is dark with charming code highlighting.

Do you need additional extensions? Go to File >> Preferences >> Extensions or press the shortcut “Ctrl + Shift + X”.

For example, here’s the C/C++ extension. Simply click the “Install” button.

Voila! The extension is installed!

Need to change the view? Don’t worry! Visual Studio Code comes up with a number of available color themes. Go to File >> Preferences >> Color Theme or use the shortcut “Ctrl + K + T”.

Enjoy your coding with Visual Studio Code!

Source

WP2Social Auto Publish Powered By : XYZScripts.com