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 | |
# Install Python 3.10 and replace original install | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt-get install -y python3.10 python3.10-dev python3.10-venv | |
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2 | |
# Download and install SD | |
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh) |
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
EntryTime | Direction | Quantity | EntryPrice | ExitTime | ExitPrice | Interest | Result | ReasonForClosing | Balance | |
---|---|---|---|---|---|---|---|---|---|---|
2020-12-07T09:35:00.000Z | LONG | 68.69 | 3681.2 | 0 | -39.78 | 10422.52 | ||||
2020-12-07T07:35:00.000Z | SHORT | 67.57 | 3688.2 | 2020-12-07T08:15:00.000Z | 3685.5 | 0 | 150.95 | Exit Rule | 10462.3 | |
2020-12-07T02:50:00.000Z | LONG | 68.32 | 3691.7 | 2020-12-07T07:25:00.000Z | 3689.5 | 0 | -124.37 | Exit Rule | 10311.35 | |
2020-12-04T20:00:00.000Z | LONG | 68.29 | 3693.5 | 2020-12-04T20:45:00.000Z | 3693.5 | 0 | 0 | Exit Rule | 10435.71 | |
2020-12-04T19:35:00.000Z | LONG | 67.46 | 3689 | 2020-12-04T19:45:00.000Z | 3691.5 | 0 | 139.54 | Exit Rule | 10435.71 | |
2020-12-04T16:00:00.000Z | SHORT | 67.16 | 3689.5 | 2020-12-04T19:00:00.000Z | 3688.7 | 0 | 44.46 | Exit Rule | 10296.17 | |
2020-12-04T14:25:00.000Z | LONG | 66.3 | 3675.2 | 2020-12-04T14:40:00.000Z | 3678.3 | 0 | 170.06 | Exit Rule | 10251.71 | |
2020-12-04T09:25:00.000Z | SHORT | 66.14 | 3674 | 2020-12-04T13:55:00.000Z | 3673.5 | 0 | 27.36 | Exit Rule | 10081.65 | |
2020-12-04T06:25:00.000Z | LONG | 65.68 | 3673.7 | 2020-12-04T08:10:00.000Z | 3675 | 0 | 70.65 | Exit Rule | 10054.29 |
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
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using CsvHelper; // see https://joshclose.github.io/CsvHelper/ | |
namespace ZippediZap |
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 | |
USER="root" | |
PASSWORD="" | |
OUTPUT="/tmp/dbbackup/" | |
DATE=`date +%Y-%m-%d_%H-%M` | |
FOLDER="$OUTPUT" | |
rm -rf "$FOLDER" | |
mkdir "$OUTPUT" |
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
<script> | |
window.callback = null; | |
function callCallback(e) { | |
callback(e); | |
} | |
</script> | |
<button onclick="callCallback()"></button> |
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
void main() { | |
List<int> list = new List(); | |
list.add("c"); | |
list.add(2); | |
print(list); | |
} |
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 'dart:html'; | |
void main() { | |
var elm = querySelector('html'); | |
elm.style.backgroundColor = '#ff0000'; | |
} |
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
class Consumer { | |
String name; | |
String connectionName; | |
String consumerTag; | |
bool isAckRequired; | |
bool isExclusive; | |
Consumer.fromJson(Map<String, dynamic> map) { | |
name = map["name"]; | |
connectionName = map["connectionName"]; |
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
@Component(...) | |
@RouteConfig(const [ | |
const Route( path: '/', name: 'Home', component: HomeView ), | |
const Route( path: '/search', name: 'Search', component: SearchView ), | |
const Route( path: '/error', name: 'Error', component: ErrorView ), | |
const Route( path: '/shop/...', name: 'Shop', component: ShopView ), | |
const Route( path: '/:slug', name: 'Page', component: PageView ), | |
]) | |
class AppComponent { | |
// ... |
NewerOlder