Step 1
Download macOS Installer (InstallAssistant.pkg
). Here is the link to Sonoma beta installer:
Step 1
Download macOS Installer (InstallAssistant.pkg
). Here is the link to Sonoma beta installer:
version: "3.6" | |
services: | |
gitlab: | |
image: gitlab/gitlab-ce | |
volumes: | |
- gitlab-data:/var/opt/gitlab | |
- gitlab-logs:/var/log/gitlab | |
- gitlab-config:/etc/gitlab | |
networks: | |
- traefik-public |
/** | |
* Extracts the list of data from a PagingData object. | |
* Useful for testing transformations on PagingData. | |
* | |
* flowOf(PagingData.from(listOf(model)).toList() == listOf(model) | |
* | |
* When nothing else is left, Java reflection will always be there to help us out. | |
*/ | |
@Suppress("UNCHECKED_CAST") | |
private suspend fun <T : Any> PagingData<T>.toList(): List<T> { |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
max_line_length = 120 |
/** | |
* Usage | |
* - npm install loadtest | |
* - npx ts-node load-test.ts | |
*/ | |
import loadtest from 'loadtest'; | |
const method = 'GET'; |
public class MyApplication implements LifecycleObserver { | |
@Override | |
public void onCreate() { | |
ProcessLifecycleOwner.get().getLifecycle().addObserver(this); | |
} | |
@OnLifecycleEvent(Lifecycle.Event.ON_START) | |
public void onStart() { | |
Log.d("App in foreground"); |
typealias LogElement = Triple<String, Int, String?> | |
object LogController { | |
private var flush = BehaviorSubject.create<Long>() | |
private var flushCompleted = BehaviorSubject.create<Long>() | |
private var LOG_LEVELS = arrayOf("", "", "VERBOSE", | |
"DEBUG", | |
"INFO", |
// | |
// DayCellView.swift | |
// T-Shifts | |
// | |
// Created by Roberto Esposito on 09/02/2017. | |
// Copyright © 2017 Roberto Esposito. All rights reserved. | |
// | |
import Foundation | |
import JTAppleCalendar |
extension AnyObserver { | |
static func create<E>(_ relay: PublishRelay<E>) -> AnyObserver<E> { | |
return .init { event in | |
guard case let .next(value) = event else { return } | |
relay.accept(value) | |
} | |
} | |
static func create<E>(_ relay: BehaviorRelay<E>) -> AnyObserver<E> { | |
return .init { event in |