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
public interface WeatherService { | |
Observable<WeatherConditions> getConditions(Observable<WeatherRequest> requests); | |
} |
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
public class WeatherRequest { | |
private LocationType locationType; | |
private Float[] coordinates; | |
private String zipCode; | |
private String city; | |
private String state; | |
private String country; | |
private Locale locale; | |
public WeatherRequest forCoordinates(Float coordinateX, Float coordinateY) { |
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
/* | |
Sketch which publishes temperature data from a DS1820 sensor to a MQTT topic. | |
This sketch goes in deep sleep mode once the temperature has been sent to the MQTT | |
topic and wakes up periodically (configure SLEEP_DELAY_IN_SECONDS accordingly). | |
Hookup guide: | |
- connect D0 pin to RST pin in order to enable the ESP8266 to wake up periodically | |
- DS18B20: | |
+ connect VCC (3.3V) to the appropriate DS18B20 pin (VDD) |
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
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account! | |
✅ did:muport:QmPXsZ1fQBAzsfwp5xR5PRdoxNEjCS1fA7EHy2JdqtV5JM ✅ | |
Create your profile today to start building social connection and trust online. https://3box.io/ |
OlderNewer