Install plugin Whisper for Obsidian
plugin's settings:
- API-key = sk-0
- API-URL = http://127.0.0.1:8000/inference
- language = en
- recording folder = rec
- transcription folder = rec_notes
class PathMe { | |
moves: string[] = []; | |
constructor() { | |
this.moves = []; | |
return this; | |
} | |
moveTo(x: number, y: number) { |
plugin's settings:
--[[ | |
moves rectangle A by (dx, dy) and checks for a collision | |
with rectangle B. | |
if no collision occurs, returns false. | |
if a collision does occur, returns: | |
- the time within the movement when the collision occurs (from 0-1) | |
- the x component of the normal vector | |
- the y component of the normal vector |
Components:
sprite:set_frame(fx, fy)
, animation:reset()
etcSystems:
--[[ | |
Copyright 2007 Jan Kneschke ([email protected]) | |
Copyright 2019 Josef Patoprsty ([email protected]) | |
Licensed under the same license as Lua 5.1 | |
This is an alteration of the original lua-callgrind by Jan Kneschke. | |
Features: |
-- stable sorting routines for lua | |
-- | |
-- modifies the global table namespace so you don't have | |
-- to re-require it everywhere. | |
-- | |
-- table.stable_sort | |
-- a fast stable sort | |
-- table.unstable_sort | |
-- alias for the builtin unstable table.sort | |
-- table.insertion_sort |
--[[ | |
oop basics | |
]] | |
function class(inherits) | |
local c = {} | |
c.__mt = {__index = c} | |
--handle single inheritence | |
if type(inherits) == "table" and inherits.__mt then | |
setmetatable(c, inherits.__mt) |
local ffi = require "ffi" | |
ffi.cdef [[ | |
typedef struct { | |
float x; | |
float y; | |
} vector; | |
]] | |
local storage_size = 8096 |
--[[ | |
Copyright (c) 2018, Josef Patoprsty | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the | |
Software is furnished to do so, subject to the following |
--sort core | |
-- | |
-- stable sorting routines for lua | |
-- | |
--based on MIT licensed code from Dirk Laurie and Steve Fisher | |
--license as follows: | |
--[[ | |
Copyright © 2013 Dirk Laurie and Steve Fisher. |