Geeks' Corner

Topics in DESKTOP PRODUCTIVITY and GOOGLE APP SCRIPT :
Add Editors permission to Folder(s) in Google Drive with Apps Script
Add Viewers Permission to Folder(s) in Google Drive with Apps Script
Assign a new owner to Folder(s) in Google Drive with Apps Script
Control protected sheets in Google Sheets with Apps Script
Create a new Google Doc File under a Folder(s) in Google Drive with Apps Script
Create a Shortcut to file under a folder(s) in Google Drive with Apps Script
Get properties of a folder in Google Drive with Apps Script
Get properties of a folder in Google Drive with Apps Script
Google Apps Script: Copy/Paste Ranges
Google Apps Script: Setting Range Cell Values Using a Two Dimensional Array
Google Apps Script: Sharing your documents with ‘Editors’
Google Apps Script: sharing your documents with ‘Viewers’
Google Apps Script: using continueFileIterator() function
Google Apps Script: using createTextFinder() and textFinder() function to search for a string
Google Apps Scripts:
Google Apps Scripts: Append an array of values as a new row to a Sheets
Google Apps Scripts: Create a Folder in the Root Drive
Google Apps Scripts: Deleting and Inserting Columns in Sheets
Google Apps Scripts: Deleting and Inserting Rows in Sheets
Google Apps Scripts: Remove Duplicate Values from a list.
Google Apps Scripts: Resizing sheet rows automatically
Google Sheets using Apps Script: Iterate a Range and set a value in each Cell
Iterate and Display folder’s full path in Google Drive with Apps Script
Retrieve children files under a folder in Google Drive with Apps Script


Memory management and the Stack

The OS allocates memory for each process or program for data and code. The memory allocated for each process consists of many parts: the stack holds local variables, the heap holds dynamic memory, the data segment holds global variables, and finally the code segment which holds the code is and read only. Memory management depends on the hardware and the operating system. ...

Variable Scoping in Go

A scope in any programming is a region of the program where a defined variable can exist and beyond that the variable cannot be accessed. There are three places where variables can be declared in Go programming language. The first is local variables which are declared inside a function or a block. The second is global variables which are declared Outside of all functions. The last is parameters which are in the definition of function parameters. In this article, we will discuss what local va ...

Go Variables

A variable is a name given to a storage area that the programs can manipulate. Each variable in Go has a specific type, which determines the size and layout of the variable's memory, the range of values that can be stored within that memory, and the operations that can be applied to the variable. The name of a variable can contain letters, digits, and the underscore character. It must begin with either a letter or an underscore. Upper and lowercase letters are distinct because Go is case-sensit ...

Python Tuples

In Python, a tuple is a comma-separated sequence of values. Very similar to a list. However, there's an important difference between the two. The main difference between tuples and lists is that lists are mutable and tuples are not. A mutable object is one that can be changed. An immutable object is one that contains a fixed value that cannot be changed. If it needs to be changed, a new object must be created. Generally, we store different data inside a tuple than we would a list. Lists usua ...