Steps:
- helm repo add opsmx https://helmcharts.opsmx.com/
- helm install my-spinnaker opsmx/spinnaker --version 2.2.7
References :
import psycopg2 | |
try: | |
connection = psycopg2.connect("postgres://postgres:@localhost:5432/postgres") | |
cursor = connection.cursor() | |
# create_table_query = '''CREATE TABLE mobile | |
# (ID INT PRIMARY KEY NOT NULL, | |
# MODEL TEXT NOT NULL, |
import { useState, useEffect } from 'react'; | |
import { Storage } from '@ionic/storage'; | |
const storage = new Storage(); | |
storage.create(); | |
export const useIonicStorage = (key, defaultValue) => { | |
const [value, setValue] = useState(defaultValue); | |
useEffect(() => { |
To prevent wall messages from messing up all of your open terminals: | |
sudo systemctl stop systemd-ask-password-wall.service | |
sudo systemctl stop systemd-ask-password-wall.path | |
To make this change persistent over boot: | |
sudo systemctl mask systemd-ask-password-wall.service | |
sudo systemctl mask systemd-ask-password-wall.path |
Steps:
References :
Notes: Install halyard, kubernetes (eg. docker-desktop from docker). Also need an aws account for storage (unless using minio)
class SuperTrend(bt.Indicator): | |
lines = ('super_trend',) | |
params = ( | |
('multiplier', 12.0), | |
('atr_period', 3), | |
) | |
def __init__(self): | |
self.isDownTrend = -1 | |
self.isUpTrend = 1 |
//@version=5 | |
indicator("HTF Candle R1.2 by JustUncleL", shorttitle="HTF Candle", overlay=true) | |
// | |
// Author: JustUncleL | |
// Date: 9-Nov-2017 | |
// Version: R1.2 | |
// | |
// Description: |
#!/usr/bin/env bash | |
# source: https://gist.github.com/justlaputa/a6da84981eca963817e652b5f2452cfc | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
STARS_PAGE_COUNT=20 | |
STARS_FILE=stars.txt | |
DELETE_SLEEP_TIME=.5 |