pip3 install pipenv
pipenv shell
| Options +ExecCGI | |
| AddHandler cgi-script .cgi | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^(.*)$ django.cgi/$1 [QSA,L] |
| import io | |
| import gzip | |
| import csv | |
| import boto3 | |
| import os | |
| destination_bucket = 'your-directory' | |
| destination_directory = 'your/directory/' | |
| destination_filename = 'text.csv.gz' |
Taken from 2011 Macbook Pro Graphics Card FIX 100% WORKING!!!
EDIT This method works! But there is an improved version for better thermal management and brightness keys functionality. See improved version -> https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0
if you are on high sierra 10.13.6+ you might need to use
Command + rinstead
Boot up holding down Command + r + s| Summary | How to control (or Understand) your GIST page's files list order. |
| Notice | not official documentation. |
| /** | |
| * 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(); |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| import json | |
| import requests | |
| # Authentication for user filing issue (must have read/write access to | |
| # repository to add issue to) | |
| USERNAME = 'CHANGEME' | |
| PASSWORD = 'CHANGEME' | |
| # The repository to add this issue to | |
| REPO_OWNER = 'CHANGEME' |