Skip to content

Instantly share code, notes, and snippets.

View NonLogicalDev's full-sized avatar

Oleg Utkin NonLogicalDev

View GitHub Profile
#!/bin/bash
DEST=$1;
shift
for stow_path in "$@"; do
abs_stow_path_p=$(realpath "$stow_path")
abs_stow_path_l=$(realpath -s "$stow_path")
dst_stow_path=${DEST}${abs_stow_path_l}
@NonLogicalDev
NonLogicalDev / james-bond-007-nightfire_nightfirepc.yaml
Last active June 7, 2025 01:33
James Bond 007 Nightfire - Lutris Install Script
name: James Bond 007 - Nightfire
game_slug: james-bond-007-nightfire
version: nightfirepc.com
slug: james-bond-007-nightfire
runner: wine
script:
install_complete_text: >
James Bond 007 - Nightfire has been installed successfully.
You can now launch the game from your library.
@NonLogicalDev
NonLogicalDev / qmgr.sh
Created June 13, 2025 03:16
QEMU minimal docker compose like manager
#!/bin/bash
# ------------------------------------------------------------------------------
# Script Setup
# ------------------------------------------------------------------------------
# use bashsource variable to get the path of this script
THIS_SCRIPT_PATH=${BASH_SOURCE[0]}
THIS_SCRIPT_DIR=$(cd "$(dirname "$THIS_SCRIPT_PATH")" && pwd)
import math
import plotly.graph_objects as go
from plotly.subplots import make_subplots
import pandas as pd
import numpy as np
# import yfinance as yf
#
# # Define the stock tickers
# tickers = ['GOOGL', 'AMZN', 'MSFT', 'TSLA', 'UBER', 'NVDA', 'SPY', 'AAPL']