-- CCMaps by cyberbit | |
-- MIT License | |
-- Version 0.0.2 | |
local plotterFactory = require 'plotter' | |
-- local polyFactory = require 'luapoly' | |
-- local pprint = require 'cc.pretty'.pretty_print | |
-- shell.run('attach right monitor') |
--- | |
--- Original creator of formulas: @sashafiesta on Discord | |
--- Original creator of python adaptation: @malexy on Discord | |
--- Optimized and translated python code to lua: SpaceEye. (https://gist.github.com/SuperSpaceEye/c33443213605d1bf35f81737c9058dc2) | |
--- Some lua optimizations: Autist69420 | |
--- | |
-- Simple micro-optimizations for better performance | |
local table_insert = table.insert | |
local rad, sin, cos, log, abs, min, pow = math.rad, math.sin, math.cos, math.log, math.abs, math.min, math.pow |
This gist was partially inspired by this blog about Next.js Vercel CI with GitHub actions.
An easy way to deploy and host websites for free is to use GitHub pages. If you've deployed a Next.js project to GitHub pages, you may have used a GitHub action similar to this in the past to automatically redeploy the site when a new commit is pushed:
# gh-pages-merge.yml
name: Deploy to gh-pages on merge
on:
push:
I've seen several posts on Reddit and other forums that say "oh you can use a grandstream phone with UniFi Talk and it's flawless". Unfortunately, I am not a VoIP engineer so it was not intuitive to me, but I got it to work. Here's how.
For this writeup, I'm using a Grandstream DP750 DECT base with a DP720 DECT wireless handset. I really wanted a wireless phone for general use in my house, but Ubiquiti doesn't make one, so I wanted to find a way. My goal is to setup UniFi Talk for my home phone solution and share a single phone number with a UniFi wired phone that sits on my office desk. As far as I know, you have to get a UniFi phone to do the initial Talk setup (though, in my tinkering, I noticed it's using a PostgreSQL database, you could probably bypass the initial setup if you knew what you were doing). I'm also using a UDM-Pro for my gateway.
Assuming your UDM-Pro management interface is on 192.168.1.1, your base station should be assigned an IP on a VL
[b]Forge Version:[/b] 38.0.0 | |
[b]Minecraft Version:[/b] 1.18 | |
[b]Downloads:[/b] | |
[ul] | |
[li][b]Changelog:[/b] [url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18-38.0.0/forge-1.18-38.0.0-changelog.txt](Direct)[/url] | |
[li][b]Installer:[/b] [url=https://adfoc.us/serve/sitelinks/?id=271228&url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18-38.0.0/forge-1.18-38.0.0-installer.jar](AdFocus)[/url] [url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18-38.0.0/forge-1.18-38.0.0-installer.jar](Direct)[/url] | |
[li][b]MDK:[/b] [url=https://adfoc.us/serve/sitelinks/?id=271228&url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18-38.0.0/forge-1.18-38.0.0-mdk.zip](AdFocus)[/url] [url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18-38.0.0/forge-1.18-38.0.0-mdk.zip](Direct)[/url] | |
[/ul] | |
[b]Intro:[/b] |
One of the most common projects I've seen for ComputerCraft is to write an operating system. People look at the limited command-line interface that CraftOS provides, and think, "I want this to work like my normal computer does!" Time and time again, a new post pops up on the ComputerCraft forums or Discord either announcing an OS, or asking for help with an OS, or releasing an OS. Usually, there are some very obvious flaws in these "OS"es, ranging from poor design choices, to overstating what they are and underdelivering. There are many common misunderstandings and undersights that newbie developers run into when writing an operating system, and these end up creating mediocre products at best.
The term "OS" is thrown around a lot, and in my opinion it's very overused. According to [Wikipedia]: "An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs." However, m