Skip to content

Instantly share code, notes, and snippets.

View yosun's full-sized avatar
:octocat:
cal.permute.xyz

yosun

:octocat:
cal.permute.xyz
View GitHub Profile
@yosun
yosun / nws3-irl-in-sf.txt
Created May 24, 2023 04:40 — forked from seemcat/nws3-irl-in-sf.txt
buildspace n&w s3 - irl in sf
Kyle K.
Kei H.
kahron s.
Alan H.
Ashita A.
Shahir A.
Moin B.
Mustafa T.
arib k.
Omar K.

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

@yosun
yosun / usdz.md
Last active February 4, 2024 01:53
usdz cheatsheet

Notes on https://developer.apple.com/videos/play/wwdc2019/602/

USDZ archive

USDZ is an archive consisting of scene files (usda, usdc, usd) and textures (png/jpg)

  • usda: human readable file (A)
  • usdc: binary computer file (C)
  • usd: both?

apple usd helper python scripts

@yosun
yosun / readme.md
Created November 12, 2023 13:58
installing node on cpanel

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

source ~/.bashrc

nvm install 14

nvm use 14

@yosun
yosun / _sdxl.resizer.php
Created October 4, 2023 04:55
For example, if you have a ratio 1 image and upload it as 512x512 instead of 1024x1024 you get: https://replicate.com/p/463ayu3bhufo5twvla4byvpz3m instead of https://replicate.com/p/u2vrsv3buuvzifh3pautxcrdom
<?php
class SDXLNumerologyElement {
public $ratio;
public $width;
public $height;
}
class SDXLResizer {
public static $theNumerologyElements = array(
(Old 2016 profile:) I build award-winning AR + AI apps and software platforms - solo. Here are some "startups" that I built:
faced.io FaceShop and FaceMaskDesigner https://www.youtube.com/watch?v=-0DaehzzNLg
ArtformAR https://www.youtube.com/watch?v=zklZxlarVjY
SnapShop https://www.youtube.com/watch?v=JvaVsuH6vj4
SnapGlass.es https://www.youtube.com/watch?v=HAvNJs7sf7A
HoloYummy https://www.youtube.com/watch?v=VbLkQg1_EB4
PlatoAR https://www.youtube.com/watch?v=V2I1gFwG-kM
@yosun
yosun / gist:0cc814dcb5d8ee35398a548a8bc715b7
Created January 10, 2023 06:48
cocoapods install for m1 mac on mac 12.5
get rid of system brew - install 2.7.7 using rvm
https://www.engineyard.com/blog/how-to-install-ruby-on-a-mac-with-chruby-rbenv-or-rvm/
@yosun
yosun / CameraShotToPlane.cs
Created July 30, 2022 00:30
CameraShotToPlane.cs lets you create a hit plane (or debugPoint objects) based on camera viewport corners using CreatePlaneFromFourPoints
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraShotToPlane : MonoBehaviour
{
public bool debugMode = true;
public GameObject goDebugPoint;
public Camera cameraToRaycastFrom;
@yosun
yosun / Utils.cs
Created June 21, 2022 02:48
opencvunity dlib mods for IC
using AOT;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using UnityEngine;
namespace DlibFaceLandmarkDetector.UnityUtils
{
@yosun
yosun / largejson_notes.php
Last active December 12, 2021 10:33
large json file tools php specific
<?php ini_set('memory_limit','512M');set_time_limit(0);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once( 'vendor/autoload.php' );
// couldn't JsonMachines to work for poly_dump json (250M, with verbose objects)
//use \JsonMachine\JsonMachine;
//$string = file_get_contents("test.json");