Skip to content

Instantly share code, notes, and snippets.

View tgreiser's full-sized avatar

Tim Greiser tgreiser

View GitHub Profile
karpathy /
Last active May 28, 2024 11:29
hacky stablediffusion code for generating videos
stable diffusion dreaming
creates hypnotic moving videos by smoothly walking randomly through the sample space
example way to run this script:
$ python --prompt "blueberry spaghetti" --name blueberry
to stitch together the images, e.g.:
$ ffmpeg -r 10 -f image2 -s 512x512 -i blueberry/frame%06d.jpg -vcodec libx264 -crf 10 -pix_fmt yuv420p blueberry.mp4
const Arweave = require('arweave');
const fs = require('fs');
const fcn = async () => {
const arweaveConnection = Arweave.init({
host: '', // Hostname or IP address for a Arweave host
port: 443, // Port
protocol: 'https', // Network protocol http or https
timeout: 20000, // Network request timeouts in milliseconds
logging: true, // Enable network request logging
inputs.nixpkgs.url = github:NixOS/nixpkgs/b3251e04ee470c20f81e75d5a6080ba92dc7ed3f;
outputs = { self, nixpkgs }: {
nixosConfigurations.sensei = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{ config, pkgs, lib, ... }:
schwittlick /
Last active April 17, 2021 07:21 — forked from Quasimondo/
This is a very basic no-frills scraper to retrieve the metadata and digital assets from all tokens minted on I share this as a starting point for people who want to experiment with building alternative views on the works created on the platform or preserve the data. Feel free to improve upon this or add additional features.
import requests
import os
import ipfsapi
import concurrent.futures
api = ipfsapi.Client(host='', port=5001)
url = ""
r = requests.get(url)
elliotwoods / etherdream.cpp
Created August 9, 2016 06:07
Etherdream cross-platform (C++11)
/* Ether Dream interface library
* Copyright 2011-2012 Jacob Potter
* This program is free software: you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or 3, or the GNU Lesser General Public License version 3, as published
* by the Free Software Foundation, at your option.
* This program is distributed in the hope that it will be useful,