This file contains 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
/* | |
* References: | |
* | |
* Datalogger by Arduino: https://www.arduino.cc/en/Tutorial/Datalogger | |
* Clock TinyRTC Tutorial: http://www.prometec.net/relojes-rtc/ | |
* DHT22 Sensor Tutorial: http://www.naylampmechatronics.com/blog/40_Tutorial-sensor-de-temperatura-y-humedad-DHT1.html | |
* Ethernet Shield V2 Wiki: http://wiki.seeedstudio.com/wiki/Ethernet_Shield_V2.0 | |
* DFR0026 Light Sensor Guide: https://www.dfrobot.com/wiki/index.php/DFRobot_Ambient_Light_Sensor_(SKU:DFR0026_) | |
* DS1307 RTC Tutorial: http://www.geekfactory.mx/tutoriales/tutoriales-arduino/ds1307-en-tinyrtc-con-arduino/ | |
* |
This file contains 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
/** | |
* Reimplemented by RqBazan on 02/07/17. | |
* | |
* RxJava2 and Retrofit 2.2.0 compatible factory, | |
* which wraps the {@link RxJava2CallAdapterFactory} and takes care of the error conversion. | |
* | |
* Based on: https://github.com/square/retrofit/issues/1102#issuecomment-241250796 | |
*/ | |
public class RxJava2ErrorHandlingCallAdapterFactory extends CallAdapter.Factory { | |
private final RxJava2CallAdapterFactory mOriginalCallAdapterFactory; |
This file contains 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
1.3.1 |
This file contains 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, { Component } from 'react' | |
import styled, { withTheme } from 'styled-components' | |
import { Label } from '@riqra/truck' | |
import { StickyTree } from 'react-virtualized-sticky-tree' | |
import Measure from 'react-measure' | |
import { map } from 'lodash' | |
import { GroupedTree } from 'utils' | |
const resolveHeight = props => { | |
const { theme: { dimensions } } = props |
From Expo docs:
Keep in mind that the Android status bar is translucent by default in Expo apps.
And also I'm almost sure that the background color in Expo apps is like
rgba(0,0,0,0.4)
This file contains 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
<scheme name="Vesper-dark-color-theme" parent_scheme="Darcula" version="1"> | |
<colors> | |
<option name="GUTTER_BACKGROUND" value="101010" /> | |
<option name="SELECTION_BACKGROUND" value="323232" /> | |
<option name="LINE_NUMBERS_COLOR" value="FFFFFF" /> | |
<option name="CONSOLE_BACKGROUND_KEY" value="101010" /> | |
</colors> | |
<attributes> | |
<option name="BAD_CHARACTER"> | |
<value> |