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
//@version=4 | |
// CIRCLES: | |
// - LITTLE: They appear at all WaveTrend wave crossings | |
// - GREEN: The wavetrend waves are at the oversold level and have crossed up (bullish) | |
// - RED: The wavetrend waves are at the overbought level and have crossed down (bearish) | |
// - PURPLE: Appear when a bullish or bearish divergence is formed and WaveTrend waves crosses at overbought and oversold points | |
// - GOLD: When RSI is below 20, WaveTrend waves are below or equal to -80 and have crossed up (DONT BUY WHEN GOLD CIRCLE APPEAR) | |
// - None of these circles are certain signs to trade. It is only information that can help you. | |
// | |
// I am not an expert trader or know how to program pine script as such, in fact it is my first indicator only to study and all the code is copied and modified from other codes that are published in TradingView. |
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
const path = require('path'); | |
module.exports = { | |
entry: './src/mytest.ts', | |
module: { | |
rules: [ | |
{ | |
test: /\.tsx?$/, | |
exclude: /(node_modules|bower_components)/, | |
use: { |
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 { storage } from "@cruxpay/js-sdk/dist/cruxpay-sdk"; | |
import AsyncStorage from "@react-native-community/async-storage"; | |
class RNLocalStorage extends storage.StorageService { | |
setItem = async (key, value) => AsyncStorage.setItem(key, value); | |
getItem = async (key) => AsyncStorage.getItem(key); | |
} |
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-native-get-random-values'; | |
import {Button, Text} from "react-native" | |
import React from "react" | |
import {storage} from "./cruxpay-sdk" | |
import {CruxClient} from "./cruxpay-sdk" | |
let dataMemory = {}; | |
class RNLocalStorage extends storage.StorageService { |
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: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: pvc-example | |
labels: | |
name: pvc-example | |
spec: | |
# If you are using dynamic provisioning, it is important to specify a storageClassName. | |
storageClassName: "standard" | |
accessModes: |
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
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: apple-app | |
labels: | |
app: apple | |
spec: | |
containers: | |
- name: apple-app | |
image: hashicorp/http-echo |
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: v1 | |
kind: Pod | |
metadata: | |
labels: | |
test: liveness | |
name: liveness-exec | |
spec: | |
containers: | |
- name: liveness | |
image: gcr.io/google_containers/busybox |
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
# a comment | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
labels: | |
app: nginx # arbitrary label on deployment | |
spec: | |
replicas: 3 | |
selector: |
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
# The base image | |
FROM ubuntu:latest | |
# Install python and pip | |
RUN apt-get update -y | |
RUN apt-get install -y python-pip python-dev build-essential | |
# Install Python modules needed by the Python app | |
COPY requirements.txt /usr/src/app/ | |
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt |
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
#!/bin/bash | |
set -euox pipefail | |
IFS=$'\n\t' | |
curl -L https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -o cfssl | |
curl -L https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -o cfssljson | |
curl -L https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64 -o cfssl-certinfo | |
chmod +x cfss* | |
mv cfssl* /usr/local/bin/ | |
cfssl version |
NewerOlder