See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| import android.app.Service | |
| import android.content.Intent | |
| import android.os.IBinder | |
| import android.support.annotation.Nullable | |
| import android.support.annotation.WorkerThread | |
| import kotlinx.coroutines.* | |
| import kotlinx.coroutines.channels.Channel | |
| import kotlinx.coroutines.channels.SendChannel | |
| import kotlinx.coroutines.channels.actor | |
| import kotlin.coroutines.CoroutineContext |
| public static void BulkInsertNpgsql<T>(this IDbConnection dbConn, IEnumerable<T> list, IEnumerable<string> insertFields = null) | |
| { | |
| if (list == null) return; | |
| if (list.Count() < 1) return; | |
| var objWithAttributes = list.FirstOrDefault(); | |
| var modelDef = OrmLiteConfig.GetModelDefinition(objWithAttributes.GetType()); | |
| if (insertFields == null) insertFields = new List<string>(); |
| const functions = require("firebase-functions"); | |
| var request = require("request"); | |
| var API_KEY = "YOUR-API-KEY"; // Your Firebase Cloud Messaging Server API key | |
| function sendNotificationToUser(userId, message) { | |
| request( | |
| { | |
| url: "https://fcm.googleapis.com/fcm/send", | |
| method: "POST", |
| using System.Collections.Generic; | |
| using System.Data; | |
| using ServiceStack; | |
| using ServiceStack.OrmLite; | |
| using ServiceStack.DataAnnotations; | |
| using System; | |
| [Alias("WarehouseTransferDetails")] | |
| public class WarehouseTransferDetail | |
| { |
| // data.cs | |
| // Created by quangquy87 on 2018/12/09 | |
| Trim String | |
| String.prototype.trim = function(){ | |
| return this.replace(/^\s+|\s+$/g, ""); | |
| }; | |
| To Camel Case | |
| String.prototype.toCamel = function(){ | |
| return this.replace(/(\-[a-z])/g, function($1){return $1.toUpperCase().replace('-','');}); |
| var MyApp = angular.module('MyApp'); | |
| MyApp.factory('msgBus', ['$rootScope', function($rootScope) { | |
| var msgBus = {}; | |
| msgBus.emitMsg = function(msg, data) { | |
| data = data || {}; | |
| $rootScope.$emit(msg, data); | |
| }; | |
| msgBus.onMsg = function(msg, func, scope) { | |
| var unbind = $rootScope.$on(msg, func); | |
| if (scope) { |