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
FROM ubuntu:22.04 as base | |
ARG DEBIAN_FRONTEND=noninteractive | |
WORKDIR /src | |
RUN apt-get update && \ | |
apt-get remove libunwind-14 -y && \ | |
apt-get install -y \ | |
wget git lsb-release apt-utils unzip sudo | |
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 org.openrndr.application | |
import org.openrndr.draw.* | |
import org.openrndr.ffmpeg.VideoPlayerConfiguration | |
import org.openrndr.ffmpeg.VideoPlayerFFMPEG | |
import org.openrndr.math.Polar | |
import org.openrndr.math.Vector2 | |
import org.openrndr.math.Vector3 | |
import kotlin.math.sin | |
import org.openrndr.ffmpeg.PlayMode | |
import org.openrndr.math.mix |
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 ffmpeg | |
import numpy as np | |
import cv2 | |
import sys | |
# pip install ffmpeg-python | |
# pip install opencv-python | |
# pip install opencv-contrib-python | |
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 Pipe2Pam from 'pipe2pam'; | |
import process from 'node:process'; | |
import {spawn} from 'child_process'; | |
import imghash from 'imghash'; | |
let counter = 0; | |
const params = [ | |
'-loglevel', |
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
1. open up computer and flip write switch to not-write protected | |
remove battery from chromebook | |
remove power | |
add power | |
hold esc+refresh while powering on computer | |
go through and press enter | |
power off | |
power on | |
ctrl+d | |
wait for dev transitioning |
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
https://www.myfonts.com/products/modern-twenty-atmodern-twenty-342197 | |
https://render.myfonts.net/fonts/font_rend.php?id=329faf6da65317e72cd89ca34784223f&rt=You%20Make%20Me%20Smile&rs=5000&w=40000&rbe=&sc=2&nie=true&fg=94CC65&bg=000000&ft=&nf=1 |
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 crypto from 'crypto' | |
import GUN from 'gun'; | |
import 'gun/sea.js'; | |
import 'gun/lib/open.js' | |
import 'gun/lib/load.js' | |
import { sha256 } from 'js-sha256'; | |
import Geohash from 'latlon-geohash'; | |
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 crypto from 'crypto' | |
import GUN from 'gun'; | |
import 'gun/sea.js'; | |
import 'gun/lib/open.js' | |
import { sha256 } from 'js-sha256'; | |
var SEA = GUN.SEA; | |
var gun = GUN() |
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
(async () => { | |
const GUN = require('gun'); | |
const suffix = Date.now() | |
require('gun/sea') | |
var SEA = GUN.SEA; | |
var gun = GUN() | |
async function auth( username, password ) { | |
return new Promise(( resolve, reject ) => { | |
gun.user() | |
.auth( username, password, ack => |
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
(async () => { | |
const GUN = require('gun'); | |
const dbName = "database" + new Date() | |
require('gun/lib/path.js') | |
var SEA = GUN.SEA; | |
var gun = GUN() | |
// 1...... | |
// create server certificate for database (allowing server to delete all user objects) | |
var ServerAdmin = await SEA.pair() |
NewerOlder