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
p3 -m cProfile -s time main.py > stats |
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
vector<vector<int > > v(M, vector<int> (N)); |
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
diskutil unmountDisk /dev/disk3 | |
sudo newfs_msdos -F 16 /dev/disk3 | |
sudo dd bs=32m if=/dev/rdisk3 of=raspbian.img |
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
df -Hl |
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
Installing venv with python: | |
python3 -m venv name-your-environment-here | |
mac & linux | |
source your-environment-name-here/bin/activate | |
your-environment-name-here\Scripts\activate.bat | |
pip3 install keras tensorflow |
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
docker build -t python-docker . | |
docker run python-docker |
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
Click bottom left icon and click LXTerminal | |
Enter commands: | |
Clones the repository | |
# mkdir git && git clone https://github.com/jaschaknack/PolarisBiosEditor && cd PolarisBiosEditor | |
Refreshes the sources list, so that when you download packages, you get the correct ips from the mirrors | |
# sudo apt-get-ubuntu update |
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
# https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader | |
# https://wiki.archlinux.org/index.php/GRUB#UEFI_systems | |
sudo su | |
lsblk -f | |
# mount rootfs to mnt, ext4 | |
mount /dev/sda1 /mnt | |
cd /mnt/ |
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 | |
new_config=0 | |
old_config=0 | |
remote_file="/home/ethos/remote.conf" | |
remote_url=$(cat $remote_file) | |
while true; do | |
new_config=$(wget -qO- $remote_url) | |
if [ "$new_config" != "$old_config" ] && [ "$old_config" != 0 ]; |
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
Verifying my identity on Peepeth.com 0x45b78bc14cf5e0ab1dc33d6731e65784f955545b |