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
const MyClass = new ObjCClass({ | |
classname: 'MyClass', | |
superclass: NSButton, | |
_private: 'initial', | |
init() { | |
log("my custom init code. no need to call super here "); | |
this._private = 'test'; | |
}, |
This file has been truncated, but you can view the full file.
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
Error: node_modules/apollo-client/node_modules/graphql-tag/node_modules/graphql/type/definition.js.flow:108 | |
108: GraphQLList<GraphQLOutputType> | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with | |
1196: export class GraphQLNonNull<T: GraphQLNullableType> { | |
^^^^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType | type application of class `GraphQLList` | |
Member 1: | |
203: GraphQLScalarType | | |
^^^^^^^^^^^^^^^^^ GraphQLScalarType | |
Error: | |
108: GraphQLList<GraphQLOutputType> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Unpacking OpenEXR-2.3.0 | |
-- The C compiler identification is GNU 7.2.1 | |
-- The CXX compiler identification is GNU 4.8.5 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /usr/bin/c++ |
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
~/Developer/ML/js-ecosystem/modules/test-pythonjs (master #) $ yarn add python.js | |
yarn add v1.15.2 | |
info No lockfile found. | |
[1/4] 🔍 Resolving packages... | |
[2/4] 🚚 Fetching packages... | |
[3/4] 🔗 Linking dependencies... | |
[4/4] 🔨 Building fresh packages... | |
error /Users/andrew/Developer/ML/js-ecosystem/modules/test-pythonjs/node_modules/python.js: Command failed. | |
Exit code: 1 | |
Command: node-gyp rebuild |
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
enum Block { | |
case h(title: String) | |
case p(body: String) | |
} | |
extension View { | |
func erased() -> AnyView { | |
return AnyView(self) | |
} | |
} |
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
{ | |
"RECTANGLE": { | |
"type": "RECTANGLE", | |
"name": "Rectangle", | |
"visible": true, | |
"locked": false, | |
"opacity": 1, | |
"blendMode": "PASS_THROUGH", | |
"isMask": false, | |
"effects": [], |
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
{ | |
"build": { | |
"env": { | |
"MY_GH_TOKEN": "@my_gh_packages_access_token", | |
"NPM_RC": "registry=https://npm.pkg.github.com/<USERNAME or ORG>\n//npm.pkg.github.com/:_authToken=${MY_GH_TOKEN}\n//npm.pkg.github.com/<USERNAME or ORG>/:_authToken=${MY_GH_TOKEN}\nalways-auth=true\n" | |
} | |
}, | |
} |
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
const getHost = (context: NextPageContext): { host: string; proto: string } => { | |
const { req } = context; | |
if (req !== undefined) { | |
const { | |
"x-forwarded-host": host, | |
"x-forwarded-proto": proto | |
} = req.headers; | |
if ( | |
typeof host === "string" && | |
typeof proto === "string" && |
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
-- This function is based on this description: | |
-- https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html | |
CREATE OR REPLACE FUNCTION | |
sign_s3_url( | |
m_host text, | |
m_verb text, | |
m_resource text, | |
m_region text, | |
m_key text, |