Skip to content

Instantly share code, notes, and snippets.

View kkalera's full-sized avatar
🎯
Focusing

Kenneth Breugelmans kkalera

🎯
Focusing
View GitHub Profile
@kkalera
kkalera / markdown-directory-tree.md
Created December 15, 2023 16:31 — forked from whoisryosuke/markdown-directory-tree.md
Markdown / Documentation - Generate Markdown-friendly directory / folder tree structure - @see: https://stackoverflow.com/a/23990108
  1. Install the Linux package tree using Homebrew: brew install tree
  2. Run the tree command on any directory to generate a Markdown friendly structure: tree your-directory

You can save it to a file by piping the results into a text file: tree . >> directory-structure.md

Example

packages/button
├── lib
@kkalera
kkalera / house_price_0_imports.py
Last active March 13, 2023 07:26
label-encoded-xgboost-imports
import pandas as pd
from sklearn import metrics
from sklearn.model_selection import train_test_split
from sklearn import preprocessing
import xgboost as xgb