npm install react-native-maps --save
// Top-level build file where you can add configuration options common to all sub-projects/modules.
import * as React from 'react'; | |
import { View, StyleSheet } from 'react-native'; | |
import Constants from 'expo-constants'; | |
import AssetExample from './components/AssetExample'; | |
import Svg, { | |
SvgProps, | |
Path, | |
Polygon, | |
G, | |
Rect, |
// Add a request interceptor | |
axios.interceptors.request.use(function (config) { | |
// Do something before request is sent | |
return config; | |
}, function (error) { | |
// Do something with request error | |
return Promise.reject(error); | |
}); | |
// Add a response interceptor |
/* | |
* MFRC522 - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT. | |
* The library file MFRC522.h has a wealth of useful info. Please read it. | |
* The functions are documented in MFRC522.cpp. | |
* | |
* Based on code Dr.Leong ( WWW.B2CQSHOP.COM ) | |
* Created by Miguel Balboa (circuitito.com), Jan, 2012. | |
* Rewritten by Søren Thing Andersen (access.thing.dk), fall of 2013 (Translation to English, refactored, comments, anti collision, cascade levels.) | |
* | |
* Released into the public domain. |
const App = () => { | |
const lastContentOffset = useSharedValue(0); | |
const isScrolling = useSharedValue(false); | |
const renderItem = ({ item }) => <Item title={item.title} />; | |
const scrollHandler = useAnimatedScrollHandler({ | |
onScroll: (event) => { | |
if (lastContentOffset.value > event.contentOffset.y) { | |
if (isScrolling.value) { | |
console.log("UP"); | |
} |
var tabGroup = Titanium.UI.createTabGroup({ | |
backgroundColor:'blue', | |
tabsBackgroundColor:'white', | |
}); | |
var win1 = Titanium.UI.createWindow({ | |
title:'Tab 2', | |
backgroundColor:'#E6E0F8', | |
navBarHidden: true, | |
tabBarHidden: true, |
exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.
Disk Utility is unable to repair this at first, but the fix is this:
diskutil list
to find the right drive id.disk1s1
sudo fsck_exfat -d <id from above>
. eg sudo fsck_exfat -d disk1s3
-d
is debug so you'll see all your files output as they're processed.YES
if it gives you the prompt Main boot region needs to be updated. Yes/No?
platform :ios, '9.0' | |
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' | |
def add_flipper_pods!(versions = {}) | |
versions['Flipper'] ||= '~> 0.33.1' | |
versions['DoubleConversion'] ||= '1.1.7' | |
versions['Flipper-Folly'] ||= '~> 2.1' | |
versions['Flipper-Glog'] ||= '0.3.6' | |
versions['Flipper-PeerTalk'] ||= '~> 0.0.4' | |
versions['Flipper-RSocket'] ||= '~> 1.0' |
#include <dht.h> | |
dht DHT; | |
#define DHT11_PIN 5 | |
const long oneSecond = 1000; // a second is a thousand milliseconds | |
const long oneMinute = oneSecond * 60; | |
const long oneHour = oneMinute * 60; | |
const long oneDay = oneHour * 24; |
// | |
// ViewController.m | |
// RNClip | |
// | |
// Created by Nazir Dogan on 30.06.2020. | |
// | |
#import "ViewController.h" | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> |