We will install OpenJDK for anything Java 8 and later. Anything prior is probably Oracle JDK.
Prerequisite: Install Homebrew.
Remember to update your formulas.
$ brew updateWe will install OpenJDK for anything Java 8 and later. Anything prior is probably Oracle JDK.
Prerequisite: Install Homebrew.
Remember to update your formulas.
$ brew updateThe repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
| service: | |
| name: soa-example | |
| plugins: | |
| - serverless-offline | |
| - serverless-pseudo-parameters | |
| # the custom section | |
| custom: | |
| stage: ${self:provider.stage, env:STAGE, 'dev'} |
| // | |
| // ContentView.swift | |
| // Listomania | |
| // | |
| // Created by Jack Newcombe on 05/06/2019. | |
| // Copyright © 2019 Jack Newcombe. All rights reserved. | |
| // | |
| import SwiftUI |
| import SwiftUI | |
| import Combine | |
| class MyDatabase: BindableObject { | |
| let didChange = PassthroughSubject<MyDatabase, Never>() | |
| var contacts: [Contact] = [ | |
| Contact(id: 1, name: "Anna"), Contact(id: 2, name: "Beto"), | |
| Contact(id: 3, name: "Jack"), Contact(id: 4, name: "Sam") | |
| ] { |
| <!-- | |
| This disables app transport security and allows non-HTTPS requests. | |
| Note: it is not recommended to use non-HTTPS requests for sensitive data. A better | |
| approach is to fix the non-secure resources. However, this patch will work in a pinch. | |
| To apply the fix in your Ionic/Cordova app, edit the file located here: | |
| platforms/ios/MyApp/MyApp-Info.plist | |
| And add this XML right before the end of the file inside of the last </dict> entry: |
| var restify = require('restify'); | |
| // Authentication | |
| var passport = require('passport'); | |
| var LocalStrategy = require('passport-local').Strategy; | |
| var sessions = require("client-sessions"); | |
| var server = restify.createServer(); | |
| server.use(restify.queryParser()); | |
| server.use(restify.bodyParser()); |
| // Restify Server CheatSheet. | |
| // More about the API: http://mcavage.me/node-restify/#server-api | |
| // Install restify with npm install restify | |
| // 1.1. Creating a Server. | |
| // http://mcavage.me/node-restify/#Creating-a-Server | |
| var restify = require('restify'); |