This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Customise this file, documentation can be found here: | |
| # https://github.com/fastlane/fastlane/tree/master/docs | |
| # All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md | |
| # can also be listed using the `fastlane actions` command | |
| # Change the syntax highlighting to Ruby | |
| # All lines starting with a # are ignored when running `fastlane` | |
| # If you want to automatically update fastlane if a new version is available: | |
| # update_fastlane |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Linux - create "Default (Linux).sublime-mousemap" in ~/.config/sublime-text-3/Packages/User | |
| Mac - create "Default (OSX).sublime-mousemap" in ~/Library/Application Support/Sublime Text 3/Packages/User | |
| Win - create "Default (Windows).sublime-mousemap" in %appdata%\Sublime Text 3\Packages\User | |
| [ | |
| { | |
| "button": "button1", | |
| "count": 1, | |
| "modifiers": ["ctrl"], | |
| "press_command": "drag_select", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private fun showMultiStableInfo(stableKeys: Set<Any?>) { | |
| val scope = CoroutineScope(Dispatchers.Default) | |
| scope.launch { | |
| var stables = arrayListOf<Stable>() | |
| stableKeys.forEach { key -> | |
| key?.let { stableID -> | |
| val job = CoroutineScope(Dispatchers.Default).async { | |
| suspendCoroutine<Stable?> { cont -> | |
| myRef.child("stables").child(stableID as String).addListenerForSingleValueEvent(object : ValueEventListener { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>HKAtrialFibrillationDetectionOnboardingCompleted</key> | |
| <integer>1</integer> | |
| <key>HKElectrocardiogramOnboardingCompleted</key> | |
| <integer>3</integer> | |
| </dict> | |
| </plist> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context | |
| import android.content.Intent | |
| import android.content.IntentFilter | |
| import androidx.lifecycle.Lifecycle.Event.ON_DESTROY | |
| import androidx.lifecycle.Lifecycle.Event.ON_START | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import android.content.BroadcastReceiver as StockReceiver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context | |
| import android.content.Intent | |
| import android.content.IntentFilter | |
| import androidx.lifecycle.Lifecycle.Event.ON_DESTROY | |
| import androidx.lifecycle.Lifecycle.Event.ON_START | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import android.content.BroadcastReceiver as StockReceiver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, {memo, useEffect, useState} from 'react'; | |
| import {Animated, Platform, StyleSheet} from 'react-native'; | |
| import {AnimatedRegion, Marker} from 'react-native-maps'; | |
| import {Car} from '../../../../../Assets/Images'; | |
| function VehicleMarker({ | |
| data, | |
| tripIndex, | |
| initLatDelta, | |
| initLongDelta, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Before Septemper 15 2018, Vietnam has phone number start with 09*, 01(2|6|8|9). | |
| After that, the phone number can start with 03, 05, 07 or 08. | |
| So this function provide a way to validate the input number is a Vietnamese phone number | |
| */ | |
| function isVietnamesePhoneNumber(number) { | |
| return /(03|05|07|08|09|01[2|6|8|9])+([0-9]{8})\b/.test(number); | |
| } |