Install packages
yarn add firebase-admin jsonwebtoken ms nanoid
# or
| #!/bin/sh | |
| start=`date +%s.%N` | |
| SRC_CONNECTION_STRING="postgresql://src_username:src_password@src_host/src_dbname" | |
| DST_CONNECTION_STRING="postgresql://dst_username:dst_password@dst_host/dst_dbname" | |
| rm src_schema.sql | |
| rm src_data.sql | |
| rm dst_data.sql |
| <?php | |
| require_once __DIR__ . '/SignupConfig.php'; | |
| use Directus\Application\Application; | |
| use Directus\Application\Http\Request; | |
| use Directus\Application\Http\Response; | |
| use Directus\Authentication\Exception\ExpiredRequestTokenException; | |
| use Directus\Authentication\Exception\InvalidTokenException; | |
| use Directus\Util\JWTUtils; |
| var statusMessages = [ | |
| '200': 'OK', | |
| '201': 'Created', | |
| '200': 'OK', | |
| '201': 'Created', | |
| '202': 'Accepted', | |
| '203': 'Non-Authoritative Information', | |
| '204': 'No Content', | |
| '205': 'Reset Content', | |
| '206': 'Partial Content', |
| import React, {Component} from "react"; | |
| import {Animated, Dimensions, Platform, Text, TouchableOpacity, View} from "react-native"; | |
| import {Body, Header, List, ListItem as Item, ScrollableTab, Tab, TabHeading, Tabs, Title} from "native-base"; | |
| import LinearGradient from "react-native-linear-gradient"; | |
| const {width: SCREEN_WIDTH} = Dimensions.get("window"); | |
| const IMAGE_HEIGHT = 250; | |
| const HEADER_HEIGHT = Platform.OS === "ios" ? 64 : 50; | |
| const SCROLL_HEIGHT = IMAGE_HEIGHT - HEADER_HEIGHT; | |
| const THEME_COLOR = "rgba(85,186,255, 1)"; |
Source: https://opensource.com/business/16/2/top-6-open-source-crm-tools-2016 + community contributions
EspoCRM `github.com/espocrm/espocrm`_ PHP https://www.espocrm.com
| /** | |
| * This code is licensed under the terms of the MIT license | |
| * | |
| * Deep diff between two object, using lodash | |
| * @param {Object} object Object compared | |
| * @param {Object} base Object to compare with | |
| * @return {Object} Return a new object who represent the diff | |
| */ | |
| function difference(object, base) { | |
| function changes(object, base) { |