Skip to content

Instantly share code, notes, and snippets.

View papaemman's full-sized avatar
🎯
Focusing

Panagiotis Papaemmanouil papaemman

🎯
Focusing
View GitHub Profile
@papaemman
papaemman / 1-fotoshare-co-browser-album-download.md
Last active August 20, 2025 09:45
How to Download All Files from a Fotoshare.co Album Using Browser Scripts**

Fotoshare.co, does not always offer a built-in option to download all images or videos from an album at once. However, using the following script, you can automate the download process directly from your browser. This script will allow you to download all images and videos from a specific album on Fotoshare.co without the need for manual downloading.

Steps to Use the Script:

  1. Open the Fotoshare Album:

Navigate to the album on Fotoshare.co that you want to download. Make sure the page is fully loaded and the sessionImages object containing the image/video data is accessible in the browser's JavaScript environment.

  1. Open the Browser Developer Tools:
@papaemman
papaemman / poetry_and_pyenv.md
Last active July 22, 2023 16:03
Use Poetry and Pyenv for Dependecy managment in python
@papaemman
papaemman / solve_prophet_bug.md
Last active April 20, 2023 18:29
How to run prophet on MacOS

How to run Prophet on MacOS

Installing prophet works just fine in MacOS but when you actually trying to use it there is a bug.

You need to add a path prophet_model.bin to make it work.

Related links

@papaemman
papaemman / gcloud_authentication_and_interaction.md
Last active January 4, 2023 14:11
Authenticate to Google Cloud Platform and interact with services using python

Azure function project file structure

.
├── .venv                     # Python Virtual environment
├── .vscode                   # Configuration options for VSCode
├── host.json                 # Configuration options that affect all functions in a function app instance
├── local.settings.json       # Maintains settings used when running functions locally.These settings aren't used when running in Azure
|
├── AzureFunction_1
@papaemman
papaemman / hyperparameter_tuning.py
Created May 6, 2022 22:45
Machine Learning hyperparameter for XGBoost and LightGBM using Bayesian optimazation with hyperopt
# Load Libraries
import pandas as pd
from sklearn.model_selection import cross_val_score
from sklearn.metrics import roc_auc_score, accuracy_score
from hyperopt import STATUS_OK, Trials, fmin, hp, tpe
# Define datasets
X_train = pd.DataFrame()
y_train = pd.DataFrame()
X_test = pd.DataFrame()