In the last tutorial I wrote about two commands: chcon and restorecon. Today I will show you one list with some of the more commonly used command-line utilities for managing and operating SELinux provided by utilities: by policycoreutils package: fixfiles: Fixes the security context on file systems load_policy: Loads a… Continue Reading SELinux – Commonly used commands.

Processes and files are labeled with an SELinux context that contains additional information, such as an SELinux user, role, type, and, optionally, a level. When running SELinux, all of this information is used to make access control decisions. Let’s test this with httpd sercice and index.html file. You need to… Continue Reading SELinux – Change context.

This simple example uses Advanced Google services with Task API version 1. You can enable this API from menu Resources – Advanced Google services into your Google Apps Script project. The script is simple, takes title and id of your tasks, and is put on logs system. You can view… Continue Reading Google Apps Script – get tasks – part 025.

This tutorial will show you how to alternate the colors by row. The first part will select by variables the active Spreadsheet, the sheet named Sheet1 and the range area. The for loop will parse all rows by modulo and set a variable named range_input. The color are changed by… Continue Reading Google Apps Script – set colors – part 024.

This Google Apps Script tutorial will show you how to search for videos from YouTube. First, you need to run this script with and YouTube Data A.P.I. and one Spreadsheet. The script will get the title and id of the first 50 videos info and the result is put into… Continue Reading Google Apps Script – search videos by channel – part 023.

This is another example with Google Apps Script and Calendar A.P.I. The A.P.I. reference calendar can be found at the official webpage. This simple example gets all your calendars and put into Logger.

The output can be seen on Logger from the main menu of script.google.com with View –… Continue Reading Google Apps Script – calendar example – part 022.

If you want to hide a function for the run area in Select function, then you can use in the end of declaration the underscore character _: This example will hide the addBookmark_ function from Select function area:

This simple apps script can get an image from the web , save it and return the URL from Google Drive.