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
| package web | |
| import ( | |
| "errors" | |
| "fmt" | |
| "html/template" | |
| "io/fs" | |
| "os" | |
| "path" | |
| "strings" |
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
| -- https://www.sqlite.org/json1.html | |
| CREATE TABLE stat | |
| ( | |
| id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, | |
| started_at TIMESTAMP NOT NULL DEFAULT current_timestamp, | |
| finished_at TIMESTAMP NOT NULL DEFAULT current_timestamp, | |
| meta JSON NOT NULL DEFAULT '{}' -- JSON! | |
| ); | |
| CREATE INDEX stat_meta_project ON stat (meta ->> 'project'); |
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
| # Welcome to CRIX. | |
| # This file is a minimal example to get you started. | |
| # If you have any questions, you can always ask us on Telegram: https://t.me/joinchat/AAKXwhUQzCJTcSd4h76LYQ | |
| # Or check out Catalyst's documentation: https://enigma.co/catalyst/ | |
| # Happy trading! | |
| # youtube: https://www.youtube.com/watch?v=yswBW0uyqgQ&t=5s | |
| # Imports | |
| import pandas as pd | |
| import numpy as np |
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
| 0xaD9b872817b05315611B23F1C16306e0E692ab87 |
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
| 0x8d3f76cb4d343720913305c599524bbc96e17f6c |
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
| 0xcb8606ae62a075cdd20c7da79b79bd387c0f7280 |
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
| 0xE650dABEC5005E0A7e847f64BFcd743Bd1Bb1a50 |
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
| 0x7d60184a28111092225d274c743993D8C9d9D7bb |
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
| 0xaD9b872817b05315611B23F1C16306e0E692ab87 |
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
| #!/bin/sh | |
| if [ "1$1" != "1" ]; then | |
| cd "$1" | |
| fi | |
| BACKUP_IMAGES="backup/images" | |
| BACKUP_VOLUMES="backup/volumes" | |
| rm -rf "$BACKUP_IMAGES" |
NewerOlder