This file contains 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 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 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 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 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); | |
} | |
} |
This file contains 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() { | |
cube(size=[86,86,70]); | |
translate([43,43,10]) { | |
cylinder(h=35, d=60); | |
translate([0,0,30]){ | |
cylinder(h=35, d=78); | |
} | |
} | |
translate([-2,-2,10]) { | |
cube(size=[40,40,70]); |
This file contains 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
// uses Google.Analytics.Data.V1Beta from NuGet | |
// credentials from Google cloud project authentication export | |
// GA4 Profile ID from GA4 Admin | |
var client = new BetaAnalyticsDataClientBuilder | |
{ | |
CredentialsPath = "PathToCredentials.json" | |
}.Build(); | |
RunReportRequest request = new RunReportRequest |
NewerOlder