Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| import { createTestingApp } from '@deepkit/framework'; | |
| import { ControllerSymbol, rpc } from '@deepkit/rpc'; | |
| import { entity } from '@deepkit/type'; | |
| import { | |
| webSocketFetchRequestHandler, | |
| CloudflareWorkerRpcWebSocketClient, | |
| } from '../src'; | |
| // https://miniflare.dev/testing/jest |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).UPDATE 2023-01-22 21:34:33
This guide was last tested on an Intel MacBook 2017. Since then it's unmaintained and won't be updated (I quit the game and bought a life-time crossover licence).
This has been forked from https://gist.github.com/Alex4386/4cce275760367e9f5e90e2553d655309
For the latest discussion, see the comments there.
| const resolve = require('resolve'); | |
| /** | |
| * @typedef {{ | |
| basedir: string; | |
| browser?: boolean; | |
| defaultResolver: (request: string, options: ResolverOptions) => string; | |
| extensions?: readonly string[]; | |
| moduleDirectory?: readonly string[]; | |
| paths?: readonly string[]; |
| cp /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions ~/Library/Preferences/WebIde* | |
| echo -ne "\n-Dawt.useSystemAAFontSettings=lcd\n-Dawt.java2d.opengl=true" >> ~/Library/Preferences/WebIde*/phpstorm.vmoptions |
Make and run
apt-get source openssh-server
apt-get install libssl-dev
cd openssh-6.6p1
# Apply patch
patch -p1 openssh/openssh-6.6p1/auth2-pubkey.c < auth2-pubkey.c.patch| CREATE OR REPLACE FUNCTION table_update_notify() RETURNS trigger AS $$ | |
| DECLARE | |
| id bigint; | |
| BEGIN | |
| IF TG_OP = 'INSERT' OR TG_OP = 'UPDATE' THEN | |
| id = NEW.id; | |
| ELSE | |
| id = OLD.id; | |
| END IF; | |
| PERFORM pg_notify('table_update', json_build_object('table', TG_TABLE_NAME, 'id', id, 'type', TG_OP)::text); |
| #!/bin/bash | |
| echo "Building Ionic/Cordova iOS release..." | |
| ionic build --release ios | |
| # Save current directory and cd to other dir | |
| pushd platforms/ios/ | |
| # Build archive | |
| xcodebuild -scheme "MyApp" -configuration Release clean archive | |
| # Can also specify archive path: |