Skip to content

Instantly share code, notes, and snippets.

View nimpy's full-sized avatar
💭
Akku fast leer

Nina nimpy

💭
Akku fast leer
View GitHub Profile
import Replicate from 'replicate'
import * as dotenv from 'dotenv'
dotenv.config()
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
})
async function main() {
const training = await replicate.trainings.create(
@pcmoritz
pcmoritz / gist:4b0e1be7f2dfcc4e51e2ace50426f67d
Created May 20, 2018 19:04
Powerpoint create slides for animations while retaining slide numbers
Option Explicit
Sub AddElements()
Dim shp As Shape
Dim i As Integer, n As Integer
n = ActivePresentation.Slides.Count
For i = 1 To n
Dim s As Slide
Set s = ActivePresentation.Slides(i)