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
from datetime import datetime | |
from collections import * | |
### <summary> | |
### All Weather Strategy (Ray Dalio) w/ annual rebalance. Run on QuantConnect www.quantconnect.com | |
### #http://www.lazyportfolioetf.com/allocation/ray-dalio-all-weather/ | |
### </summary>> | |
class AllWeatherStrategy(QCAlgorithm): |
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
server { | |
listen 8080; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
} | |
} |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: ingress-service | |
annotations: | |
kubernetes.io/ingress.class: 'nginx' | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
nginx.ingress.kubernetes.io/ssl-redirect: 'false' | |
spec: | |
rules: |
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
#include <DHT.h> | |
#define trigPin 13 | |
#define echoPin 12 | |
#define DHTPIN 2 | |
#define DHTTYPE DHT22 | |
DHT dht(DHTPIN,DHTTYPE); |
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
#include <Keypad.h> | |
#include <LCD.h> | |
#include <LiquidCrystal_I2C.h> | |
#include <DHT.h> | |
#include <Wire.h> | |
#define DHTPIN 10 | |
#define DHTTYPE DHT22 | |
DHT dht(DHTPIN,DHTTYPE); |