On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin.
On mac:
/usr/local/bin.| SELECT | |
| arrays.firstnames[s.a % ARRAY_LENGTH(arrays.firstnames,1) + 1] AS firstname, | |
| substring('ABCDEFGHIJKLMNOPQRSTUVWXYZ' from s.a%26+1 for 1) AS middlename, | |
| arrays.lastnames[s.a % ARRAY_LENGTH(arrays.lastnames,1) + 1] AS lastname | |
| FROM generate_series(1,300) AS s(a) -- number of names to generate | |
| CROSS JOIN( | |
| SELECT ARRAY[ | |
| 'Adam','Bill','Bob','Calvin','Donald','Dwight','Frank','Fred','George','Howard', | |
| 'James','John','Jacob','Jack','Martin','Matthew','Max','Michael', | |
| 'Paul','Peter','Phil','Roland','Ronald','Samuel','Steve','Theo','Warren','William', |
| // | |
| // Implementation using express-jwt middle | |
| // | |
| var express = require('express'), | |
| ejwt = require('express-jwt'), | |
| jwt = require('jsonwebtoken'), | |
| passport = require('passport'), | |
| bodyParser = require('body-parser'), | |
| LocalStrategy = require('passport-local').Strategy, | |
| BearerStrategy = require('passport-http-bearer').Strategy; |
| package com.firebase.client; | |
| import com.firebase.client.core.Constants; | |
| import rx.Observable; | |
| import rx.Subscriber; | |
| import rx.functions.Action0; | |
| import rx.functions.Func1; | |
| import rx.subscriptions.Subscriptions; | |
| public class RxFirebase { |