Caution
I've moved this gist over to a template repository here. Everything here is unmaintained...
Following are the extensions required for neovim:
| int add(int a, int b) { | |
| return a + b; | |
| } |
Caution
I've moved this gist over to a template repository here. Everything here is unmaintained...
Following are the extensions required for neovim:
| import { useBindingListener, useCamera } from "@rbxts/pretty-roact-hooks"; | |
| import Roact from "@rbxts/roact"; | |
| import { useState } from "@rbxts/roact-hooked"; | |
| interface BackgroundBlurProps { | |
| blurSize?: number | Roact.Binding<number>; | |
| } | |
| /** | |
| * Wraps a BlurEffect |
| /* `useLocalStorage` | |
| * | |
| * Features: | |
| * - JSON Serializing | |
| * - Also value will be updated everywhere, when value updated (via `storage` event) | |
| */ | |
| import { useEffect, useState } from "react"; | |
| export default function useLocalStorage<T>(key: string, defaultValue: T): [T, (value: T) => void] { |
Next.js, Nginx with Reverse proxy, SSL certificate
| <!-- MIT License --> | |
| <html> | |
| <head> | |
| <script> | |
| function generateKey(alg, scope) { | |
| return new Promise(function(resolve) { | |
| var genkey = crypto.subtle.generateKey(alg, true, scope) | |
| genkey.then(function (pair) { | |
| resolve(pair) | |
| }) |