Feature Name: (fill me in with a unique identity, myawesomefeature)
Type: (feature, enhancement)
Start Date: (fill me in with today's date, YYYY-MM-DD)
Author: (your names)
// LAST UPDATE: 18 May 2024 V5: Update to support compose 1.7.0+ | |
package com.inidamleader.ovtracker.util.compose | |
import android.util.Log | |
import androidx.compose.foundation.layout.BoxWithConstraints | |
import androidx.compose.foundation.layout.BoxWithConstraintsScope | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.foundation.text.InlineTextContent | |
import androidx.compose.material3.LocalContentColor | |
import androidx.compose.material3.LocalTextStyle |
@Composable | |
fun ParallaxScreen(modifier: Modifier = Modifier) { | |
val context = LocalContext.current | |
val scope = rememberCoroutineScope() | |
var data by remember { mutableStateOf<SensorData?>(null) } | |
DisposableEffect(Unit) { | |
val dataManager = SensorDataManager(context) | |
dataManager.init() |
// | |
// MDPlayground.swift | |
// ValidationDemo | |
// | |
// Created by Abdullah Alhomaidhi on 15/06/2021. | |
// | |
import SwiftUI | |
import MaterialComponents |
# First, we need to find our device. BEFORE inserting your USB drive, run the | |
# following: | |
diskutil list | |
# This will output a bunch of info about all of the disk drives connected to | |
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is | |
# some number starting at 0. Now, insert your USB drive and run the command | |
# again. You should see a new entry. Make note of the name (ie, /dev/diskX). | |
diskutil list |
import 'dart:typed_data'; | |
import 'dart:io'; | |
import 'package:http/http.dart'; | |
import 'package:path_provider/path_provider.dart'; | |
downloadFile(String url, {String filename}) async { | |
var httpClient = http.Client(); | |
var request = new http.Request('GET', Uri.parse(url)); |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"