$ sudo apt-get update
$ sudo apt-get install unzip wget
$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo mv ./ngrok /usr/bin/ngrok
$ ngrok
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
import { appRouter } from 'server' | |
import type { APIContext } from 'astro' | |
import { resolveHTTPResponse } from '@trpc/server' | |
import type { HTTPHeaders } from '@trpc/client' | |
/** | |
* Handles trpc query client requests. | |
* | |
* @param {APIContext} - Astro API Context | |
* @returns {Promise<Response>} - trpc response |
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
diff --git a/node_modules/@remix-run/dev/compiler.js b/node_modules/@remix-run/dev/compiler.js | |
index 22c5ac0..bb8ae60 100644 | |
--- a/node_modules/@remix-run/dev/compiler.js | |
+++ b/node_modules/@remix-run/dev/compiler.js | |
@@ -352,6 +352,7 @@ async function createServerBuild(config, options) { | |
} // allow importing css files for bundling / hashing from node_modules. | |
+ if (config.transpileModules.includes(id)) return false; | |
if (id.endsWith(".css")) return false; |
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
diff --git a/node_modules/@remix-run/dev/compiler.js b/node_modules/@remix-run/dev/compiler.js | |
index 22c5ac0..eb1f7c4 100644 | |
--- a/node_modules/@remix-run/dev/compiler.js | |
+++ b/node_modules/@remix-run/dev/compiler.js | |
@@ -28,6 +28,7 @@ var loaders = require('./compiler/loaders.js'); | |
var mdx = require('./compiler/plugins/mdx.js'); | |
var routes = require('./compiler/routes.js'); | |
var fs$1 = require('./compiler/utils/fs.js'); | |
+var graphqlLoaderPlugin = require('@luckycatfactory/esbuild-graphql-loader').default; | |
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
import blitz from 'blitz/custom-server' | |
import { createServer } from 'http' | |
import { log } from '@blitzjs/display' | |
import krabs from 'krabs' | |
const { PORT = '3000' } = process.env | |
const dev = process.env.NODE_ENV !== 'production' | |
const app = blitz({ dev }) | |
const handle = app.getRequestHandler() |
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
diff --git a/node_modules/krabs/dist/express-krabs/index.js b/node_modules/krabs/dist/express-krabs/index.js | |
index 493254f..fdd3318 100644 | |
--- a/node_modules/krabs/dist/express-krabs/index.js | |
+++ b/node_modules/krabs/dist/express-krabs/index.js | |
@@ -86,7 +86,7 @@ function krabs(req, res, handle, app, config) { | |
} | |
return [2 /*return*/]; | |
} | |
- route = resolve_1["default"](tenant.name, String(pathname)); | |
+ route = resolve_1["default"](tenant.name, String(pathname), tenant.commonPages); |
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
<s:Envelope | |
xmlns:s="http://www.w3.org/2003/05/soap-envelope" | |
xmlns:a="http://www.w3.org/2005/08/addressing" | |
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<s:Header> | |
<a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT</a:Action> | |
<a:MessageID>urn:uuid:5382e44f-1711-4291-8e6d-64086192e485</a:MessageID> | |
<a:ReplyTo> | |
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> | |
</a:ReplyTo> |
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
Before you doom yourself, there are a few things you should know: | |
1. Whenever you edit your doom! block in ~/.doom.d/init.el or modify your | |
modules, run: | |
bin/doom refresh | |
This will ensure all needed packages are installed, all orphaned packages are | |
removed, and your autoloads files are up to date. This is important! If you | |
forget to do this you will get errors! |
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
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
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
import compat from 'preact/compat' | |
export * from 'preact/compat'; | |
export default compat; |
NewerOlder