sudo apt update
sudo apt upgrade -y
sudo apt install zsh -y
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#include "ThreadedModelLoader.h" | |
#include <sstream> | |
ThreadedModelLoader::ThreadedModelLoader(){ | |
nextID = 0; | |
ofAddListener(ofEvents().update, this, &ThreadedModelLoader::update); | |
startThread(); | |
lastUpdate = 0; | |
loading = false; |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | |
<style> | |
body { | |
margin: 0px; | |
overflow: hidden; | |
} |
uniform float time; | |
uniform vec2 resolution; | |
uniform vec3 color; | |
void main() { | |
gl_FragColor = vec4(color, 1.); | |
} |
create a file name nextboot.sh
#!/bin/bash
basename="nextboot"
uuid=$(cat /proc/sys/kernel/random/uuid)
echo $uuid
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
[RequireComponent(typeof(CanvasRenderer))] | |
public class UIPolygon : Graphic { | |
[Header("UI Polygon")] | |
[SerializeField] private Vector2[] offsets = new Vector2[] { | |
new Vector2(-1f, 1f), | |
new Vector2(1f, 1f), |