- Install the latest JRE from Oracle
- In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
- Open Safari
- Go to the ATO Business portal site https://bp.ato.gov.au/BpStatics/homepage.htm
- Click Login
- A dialog will apear asking you 'Do you want to trust the website “authentication.business.gov.au” to use the “Java” plug-in?'
- Click 'Trust'
- Now you will be asked 'Do you want to run this application?'
- Click 'Run'
- Another dialog will appear asking you to 'Allow access to the following application from this website?'
| // | |
| // SKTimingFunction.swift | |
| // Pods | |
| // | |
| // Created by Takuya Okamoto on 2015/10/06. | |
| // | |
| // | |
| // inspired by https://gist.github.com/raphaelschaad/6739676 |
You need to have SketchTool installed somewhere in your path.
Add this in your ~/.gitconfig file (for some reason, it won't work in a local .gitconfig file):
| #!/usr/bin/python | |
| # Credit to frogor for the objc | |
| from Foundation import NSBundle | |
| import json | |
| import objc | |
| import os | |
| import plistlib | |
| import subprocess |
| namespace System.Collections.ObjectModel | |
| { | |
| // Licensed to the .NET Foundation under one or more agreements. | |
| // The .NET Foundation licenses this file to you under the MIT license. | |
| // See the LICENSE file in the project root for more information. | |
| using System.Collections.Generic; | |
| using System.Collections.Specialized; | |
| using System.ComponentModel; | |
| using System.Diagnostics; |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using Realms; | |
| namespace ProjectName.Core.Extensions | |
| { | |
| public static class RealmExtension | |
| { |
Troubleshooting a running application can be difficult, usually it starts around checking log output and then following through the likely code paths to get an idea of where a failure may occur. In a development environment, you might attach a debugger a step through source, but troubleshooting isn't always that convenient. There are several helpful tools that can assist, but one that gives the most comprehensive view of a running application is strace. With strace you are able to see all of the system calls an application makes to get a detailed understanding of what is going on "under the hood" in order to troubleshoot an issue.
Take a simple "hello world" F# application, the kind you get from dotnet new console -lang F# -n strace-sample". Build it with dotnet build and then launch it with strace to get a trace of all the system calls in a file called trace.log(adjusting for your build output path if on a different framework vers
| package se.sabumbi.vacapp.audio | |
| import kotlinx.cinterop.CPointer | |
| import kotlinx.cinterop.ExperimentalForeignApi | |
| import kotlinx.cinterop.ObjCObjectVar | |
| import kotlinx.coroutines.CoroutineScope | |
| import kotlinx.coroutines.Dispatchers | |
| import kotlinx.coroutines.IO | |
| import kotlinx.coroutines.Job | |
| import kotlinx.coroutines.flow.MutableStateFlow |