This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AlertEmail = ''; | |
var OpenAIAPIKey = ''; | |
function main() { | |
// we store known models in script properties | |
var scriptProperties = PropertiesService.getScriptProperties(); | |
var currentProps = scriptProperties.getProperties(); | |
var anythingNew = false; | |
var newText = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from todoist_api_python.api import TodoistAPI | |
from openai import OpenAI | |
import numpy as np | |
# Todoist palette colors from https://developer.todoist.com/api/v1#tag/Colors | |
colors = [ | |
{"id": 30, "name": "berry_red", "hex": "#B8255F"}, | |
{"id": 31, "name": "red", "hex": "#DC4C3E"}, | |
{"id": 32, "name": "orange", "hex": "#C77100"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using SixLabors.ImageSharp; | |
using SixLabors.ImageSharp.Processing; | |
using SixLabors.ImageSharp.PixelFormats; | |
using SixLabors.ImageSharp.Formats.Jpeg; | |
using FaceAiSharp; | |
using System.Numerics.Tensors; | |
using Microsoft.ML.OnnxRuntime; | |
using Microsoft.ML.OnnxRuntime.Tensors; | |
const string InputFolder = @"D:\photo-frame\input"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// config - ok to leave PERPLEXITY_API_TOKEN blank | |
const OPENAI_API_TOKEN = ''; | |
const PERPLEXITY_API_TOKEN = '' | |
const TODOIST_API_TOKEN = ''; | |
const AI_TASK_LABEL = 'ai'; | |
const AI_MESSAGE_PREFIX = 'AI:'; | |
const MAX_GENERATION_ATTEMPTS = 10; | |
const OPENAI_MODEL = 'gpt-4o' | |
const PERPLEXITY_MODEL = 'sonar-pro' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.mp4 -vf "lenscorrection=0.5:0.5:-0.45:0.11" output.mp4 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
<MaxAgeSeconds>3000</MaxAgeSeconds> | |
<AllowedHeader>Authorization</AllowedHeader> | |
<AllowedHeader>Content-Length</AllowedHeader> | |
</CORSRule> | |
</CORSConfiguration> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
difference() { | |
union() { | |
cube(size=[61,85,5], center = true); | |
translate([29.5, 0 ,5]) { | |
cube(size=[2, 85, 10], center = true); | |
} | |
translate([-29.5, 0 ,15]) { | |
cube(size=[2, 85, 30], center = true); | |
} | |
} |
NewerOlder