draw(bg_color="white")
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
# Wrapper for cross platform symlinks, this uses soft links on all platforms. | |
def link [src:string, target:string, --dry, --verbose(-v), --absolute(-a) ] { | |
def _log [msg: string] { | |
print $"(ansi yellow)($msg)(ansi reset)" | |
} | |
# safe checks | |
let dir = ($src | path type | $in == dir) | |
let src_exist = ($src | path exists) |
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
# Installs a package.By default, any new package is installed as a prod dependency | |
export extern "pnpm add" [ | |
] | |
# Generates a pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json) file | |
export extern "pnpm import" [ | |
] | |
# Install all dependencies for a project |
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
# this function grabs the iso image from the user supplied http location. | |
function Get-IsoImage { | |
[CmdletBinding()] | |
param( | |
$uri, | |
$workingfolder | |
) | |
begin { | |
$file_name = $uri -replace "http://[\s\S]+\/([\s\S]+\.iso)$", '$1' | |
$out_file = Join-Path $workingfolder -ChildPath $file_name |
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
I am attesting that this GitHub handle melMass is linked to the Tezos account tz1auzguranCBAHCf6s8Nw27gDroPeopXDbJ for tzprofiles | |
sig:edsigtrY8SWWWzAWTAaWBUBAPpfnok2bPSGLbkyCxtd3jafa7ktoWrNKqYVGxfye8UucfdV52Ld3PSuEAy8XaFtsqC7WWfbSzUA |
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
# Convert all mov in $PWD to png sequences in subfolders | |
for x in *.mov; do mkdir "${x%.*}" && ffmpeg -i $x "${x%.*}"/"${x%.*}_%04d.png"; done | |
# H264 Animation | |
ffmpeg -i input.mov -c:v libx264 -pix_fmt yuv420p -movflags +faststart -preset veryslow -tune animation out.mp4;done |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEngine.Formats.Alembic.Importer; | |
using UnityEngine.VFX; | |
using UnityEngine.VFX.Utility; | |
namespace MTB.VFX | |
{ |
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
body{ | |
background-color:white; | |
color:black; | |
font-family: "Helvetica"; | |
font-size:1.5em; | |
} | |
h1>a{ |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using static BMesh; | |
public class ProceduralMesh : MonoBehaviour | |
{ | |
public float tilling | |
{ | |
get { return _tilling; } |