Find below the requirements for the internship assignment. Reach out to mohit@boldcare.in
if you have any questions.
- Home Page
- Facts Page
- Generator Page
Find below the requirements for the internship assignment. Reach out to mohit@boldcare.in
if you have any questions.
sudo mount -t xfs -o discard /dev/md0 /mnt/temp | |
sudo mount /dev/sdb /mnt/staging | |
sudo rm /mnt/temp/* || true | |
# add python script for dynamic hdd destination loading and copying over staging to destination | |
screen -dm -S staging bash -c "python copy-script.py" | |
screen -dm -S logging bash -c "while sleep 600; do plotman status >> plotman_log.txt; done" | |
screen -dm -S plotting bash -c "plotman plot" | |
# Default/example plotman.yaml configuration file | |
# Options for display and rendering | |
user_interface: | |
# Call out to the `stty` program to determine terminal size, instead of | |
# relying on what is reported by the curses library. In some cases, | |
# the curses library fails to update on SIGWINCH signals. If the | |
# `plotman interactive` curses interface does not properly adjust when | |
# you resize the terminal window, you can try setting this to True. | |
use_stty_size: True |
cd | |
sudo swupd bundle-add storage-utils | |
sudo swupd bundle-add lm-sensors | |
sudo swupd bundle-add vim | |
sudo mkfs.ext4 -m 0 -T largefile4 -L staging $1 | |
sudo mdadm -C /dev/md0 /dev/nvme[0-1]n1 -n 2 -l 0 -c 64 | |
sudo mkfs.xfs /dev/md0 | |
sudo mkdir /mnt/temp | |
sudo mkdir /mnt/staging | |
sudo mkdir /mnt/destination |
import glob | |
import os | |
import shutil | |
import time | |
while True: | |
for file_path in glob.glob("/mnt/staging/*.plot"): | |
try: | |
shutil.move(file_path, "/mnt/destination") | |
print("Moving plot ->" + file_path) |
I hereby claim:
To claim this, I am signing this object:
void main() { | |
String name = "Bob"; | |
var name_ = "Bob"; | |
// Automatically infers type. name contains refernee to String object with value "Bob" | |
// name = 22; Cannot assign value of different type | |
// Note: Dart is strongly typed | |
dynamic planet = "Earth"; | |
planet = 33; |
I hereby claim:
To claim this, I am signing this object: