Skip to content

Instantly share code, notes, and snippets.

View kaizenlabs's full-sized avatar
🎯
Focusing

John Anthony Radosta kaizenlabs

🎯
Focusing
View GitHub Profile
@kaizenlabs
kaizenlabs / all-weather-strategy.py
Last active March 2, 2021 18:20
Ray Dalio's All Weather Strategy - Algorithm Quantconnect
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):
server {
listen 8080;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
}
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:
@kaizenlabs
kaizenlabs / gist:150cdd4fa9f677fdc23d
Last active October 8, 2015 02:55
DHIT & UltraSonic Sensor Sketch
#include <DHT.h>
#define trigPin 13
#define echoPin 12
#define DHTPIN 2
#define DHTTYPE DHT22
DHT dht(DHTPIN,DHTTYPE);
@kaizenlabs
kaizenlabs / LCD & KeyPad Mini Project (DHT, Keypad, LCD, & Photoresistor)
Created October 2, 2015 07:14
Mini Project Example For Lecture 36: Arduino Step By Step on Udemy
#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);