This file contains hidden or 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
| var common = require('./common'); | |
| common.log('A'); |
This file contains hidden or 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 com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; | |
| import com.orientechnologies.orient.core.record.impl.ODocument; | |
| import com.orientechnologies.orient.core.sql.OCommandSQL; | |
| import java.util.List; | |
| public class TestEscaping { | |
| private ODatabaseDocumentTx db; | |
| public static void main(String... args) { |
This file contains hidden or 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
| package com.orientechnologies.orient.test; | |
| import com.orientechnologies.orient.core.Orient; | |
| import com.orientechnologies.orient.core.command.OCommandOutputListener; | |
| import com.orientechnologies.orient.core.db.graph.OGraphDatabase; | |
| import com.orientechnologies.orient.core.db.tool.ODatabaseExport; | |
| import com.orientechnologies.orient.core.db.tool.ODatabaseImport; | |
| import com.orientechnologies.orient.core.hook.ORecordHook; | |
| import com.orientechnologies.orient.core.metadata.schema.OSchema; | |
| import com.orientechnologies.orient.core.record.impl.ODocument; |
This file contains hidden or 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
| function createBackground() { | |
| } | |
| var StartScreenLayer = cc.Layer.extend({ | |
| ctor: function () { | |
| this._super(); | |
| // this function can call createBackground! | |
| createBackground.call(this); | |
| }, | |
| callCreateBackgroundToo: function () { |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" | |
| content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Issue audio from blob</title> | |
| </head> | |
| <body> |
This file contains hidden or 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
| .idea/ | |
| node_modules/ | |
| build/ |
This file contains hidden or 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
| #/bin/sh | |
| for a in $*; do | |
| echo "$a" | awk 'match($0, /^(\w):(\\.*)$/, m) { p = m[2]; gsub(/\\/,"/",p); print "/mnt/" tolower(m[1]) p; next }; { print }'; | |
| done | xargs node |
This file contains hidden or 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 CSSInterface from 'react-with-styles-interface-css'; | |
| const InterfaceWithOverrides = Object.create(CSSInterface); | |
| const OVERRIDES_KEY = Symbol('overrides'); | |
| Object.assign(InterfaceWithOverrides, { | |
| [OVERRIDES_KEY]: [], | |
| addOverride(override) { | |
| this[OVERRIDES_KEY].push(override); | |
| }, | |
| resolve(...args) { |
This file contains hidden or 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 React from 'react'; | |
| const ReduxContext = React.createContext(); | |
| export default ReduxContext; |
This file contains hidden or 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 { useRef } from 'react'; | |
| const getComponentName = WrappedComponent => ( | |
| WrappedComponent.displayName || WrappedComponent.name || 'Unknown' | |
| ); | |
| const compareProps = (obj1, obj2) => { | |
| let keys1 = Object.keys(obj1); | |
| const sameValues = keys1.every( | |
| key => obj2.hasOwnProperty(key) && obj2[key] === obj1[key], |
OlderNewer