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
""" | |
stable diffusion dreaming | |
creates hypnotic moving videos by smoothly walking randomly through the sample space | |
example way to run this script: | |
$ python stablediffusionwalk.py --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 |
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
const Arweave = require('arweave'); | |
const fs = require('fs'); | |
const fcn = async () => { | |
const arweaveConnection = Arweave.init({ | |
host: 'arweave.net', // 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 | |
}); |
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
{ | |
inputs.nixpkgs.url = github:NixOS/nixpkgs/b3251e04ee470c20f81e75d5a6080ba92dc7ed3f; | |
outputs = { self, nixpkgs }: { | |
nixosConfigurations.sensei = nixpkgs.lib.nixosSystem { | |
system = "x86_64-linux"; | |
modules = [ | |
nixpkgs.nixosModules.notDetected | |
{ config, pkgs, lib, ... }: | |
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
import requests | |
import os | |
import ipfsapi | |
import concurrent.futures | |
api = ipfsapi.Client(host='https://ipfs.infura.io', port=5001) | |
url = "https://better-call.dev/v1/contract/mainnet/KT1RJ6PbjHpwc3M5rw5s2Nbmefwbuwbdxton/tokens" | |
r = requests.get(url) |
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
/* 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, |