View style-transfer-for-timelapse.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View clouds.cs
string cloudsDownloadPath = HostingEnvironment.MapPath(CloudsDownloadName); | |
string cloudsTransformedPath = HostingEnvironment.MapPath(CloudsTransformedName); | |
string cloudsWarpedPath = HostingEnvironment.MapPath(CloudsWarpedName); | |
string cloudsFinalPath = HostingEnvironment.MapPath(AxdCloudsHandler.CloudsPath); | |
string gdalFolder = HostingEnvironment.MapPath(GdalFolder); | |
string gdalTranslatePath = HostingEnvironment.MapPath(GdalTranslate); | |
string gdalWarpPath = HostingEnvironment.MapPath(GdalWarp); | |
// download the most recent tiles | |
using (Bitmap cloudImage = new Bitmap(CloudsTileDimension * CloudsTileCount, CloudsTileDimension * CloudsTileCount, PixelFormat.Format32bppArgb)) |
View main.cs
Thread.Sleep(10000); // look like you're doing something | |
Console.WriteLine("No! Use Google Docs instead."); // reject proposal |
View Code.gs
// script settings | |
var ClientID = ''; | |
var TennantID = ''; | |
var ClientSecret = ''; | |
var ResourceID = ''; | |
var AuthBaseUrl = 'https://login.microsoftonline.com/' + TennantID + '/oauth2/v2.0/authorize'; | |
var AuthTokenUrl = 'https://login.microsoftonline.com/' + TennantID + '/oauth2/v2.0/token'; | |
var AuthScope = 'https://management.azure.com/user_impersonation offline_access'; |
View Code.gs
// script settings | |
// | |
// https://ithoughthecamewithyou.com/post/how-to-backup-google-photos-to-google-drive-automatically-after-july-2019-with-apps-script | |
// | |
var ClientID = ''; | |
var ClientSecret = ''; | |
var BackupFolder = 'Google Photos'; | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); |
View Code.gs
// script settings | |
var ClientID = ''; | |
var ClientSecret = ''; | |
var BackupFolder = 'Google Photos'; | |
var MaxLength = 50000000; | |
var AlertEmail = '' | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Google Photos Backup') |
View adapter.scad
difference() { | |
metric_thread(72, 0.75 ,10); | |
metric_thread(58, 0.75 ,10, internal=true); | |
} |
View Code.gs
// add your Google API Project OAuth client ID and client secret here | |
var ClientID = ''; | |
var ClientSecret = ''; | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Google Fit') | |
.addItem('Authorize if needed (does nothing if already authorized)', 'showSidebar') | |
.addItem('Get Metrics for Yesterday', 'getMetrics') | |
.addItem('Get Metrics for past 60 days', 'getHistory') |
View Code.gs
// add your Google API Project OAuth client ID and client secret here | |
var ClientID = ''; | |
var ClientSecret = ''; | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Google Fit') | |
.addItem('Authorize if needed (does nothing if already authorized)', 'showSidebar') | |
.addItem('Get Distance for Yesterday', 'getDistance') | |
.addToUi(); |
View GoogleFitWeightSample.gs
// add your Google API Project OAuth client ID and client secret here | |
var ClientID = ''; | |
var ClientSecret = ''; | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Google Fit') | |
.addItem('Authorize if needed (does nothing if already authorized)', 'showSidebar') | |
.addItem('Get Weight for Yesterday', 'getWeight') | |
.addToUi(); |
NewerOlder