Skip to content

Instantly share code, notes, and snippets.

View aleksejalex's full-sized avatar

aleksejalex

View GitHub Profile
@aleksejalex
aleksejalex / pip_upgrade_all.sh
Created October 25, 2023 17:53
simple terminal script to update all pip-packages that are installed (works perfectly inside PYENV ! )
#!/bin/bash
# List outdated Python packages
outdated_packages=$(pip list --outdated)
if [ -z "$outdated_packages" ]; then
echo "No outdated packages to upgrade."
else
echo "Upgrading packages..."
pip list --outdated --format=columns | tail -n +3 | cut -d" " -f1 | xargs -n1 pip install --upgrade
@aleksejalex
aleksejalex / su2_cv2_dcv.ipynb
Last active November 7, 2023 23:08
su2_cv2_dcv.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
height width layers folds length clamps weight_distrib max_num_of_batteries support_length
3.5 4.5 1 5 24.5 0 0 8 2.5
3.5 4.5 1 5 24.5 0 1 8 2.5
3.5 4.5 1 5 24.5 1 1 8 2.5
3.5 4.5 1 5 24.5 1 0 4 2.5
3.5 4.5 2 5 24.5 0 1 25 2.5
3.5 4.5 2 5 24.5 0 0 16 2.5
3.5 4.5 2 5 24.5 1 1 28 2.5
3.5 4.5 2 5 24.5 1 0 13 2.5
3.5 4.5 1 3 24.5 0 1 26 2.5
@aleksejalex
aleksejalex / NAEX-bridge-CP.csv
Last active December 3, 2023 18:20
updated file for bridges
height width layers folds length clamps weight_distrib max_num_of_batteries support_length exp_day
3.5 4.5 1 5 24.5 0 0 8 2.5 2
3.5 4.5 1 5 24.5 0 1 8 2.5 1
3.5 4.5 1 5 24.5 1 1 8 2.5 2
3.5 4.5 1 5 24.5 1 0 4 2.5 1
3.5 4.5 2 5 24.5 0 1 25 2.5 2
3.5 4.5 2 5 24.5 0 0 16 2.5 1
3.5 4.5 2 5 24.5 1 1 28 2.5 1
3.5 4.5 2 5 24.5 1 0 13 2.5 2
@aleksejalex
aleksejalex / 01naex_hw2_bridge_strength_experiment_finalising.ipynb
Created December 4, 2023 21:42
01NAEX_HW2_bridge_strength_experiment_finalising.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Karel Jaromír Erben
Kytice
Praha 2011
1. vydání
Městská knihovna v Praze
www.mlp.cz
knihovna@mlp.cz
@aleksejalex
aleksejalex / erbengpt.ipynb
Last active December 5, 2023 15:43
erbengpt.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aleksejalex
aleksejalex / img_manipulations.py
Last active December 17, 2023 01:25
img_manipulations.py
"""
just selected python functions for EMERGENT project purposes
...to be iported in IPYNB notebook
(C) aleksejalex, SteveLikesToDebug
"""
import numpy as np
# imports for images
@aleksejalex
aleksejalex / img2img_on_own_data.ipynb
Created December 18, 2023 07:36
img2img_on_own_data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aleksejalex
aleksejalex / solving_fxeq0.ipynb
Last active March 13, 2024 16:10
solving_fxeq0.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.