In your command-line run the following commands:
brew doctor
brew update
const gulp = require('gulp') | |
const gutil = require('gulp-util') | |
const path = require('path') | |
const spawn = require('child_process').spawn | |
const split = require('split') | |
const prettyHrtime = require('pretty-hrtime') | |
const TSC_LINE = /\d{1,2}:\d{1,2}:\d{1,2} [AP]M - (.+)/ | |
const TSC_ERROR = /(.+?: )(.+)/ | |
gulp.task('watch:typescript', function(cb) { |
module.exports = function(dbConfig) { | |
var knex = require('knex')(dbConfig); | |
var KnexQueryBuilder = require('knex/lib/query/builder'); | |
KnexQueryBuilder.prototype.paginate = function (per_page, current_page) { | |
var pagination = {}; | |
var per_page = per_page || 10; | |
var page = current_page || 1; | |
if (page < 1) page = 1; |
// based on code from https://stackoverflow.com/questions/38779924/compiling-webpack-in-memory-but-resolving-to-node-modules-on-disk | |
import * as webpack from 'webpack' | |
import * as MemoryFileSystem from 'memory-fs' | |
import * as path from 'path' | |
import * as fs from 'fs' | |
import * as promisify from 'util.promisify' | |
const memFs = new MemoryFileSystem() | |
const statOrig = memFs.stat.bind(memFs) |
In your command-line run the following commands:
brew doctor
brew update
node: Platform built on V8 to build network applications | |
git: Distributed revision control system | |
wget: Internet file retriever | |
yarn: JavaScript package manager | |
python3: Interpreted, interactive, object-oriented programming language | |
coreutils: GNU File, Shell, and Text utilities | |
pkg-config: Manage compile and link flags for libraries | |
chromedriver: Tool for automated testing of webapps across many browsers | |
awscli: Official Amazon AWS command-line interface | |
automake: Tool for generating GNU Standards-compliant Makefiles |
fun main(args: Array<String>) { | |
val առաջինՊայման: Բուլյան = ճիշտԷ | |
val երկրորդՊայման: Բուլյան = սխալԷ | |
val երրորդՊայման: Բուլյան = ճիշտԷ | |
եթե(առաջինՊայման) { | |
առաջինՄեթոդ() | |
} այլապես եթե(երկրորդՊայման) { | |
երկրորդՄեթոդ() |
import React, { useMemo, useRef } from 'react'; | |
import { View } from 'react-native'; | |
import { node } from 'prop-types'; | |
import { PanGestureHandler, State, PinchGestureHandler } from 'react-native-gesture-handler'; | |
import Animated from 'react-native-reanimated'; | |
import styles from './styles'; | |
/** styles.js | |
import { StyleSheet } from 'react-native'; |
import { ValidationArguments, ValidatorConstraintInterface } from 'class-validator'; | |
import { Connection, EntitySchema, FindConditions, ObjectType } from 'typeorm'; | |
interface UniqueValidationArguments<E> extends ValidationArguments { | |
constraints: [ | |
ObjectType<E> | EntitySchema<E> | string, | |
((validationArguments: ValidationArguments) => FindConditions<E>) | keyof E, | |
]; | |
} |