Skip to content

Instantly share code, notes, and snippets.

@kawaiidesune
kawaiidesune / .bash_profile
Last active May 23, 2016 01:41
My personal .bash_profile.
#------------------------------------------------------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Table of Contents:
# 0. Credits & References
# 1. Environment Configuration
# 1.1 Git Branch (currently inactive)
# 1.2 Change the appearance of the command prompt
# 1.3 Set PATHs
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();